WO2022159528A2 - Automatisation de processus robotique à lecture résiliente d'enregistrements - Google Patents

Automatisation de processus robotique à lecture résiliente d'enregistrements Download PDF

Info

Publication number
WO2022159528A2
WO2022159528A2 PCT/US2022/013026 US2022013026W WO2022159528A2 WO 2022159528 A2 WO2022159528 A2 WO 2022159528A2 US 2022013026 W US2022013026 W US 2022013026W WO 2022159528 A2 WO2022159528 A2 WO 2022159528A2
Authority
WO
WIPO (PCT)
Prior art keywords
recording
playback
screen image
captured screen
previously established
Prior art date
Application number
PCT/US2022/013026
Other languages
English (en)
Other versions
WO2022159528A3 (fr
Inventor
Virinchipuram ANAND
Sudhir Kumar Singh
Harshil Lodhiya
Original Assignee
Automation Anywhere, Inc.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from US17/206,029 external-priority patent/US20220032457A1/en
Application filed by Automation Anywhere, Inc. filed Critical Automation Anywhere, Inc.
Priority to GB2310982.0A priority Critical patent/GB2617763A/en
Publication of WO2022159528A2 publication Critical patent/WO2022159528A2/fr
Publication of WO2022159528A3 publication Critical patent/WO2022159528A3/fr

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0706Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0751Error or fault detection not based on redundancy
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0793Remedial or corrective actions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1438Restarting or rejuvenating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1479Generic software techniques for error detection or fault masking
    • G06F11/1482Generic software techniques for error detection or fault masking by means of middleware or OS functionality

Definitions

  • Robotic process automation (RPA) systems enable automation of repetitive and manually intensive computer-based tasks.
  • computer software namely a software robot (often referred to as a "bot”)
  • a software robot may mimic the actions of a human being in order to perform various computer-based tasks.
  • an RPA system can be used to interact with one or more software applications through user interfaces, as a human being would do. Therefore, RPA systems typically do not need to be integrated with existing software applications at a programming level, thereby eliminating the difficulties inherent to integration.
  • RPA systems permit the automation of application level repetitive tasks via software robots that are coded to repeatedly and accurately perform the repetitive tasks.
  • Certain embodiments can provide resilient playback of software automation processes by providing enhanced capabilities to locate user interface controls within a screen image of a user interface of an application program being utilized by the software automation processes. Using such capabilities, embodiments can provide resilient playback of software automation processes by providing the capability to resolve playback errors by detecting user interface controls within at least one screen image of a user interface that was captured when the software automation process was created.
  • embodiments disclosed herein allow software automation processes to continue to operate over time and thus with greater resiliency and flexibility.
  • the invention can be implemented in numerous ways, including as a method, system, device, apparatus (including computer readable medium and graphical user interface). Several embodiments of the invention are discussed below.
  • one embodiment can, for example, include at least: initiating playback of the previously established recording, the previously established recording including at least properties and previously captured screen images for one or more of the recorded actions within the recording; determining if an error occurred during playback of a particular action of the previously established recording; and resolving the error that occurred during playback of the particular action of the previously established recording.
  • resolving the error that occurred during playback of the particular action of the previously established recording can, in one embodiment, include at least: identifying a particular captured screen image of the previously captured screen images that corresponds to the particular action; detecting a position in the particular captured screen image that is associated with the particular action; detecting one or more control objects in the particular captured screen image that are proximate to the position detected in the particular captured screen image; identifying a corresponding control object within the one or more control objects detected in the particular captured screen image that corresponds to the particular action; and facilitating playback of the particular action using the corresponding control object.
  • one embodiment can, for example, include at least: initiating execution of the previously established recording, the previously established recording including at least properties and previously captured screen images for one or more of the recorded actions within the recording; determining if an error occurred during execution of the previously established recording; identifying, in response to the determining the error occurred, a particular action of the one or more of the recorded actions within the previously established recording in which the error occurred; identifying a particular captured screen image of the previously captured screen images that corresponds to the particular action; detecting control objects in the particular captured screen image; locating a particular control object within the control objects detected in the particular captured screen image based on at least properties of the particular action from the previously established recording; and facilitating execution of the particular action using the particular control object.
  • one embodiment can, for example, include at least: computer program code for initiating execution of the previously established recording; computer program code for determining if an error occurred during execution of the previously established recording; computer program code for identifying, in response to the determining the error occurred, a particular action of the plurality of recorded actions of the previously established recording in which the error occurred; computer program code for identifying a particular captured screen image of the previously captured screen images that corresponds to the particular action; computer program code for detecting one or more control objects in the particular captured screen image; computer program code for identifying a particular control object within the one or more control objects detected in the particular captured screen image based on at least one or more properties of the particular action from the previously established recording; and computer program code for facilitating execution of the particular action using the particular control object.
  • FIG. 1 is a block diagram of a programmatic automation environment according to one embodiment.
  • FIG. 2 is a block diagram of a computing environment according to one embodiment.
  • FIG. 3A is a resilient playback system according to one embodiment.
  • FIG. 3B is a block diagram of a recording playback correction system according to one embodiment.
  • FIG. 4 is a flow diagram of a resilient playback process according to one embodiment.
  • FIG. 5 is a flow diagram of an image-based playback correction process according to one embodiment.
  • FIGs. 6A and 6B are flow diagrams of a playback error correction process according to one embodiment.
  • FIGs. 7A-7C are flow diagrams of a playback error correction process according to one embodiment.
  • FIG. 8 is a block diagram of a robotic process automation system according to one embodiment.
  • FIG. 9 is a block diagram of a generalized runtime environment for bots in accordance with another embodiment of the robotic process automation system illustrated in FIG. 8.
  • FIG. 10 is yet another embodiment of the robotic process automation system of FIG. 8 configured to provide platform independent sets of task processing instructions for bots.
  • FIG. 11 is a block diagram illustrating details of one embodiment of the bot compiler illustrated in FIG. 10.
  • FIG. 12 is a block diagram of an exemplary computing environment for an implementation of a robotic process automation system.
  • RPA systems with improved playback capabilities are disclosed.
  • Certain embodiments can provide resilient playback of software automation processes by providing enhanced capabilities to locate user interface controls within a screen image of a user interface of an application program being utilized by the software automation processes. Using such capabilities, embodiments can provide resilient playback of software automation processes by providing the capability to resolve playback errors by detecting user interface controls within at least one screen image of a user interface that was captured when the software automation process was created.
  • embodiments disclosed herein allow software automation processes to continue to operate over time with greater resiliency and flexibility.
  • RPA systems use computer software to emulate and integrate the actions of a human interacting within digital systems.
  • the RPA systems are often designed to execute a business process.
  • the RPA systems use artificial intelligence (Al) and/or other machine learning capabilities to handle high-volume, repeatable tasks that previously required humans to perform.
  • Al artificial intelligence
  • the RPA systems also provide for creation, configuration, management, execution, and/or monitoring of software automation processes.
  • a software automation process can also be referred to as a software robot, software agent, or a bot.
  • a software automation process can interpret and execute tasks on one’s behalf.
  • Software automation processes are particularly well suited for handling a lot of the repetitive tasks that humans perform every day.
  • Software automation processes can accurately perform a task or workflow they are tasked with over and over.
  • a software automation process can locate and read data in a document, email, file, or window.
  • a software automation process can connect with one or more Enterprise Resource Planning (ERP), Customer Relations Management (CRM), core banking, and other business systems to distribute data where it needs to be in whatever format is necessary.
  • ERP Enterprise Resource Planning
  • CRM Customer Relations Management
  • a software automation process can perform data tasks, such as reformatting, extracting, balancing, error checking, moving, copying, or any other desired tasks.
  • a software automation process can grab data desired from a webpage, application, screen, file, or other data source.
  • a software automation process can be triggered based on time or an event, and can serve to take files or data sets and move them to another location, whether it is to a customer, vendor, application, department or storage.
  • these various capabilities can also be used in any combination.
  • the software automation process could start a task or workflow based on a trigger, such as a file being uploaded to an FTP system. The integrated software automation process could then download that file, scrape relevant data from it, upload the relevant data to a database, and then send an email to a recipient to inform the recipient that the data has been successfully processed.
  • FIG. 1 is a block diagram of a programmatic automation environment 100 according to one embodiment.
  • the programmatic automation environment 100 is a computing environment that supports RPA.
  • the computing environment can include or make use of one or more computing devices.
  • Each of the computing devices can, for example, be an electronic device having computing capabilities, such as a mobile phone (e.g., smart phone), tablet computer, desktop computer, portable computer, server computer, and the like.
  • the programmatic automation environment 100 serves to support recordation of a series of user interactions of a user with one or more software programs operating on a computing device, and then subsequently provide programmatic playback of the series of user interactions with the same one or more software programs operating on the same or different computing device.
  • the recordation of the series of user interactions forms a recoding.
  • the recording defines or describes a software automation process.
  • Programmatic playback of a recording refers to the notion that the playback is undertaken by a computer program, as opposed to a user. Playback of a recording refers to execution of the recording, which carries out the software automation process.
  • the programmatic automation environment 100 includes a RPA system 102 that provides the robotic process automation.
  • the RPA system 102 supports a plurality of different robotic processes, which can be denoted as software automation processes. These software automation processes can also be referred to as “software robots,” “bots” or “software bots.” More particularly, in one embodiment, the software automation processes are defined or described by respective recordings, namely, previously established recordings 104 as shown in FIG. 1 .
  • the RPA system 102 can create, maintain, execute, and/or monitor recordings, including previously established recordings 104, to carry out software automation processes.
  • the RPA system 102 can also report status or results of software automation processes.
  • the RPA system 102 supports creation and storage of software automation processes. These software automation processes can be referred to as “bots”.
  • the RPA system 102 can support a recording session in which a series of user interactions with one or more application programs operating on a computing device can be recorded.
  • recording of a software automation process refers to creation of the software automation process.
  • the series of user interactions can then be utilized by the RPA system 102 to form a software automation process (e.g., bot) for carrying out such actions in an automated manner.
  • the RPA utilization environment 100 can also store the software automation processes (e.g., bots) that have been created.
  • the RPA system 102 further supports the execution of the one or more software automation processes that have been created by the RPA system 102 or some other RPA system. Execution (or running) of a software automation process at a computing device causes playback of the software automation process. That is, when a software automation process is executed or run by one or more computing devices, the software automation process is being “played back” or undergoing “playback.”
  • the RPA system 102 supports the playback of software automation processes in a resilient fashion.
  • the previously established recordings 104 can interact with one or more software programs 106.
  • One example of the software program 106 is an application program.
  • the application programs can vary widely with user’s computer system and tasks to be performed thereon.
  • application programs being used might be word processing programs, spreadsheet programs, email programs, ERP programs, CRM programs, web browser programs, any many more.
  • the software program 106 when operating, typically interacts with one or more windows 108.
  • a user interface presented within the one or more windows 108 can be programmatically interacted with through execution of the one or more software automation processes 104.
  • the software program 106 is seeking to access documents that contain data that is to be extracted and then suitably processed.
  • the documents are typically digital images of documents, which are presented in the one or more windows 108.
  • the RPA system 102 can include processing and structures to support the extraction of data from such document images.
  • documents 108 include emails, web pages, forms, invoices, purchase orders, delivery receipts, bill of lading, insurance claims forms, loan application forms, tax forms, payroll reports, etc.
  • the RPA system 102 seeks to interact with the software program 106. However, since the RPA system 102 is not integrated with the software program 106, the RPA system 102 requires an ability to understand what content is contained in the window 108. For example, the content being presented in the window 108 can pertain to a graphical user interface or a document. In this regard, the RPA system 102 interacts with the software program 106 by interacting with the content in the window 108.
  • the software automation process being carried out, via the RPA system 102 can effectively interface with the software program 106 via the window 108 as would a user, even though no user is involved because the actions detailed in the previously established recording 104 for the software automation process are programmatically performed.
  • the RPA system 102 can perform an action requested by the previously established recording 104 by inducing action with respect to the software program 106.
  • the RPA system 102 can also seek to interact with the software program 112, which can be another application program.
  • the RPA system 102 since the RPA system 102 is not integrated with the software program 112, the RPA system 102 requires an ability to understand what content is being presented in window 114.
  • the content being presented in the window 114 can pertain to user interface or a document.
  • the RPA system 102 interacts with the software program 112 by interacting with the content in the window 114 corresponding to the software program 112.
  • the software automation process being carried out, via the RPA system 102 can effectively interface with the software program 112 via the window 114 as would a user, even though no user is involved because the actions detailed in the previously established recording 104 for the software automation process are programmatically performed.
  • the RPA system 102 can perform an action requested by the previously established recording 104 by inducing action with respect to the software program 112.
  • the RPA system 102 further supports the execution of the software automation process in a resilient manner.
  • the resiliency allows the execution of software automation processes to successfully complete even when there are changes to recording playback engines or software programs since the recording for the software automation process was originally made, or when there are variations in graphical user interface associated with and presented during the playback.
  • the playback can use a playback recording engine.
  • the recording playback engine is initially the same engine or a related engine by which the software automation process was recorded. As such, initially, the recording playback engine is fully compatible with the recording. However, over time, the recording playback engine being used to execute (i.e., playback) a recording can be updated or changed.
  • the recording playback engine may not be fully compatible with the prior recording, and thus may result in errors during execution.
  • the RPA system 102 operates to execute (i.e., playback) the software automation process in a resilient manner such that errors, that results from changes to recording playback engines, can often be overcome so that such errors do not result in a failure to carry out the software automation process.
  • the graphical user interface associated with and presented during the playback can take different sizes, positions, orientations, organizations, formats, and the like.
  • the RPA system 102 can also operate to execute (i.e., playback) the software automation process in an intelligent manner such that differences in how the graphical user interfaces of the one or more application programs involved in the software automation process are presented can be managed so that such differences do not result in a failure to carry out the software automation process.
  • FIG. 2 is a block diagram of a computing environment 200 according to one embodiment.
  • the computing environment 200 includes a RPA system 202.
  • the RPA system 202 is, for example, similar to the RPA system 102 illustrated in FIG. 1 .
  • the RPA system 202 can be coupled to a storage 204 for storage of software automation processes (e.g., bots).
  • software automation processes e.g., bots
  • the computing environment 200 can support various different types of computing devices that can interact with the RPA system 202.
  • the computing environment 200 can also include a network 206 made up of one or more wired or wireless networks that serve to electronically interconnect various computing devices for data transfer. These computing devices can serve as a recording computing device, a playback computing device, or both.
  • the computing environment 200 can include a recording computing device 208 that includes a display device 210 and a window 212 presented on the display device 210.
  • the window 212 can, in one example, depict a user interface that is associated with recording user interactions with one or more application programs to produce a software automation process using the RPA system 202.
  • the computing environment 200 shown in FIG. 2 can also include various playback computing devices.
  • a first playback computing device 214 includes a display device 216 that can present a window 218.
  • a second playback computing device 220 includes a display device 222 that can present a first window 224, a second window 226 and a third window 228.
  • a third playback computing device 230 includes a display device 232 that can present a window 234. More generally, the windows are screens that are presented and visible on respective display devices.
  • the recording computing device 208 can also operate as a playback computing device.
  • the different playback computing devices 214, 220 and 230 can all have different window sizes. While the window 218 utilized by the playback computing device 214 is similar to the window 212 utilized by the recording computing device 208, the windows, such as window 224 and 234, of the other playback computing devices 220, 230, respectively, can be different. As a result, the execution of a software automation process by way of the RPA System 202 may not execute properly on any of the playback computing devices. For example, the window 224 utilized by the playback computing device 220 is definitely larger than the window 212 utilized by the recording computing device 208.
  • the layout of the user interface presented within the window 224 on playback will not have the same visual appearance as did the user interface as it is presented in the window 212 during recording.
  • the window 234 utilized by the playback computing device 230 is of a different size and orientation as compared to the window 212 utilized by the recording computing device 208 during recording. While the window 218 utilized by the playback computing device 214 does generally appear similar to the window 212 utilized by the recording computing device 208 at least as to size and shape, the resolution at which the associated user interfaces are presented within those windows may still vary, which can similarly alter the content or appearance of the user interfaces that are presented (e.g., displayed) within those windows.
  • a recording playback program being utilized during execution (e.g., playback) of a software automation process might have changed or been updated over time.
  • software automation processes that were created (e.g., recorded) months or years ago can be created using a legacy recording/playback program.
  • it might use a newer or different recording/playback program.
  • changes to recording/playback programs can cause errors when software automation processes are executed.
  • a software automation process might have been created to interact with a former version of a software program, and then subsequently, when executed, seek to interact with a newer version of the same software program.
  • the changes to the software program can cause execution (i.e., playback) of a software automation process to fail to properly execute.
  • execution i.e., playback
  • errors can be automatically corrected through embodiments disclosed herein, where the errors can be overcome by processing images associated with a software automation process when it was formed.
  • FIG. 3A is a resilient playback system 300 according to one embodiment.
  • the resilient playback system 300 operates to playback one or more previously established recordings. While playing back the one or more previously established recordings, a playback error may occur. In such case, the resilient playback system 300 is often able to correct the error such that the playback of the recording can continue.
  • the nature of the correction can include correction or augmentation of the previously established recording, or can involve the creation of a new recording. In either case, if the error is able to be corrected, playback can continue.
  • the resilient playback system 300 includes a first recording playback engine 302.
  • the first recording playback engine operates to play back a recording.
  • the first recording playback engine can also operate to create a recording.
  • the first recording playback engine can operate to create a recording and/or play back a previously established recording.
  • the first recording playback engine 302 can rely on various methods, such as object cloning, when creating a recording. In object cloning, all object properties and associated data can be captured and recreated via parsing information directly available from an application. These types of recordings rely on the existence of certain properties for each of the control objects in user interfaces of the corresponding software programs being used.
  • the first recording playback engine 302 receives a previously established recording 304.
  • the previously established recording 304 is designed to facilitate robotic process automation.
  • the previously established recording 304 details actions to be carried out by the previously established recording 304 with respect to one or more software programs.
  • the previously established recording 304 typically includes properties information 306 concerning the various objects being utilized thereby.
  • the properties information can be properties such as: name, control type, action, path, input value, control state, object capture technology type, and other available properties.
  • the previously established recording 304 also typically includes captured screens 308.
  • the captured screens 308 are captured during creation of the previously established recording 304.
  • the captured screens 308 can be screen images associated with user interfaces of software programs that are being interacted with during creation of the previously established recording 304.
  • the previously established recording 304 is provided to the first recording playback engine 302 so that the previously established recording 304 can be played back. While the first recording playback engine 302 is playing back (or executing) the previously established recording 304, a decision 310 can determine whether a playback error has occurred during the playback. If decision 310 determines that a playback error has occurred, a recording playback correction system 312 can be invoked. The recording playback correction system 312 receives the error information from the first recording playback engine 302 and can also receive the previously established recording 304. The recording playback correction system 312 can use one or more of the captured screens 308 from the previously established recording 304 to determine a correction to resolve the playback error. Once the correction has been determined, a correction update can be provided to the first recording playback engine 302 such that the first recording playback engine 302 can continue with the playback.
  • a newly generated recording 314 can be formed.
  • the newly generated recoding 314 may be played back by the first recording playback engine 302.
  • resilient playback system 300 can further include a second recording playback engine 316 that is designed to play (or execute) the newly generated recording 314. This, for example, can permit previously established recordings to be upgraded to new recordings that are more compatible and compliant with newer and often more efficient recording playback engines, such as the second recording playback engine 316.
  • FIG. 3B is a block diagram of a recording playback correction system 350 according to one embodiment.
  • the recording playback correction system 350 is, for example, one embodiment of the recording playback correction system 312 illustrated in FIG. 3A.
  • the recording playback correction system 350 includes various components, including a highlight detection control 352, a control detection 354, a text detection 356, and a global/local screen change detection 358. These components within the recording playback correction system 350 represent different processing modules to perform specific functions that can be utilized to determine a playback correction when a playback error has occurred.
  • the highlight detection control 352 can identify a highlighted object within a screen image that was captured by a recorder while producing a previously established recording.
  • the screen image can be a captured screen (e.g., captured screen 308) of the previously established recording.
  • the screen image being captured at the time of recording can include highlighting around an object in which an action with respect to a user interface was recorded.
  • the highlighting can serve as an indicator for a particular object within the screen image that corresponds to a particular action to be performed.
  • the highlighting (if present) in the screen image associated with the action can provide an indication of an object within the screen image that corresponds to the action.
  • Highlight detection can be performed by training a deep neural network (e.g., RetinaNet, EfficientDet) on a dataset of images with highlight control examples in it.
  • the training and inference regime can follow control object detection via invariance guided sub-control learning.
  • deep neural networks can be trained using back propagation and optimizing relevant loss functions.
  • highlight detection may be performed using classical machine learning techniques, such as Support Vector Machines or analyzing edges and their colors using classical computer vision techniques.
  • the control detection 354 can identify objects within a screen image captured (e.g., captured screen 308) by a recorder while producing a previously established recording. Then, using the identified objects along with assistance of positional information and/or properties information (e.g., properties information 306) available from (or associated with) the previously established recording, a particular object within the screen image that corresponds to a particular action to be performed by the recording that has failed can be detected and located within the screen image.
  • Control detection can be performed by training a deep neural network (e.g., RetinaNet, EfficientDet) on a dataset of images with object examples in it. The training and inference regime can follow control object detection via invariance guided sub-control learning. In general, deep neural networks can be trained using back propagation and optimizing relevant loss functions.
  • a deep neural network e.g., RetinaNet, EfficientDet
  • the global/local screen change detection 358 can be utilized to determine whether a particular action of interest with respect to the previously established recording induced a global screen change or a local screen change.
  • Global screen changes signal that a dramatic change to the screen image occurred as a result of the particular action. Examples of global changes to the screen image are, for example, display of a new page, a pop-up window, a next page, and the like.
  • Local screen changes are minor changes to the screen image as a result of the particular action. Examples of local screen changes include text entry, check box change, radio box change, button selection, and the like.
  • the processing by the recording playback correction system 350 can differ depending upon whether the particular action caused a global screen change or a local screen change.
  • the text detection 356 can be used to optionally determine text within the captured screen image, such as by the control detection 354.
  • the text can be used to assist in locating object controls within the screen image.
  • the text detection information along with the detected controls can be interrelated such that the new recording is itself resilient when it is being executed by a new recording playback engine, such as the second recording playback engine 316 illustrated in FIG. 3A. Additional details on text detection and use thereof for detecting controls are provided in U.S. Patent Provisional Application No. 63/060,541 , filed August 3, 2020, and entitled “ROBOTIC PROCESS AUTOMATION WITH RESILENT PLAYBACK CAPABILITIES,” which is hereby incorporated herein by reference for all purposes.
  • FIG. 4 is a flow diagram of a resilient playback process 400 according to one embodiment.
  • the resilient playback process 400 is, for example, processing performed by the resilient playback system 300 illustrated in FIG. 3A or the robotic process automation system 102 illustrated in FIG. 1.
  • the resilient playback process 400 can initially determine 402 whether a previously established recording is to be played back (i.e., executed). The playback of the previously established recording serves to invoke robotic process automation. When the decision 402 determines that playback of a previously established recording is not currently being requested, the resilient playback process 400 can await until playback has been requested. Once the decision 402 determines that playback of a previously established recording has been requested, a recording to be played can be identified 404. Typically, the recording to be played is a previously established recording. [0057] Next, the identified recording can be played 406. During the playing of the identified recording, various actions occur with respect to various objects associated with interaction with one or more software programs.
  • the recording playback engine (e.g., first recording playback engine 202) that is to play the identified recording may have been updated or changed since the previously established recording was made. As such, the updated recording playback engine may not be fully compatible with identified recording, which can also cause errors during the playback of the identified recording. Also, since the one or more software programs may have been updated since the previously established recording was made, resulting changes that have occurred in the one or more software applications can cause errors during the playback of the identified recording.
  • the resilient playback process 400 also includes a decision 408 that determines whether a playback error has occurred. When the decision 408 determines that no playback error has occurred, a decision 410 can determine whether playback has been completed. When the decision 410 determines that playback has completed, the resilient playback process 400 can end. Alternatively, when the decision 410 determines that playback has not completed, then the resilient playback process 400 can return to repeat the block 406 and subsequent blocks so that the playback of the identified recording can continue.
  • the resilient playback process 400 can attempt 412 playback error correction using at least one or more previously captured screens.
  • These one or more previously captured screens are associated with the previously established recording that is being played as the identified recording.
  • the identified recording can be the previously established recording 304 having properties information 306 and captured screens 308 (i.e., FIG. 3A).
  • additional image-based processing can be performed to attempt 412 playback error correction.
  • This error correction processing evaluates the one or more previously captured screens and detects objects therein, and then identifies an object and action that corresponds to an action with respect to the previously established recording.
  • playback can be retried 414 using the playback error correction.
  • the retry can involve retrying playback of the identified recording after augmenting the identified recording based on the playback error correction.
  • the retry can involve creation of a new recording including the playback error correction, and then retrying playback using the new recording.
  • a decision 416 can determine whether the playback error has been resolved. When the decision 416 determines that the playback error has been resolved, then the resilient playback process 400 can return to repeat the block 406 and subsequent blocks so the identified recording can continue to be played back. Alternatively, when the decision 416 determines that the playback error has not been resolved, the resilient playback process 400 is unable to complete the playback of the identified recording. Hence, in this case, the resilient playback process 400 reports 418 that an unresolved error occurred during playback. Following the block 418, the resilient playback process can end.
  • FIG. 5 is a flow diagram of an image-based playback correction process 500 according to one embodiment.
  • the image-based playback correction process 500 is, for example, processing performed by the playback error correction attempted 412 in the resilient playback process 400 illustrated in FIG. 4, or the recording playback correction system 312 illustrated in FIG. 3A.
  • the image-based playback correction process 500 identifies a particular captured screen image that corresponds to a particular action that was not able to be played back.
  • the playback error that has been detected concerns a particular action of the previously established recording that was not able to be performed during playback.
  • a particular captured screen image that corresponds to the particular action that was not able to be played back can be identified 502.
  • a position within the particular captured screen image that corresponds to the particular action can be detected 504.
  • the position within the particular captured screen image that corresponds to the particular action can be determined by a visual reference (e.g., a highlighted control) provided within the captured screen image.
  • the position within the particular captured screen image that corresponds to the particular action can be determined by detecting changes between a captured screen before the particular action of interest and a captured screen after the particular action of interest.
  • one or more control objects in the particular captured screen image that are proximate to the detected position can be detected 506.
  • a corresponding control object within the one or more control objects detected in the particular captured screen image can be identified 508.
  • the corresponding control object that has been identified 508 can be utilized to identify a control object that should be utilized when playing back the identified recording.
  • This identified control object can serve as additional information, which can be referred to as a correction, that can be utilized when the playback is retried, such as at block 414 of the resilient playback process 400 illustrated in FIG. 4.
  • the identified control object can be used during retry of playback of the identified recording to locate a needed control object such that in many cases the playback error can be overcome and the playback of the identified recording can continue.
  • FIGs. 6A and 6B are flow diagrams of a playback error correction process 600 according to one embodiment.
  • the playback error correction process 600 is, for example, processing carried out by the playback error correction attempted 412 by the resilient playback process 400 illustrated in FIG. 4, or the recording playback correction system 312 illustrated in FIG. 3A.
  • the playback error correction process 600 can obtain 602 a pre-action captured image.
  • the playback error to be corrected is associated with a particular action of a recording that is being played back.
  • the recording is made by a recorder, which can be a recording playback engine (e.g., recording playback engines 302, 316).
  • the pre-action captured image that is obtained 602 can be a previously captured screen image by the recorder prior to the particular action where the playback error occurred.
  • the pre-action captured image is the screen image captured by the recorder immediately prior to occurrence of the particular action.
  • the pre-action captured image can be searched 604 for a highlighted control, as in some cases a recorder may have denoted a highlighted control which would denote the particular action.
  • a decision 606 can then determine whether a highlighted control has been found. When the decision 606 determines that a highlighted control has been found, then a highlighted region for the highlighted control can be determined 608. In one implementation, the highlighted region can be determined 608 as a bounding box about the highlighted control.
  • properties information associated with the particular action can be obtained 610 from the previously established recording. In one implementation, the previously established recording provides not only the recording of a series of interactions with one or more software programs but also captured screen images as well as related properties information (e.g., previously established recording 304 illustrated in FIG. 3A). Thereafter, an object and an action can be detected 612 within the pre-action captured image at the highlighted region using at least the obtained properties information. The detected object and action can then be returned 614. Once the detected object and action are returned 614, the playback can be retried with the detected object and action supporting correction of the playback error.
  • the playback error correction process 600 proceeds to FIG. 6B and compares 616 the pre-action captured image with a post-action captured image to detect changes.
  • the post-action captured image is the screen image captured by the recorder immediately after occurrence of the particular action.
  • a decision 618 can then compare the amount of change with a threshold amount. When the amount of change between the pre-action captured image and the post-action captured image is below the threshold amount, then the playback error correction process 600 determines 622 one or more regions where the detected changes occur between the pre-action captured image and the post-action captured image. Additionally, properties information associated with the particular action can be obtained 624 from the previously established recording.
  • the previously established recording provides not only the recording of a series of interactions with one or more software programs but also captured screen images as well as related properties information (e.g., previously established recording 304).
  • an object and action can be detected 626 at the one or more change regions using at least the obtained properties information.
  • the playback error correction process 600 can continue to block 614 of FIG. 6A where the detected object and action can be returned.
  • an action can be characterized 628 based on the type of action.
  • the change between the pre-action captured image and the post-action captured image is a major change, and thus, for example, can be characterized as a new page, a pop-up window, a next page, and the like.
  • the characterized action can be returned 630 to the RPA system for further processing. Following the block 630, the playback error correction process 600 can end.
  • FIGs. 7A-7C are flow diagrams of a playback error correction process 700 according to one embodiment.
  • the playback error correction process 700 is, for example, processing carried out by the playback error correction attempted 412 by the resilient playback process 400 illustrated in FIG. 4, or the recording playback correction system 312 illustrated in FIG. 3A.
  • the playback error correction process 700 can obtain 702 a pre-action captured image.
  • the playback error to be corrected is associated with a particular action of a recording that is being played back.
  • the recording is made by a recorder, which can be a recording playback engine (e.g., recording playback engine 302).
  • the pre-action captured image that is obtained 702 can be a previously captured screen image by the recorder prior to the particular action where the playback error occurred.
  • the pre-action captured image is the screen image captured by the recorded immediately prior to occurrence of the particular action.
  • the pre-action captured image can be searched 704 for a highlighted control, as in some cases a recorder may have denoted a highlighted control which would denote the particular action.
  • a decision 706 can then determine whether a highlighted control has been found. When the decision 706 determines that a highlighted control has been found, then a highlighted region for the highlighted control can be determined 708. In one implementation, the highlighted region can be determined 708 as a bounding box about the highlighted control.
  • properties information associated with the particular action can be obtained 710 from the previously established recording.
  • the previously established recording provides not only the recording of a series of interactions with one or more software programs but also captured screen images as well as related properties information (e.g., previously established recording 304).
  • related properties information e.g., previously established recording 304.
  • an object and an action can be detected 712 within the pre-action captured image at the highlighted region using at least the obtained properties information.
  • the playback error correction process 700 can determine 714 text within the pre-action captured image that is proximate to the detected control. Then, a position reference for the detected control can be determined 716 based on at least text proximate to the detected control. Here, the position reference can be determined 716 from text present within the pre-action captured image. The position reference can be used later when attempting to retry playback after error correction. Typically, the retry of playback would be of a new or upgraded recording that can be executed by an image-base playback recording engine (e.g., second recording payback engine 316) that is compatible with a newly generated recording. Additional details on text detection and use thereof for detecting controls are provided in U.S. Patent Provisional Application No. 63/060,541 , filed August 3, 2020, and entitled “ROBOTIC PROCESS AUTOMATION WITH RESILENT PLAYBACK CAPABILITIES,” which is hereby incorporated herein by reference for all purposes.
  • the detected object, action and position reference can then be returned 718 to the RPA system for further processing. Once the detected object, action and position reference are returned 718, the playback can be retried with the detected object, action and position reference supporting correction of the playback error.
  • the playback error correction process 700 proceeds to FIG. 7B to compare 720 the pre-action captured image with a post-action captured image to detect changes.
  • the post-action captured image is the screen image captured by the recorder immediately after occurrence of the particular action.
  • a decision 722 can then compare the amount of change with a threshold amount. When the amount of change between the pre-action captured image and the post-action captured image is below the threshold amount, then the playback error correction process 700 determines 724 one or more regions where the detected changes occur between the pre-action captured image and the post-action captured image.
  • properties information associated with the particular action can be obtained 726 from the previously established recording.
  • the previously established recording provides not only the recording of a series of interactions with one or more software programs but also captured screen images as well as related properties information (e.g., previously established recording 304).
  • an object and action can be detected 728 at the one or more change regions using at least the obtained properties information.
  • the playback error correction process 700 can continue to block 714 of FIG. 7A where the detected object and action can be returned.
  • properties information associated with the particular action can be obtained 730 from the previously established recording as illustrated in FIG. 7C.
  • the previously established recording provides not only the recording of a series of interactions with one or more software programs but also captured screen images as well as related properties information (e.g., previously established recording 304).
  • a decision 732 can then determine whether the particular action was a “click”. Typically, this determination can be determined from the properties information, which normally includes an object type and an action thereon. When the decision 732 determines that the particular action was a “click” action, then an object type can be determined 734. In one implementation, the object type can be determined from the properties information for the particular action that was obtained 730 from the previously established recording. Next, an event caused by the particular action is determined 736 based on the determined object type. For example, if the determined object type is a combobox, image button or text button, then the event can respectively be considered an expanded window with a list or list box, a pop-up window, or a next window or page in the user interface flow.
  • further evaluation can determine which of such events best corresponds to the determined object type.
  • text within the captured screen image proximate to the determined object type can be recognized and then used to assist in the event selection. For example, if the determined object type is a button and the recognized text is “Next”, then the event can be considered to be a next page event. After the event has been determined 736, the determined event can be returned to XX. Following the block 738, the playback error correction process 700 can end.
  • a scroll event that caused the particular action can be determined 740.
  • the determined event can be returned and then the playback error correction process 700 can end.
  • FIG. 8 is a block diagram of a robotic process automation (RPA) system 800 according to one embodiment.
  • the RPA system 800 includes data storage 802.
  • the data storage 802 can store a plurality of software robots 804, also referred to as bots (e.g., Bot 1 , Bot 2, ..., Bot n).
  • the software robots 804 can be operable to interact at a user level with one or more user level application programs (not shown).
  • the term “bot” is generally synonymous with the term software robot.
  • the term “bot runner” refers to a device (virtual or physical), having the necessary software capability (such as bot player 826), on which a bot will execute or is executing.
  • the data storage 802 can also stores a plurality of work items 806. Each work item 806 can pertain to processing executed by one or more of the software robots 804.
  • the RPA system 800 can also include a control room 808.
  • the control room 808 is operatively coupled to the data storage 802 and is configured to execute instructions that, when executed, cause the RPA system 800 to respond to a request from a client device 810 that is issued by a user 812.1 .
  • the control room 808 can act as a server to provide to the client device 810 the capability to perform an automation task to process a work item from the plurality of work items 806.
  • the RPA system 800 is able to support multiple client devices 810 concurrently, each of which will have one or more corresponding user session(s) 818, which provides a context.
  • the context can, for example, include security, permissions, audit trails, etc.
  • bots operating under the user session 818 to define the permissions and roles for bots operating under the user session 818. For example, a bot executing under a user session, cannot access any files or use any applications that the user, under whose credentials the bot is operating, does not have permission to do so. This prevents any inadvertent or malicious acts from a bot under which bot 804 executes.
  • the control room 808 can provide, to the client device 810, software code to implement a node manager 814.
  • the node manager 814 executes on the client device 810 and provides a user 812 a visual interface via browser 813 to view progress of and to control execution of automation tasks. It should be noted that the node manager 814 can be provided to the client device 810 on demand, when required by the client device 810, to execute a desired automation task. In one embodiment, the node manager 814 may remain on the client device 810 after completion of the requested automation task to avoid the need to download it again. In another embodiment, the node manager 814 may be deleted from the client device 810 after completion of the requested automation task.
  • the node manager 814 can also maintain a connection to the control room 808 to inform the control room 808 that device 810 is available for service by the control room 808, irrespective of whether a live user session 818 exists.
  • the node manager 814 can impersonate the user 812 by employing credentials associated with the user 812.
  • the control room 808 initiates, on the client device 810, a user session 818 (seen as a specific instantiation 818.1 ) to perform the automation task.
  • the control room 808 retrieves the set of task processing instructions 804 that correspond to the work item 806.
  • the task processing instructions 804 that correspond to the work item 806 can execute under control of the user session 818.1 , on the client device 810.
  • the node manager 814 can provide update data indicative of status of processing of the work item to the control room 808.
  • the control room 808 can terminate the user session 818.1 upon completion of processing of the work item 806.
  • the user session 818.1 is shown in further detail at 819, where an instance 824.1 of user session manager 824 is seen along with a bot player 826, proxy service 828, and one or more virtual machine(s) 830, such as a virtual machine that runs Java® or Python®.
  • the user session manager 824 provides a generic user session context within which a bot 804 executes.
  • the bots 804 execute on a player, via a computing device, to perform the functions encoded by the bot. Some or all of the bots 804 may in certain embodiments be located remotely from the control room 808. Moreover, the devices 810 and 811 , which may be conventional computing devices, such as for example, personal computers, server computers, laptops, tablets and other portable computing devices, may also be located remotely from the control room 808. The devices 810 and 811 may also take the form of virtual computing devices.
  • the bots 804 and the work items 806 are shown in separate containers for purposes of illustration but they may be stored in separate or the same device(s), or across multiple devices.
  • the control room 808 can perform user management functions, source control of the bots 804, along with providing a dashboard that provides analytics and results of the bots 804, performs license management of software required by the bots 804 and manages overall execution and management of scripts, clients, roles, credentials, security, etc.
  • the major functions performed by the control room 808 can include: (i) a dashboard that provides a summary of registered/active users, tasks status, repository details, number of clients connected, number of scripts passed or failed recently, tasks that are scheduled to be executed and those that are in progress; (ii) user/role management - permits creation of different roles, such as bot creator, bot runner, admin, and custom roles, and activation, deactivation and modification of roles; (iii) repository management - to manage all scripts, tasks, workflows and reports etc.; (iv) operations management - permits checking status of tasks in progress and history of all tasks, and permits the administrator to stop/start execution of bots currently executing; (v) audit trail - logs creation of all actions performed in the control room; (vi) task scheduler - permits scheduling tasks which need to be executed on different clients at any particular time; (vii) credential management - permits password management; and (viii) security: management - permits rights management for all user roles.
  • the control room 808 is shown generally for simplicity
  • a device such as device 811 (e.g., operated by user 812.2) does not satisfy the minimum processing capability to run a node manager 814
  • the control room 808 can make use of another device, such as device 815, that has the requisite capability.
  • a node manager 814 within a Virtual Machine (VM), seen as VM 816 can be resident on the device 815.
  • the node manager 814 operating on the device 815 can communicate with browser 813 on device 811 .
  • This approach permits RPA system 800 to operate with devices that may have lower processing capability, such as older laptops, desktops, and portable/mobile devices such as tablets and mobile phones.
  • the browser 813 may take the form of a mobile application stored on the device 811 .
  • the control room 808 can establish a user session 818.2 for the user 812.2 while interacting with the control room 808 and the corresponding user session 818.2 operates as described above for user session 818.1 with user session manager 824 operating on device 810 as discussed above.
  • the user session manager 824 provides five functions.
  • First is a health service 838 that maintains and provides a detailed logging of bot execution including monitoring memory and CPU usage by the bot and other parameters such as number of file handles employed.
  • the bots 804 can employ the health service 838 as a resource to pass logging information to the control room 808. Execution of the bot is separately monitored by the user session manager 824 to track memory, CPU, and other system information.
  • the second function provided by the user session manager 824 is a message queue 840 for exchange of data between bots executed within the same user session 818.
  • the third function is a deployment service (also referred to as a deployment module) 842 that connects to the control room 808 to request execution of a requested bot 804.
  • the deployment service 842 can also ensure that the environment is ready for bot execution, such as by making available dependent libraries.
  • the fourth function is a bot launcher 844 which can read metadata associated with a requested bot 804 and launch an appropriate container and begin execution of the requested bot.
  • the fifth function is a debugger service 846 that can be used to debug bot code.
  • the bot player 826 can execute, or play back, a sequence of instructions encoded in a bot.
  • the sequence of instructions can, for example, be captured by way of a recorder when a human performs those actions, or alternatively the instructions are explicitly coded into the bot. These instructions enable the bot player 826, to perform the same actions as a human would do in their absence.
  • the instructions can compose of a command (action) followed by set of parameters, for example: Open Browser is a command, and a URL would be the parameter for it to launch a web resource.
  • Proxy service 828 can enable integration of external software or applications with the bot to provide specialized services. For example, an externally hosted artificial intelligence system could enable the bot to understand the meaning of a “sentence.”
  • the user 812.1 can interact with node manager 814 via a conventional browser 813 which employs the node manager 814 to communicate with the control room 808.
  • the user 812.1 logs in from the client device 810 to the control room 808 for the first time, the user 812.1 can be prompted to download and install the node manager 814 on the device 810, if one is not already present.
  • the node manager 814 can establish a web socket connection to the user session manager 824, deployed by the control room 808 that lets the user 812.1 subsequently create, edit, and deploy the bots 804.
  • FIG. 9 is a block diagram of a generalized runtime environment for bots 804 in accordance with another embodiment of the RPA system 800 illustrated in FIG. 8.
  • This flexible runtime environment advantageously permits extensibility of the platform to enable use of various languages in encoding bots.
  • RPA system 800 generally operates in the manner described in connection with FIG. 8, except that in the embodiment of FIG. 9, some or all of the user sessions 818 execute within a virtual machine 816.
  • the VM 816 takes the form of a Java Virtual Machine (JVM) as provided by Oracle Corporation.
  • JVM Java Virtual Machine
  • a JVM enables a computer to run Java® programs as well as programs written in other languages that are also compiled to Java® bytecode.
  • multiple devices 952 can execute operating system 1 , 953, which may, for example, be a Windows® operating system.
  • Multiple devices 954 can execute operating system 2, 955, which may, for example, be a Linux® operating system.
  • operating system 1 953, which may, for example, be a Windows® operating system.
  • Multiple devices 954 can execute operating system 2, 955, which may, for example, be a Linux® operating system.
  • two different operating systems are shown, by way of example and additional operating systems such as the macOS®, or other operating systems may also be employed on devices 952, 954 or other devices.
  • Each device 952, 954 has installed therein one or more VM’s 816, each of which can execute its own operating system (not shown), which may be the same or different than the host operating system 953/955.
  • Each VM 816 has installed, either in advance, or on demand from control room 808, a node manager 814.
  • FIG. 9 differs from the embodiment shown in FIG. 8 in that the devices 952 and 954 have installed thereon one or more VMs 816 as described above, with each VM 816 having an operating system installed that may or may not be compatible with an operating system required by an automation task. Moreover, each VM has installed thereon a runtime environment 956, each of which has installed thereon one or more interpreters (shown as interpreter 1 , interpreter 2, interpreter 3). Three interpreters are shown by way of example but any run time environment 956 may, at any given time, have installed thereupon less than or more than three different interpreters. Each interpreter 956 is specifically encoded to interpret instructions encoded in a particular programming language.
  • interpreter 1 may be encoded to interpret software programs encoded in the Java® programming language, seen in FIG. 9 as language 1 in Bot 1 and Bot 2.
  • Interpreter 2 may be encoded to interpret software programs encoded in the Python® programming language, seen in FIG. 9 as language 2 in Bot 1 and Bot 2
  • interpreter 3 may be encoded to interpret software programs encoded in the R programming language, seen in FIG. 9 as language 3 in Bot 1 and Bot 2.
  • each bot may contain instructions encoded in one or more programming languages.
  • each bot can contain instructions in three different programming languages, for example, Java®, Python® and R. This is for purposes of explanation and the embodiment of FIG. 9 may be able to create and execute bots encoded in more or less than three programming languages.
  • the VMs 816 and the runtime environments 956 permit execution of bots encoded in multiple languages, thereby permitting greater flexibility in encoding bots. Moreover, the VMs 816 permit greater flexibility in bot execution.
  • a bot that is encoded with commands that are specific to an operating system, for example, open a file, or that requires an application that runs on a particular operating system, for example, Excel® on Windows®, can be deployed with much greater flexibility.
  • the control room 808 will select a device with a VM 816 that has the Windows® operating system and the Excel® application installed thereon. Licensing fees can also be reduced by serially using a particular device with the required licensed operating system and application(s), instead of having multiple devices with such an operating system and applications, which may be unused for large periods of time.
  • FIG. 10 illustrates a block diagram of yet another embodiment of the RPA system 800 of FIG. 8 configured to provide platform independent sets of task processing instructions for bots 804.
  • Two bots 804, bot 1 and bot 2 are shown in FIG. 10.
  • Each of bots 1 and 2 are formed from one or more commands 1001 , each of which specifies a user level operation with a specified application program, or a user level operation provided by an operating system.
  • Sets of commands 1006.1 and 1006.2 may be generated by bot editor 1002 and bot recorder 1004, respectively, to define sequences of application level operations that are normally performed by a human user.
  • the bot editor 1002 may be configured to combine sequences of commands 1001 via an editor.
  • the bot recorder 1004 may be configured to record application level operations performed by a user and to convert the operations performed by the user to commands 1001 .
  • the sets of commands 1006.1 and 1006.2 generated by the editor 1002 and the recorder 1004 can include command(s) and schema for the command(s), where the schema defines the format of the command(s).
  • the format of a command can, such as, includes the input(s) expected by the command and their format. For example, a command to open a URL might include the URL, a user login, and a password to login to an application resident at the designated URL.
  • the control room 808 operates to compile, via compiler 1008, the sets of commands generated by the editor 1002 or the recorder 1004 into platform independent executables, each of which is also referred to herein as a bot JAR (Java ARchive) that perform application level operations captured by the bot editor 1002 and the bot recorder 1004.
  • the set of commands 1006, representing a bot file can be captured in a JSON (JavaScript Object Notation) format which is a lightweight data-interchange text-based format.
  • JSON is based on a subset of the JavaScript Programming Language Standard ECMA-262 3rd Edition - December 1999.
  • JSON is built on two structures: (i) a collection of name/value pairs; in various languages, this is realized as an object, record, struct, dictionary, hash table, keyed list, or associative array, (ii) an ordered list of values which, in most languages, is realized as an array, vector, list, or sequence.
  • Bots 1 and 2 may be executed on devices 810 and/or 815 to perform the encoded application level operations that are normally performed by a human user.
  • FIG. 11 is a block diagram illustrating details of one embodiment of the bot compiler 1008 illustrated in FIG. 10.
  • the bot compiler 1008 accesses one or more of the bots 804 from the data storage 802, which can serve as bot repository, along with commands 1001 that are contained in a command repository 1132.
  • the bot compiler 808 can also access compiler dependency repository 1134.
  • the bot compiler 808 can operate to convert each command 1001 via code generator module 1010 to an operating system independent format, such as a Java command.
  • the bot compiler 808 then compiles each operating system independent format command into byte code, such as Java byte code, to create a bot JAR.
  • the convert command to Java module 1010 is shown in further detail in in FIG. 11 by JAR generator 1128 of a build manager 1126.
  • the compiling to generate Java byte code module 1012 can be provided by the JAR generator 1128.
  • a conventional Java compiler such as javac from Oracle Corporation, may be employed to generate the bot JAR (artifacts).
  • an artifact in a Java environment includes compiled code along with other dependencies and resources required by the compiled code.
  • Such dependencies can include libraries specified in the code and other artifacts.
  • Resources can include web pages, images, descriptor files, other files, directories and archives.
  • deployment service 842 can be responsible to trigger the process of bot compilation and then once a bot has compiled successfully, to execute the resulting bot JAR on selected devices 810 and/or 815.
  • the bot compiler 1008 can comprises a number of functional modules that, when combined, generate a bot 804 in a JAR format.
  • a bot reader 1102 loads a bot file into memory with class representation. The bot reader 1102 takes as input a bot file and generates an inmemory bot structure.
  • a bot dependency generator 1104 identifies and creates a dependency graph for a given bot. It includes any child bot, resource file like script, and document or image used while creating a bot.
  • the bot dependency generator 1104 takes, as input, the output of the bot reader 1102 and provides, as output, a list of direct and transitive bot dependencies.
  • a script handler 1106 handles script execution by injecting a contract into a user script file.
  • the script handler 1106 registers an external script in manifest and bundles the script as a resource in an output JAR.
  • the script handler 1106 takes, as input, the output of the bot reader 1102 and provides, as output, a list of function pointers to execute different types of identified scripts like Python, Java, VB scripts.
  • An entry class generator 1108 can create a Java class with an entry method, to permit bot execution to be started from that point.
  • the entry class generator 1108 takes, as an input, a parent bot name, such “Invoice-processing. bot” and generates a Java class having a contract method with a predefined signature.
  • a bot class generator 1110 can generate a bot class and orders command code in sequence of execution.
  • the bot class generator 1110 can take, as input, an in-memory bot structure and generates, as output, a Java class in a predefined structure.
  • a Command I Iterator I Conditional Code Generator 1112 wires up a command class with singleton object creation, manages nested command linking, iterator (loop) generation, and conditional (If/Else If/Else) construct generation.
  • the Command I Iterator I Conditional Code Generator 1112 can take, as input, an in-memory bot structure in JSON format and generates Java code within the bot class.
  • a variable code generator 1114 generates code for user defined variables in the bot, maps bot level data types to Java language compatible types, and assigns initial values provided by user.
  • the variable code generator 1114 takes, as input, an in-memory bot structure and generates Java code within the bot class.
  • a schema validator 1116 can validate user inputs based on command schema and includes syntax and semantic checks on user provided values.
  • the schema validator 1116 can take, as input, an in-memory bot structure and generates validation errors that it detects.
  • the attribute code generator 1118 can generate attribute code, handles the nested nature of attributes, and transforms bot value types to Java language compatible types.
  • the attribute code generator 1118 takes, as input, an in-memory bot structure and generates Java code within the bot class.
  • a utility classes generator 1120 can generate utility classes which are used by an entry class or bot class methods.
  • the utility classes generator 1120 can generate, as output, Java classes.
  • a data type generator 1122 can generate value types useful at runtime.
  • the data type generator 1122 can generate, as output, Java classes.
  • An expression generator 1124 can evaluate user inputs and generates compatible Java code, identifies complex variable mixed user inputs, inject variable values, and transform mathematical expressions.
  • the expression generator 1124 can take, as input, user defined values
  • the JAR generator 1128 can compile Java source files, produces byte code and packs everything in a single JAR, including other child bots and file dependencies.
  • the JAR generator 1128 can take, as input, generated Java files, resource files used during the bot creation, bot compiler dependencies, and command packages, and then can generate a JAR artifact as an output.
  • the JAR cache manager 1130 can put a bot JAR in cache repository so that recompilation can be avoided if the bot has not been modified since the last cache entry.
  • the JAR cache manager 1130 can take, as input, a bot JAR.
  • command action logic can be implemented by commands 1001 available at the control room 808. This permits the execution environment on a device 810 and/or 815, such as exists in a user session 818, to be agnostic to changes in the command action logic implemented by a bot 804. In other words, the manner in which a command implemented by a bot 804 operates need not be visible to the execution environment in which a bot 804 operates. The execution environment is able to be independent of the command action logic of any commands implemented by bots 804. The result is that changes in any commands 1001 supported by the RPA system 800, or addition of new commands 1001 to the RPA system 800, do not require an update of the execution environment on devices 810, 815.
  • the command 1001 is changed, for example, to perform two-factor authentication, then it will require an additional resource (the second factor for authentication) and will perform additional actions beyond those performed by the original command (for example, logging into an email account to retrieve the second factor and entering the second factor).
  • the command action logic will have changed as the bot is required to perform the additional changes. Any bot(s) that employ the changed command will need to be recompiled to generate a new bot JAR for each changed bot and the new bot JAR will need to be provided to a bot runner upon request by the bot runner.
  • the execution environment on the device that is requesting the updated bot will not need to be updated as the command action logic of the changed command is reflected in the new bot JAR containing the byte code to be executed by the execution environment.
  • the embodiments herein can be implemented in the general context of computer-executable instructions, such as those included in program modules, being executed in a computing system on a target, real or virtual, processor.
  • program modules include routines, programs, libraries, objects, classes, components, data structures, etc. that perform particular tasks or implement particular abstract data types.
  • the program modules may be obtained from another computer system, such as via the Internet, by downloading the program modules from the other computer system for execution on one or more different computer systems.
  • the functionality of the program modules may be combined or split between program modules as desired in various embodiments.
  • Computer-executable instructions for program modules may be executed within a local or distributed computing system.
  • the computer-executable instructions may be provided via an article of manufacture including a computer readable medium, which provides content that represents instructions that can be executed.
  • a computer readable medium may also include a storage or database from which content can be downloaded.
  • a computer readable medium may further include a device or product having content stored thereon at a time of sale or delivery. Thus, delivering a device with stored content, or offering content for download over a communication medium, may be understood as providing an article of manufacture with such content described herein.
  • FIG. 12 illustrates a block diagram of an exemplary computing environment 1200 for an implementation of an RPA system, such as the RPA systems disclosed herein.
  • the embodiments described herein may be implemented using the exemplary computing environment 1200.
  • the exemplary computing environment 1200 includes one or more processing units 1202, 1204 and memory 1206, 1208.
  • the processing units 1202, 1206 execute computer-executable instructions.
  • Each of the processing units 1202, 1206 can be a general-purpose central processing unit (CPU), processor in an application-specific integrated circuit (ASIC) or any other type of processor.
  • the processing unit 1202 can be a CPU, and the processing unit can be a graphics/co-processing unit (GPU).
  • GPU graphics/co-processing unit
  • the tangible memory 1206, 1208 may be volatile memory (e.g., registers, cache, RAM), non-volatile memory (e.g., ROM, EEPROM, flash memory, etc.), or some combination of the two, accessible by the processing unit(s).
  • the hardware components may be standard hardware components, or alternatively, some embodiments may employ specialized hardware components to further increase the operating efficiency and speed with which the RPA system operates.
  • the various components of exemplary computing environment 1200 may be rearranged in various embodiments, and some embodiments may not require nor include all of the above components, while other embodiments may include additional components, such as specialized processors and additional memory.
  • the exemplary computing environment 1200 may have additional features such as, for example, tangible storage 1210, one or more input devices 1214, one or more output devices 1212, and one or more communication connections 1216.
  • An interconnection mechanism such as a bus, controller, or network can interconnect the various components of the exemplary computing environment 1200.
  • operating system software provides an operating system for other software executing in the exemplary computing environment 1200, and coordinates activities of the various components of the exemplary computing environment 1200.
  • the tangible storage 1210 may be removable or non-removable, and includes magnetic disks, magnetic tapes or cassettes, CD-ROMs, DVDs, or any other medium which can be used to store information in a non-transitory way, and which can be accessed within the computing system 1200.
  • the tangible storage 1210 can store instructions for the software implementing one or more features of a PRA system as described herein.
  • the input device(s) or image capture device(s) 1214 may include, for example, one or more of a touch input device (such as a keyboard, mouse, pen, or trackball), a voice input device, a scanning device, an imaging sensor, touch surface, or any other device capable of providing input to the exemplary computing environment 1200.
  • the input device(s) 1214 can, for example, include a camera, a video card, a TV tuner card, or similar device that accepts video input in analog or digital form, a microphone, an audio card, or a CD-ROM or CD-RW that reads audio/video samples into the exemplary computing environment 1200.
  • the output device(s) 1212 can, for example, include a display, a printer, a speaker, a CD-writer, or any another device that provides output from the exemplary computing environment 1200.
  • the one or more communication connections 1216 can enable communication over a communication medium to another computing entity.
  • the communication medium conveys information such as computer-executable instructions, audio or video input or output, or other data.
  • the communication medium can include a wireless medium, a wired medium, or a combination thereof.
  • Embodiments of the invention can, for example, be implemented by software, hardware, or a combination of hardware and software. Embodiments of the invention can also be embodied as computer readable code on a computer readable medium.
  • the computer readable medium is non-transitory.
  • the computer readable medium is any data storage device that can store data which can thereafter be read by a computer system. Examples of the computer readable medium generally include read-only memory and random-access memory. More specific examples of computer readable medium are tangible and include Flash memory, EEPROM memory, memory card, CD-ROM, DVD, hard drive, magnetic tape, and optical data storage device.
  • the computer readable medium can also be distributed over network-coupled computer systems so that the computer readable code is stored and executed in a distributed fashion.
  • references to “one embodiment” or “an embodiment” means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the invention.
  • the appearances of the phrase “in one embodiment” in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Further, the order of blocks in process flowcharts or diagrams representing one or more embodiments of the invention do not inherently indicate any particular order nor imply any limitations in the invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Debugging And Monitoring (AREA)

Abstract

Sont divulgués des systèmes d'automatisation de processus robotiques (RPA) à capacités de lecture améliorées. Certains modes de réalisation peuvent fournir une lecture résiliente de processus d'automatisation de logiciel en fournissant des capacités améliorées pour localiser des commandes d'interface utilisateur dans une image d'écran d'une interface utilisateur d'un programme d'application qui est utilisé par les processus d'automatisation de logiciel. À l'aide de telles capacités, les modes de réalisation peuvent fournir une lecture résiliente de processus d'automatisation de logiciel en fournissant la capacité de résoudre des erreurs de lecture par la détection de commandes d'interface utilisateur à l'intérieur d'au moins une image d'écran d'une interface utilisateur qui a été capturée lorsque le processus d'automatisation de logiciel a été créé. De manière avantageuse, les modes de réalisation divulgués dans la description permettent à des processus d'automatisation de logiciel de continuer à fonctionner dans le temps et ainsi avec une plus grande résilience et une plus grande flexibilité.
PCT/US2022/013026 2021-01-20 2022-01-19 Automatisation de processus robotique à lecture résiliente d'enregistrements WO2022159528A2 (fr)

Priority Applications (1)

Application Number Priority Date Filing Date Title
GB2310982.0A GB2617763A (en) 2021-01-20 2022-01-19 Robotic process automation with resilient playback of recordings

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
US202163139757P 2021-01-20 2021-01-20
US63/139,757 2021-01-20
US17/206,029 US20220032457A1 (en) 2020-08-03 2021-03-18 Robotic Process Automation with Resilient Playback of Recordings
US17/206,029 2021-03-18

Publications (2)

Publication Number Publication Date
WO2022159528A2 true WO2022159528A2 (fr) 2022-07-28
WO2022159528A3 WO2022159528A3 (fr) 2022-09-15

Family

ID=81941031

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2022/013026 WO2022159528A2 (fr) 2021-01-20 2022-01-19 Automatisation de processus robotique à lecture résiliente d'enregistrements

Country Status (1)

Country Link
WO (1) WO2022159528A2 (fr)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7627821B2 (en) * 2004-06-15 2009-12-01 Microsoft Corporation Recording/playback tools for UI-based applications
US11099972B2 (en) * 2018-11-19 2021-08-24 Microsoft Technology Licensing, Llc Testing user interfaces using machine vision

Also Published As

Publication number Publication date
WO2022159528A3 (fr) 2022-09-15

Similar Documents

Publication Publication Date Title
US20220108106A1 (en) Machined learning supporting document data extraction
US11775321B2 (en) Robotic process automation with resilient playback capabilities
US20190310834A1 (en) Determining based on static compiler analysis that execution of compiler code would result in unacceptable program behavior
US20220032457A1 (en) Robotic Process Automation with Resilient Playback of Recordings
Deitel Java how to program
US11782734B2 (en) Method and system for text extraction from an application window for robotic process automation
US20220019195A1 (en) Robotic process automation with conversational user interface
US11820020B2 (en) Robotic process automation supporting hierarchical representation of recordings
US20230052190A1 (en) Repeating pattern detection within usage recordings of robotic process automation to facilitate representation thereof
US11960930B2 (en) Automated software robot creation for robotic process automation
US20070061780A1 (en) Enterprise resource planning system test framework
US11301224B1 (en) Robotic process automation system with a command action logic independent execution environment
US11886895B2 (en) Enhanced target selection for robotic process automation
Nagel et al. Professional C# 2012 and. Net 4.5
JP2023107749A (ja) ブラウザベースのロボティックプロセスオートメーション(rpa)ロボット設計インターフェース
US9715372B2 (en) Executable guidance experiences based on implicitly generated guidance models
US20140189526A1 (en) Changing log file content generation
US20140068552A1 (en) Infrastructure for automatically generating boilerplate code using annotations and code-generators
US20230050430A1 (en) Robotic process automation system for managing human and robotic tasks
US11968182B2 (en) Authentication of software robots with gateway proxy for access to cloud-based services
WO2022159528A2 (fr) Automatisation de processus robotique à lecture résiliente d'enregistrements
JP2023020830A (ja) エアギャップされたロボティックプロセスオートメーション(rpa)ホストへの最適化されたソフトウェア配信
Al-Qahtani et al. Comparing selected criteria of programming languages java, php, c++, perl, haskell, aspectj, ruby, cobol, bash scripts and scheme revision 1.0-a team cplgroup comp6411-s10 term report
US20230419705A1 (en) Computerized recognition of tabular data from an image
US20230168906A1 (en) Dynamic fingerprints for robotic process automation

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 202310982

Country of ref document: GB

Kind code of ref document: A

Free format text: PCT FILING DATE = 20220119

NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22728317

Country of ref document: EP

Kind code of ref document: A2

122 Ep: pct application non-entry in european phase

Ref document number: 22728317

Country of ref document: EP

Kind code of ref document: A2