Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
DETECTING TRANSITIONS
Document Type and Number:
WIPO Patent Application WO/2016/175823
Kind Code:
A1
Abstract:
Examples disclosed herein relate to creating a first document skeleton associated with a first state of an application, creating a second document skeleton associated with a second state of the application, determining, according to a comparison of the first document skeleton and a second document skeleton, whether a transition occurred in the application, and in response to determining that the transition occurred in the application, logging a measured metric associated with the application.

Inventors:
SHERSHEVSKY OLGA (IL)
NITSAN AMICHAI (IL)
ISRAELI AVIAD (IL)
Application Number:
PCT/US2015/028448
Publication Date:
November 03, 2016
Filing Date:
April 30, 2015
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
HEWLETT PACKARD ENTPR DEV LP (US)
International Classes:
G06F17/00; G06F40/143
Foreign References:
US20140123000A12014-05-01
US20120143947A12012-06-07
US8381094B12013-02-19
US20150113383A12015-04-23
US20120054203A12012-03-01
Attorney, Agent or Firm:
SORENSEN, C. Blake et al. (3404 E. Harmony RoadMail Stop 7, Fort Collins CO, US)
Download PDF:
Claims:
CLAIMS

We claim:

1 . A non-transitory machine-readable storage medium comprising instructions which, when executed by a processor, cause the processor to:

create a first document skeleton associated with a first state of an application, create a second document skeleton associated with a second state of the application,

determine, according to a comparison of the first document skeleton and a second document skeleton, whether a transition occurred in the application, and in response to determining that the transition occurred in the application, log a measured metric associated with the application.

2. The non-transitory machine-readable medium of claim 1 , wherein the first document skeleton and the second document skeleton each comprise a plurality of application elements.

3. The non-transitory machine-readable medium of claim 2, wherein each of the plurality of application elements comprise a user visible element.

4. The non-transitory machine-readable medium of claim 3, wherein the instructions to create the first document skeleton comprise instructions to extract each of the plurality of application elements from a document object model associated with the application.

5. The non-transitory machine-readable medium of claim 4, wherein the instructions to extract each of the plurality of application elements from the document object model associated with the application comprise instructions to determine whether each of a plurality of the document object model elements comprise a user visible element according to at least one of the following: an application programming interface (API) query, a visibility property, and a layer property.

6. The non-transitory machine-readable medium of claim 5, wherein the instructions to determine whether each of the plurality of the document object model elements comprise the user visible element comprise instructions to evaluate each of the plurality of document object model elements according to at least one of the following: an application programming interface (API) query, a visibility property, and a layer property.

7. The non-transitory machine-readable medium of claim 1 , wherein the instructions to determine whether the transition occurred in the application comprise instructions to determine whether the first document skeleton differs from the second document skeleton by a threshold amount.

8. A computer-implemented method comprising:

detecting a start of a user action associated with an application;

generating a first document skeleton from a document object model associated with the application;

detecting an end of the user action associated with the application;

generating a second document skeleton from the document object model associated with the application;

determining, according to a comparison of the first document skeleton and a second document skeleton, whether a transition occurred in the application, and in response to determining that the transition occurred in the application, logging a measured metric associated with the user action.

9. The computer-implemented method of claim 8, wherein generating the first document skeleton from the document object model comprises extracting a plurality of user visible elements from the document object model.

10. The computer-implemented method of claim 9, wherein determining whether the transition occurred in the application comprises determining whether at least one of the plurality of user visible elements changed between the first document skeleton and the second document skeleton.

1 1 . The computer-implemented method of claim 10, wherein determining whether the at least one of the plurality of user visible elements changed between the first document skeleton and the second document skeleton comprises identifying at least one of the following: a change in visibility for the at least one of the plurality of user visible elements, a change in size for the at least one of the plurality of user visible elements, a movement for the at least one of the plurality of user visible elements, and a change in content for the at least one of the plurality of user visible elements.

12. The computer-implemented method of claim 9, wherein extracting the plurality of user visible elements from the document object model comprises determining whether each of a plurality of document elements of the document object model is visible according to at least one of the following: an application programming interface (API) query, a visibility property, and a layer property.

13. The computer implemented method of claim 12, further comprising: in response to determining that at least one of the plurality of document elements of the document object model is not visible, determining whether the at least one of the plurality of document elements comprises a child element; and

in response to determining that the at least one of the plurality of document elements comprises a child element, determining whether the child element is visible.

14. The computer implemented method of claim 9, further comprising in response to determining that the transition did not occur in the application, discarding the measured metric.

15. A system for transition detection, comprising:

a document modeling engine to:

extract a plurality of elements from a document object model associated with a web-based application;

an action engine to:

detect a start of a user action associated with the application, and detect an end of the user action associated with the application;

an element engine to:

create first document skeleton associated with the start of the user action comprising at least a first element of the plurality of elements, and create a second document skeleton associated with the end of the user action comprising at least a second element of the plurality of elements, wherein the first element and the second element each comprise a user visible element; and

an application metric engine to:

measure a metric associated with the user action,

determine, according to a comparison of the first document skeleton and the second document skeleton, whether a transition has occurred in the application,

in response to determining that the logical transition has occurred in the application, log the measured metric associated with the user action, and in response to determining that the logical transition has not occurred in the application, discard the measured metric associated with the user action.

Description:
DETECTING TRANSITIONS

BACKGROUND

[0001 ] Transition detection allows for the identification of changes within logical web pages. For example, user experience tracking often relies on detecting when an action has changed the visual display in a web application. In some applications, some but not all elements and sections of a web page are updated and/or reloaded, resulting in a logical page transition instead of a standard page transition wherein a new web page is loaded by the browser.

BRIEF DESCRIPTION OF THE DRAWINGS

[0002] In the accompanying drawings, like numerals refer to like components or blocks. The following detailed description references the drawings, wherein:

[0003] FIG. 1 is a block diagram of an example transition detection device;

[0004] FIG. 2 is a flowchart of an example of a method for transition detection; and

[0005] FIG. 3 is a block diagram of an example system for transition detection.

DETAILED DESCRIPTION

[0006] As described above, transition detection may identify when a logical transition occurs in a web application. For example, a web page may be rendered based on an underlying structure, such as the Document Object Model (DOM). The structure may comprise various elements, such as images, text, hyperlinks, controls, forms as well as scripts to handle performing functions for the web application. In some implementations, web applications may remain on a same main page while performing functionality to update, move, and/or replace elements as a logical page transition. [0007] In the description that follows, reference is made to the term, "non- transitory machine-readable storage medium." As used herein, the term "non-transitory machine-readable storage medium" refers to any electronic, magnetic, optical, or other physical storage device that stores executable instructions or other data (e.g., a hard disk drive, random access memory, flash memory, etc.).

[0008] Referring now to the drawings, FIG. 1 is a block diagram of an example transition detection device 100 consistent with disclosed implementations. Transition detection device 100 may comprise a processor 1 10 and a non-transitory machine- readable storage medium 120. Transition detection device 100 may comprise a computing device such as a server computer, a desktop computer, a laptop computer, a handheld computing device, a smart phone, a tablet computing device, a mobile phone, or the like.

[0009] Processor 1 10 may comprise a central processing unit (CPU), a semiconductor-based microprocessor, or any other hardware device suitable for retrieval and execution of instructions stored in machine-readable storage medium 120. In particular, processor 1 10 may fetch, decode, and execute a plurality of create document skeleton instructions 130, extract document object model (DOM) element instructions 132, compare skeleton instructions 134, and log metric instructions 136 to implement the functionality described in detail below.

[0010] Executable instructions may be stored in any portion and/or component of machine-readable storage medium 120. The machine-readable storage medium 120 may comprise both volatile and/or nonvolatile memory and data storage components. Volatile components are those that do not retain data values upon loss of power. Nonvolatile components are those that retain data upon a loss of power.

[001 1 ] The machine-readable storage medium 120 may comprise, for example, random access memory (RAM), read-only memory (ROM), hard disk drives, solid- state drives, USB flash drives, memory cards accessed via a memory card reader, floppy disks accessed via an associated floppy disk drive, optical discs accessed via an optical disc drive, magnetic tapes accessed via an appropriate tape drive, and/or other memory components, and/or a combination of any two and/or more of these memory components. In addition, the RAM may comprise, for example, static random access memory (SRAM), dynamic random access memory (DRAM), and/or magnetic random access memory (MRAM) and other such devices. The ROM may comprise, for example, a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), and/or other like memory device.

[0012] Transition detection device 100 may further comprise a document object model 140, a first document skeleton 145, and a second document skeleton 150. In some implementations, DOM 140 and document skeletons 145, 150 may be stored in machine-readable storage medium 120 and/or another memory accessible to device 100 such as those described above. DOM 140 and document skeletons 145,150 may be associated with an application (not shown) executing on device 100.

[0013] DOM 140 may comprise a language-independent representation of a plurality of elements associated with a user interface for an application. DOM 140 may provide for representing and interacting with objects in, for example, HTML, XHTML, and XML application documents. The elements of such application documents may be organized in a tree structure. Objects in the tree structure may be addressed and manipulated by using methods from various programming languages on the objects. When DOM 140 is rendered, as a web page for example, a browser loads DOM 140 into memory and parses each of the elements in the tree structure to translate at least some of the elements into visible user interface elements as applicable.

[0014] Create document skeleton instructions 130 may create a listing of visible application elements associated with an application user interface. In some implementations, each skeleton may be created for a state of the application, such as upon detecting a start and/or an end of a user action. For example, create document skeleton instructions 130 may create first document skeleton 145 upon detecting the start of a user action and may create second document skeleton 150 upon detecting the completion of a user action. Document skeletons 145, 150 may comprise lists comprising a subset of elements from a document object model (DOM).

[0015] User actions may be translated into events that may be manipulated through code and/or scripts based on ASP, Java, JavaScript, Objective C, and various other programming languages. Whenever a user initiates an action (e.g. touch, swipe) on the user client, a sequence of events (e.g. touchstart, click, touchend) may be triggered so that event listeners in an application may process the action. For example, a "swipe" user action may result in event listeners for "touchstart", "touchmove", "touchcancel", "touchend" being called. In such an example, "touchstart" may be associated with a first state, such as the start of a user action, and "touchend" may be associated with a second state, such as the end of a user action. In some implementations, the end of the user action may be associated with a third state, such as when the application user interface has finished updating in response to the execution of the called event listeners for the user action.

[0016] Extract DOM element instructions 132 may extract each of the plurality of application elements from a document object model, such as DOM 140, associated with the application. The extracted elements may be used to create document skeletons 145, 150 by create document skeleton instructions 130. In some implementations, extract DOM element instructions 132 may determine whether each of a plurality of the document object model elements comprise a user visible element.

[0017] User visible elements may comprise elements actually displayed in a user interface of the application. In some implementations, visibility may be determined according to an application programming interface (API) query, a visibility property, and a layer property. For example, an element may comprise a method such as "isVisible" that returns a Boolean value of true if the element is currently displayed or false if the element is not currently displayed. For another example, a CSS style property of "hidden" may comprise a visibility property indicating that the element is not currently displayed. Another example visibility property may comprise a size property; a size below a minimum threshold, such as 5x5 pixels, may be determined to comprise a non-visible element, while larger sizes may be associated with visible elements. A layer property may identify whether an element is in front of another element sharing the same display space in the user interface. The "front" element may comprise a visible element while the element behind the front element may be determined to not be visible.

[0018] Compare skeleton instructions 134 may determine, according to a comparison of the first document skeleton and a second document skeleton, whether a transition occurred in the application. For example, compare skeleton instructions 134 may perform an element by element comparison of first document skeleton 145 and second document skeleton 150. The comparison may determine, for example, which and/or how many elements are present in one document skeleton that are not present in another and/or what changes occurred in the display of an element between first document skeleton 145 and second document skeleton 150. Such changes may comprise, for example, a change in visibility for an element, a change in size, a movement of the element(s) within a user interface, and/or a change in content. For example, an element comprising a list of text, such as a menu, may comprise changed content after a user clicks on one menu item and the menu expands to display a sub-menu.

[0019] In some implementations, compare skeleton instructions 134 may determine whether the transition occurred in the application comprise instructions to determine whether the first document skeleton differs from the second document skeleton by a threshold amount. For example, a transition may require that the overall skeletons differ by greater than some amount, such as 70% and/or may require that at least one large element, such as a central content element and/or an element occupying more than 30% of the visual space of the user interface, have changed.

[0020] Log metric instructions 136 may, in response to determining that the transition occurred in the application, log a measured metric associated with the application. In some implementations, an application may monitor the user experience by measuring performance metrics associated with the performance of user actions. Performance metrics may comprises data such as an amount of time taken to complete an action, an amount of resources used to perform the action, a number, if any, of errors and/or exceptions generated by the action, etc. These performance metrics may then be written to a performance log as associated with the completed user action in instances where the user action resulted in a transition in the application.

[0021 ] FIG. 2 is a flowchart of an example of a method 200 for transition detection consistent with disclosed implementations. Although execution of method 200 is described below with reference to the components of transition detection device 100, other suitable components for execution of method 200 may be used.

[0022] Method 200 may start in block 205 and proceed to block 210 where device 100 may detect a start of a user action associated with an application. User actions may be translated into events that may be manipulated through code and/or scripts based on ASP, Java, JavaScript, Objective C, and various other programming languages. Whenever a user initiates an action (e.g. touch, swipe) on the user client, a sequence of events (e.g. touchstart, click, touchend) may be triggered so that event listeners in an application may process the action. For example, a "swipe" user action may result in event listeners for "touchstart", "touchmove", "touchcancel", "touchend" being called. In such an example, "touchstart" may be associated with a first state, such as the start of a user action, and "touchend" may be associated with a second state, such as the end of a user action.

[0023] Method 200 may then advance to block 215 where device 100 may generate a first document skeleton from a document object model associated with the application. In some implementations, generating the first document skeleton from the document object model may comprise extracting a plurality of user visible elements from the document object model. For example, create document skeleton instructions 130 may create a listing of visible application elements associated with an application user interface. In some implementations, each skeleton may be created for a state of the application, such as upon detecting a start and/or an end of a user action . For example, create document skeleton instructions 130 may create first document skeleton 145 upon detecting the start of a user action and may create second document skeleton 150 upon detecting the completion of a user action.

[0024] In some implementations, extract DOM element instructions 132 may extract each of the plurality of application elements from a document object model, such as DOM 140, associated with the application. The extracted elements may be used to create document skeletons 145, 150 by create document skeleton instructions 130. In some implementations, extract DOM element instructions 132 may determine whether each of a plurality of the document object model elements comprise a user visible element.

[0025] User visible elements may comprise elements actually displayed in a user interface of the application. In some implementations, visibility may be determined according to an application programming interface (API) query, a visibility property, and a layer property. For example, an element may comprise a method such as "isVisible" that returns a Boolean value of true if the element is currently displayed or false if the element is not currently displayed. For another example, a CSS style property of "hidden" may comprise a visibility property indicating that the element is not currently displayed. Another example visibility property may comprise a size property; a size below a minimum threshold, such as 5x5 pixels, may be determined to comprise a non-visible element, while larger sizes may be associated with visible elements. A layer property may identify whether an element is in front of another element sharing the same display space in the user interface. The "front" element may comprise a visible element while the element behind the front element may be determined to not be visible.

[0026] Method 200 may then advance to block 220 where device 100 may detect an end of the user action associated with the application. Detection of the end of the user action may proceed as described above with respect to detecting the start of the user action. In some implementations, the end of the user action may be associated with a third state, such as when the application user interface has finished updating in response to the execution of the called event listeners for the user action. [0027] Method 200 may then advance to block 225 where device 100 may generate a second document skeleton from the document object model associated with the application. In some implementations, document skeletons may be created for a state of the application, such as upon detecting a start and/or an end of a user action. For example, create document skeleton instructions 130 may create first document skeleton 145 upon detecting the start of a user action and may create second document skeleton 150 upon detecting the completion of a user action.

[0028] In some implementations, generating the document skeletons may comprise parsing the tree of the document object model associated with the application, wherein the tree comprises a plurality of parent and child elements. In response to determining that particular elements of the document object model are not visible, device 100 may determine whether the element comprises a child element and, if so, determine whether the child element is visible. Visible child elements may be added to the document skeleton as described above.

[0029] Method 200 may then advance to block 230 where device 100 may determine, according to a comparison of the first document skeleton and a second document skeleton, whether a transition occurred in the application. In some implementations, determining whether the transition occurred in the application comprises may comprise determining whether at least one of the plurality of user visible elements changed between the first document skeleton and the second document skeleton. Determining whether the at least one of the plurality of user visible elements changed between the first document skeleton and the second document skeleton may comprise, for example, identifying a change in visibility for the at least one of the plurality of user visible elements, a change in size for the at least one of the plurality of user visible elements, a movement for the at least one of the plurality of user visible elements, and a change in content for the at least one of the plurality of user visible elements.

[0030] In some implementations, compare skeleton instructions 134 may determine, according to a comparison of the first document skeleton and a second document skeleton, whether a transition occurred in the application. For example, compare skeleton instructions 134 may perform an element by element comparison of first document skeleton 145 and second document skeleton 150. The comparison may determine, for example, which and/or how many elements are present in one document skeleton that are not present in another and/or what changes occurred in the display of an element between first document skeleton 145 and second document skeleton 150. Such changes may comprise, for example, a change in visibility for an element, a change in size, a movement of the element(s) within a user interface, and/or a change in content. For example, an element comprising a list of text, such as a menu, may comprise changed content after a user clicks on one menu item and the menu expands to display a sub-menu.

[0031 ] In some implementations, compare skeleton instructions 134 may determine whether the transition occurred in the application comprise instructions to determine whether the first document skeleton differs from the second document skeleton by a threshold amount. For example, a transition may require that the overall skeletons differ by greater than some amount, such as 70% and/or may require that at least one large element, such as a central content element and/or an element occupying more than 30% of the visual space of the user interface, have changed.

[0032] In response to determining that the transition occurred in the application, method 200 may advance to block 240 where device 100 may log a measured metric associated with the user action. For example, log metric instructions 136 may, in response to determining that the transition occurred in the application, log a measured metric associated with the application. In some implementations, an application may monitor the user experience by measuring performance metrics associated with the performance of user actions. Performance metrics may comprises data such as an amount of time taken to complete an action, an amount of resources used to perform the action, a number, if any, of errors and/or exceptions generated by the action, etc. These performance metrics may then be written to a performance log as associated with the completed user action in instances where the user action resulted in a transition in the application. [0033] In response to determining that the transition did not occur in the application, method 200 may advance to block 235 where device 100 may discard the measured metric.

[0034] After discarding the measured metric at block 235 or logging the measured metric at block 240, method 200 may then end at block 250.

[0035] FIG. 3 is a block diagram of a system 300 for transition detection. System 300 may comprise a computing device 310 comprising a document modeling engine 315, an action engine 320, an element engine 325, and a metric engine 330. System 300 may further comprise an application 340 executing on system 300 comprising a user interface 345 comprising a plurality of visible elements 350(A)-(C) and a document object model (DOM) 360. Computing device 310 may comprise, for example, a general and/or special purpose computer, server, mainframe, desktop, laptop, tablet, smart phone, game console, and/or any other system capable of providing computing capability consistent with providing the implementations described herein.

[0036] Each of engines 315, 320, 325, and 330 as well as application 345 may comprise any combination of hardware and instructions (e.g. programming) to implement the functionalities of the respective engine. In examples described herein, such combinations of hardware and programming may be implemented in a number of different ways. For example, the programming for the engines may be processor executable instructions stored on a non-transitory machine-readable storage medium and the hardware for the engines may include a processing resource to execute those instructions. In such examples, the machine-readable storage medium may store instructions that, when executed by the processing resource, implement engines 315, 320, 325, and 330 as well as application 345. In such examples, system 300 may comprise the machine-readable storage medium storing the instructions and the processing resource to execute the instructions, or the machine-readable storage medium may be separate but accessible to system 300 and the processing resource.

[0037] Document modeling engine 315 may extract a plurality of elements from a document object model associated with a web-based application. For example, DOM 360 may comprise a language-independent representation of a plurality of elements associated with a user interface for an application. DOM 360 may provide for representing and interacting with objects in, for example, HTML, XHTML, and XML application documents. The elements of such application documents may be organized in a tree structure. Objects in the tree structure may be addressed and manipulated by using methods from various programming languages on the objects. When DOM 360 is rendered, as a web page for example, a browser loads DOM 360 into memory and parses each of the elements in the tree structure to translate at least some of the elements into visible user interface elements as applicable.

[0038] In some implementations, extract DOM element instructions 132 may extract each of the plurality of application elements from a document object model, such as DOM 360, associated with the application. In some implementations, extract DOM element instructions 132 may determine whether each of a plurality of the document object model elements comprise a user visible element.

[0039] User visible elements, such as visible elements 350(A)-(C) may comprise elements actually displayed in user interface 345 of application 340. In some implementations, visibility may be determined according to an application programming interface (API) query, a visibility property, and a layer property. For example, an element may comprise a method such as "isVisible" that returns a Boolean value of true if the element is currently displayed or false if the element is not currently displayed. For another example, a CSS style property of "hidden" may comprise a visibility property indicating that the element is not currently displayed. Another example visibility property may comprise a size property; a size below a minimum threshold, such as 5x5 pixels, may be determined to comprise a non-visible element, while larger sizes may be associated with visible elements. A layer property may identify whether an element is in front of another element sharing the same display space in the user interface. The "front" element may comprise a visible element while the element behind the front element may be determined to not be visible.

[0040] Action engine 320 may detect a start and/or an end of a user action associated with the application. User actions may be translated into events that may be manipulated through code and/or scripts based on ASP, Java, JavaScript, Objective C, and various other programming languages. Whenever a user initiates an action (e.g. touch, swipe) on the user client, a sequence of events (e.g. touchstart, click, touchend) may be triggered so that event listeners in an application may process the action. For example, a "swipe" user action may result in event listeners for "touchstart", "touchmove", "touchcancel", "touchend" being called. In such an example, "touchstart" may be associated with a first state, such as the start of a user action, and "touchend" may be associated with a second state, such as the end of a user action.

[0041 ] Detection of the end of the user action may proceed as described above with respect to detecting the start of the user action. In some implementations, the end of the user action may be associated with a third state, such as when the application user interface has finished updating in response to the execution of the called event listeners for the user action.

[0042] Element engine 325 may create document skeletons associated with states of the application, such as at the start and/or the end of the user action. The document skeletons may comprise user visible elements, such as visible elements 350(A)-(C).

[0043] In some implementations, generating the first document skeleton from document object model 360 may comprise extracting user visible elements 350(A)- (C) from document object model 360. For example, create document skeleton instructions 130 may create a listing of visible application elements associated with user interface 345. In some implementations, each skeleton may be created for a state of the application, such as upon detecting a start and/or an end of a user action. For example, create document skeleton instructions 130 may create first document skeleton 145 upon detecting the start of a user action and may create second document skeleton 150 upon detecting the completion of a user action.

[0044] In some implementations, extract DOM element instructions 132 may extract each of the plurality of application elements from a document object model, such as DOM 360, associated with application 340. The extracted elements may be used to create document skeletons 145, 150 by create document skeleton instructions 130. In some implementations, extract DOM element instructions 132 may determine whether each of a plurality of the document object model elements comprise a user visible element.

[0045] User visible elements 350(A)-(C) may comprise elements actually displayed in user interface 345 of application 340. In some implementations, visibility may be determined according to an application programming interface (API) query, a visibility property, and a layer property. For example, an element may comprise a method such as "isVisible" that returns a Boolean value of true if the element is currently displayed or false if the element is not currently displayed. For another example, a CSS style property of "hidden" may comprise a visibility property indicating that the element is not currently displayed. Another example visibility property may comprise a size property; a size below a minimum threshold, such as 5x5 pixels, may be determined to comprise a non-visible element, while larger sizes may be associated with visible elements. A layer property may identify whether an element is in front of another element sharing the same display space in the user interface. The "front" element may comprise a visible element while the element behind the front element may be determined to not be visible.

[0046] Metric engine 330 may measure a metric associated with the user action, and determine whether a transition has occurred in the application. In response to determining that the logical transition has occurred in the application, metric engine 330 may log the measured metric associated with the user action. Otherwise, metric engine 330 may discard the measured metric associated with the user action. For example, log metric instructions 136 may, in response to determining that the transition occurred in the application, log a measured metric associated with the application.

[0047] In some implementations, an application may monitor the user experience by measuring performance metrics associated with the performance of user actions. Performance metrics may comprises data such as an amount of time taken to complete an action, an amount of resources used to perform the action, a number, if any, of errors and/or exceptions generated by the action, etc. These performance metrics may then be written to a performance log as associated with the completed user action in instances where the user action resulted in a transition in the application.

[0048] In some implementations, determining whether the transition occurred in the application comprises may comprise determining whether at least one of the plurality of user visible elements changed between the first document skeleton and the second document skeleton. Determining whether the at least one of the plurality of user visible elements changed between the first document skeleton and the second document skeleton may comprise, for example, identifying a change in visibility for the at least one of the plurality of user visible elements, a change in size for the at least one of the plurality of user visible elements, a movement for the at least one of the plurality of user visible elements, and a change in content for the at least one of the plurality of user visible elements.

[0049] In some implementations, compare skeleton instructions 134 may determine, according to a comparison of the first document skeleton and a second document skeleton, whether a transition occurred in the application. For example, compare skeleton instructions 134 may perform an element by element comparison of first document skeleton 145 and second document skeleton 150. The comparison may determine, for example, which and/or how many elements are present in one document skeleton that are not present in another and/or what changes occurred in the display of an element between first document skeleton 145 and second document skeleton 150. Such changes may comprise, for example, a change in visibility for an element, a change in size, a movement of the element(s) within a user interface, and/or a change in content. For example, an element comprising a list of text, such as a menu, may comprise changed content after a user clicks on one menu item and the menu expands to display a sub-menu.

[0050] In some implementations, compare skeleton instructions 134 may determine whether the transition occurred in the application comprise instructions to determine whether the first document skeleton differs from the second document skeleton by a threshold amount. For example, a transition may require that the overall skeletons differ by greater than some amount, such as 70% and/or may require that at least one large element, such as a central content element and/or an element occupying more than 30% of the visual space of the user interface, have changed.

[0051 ] The disclosed examples may include systems, devices, computer- readable storage media, and methods for transition detection. For purposes of explanation, certain examples are described with reference to the components illustrated in the Figures. The functionality of the illustrated components may overlap, however, and may be present in a fewer or greater number of elements and components. Further, all or part of the functionality of illustrated elements may co-exist or be distributed among several geographically dispersed locations. Moreover, the disclosed examples may be implemented in various environments and are not limited to the illustrated examples.

[0052] Moreover, as used in the specification and the appended claims, the singularforms "a," "an," and "the" are intended to include the plural forms as well, unless the context indicates otherwise. Additionally, although the terms first, second, etc. may be used herein to describe various elements, these elements should not be limited by these terms. Instead, these terms are used to distinguish one element from another.

[0053] Further, the sequence of operations described in connection with the Figures are examples and are not intended to be limiting. Additional or fewer operations or combinations of operations may be used or may vary without departing from the scope of the disclosed examples. Thus, the present disclosure merely sets forth possible examples of implementations, and many variations and modifications may be made to the described examples. All such modifications and variations are intended to be included within the scope of this disclosure and protected by the following claims.




 
Previous Patent: MEMORY INCLUDING BI-POLAR MEMRISTOR

Next Patent: PRINT MEDIA