Embodiments of the disclosure relate to recording of display-independent computerized guidance.
A Personal Computer (PC) or a mobile device (such as a notebook computer, a Personal Digital Assistant (PDA) device, a cellular phone and/or the like) allows users to utilize various applications, for example, word processing applications, spreadsheet applications, e-mail applications, games and the like. These applications may be able to perform various operations based on the user's command, for example, editing, calculating, formatting, file handling, data sorting, and/or the like.
A Graphical User Interface (GUI) of an application usually includes various controls (sometimes also referred to as “widgets”) that operate different functions of the application. Such controls may include, for example, icons, texts, buttons, input boxes, menus, drop-down lists, sliders, scroll bars, bars and/or any other operable visual element. In various mobile devices, a control may also be embodied in a physical button and not in the GUI of the application itself. For example, a certain button may be used to perform a specific function in an application.
As applications become more and more complex and sophisticated and thus include many different controls, some users find it useful to attend a course or seminar which teaches users how to use one or more applications. Some users require assistance from other users (such as co-workers, customer support representatives and/or the like) in order to be able to complete particular tasks using an application. Furthermore, it may be difficult for the user to find out, or to remember, whether or not an application is capable of performing a particular task, or which sequence of user-initiated steps is required in order to execute a particular task.
Some applications include a “help” function, in which the user may utilize an index of pre-defined topics, or a search based on user-entered keywords, in order to retrieve pre-defined textual and/or visual descriptions which may assist the user in finding how a particular task is performed. Additionally, some applications are associated with a user's manual, or with a batch of Frequently Asked Questions (FAQ), which may further guide the user on how to perform particular tasks.
The foregoing examples of the related art and limitations related therewith are intended to be illustrative and not exclusive. Other limitations of the related art will become apparent to those of skill in the art upon a reading of the specification and a study of the figures.
The following embodiments and aspects thereof are described and illustrated in conjunction with systems, tools and methods which are meant to be exemplary and illustrative, not limiting in scope.
There is provided, in accordance with an embodiment, a method for recording a display-independent computerized guidance script, the method comprising: capturing a screenshot of a graphical user interface (GUI) of a computerized application; analyzing an area, in the screenshot, surrounding a determined cursor position, to identify a GUI control; and recording an operation sequence of the computerized application, and assigning the GUI control to a step of the operation sequence.
There is further provided, in accordance with an embodiment, a recording engine for a display-independent, computerized guidance script, the recording engine comprising: a screenshot capture engine for capturing an image of at least an area surrounding a determined cursor position; a screenshot analysis engine for identifying a GUI control in said area; and an operation sequence recorder for storing an image of said GUI control and assigning said image to a step of said operation sequence.
In some embodiments, the operation sequence is performed manually.
In some embodiments, the operation sequence is performed automatically.
In some embodiments, the method further comprises storing an image of the area surrounding the determined cursor position.
In some embodiments, the method further comprises storing an image of the GUI control.
In some embodiments, the determined cursor position is where a user cursor click is detected.
In some embodiments, the method further comprises converting the screenshot to a 1-bit version.
In some embodiments, the method further comprises converting the screenshot to an inverted 1-bit version.
In some embodiments, the operation sequence comprises a cursor click on the GUI control.
In some embodiments, the operation sequence comprises keyboard input into the GUI control.
In some embodiments, the operation sequence comprises activation of a scroll bar for scrolling to a previously-invisible region of the computerized application.
In some embodiments, said screenshot analysis engine is adapted to convert a screenshot captured by said screen capture engine to a 1-bit version.
In some embodiments, said screenshot analysis engine is adapted to convert a screenshot captured by said screen capture engine to an inverted 1-bit version.
In some embodiments, said operation sequence recorder is adapted to record a cursor click on a GUI control.
In some embodiments, said operation sequence recorder is adapted to record keyboard input into a GUI control.
In some embodiments, said image of said GUI control comprises an image of said GUI control and of an area surrounding said GUI control.
In some embodiments, said GUI control is selected from a group consisting of: an icon, a text, a button, an input box, a menu, a drop-down list, a slider and a bar.
In addition to the exemplary aspects and embodiments described above, further aspects and embodiments will become apparent by reference to the figures and by study of the following detailed description.
Exemplary embodiments are illustrated in referenced figures. Dimensions of components and features shown in the figures are generally chosen for convenience and clarity of presentation and are not necessarily shown to scale. It is intended that the embodiments and figures disclosed herein are to be considered illustrative rather than restrictive. The figures are listed below.
An aspect of some embodiments relates to a guidance engine adapted to provide guidance to a user of a computerized application. The guidance may be performed by executing a guidance script capable of actually operating the application by way of, for example, activating one or more controls of the application. For instance, the guidance script may imitate cursor moves, cursor clicks or double-clicks, keyboard strokes, combination of cursor clicks and keyboard strokes and/or the like in lieu of the user. The term “imitate”, as referred to herein, may refer to an initiation of an action in the computerized application without actually receiving manual input from an input device such as a mouse, a keyboard, a touch screen and/or the like.
Furthermore, the guidance may be provided to the user in a manner independent of various display properties of the application and/or of the computerized device used by the user (this manner hereinafter referred to as “display-independent”). Since an application may be run with different display properties, such as window size, resolution, color, fonts, themes and/or the like, a conventional guidance script which was recorded with one set of display properties may encounter difficulties operating an application which uses a different set of display properties. This may happen, for example, because a certain GUI control operable by the conventional guidance script may appear in a new, unrecognized location and/or form in the actual application on which the script is finally run. The conventional script may therefore simply fail to identify and operate that control.
Accordingly, the present guidance engine may include a screenshot analysis engine for analyzing the GUI of the application, thereby matching at least one control present in the GUI with a corresponding control of a pre-recorded guidance script. Then, a guidance script execution engine may be able to execute the script and operate the necessary control—independent of the display properties of the application on which the script is executed.
An aspect of additional embodiments relates to a recording engine and a method thereof, for recording a display-independent, computerized guidance script. The recording engine may, in addition to recording a sequence of operations in an application, capture and analyze a screenshot of the application's GUI. In the analysis, the recording engine may inspect an area surrounding a determined cursor position, such as a position where a GUI control was activated by the user performing a sequence of operations. The activated GUI control may then be identified, and an image of it and/or metadata associated with it may then be assigned to the respective step of the operation sequence.
An additional aspect relates to a display-independent, GUI control recognizer and a method thereof. The GUI control recognizer may be capable of recognizing and identifying a GUI control in a screenshot of a user interface of an application. The use of the GUI control recognizer may or may not be tied to execution and/or recording of a guidance script. For example, recognition of GUI controls may be used as general-purpose image recognition method, to complement other computerized operations as desired.
Reference is now made to
Guidance engine 100 optionally includes a screenshot analysis engine 102 and a guidance script execution engine 104, each being a software component and/or module or both being implemented as a single component and/or module.
In a block 202, a screenshot 204 of a GUI of a computerized application is captured, such as using screenshot analysis engine 102 (
The capturing may include storing screenshot 204 as an image, whether in a temporary memory or in a permanent, non-volatile memory. Reference is now parenthetically made to
A different GUI (not shown) may include a user interface of what is often referred to as a “console application” (also “command line”, “command prompt”, “text terminal”, “terminal” and/or the like). A console application may be a software application having a user interface composed mainly of text, and sometimes with the addition of some simple, minimalistic graphic elements and/or symbols. Console applications are usually designed for operation using a keyboard, although sometimes they may also be controlled using a pointing device such as a mouse. Due to their lack of extensive graphic elements, their GUI is often referred to simply as a “user interface” (UI), without the word “graphical”. However, the term GUI, as referred to herein, is intended to include also a UI of a console application.
Back to
Screenshot 204 may be analyzed in a block 206, for identifying in it a control corresponding to a control of guidance script 208. The analysis may be performed, for example, using screenshot analysis engine 102 (
The analysis of screenshot 204 may include running an image recognition algorithm adapted to identify graphical and/or textual characteristics of a control in the screenshot, to enable a matching 210 of the control with a corresponding control of a step 208a of guidance script 208. Graphical characteristics of a control may include visible external borderlines of the control. A simple case is when a control has a noticeable borderline. For example, in
Textual characteristics may be identified Optical Character Recognition (OCR) techniques, such as by locating “islands” of connected pixels, each island typically defining a single character (such as a letter, a number or a symbol); in some cases, such as the case of the letters “i” and “j”, each letter may be defined by two islands, while in further cases, any suitable character may be defined by multiple islands. A whole word may be identified by determining a series of characters positioned adjacently, where a space which follows a letter and which has the width of approximately one or two characters, may indicate a separation between two words. If the space is wider than a pre-determined value, it may indicate that the next word is not associated with the previous word or words, and is part of a separate control.
In the case of a console application UI, it is likely that OCR techniques will be more prevalent than determination of graphical characteristics of elements. That is, as mentioned, console applications usually include mainly text, and OCR techniques may be more suitable for analyzing console application UI in order to identify one or more controls in them.
Following the identification of a control in screenshot 204, it may be matched 210 with a control of guidance script 208, to enable guidance script execution engine 104 (
In an embodiment, it may be possible to pre-define an accuracy level at which the matching is performed. A higher accuracy level is likely to be less tolerant to extreme changes in display properties between screenshot 204 and guidance script 208, whereas a lower accuracy level may still allow matching under display property changes—but may also cause matching mistakes. Optionally, the accuracy level is defined in percentages.
In case the matching is unsuccessful, namely—no corresponding controls of screenshot 204 and guidance script 208 are found, screenshot analysis engine 102 (
During the execution, in block 212, of guidance script 208, one or more help texts may be displayed in order to complement at least one of step(s) 208a with explanations to the user. For example, the execution may be performed in a semi-automatic mode, in which, following an automatic activation of a control, a help text is displayed, asking the user to perform a manual operation. Reference is now made back to
Reference is now made to
Recording engine 400 may be a software product installed on and/or adapted to be run on a computerized device, such as a Personal Computer (PC), a desktop computer, a mobile computer, a laptop computer, a notebook computer, a tablet computer, a server computer, a handheld computer, a handheld device, a mobile game console, an essentially stationary game console, a Personal Digital Assistant (PDA) device, an on-board device, an off-board device, a cellular phone, a hybrid device (for example a device incorporating functionalities of multiple types of devices, such as PDA functionality and cellular phone functionality), a vehicular device, a non-vehicular device, a mobile or portable device, a non-mobile or non-portable device and/or the like.
Recording engine 400 may be used for recording a guidance script, such as guidance script 208 of
Recording engine 400 optionally includes a screenshot capture engine 402, a screenshot analysis engine 404, and/or an operation sequence recorder 406, each being a software component and/or module or all being implemented as a single component and/or module.
At an overview of method 500, an operation sequence in the computerized application is manually performed by a user in a block 502. The operation sequence may include one or more step(s) 502a, each step optionally containing an action pertaining to a GUI control of the application. With reference to GUI 300 of
In a block 504, the operation sequence may be recorded, such as using operation sequence recorder 406 of
The recording of the operation sequence in block 504 and the assigning of each control to a step in block 506, may be performed based on actions on blocks 508-514, as set forth herein:
In a block 508, a screenshot 510 of a GUI of a computerized application is captured, such as using screenshot capture engine 402 (
A position at which a cursor was at when performing the click, may be identified in screenshot 510. For example, with reference to
In a block 512, an area surrounding the determined cursor position is analyzed, such as by screenshot analysis engine 404 of
The identified control and/or its surrounding area may be saved as an image, and, as mentioned above, assigned 506 to step 502a of operation sequence 502 and optionally stored together with guidance script 516.
To summarize method 500, it is capable of producing guidance script 516 which is display-independent, namely—due to the storing of an image together with each step 502a, it is later possible to execute the guidance script on a computerized device having different display properties that the computerized device of which the recording of method 500 is done. That is, the stored image may be matched, during the execution, with an identified control of the GUI of the computerized application on which the guidance script is executed.
Reference is now made to
Control recognizer 600 may be a software product installed on and/or adapted to be run on a computerized device, such as a Personal Computer (PC), a desktop computer, a mobile computer, a laptop computer, a notebook computer, a tablet computer, a server computer, a handheld computer, a handheld device, a mobile game console, an essentially stationary game console, a Personal Digital Assistant (PDA) device, an on-board device, an off-board device, a cellular phone, a hybrid device (for example a device incorporating functionalities of multiple types of devices, such as PDA functionality and cellular phone functionality), a vehicular device, a non-vehicular device, a mobile or portable device, a non-mobile or non-portable device and/or the like.
Control recognizer 600 may be used for recognizing and identifying a GUI control in a screenshot of a GUI of a computerized application. The use of control recognizer 600 may or may not be tied to execution and/or recording of a guidance script, as set forth above. For example, recognition of GUI controls may be used as general-purpose image recognition method, to complement other computerized operations as desired.
Control recognizer 600 optionally includes a screenshot capture engine 602, a cursor position identifier 604 and/or a cursor position region analyzer 606, each being a software component and/or module or all being implemented as a single component and/or module.
In a block 702, a screenshot 704 of a GUI of a computerized application is captured, such as using screenshot capture engine 602 (
In an optional block 706, a position at which a cursor was at when performing the click, if such a click was indeed performed, may be determined. This may be performed by cursor position identifier 604 of
In a block 708, if actions of optional block 706 are performed, then an area surrounding the determined cursor position is analyzed, such as by cursor position region analyzer 606 of
Alternatively, in block 708, if actions of optional block 706 are not performed, then an area of screenshot 704 up to its entirety may be analyzed, such as by cursor position region analyzer 606 of
In a block 710, the identified control and/or its surrounding area may be stored as an image. The image of the control may then be used in another computerized process, application and/or the like, as desired. Advantageously, method 700 may enable the analysis of a GUI of a computerized application, in a manner enabling identification and extraction of individual controls from a screenshot of the GUI.
Reference is now made to
Scroll bar recognizer 800 may be a software product installed on and/or adapted to be run on a computerized device, such as a Personal Computer (PC), a desktop computer, a mobile computer, a laptop computer, a notebook computer, a tablet computer, a server computer, a handheld computer, a handheld device, a mobile game console, an essentially stationary game console, a Personal Digital Assistant (PDA) device, an on-board device, an off-board device, a cellular phone, a hybrid device (for example a device incorporating functionalities of multiple types of devices, such as PDA functionality and cellular phone functionality), a vehicular device, a non-vehicular device, a mobile or portable device, a non-mobile or non-portable device and/or the like.
Scroll bar recognizer 800 may be used for recognizing and identifying a scroll bar in a screenshot of a GUI of a computerized application. The use of scroll bar recognizer 800 may or may not be tied to execution and/or recording of a guidance script, as set forth above. For example, recognition of scroll bars may be used as general-purpose image recognition method, to complement other computerized operations as desired.
Scroll bar recognizer 800 optionally includes a screenshot capture engine 802 and a scroll bar analyzer 804, each being a software component and/or module or both being implemented as a single component and/or module.
In a block 902, a screenshot 904 of a GUI of a computerized application is captured, such as using screenshot capture engine 802 of
In a block 906, screenshot 904 is analyzed, in order to identify a scroll bar in a block 908. The analysis may be performed by scroll bar analyzer 804 of
The analysis may include a search for at least two elements of a scroll bar, namely, an arrow and a thumb. Optionally, the search is performed on a 1-bit and/or an inverted 1-bit version of screenshot 904. An arrow may be identified by searching for a continuous island of connected pixels that form a triangular shape. A thumb may be identified by searching in an axis parallel to the pointing direction of the identified arrow. Each element found in that axis may be analyzed, and the existence of a thumb may be determined if an essentially quadrangular island of connected pixels is found. An essentially empty space (represented by an island of connected pixels having the reverse color of the thumb) between the arrow and the thumb may resemble a trough.
Alternatively, the at least two elements searched for may be two arrows of opposing directions, lying on the same axis, which is parallel to their pointing directions.
In a block 910, the identified scroll bar is analyzed, to extract at least one parameter of it in a block 912. The analysis of the scroll bar may include a determination of one or more of the following parameters: a location of the scroll bar, a size of the scroll bar, a location of a thumb of the scroll bar, a size of a thumb of the scroll bar, a size of an arrow of the scroll bar and a location of an arrow of the scroll bar. Each of these sizes may be denoted in pixels, horizontally and/or vertically. Each of these locations may be denoted as X-Y coordinates of the scroll bar, the thumb or the arrow in relation to the entirety of the GUI.
Optionally, following the extraction of the above parameter(s), the scroll bar may be automatically operated for scrolling. For example, its thumb may be dragged and/or its arrows may be clicked for revealing a previously-invisible area of the GUI.
While a number of exemplary aspects and embodiments have been discussed above, those of skill in the art will recognize certain modifications, permutations, additions and sub-combinations thereof. It is therefore intended that the following appended claims and claims hereafter introduced be interpreted to include all such modifications, permutations, additions and sub-combinations as are within their true spirit and scope.
In the description and claims of the application, each of the words “comprise” “include” and “have”, and forms thereof, are not necessarily limited to members in a list with which the words may be associated.
Number | Name | Date | Kind |
---|---|---|---|
4622013 | Cerchio | Nov 1986 | A |
4648062 | Johnson | Mar 1987 | A |
4964077 | Eisen | Oct 1990 | A |
5117496 | Stearns | May 1992 | A |
5121497 | Kerr | Jun 1992 | A |
5179654 | Richards | Jan 1993 | A |
5252951 | Tannenbaum | Oct 1993 | A |
5261820 | Slye | Nov 1993 | A |
5287448 | Nicol | Feb 1994 | A |
5388993 | McKiel | Feb 1995 | A |
5395243 | Lubin | Mar 1995 | A |
5432940 | Potts | Jul 1995 | A |
5475843 | Halviatti | Dec 1995 | A |
5481667 | Bieniek | Jan 1996 | A |
5488685 | Palmer et al. | Jan 1996 | A |
5546521 | Martinez | Aug 1996 | A |
5577186 | Mann | Nov 1996 | A |
5581684 | Dudzik | Dec 1996 | A |
5602982 | Judd | Feb 1997 | A |
5627958 | Potts | May 1997 | A |
5640537 | Jessen | Jun 1997 | A |
5680617 | Gough | Oct 1997 | A |
5745738 | Ricard | Apr 1998 | A |
5748805 | Withgott | May 1998 | A |
5790117 | Halviatti | Aug 1998 | A |
5825356 | Habib | Oct 1998 | A |
5867386 | Hoffberg | Feb 1999 | A |
5867678 | Amro | Feb 1999 | A |
6020886 | Jacober | Feb 2000 | A |
6252594 | Xia | Jun 2001 | B1 |
6307544 | Harding | Oct 2001 | B1 |
6308042 | Marsh | Oct 2001 | B1 |
6339436 | Amro | Jan 2002 | B1 |
6340977 | Lui | Jan 2002 | B1 |
6434532 | Goldband et al. | Aug 2002 | B2 |
6438545 | Beauregard | Aug 2002 | B1 |
6453254 | Bullwinkel | Sep 2002 | B1 |
6563514 | Samar | May 2003 | B1 |
6662340 | Rawat | Dec 2003 | B2 |
6687485 | Hopkins | Feb 2004 | B2 |
6690390 | Walters | Feb 2004 | B1 |
6842877 | Robarts | Jan 2005 | B2 |
6937257 | Dunlavey | Aug 2005 | B1 |
7024633 | Mann | Apr 2006 | B1 |
7159188 | Stabb | Jan 2007 | B2 |
7262778 | Edwards et al. | Aug 2007 | B1 |
7441250 | Katz | Oct 2008 | B2 |
7490292 | Hennum | Feb 2009 | B2 |
7543278 | Klementiev | Jun 2009 | B2 |
7546602 | Hejlsberg et al. | Jun 2009 | B2 |
7620895 | Adkins | Nov 2009 | B2 |
7675529 | Brunner | Mar 2010 | B1 |
7861178 | Lui et al. | Dec 2010 | B2 |
7890865 | Palmer et al. | Feb 2011 | B2 |
7930643 | Chandhoke et al. | Apr 2011 | B2 |
7987427 | Gough et al. | Jul 2011 | B1 |
8205168 | Van Slembrouck | Jun 2012 | B1 |
20020083422 | Scouten | Jun 2002 | A1 |
20020091993 | Walley | Jul 2002 | A1 |
20020186252 | Himmel | Dec 2002 | A1 |
20030001875 | Black | Jan 2003 | A1 |
20030046082 | Siegel | Mar 2003 | A1 |
20030084115 | Wood | May 2003 | A1 |
20030142123 | Malamud | Jul 2003 | A1 |
20030163801 | Thames | Aug 2003 | A1 |
20030171926 | Suresh | Sep 2003 | A1 |
20030210260 | Palmer et al. | Nov 2003 | A1 |
20030219707 | Hopkins | Nov 2003 | A1 |
20040143814 | De Jong | Jul 2004 | A1 |
20040258298 | Chen | Dec 2004 | A1 |
20050050470 | Hudson et al. | Mar 2005 | A1 |
20050080588 | Kobayashi | Apr 2005 | A1 |
20050091612 | Stabb | Apr 2005 | A1 |
20050172018 | Devine et al. | Aug 2005 | A1 |
20060005132 | Herdeg, III | Jan 2006 | A1 |
20060080607 | Cohen | Apr 2006 | A1 |
20060095860 | Wada | May 2006 | A1 |
20060168548 | Kelley | Jul 2006 | A1 |
20060177136 | Windl | Aug 2006 | A1 |
20060184880 | Bala | Aug 2006 | A1 |
20070122789 | Yoo | May 2007 | A1 |
20070266321 | Bicker | Nov 2007 | A1 |
20080034288 | Landar | Feb 2008 | A1 |
20080086700 | Rodriguez | Apr 2008 | A1 |
20080097984 | Candelore | Apr 2008 | A1 |
20080109722 | Gengler | May 2008 | A1 |
20080177994 | Mayer | Jul 2008 | A1 |
20080189612 | Zhang | Aug 2008 | A1 |
20080195958 | Detiege | Aug 2008 | A1 |
20080215976 | Bierner et al. | Sep 2008 | A1 |
20080226119 | Candelore | Sep 2008 | A1 |
20080235339 | Lurey | Sep 2008 | A1 |
20090006985 | Fong | Jan 2009 | A1 |
20090322790 | Behar | Dec 2009 | A1 |
20100064238 | Ludwig | Mar 2010 | A1 |
20100070448 | Omoigui | Mar 2010 | A1 |
20100161586 | Safar | Jun 2010 | A1 |
20100175021 | Ferrara | Jul 2010 | A1 |
20100205530 | Butin | Aug 2010 | A1 |
20100325540 | Biazetti et al. | Dec 2010 | A1 |
20110047462 | Butin | Feb 2011 | A1 |
20110047514 | Butin | Feb 2011 | A1 |
20120005611 | Wey et al. | Jan 2012 | A1 |
Number | Date | Country |
---|---|---|
2272208 | Nov 1999 | CA |
0690426 | Aug 1999 | EP |
2337612 | Nov 1999 | GB |
2007008503 | Jun 2006 | WO |
2007055610 | May 2007 | WO |
2007085603 | Aug 2007 | WO |
Entry |
---|
Author Unknown, “SHO Player User Guide,” [online] [retrieved Sep. 7, 2011]. Retrieved from the Internet: <URL:http://www.transcensus.com/player—userguide/sho—player—userguide—5.htm>. |
Final rejection of U.S. Appl. No. 12/546,048 dated Jul. 17, 2012. |
Bit Order, captured by the Internet Archive Wayback Machine on Feb. 16, 2005, retrieved Jan. 2012 from http:// web.archive.org/web/20050216154839/http://www.fileformat.info/mirror/egff/ch06—04.htm, pp. 1-3. |
Definition of platform webopedia.pdf, captured by the Internet Archive Wayback Machine on Jun. 15, 2007, retrieved Jul. 16, 2013 from http://web. Archive.org/web/20070615144951/http://www.webopedia.com/TERM/P/PLATFORM.html on Jul. 16, 2013, p. 1. |
Wikipedia cloud computing.pdf, captured by the Internet Archive Wayback Machine on Jan. 7, 2009, retrieved from http://web.archive.org/web/20090107214626/http://en.wikipedia.org/wiki/Cloud—Computing-html on Jul. 16, 2013 pp. 1,5. |
Number | Date | Country | |
---|---|---|---|
20110047514 A1 | Feb 2011 | US |