# US 2019/0057485 A1 · Frame Invalidation Control with Causality Attribution

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2019/0057485 A1
- Document ID: US20190057485A1
- Status: Published application
- Kind: A1
- Application number: 16/169,160
- Filed: 2018-10-24
- Published: 2019-02-21
- Earliest claimed: 2014-12-13
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Harikrishna Menon Ajith Kumar; Pankaj Kachrulal Sarda; Carlos Pessoa; David William Shoots; Steven Brix Kirbach
- Web page: https://patentgrep.com/patent/US20190057485A1

## CPC

- G06T 1/20: Processor architectures; Processor configuration, e.g. pipelining
- G06F 9/44: Arrangements for executing specific programs
- G06F 9/451: Execution arrangements for user interfaces
- G09G 5/363: {Graphics controllers}
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G09G: ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION (arrangements for transferring data between digital computers and displays G06F3/14; static indicating arrangements comprising an association of a number of separate sources or light control cells G09F9/00; static indicating arrangements comprising integral associations of a number of light sources H01J, H01K, H10H, H05B33/12; scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission, details thereof H04N1/00)

## Abstract

Developers receive automatically designated property change events which caused invalidation of a rendered frame. Some embodiments control display invalidation in part by identifying higher-level frame bounding events in an execution trace, and applying at least one display invalidation constituency filter to lower-level thread events within a frame creation period, thereby obtaining a display invalidation constituency sequence of one or more display invalidation events. The sequence may include a layout property change event and/or a render property change event which invalidated the frame. An initial part of the sequence is designated as a display frame creation cause. Displayed frame invalidation is controlled by altering the display invalidation constituency, e.g., by manual or automated layout/render property change event elimination or event sequence location change, by a reduction in computational resource usage (e.g., memory usage, graphics processor chip usage), and/or by a reduction in thread execution time which provides a faster frame rate.

## Claims

### Claim 1

A process suitable for getting faster frame rates when rendering pages, the process comprising:
identifying frame bounding events in an execution trace of an application which displays rendered frames, the execution trace including a plurality of traced events within a frame creation period which has endpoints that match the frame bounding events;
obtaining from the execution trace a display invalidation event sequence located within the frame creation period, the display invalidation event sequence containing a frame display property change event; and
reducing execution time of the display invalidation event sequence by optimizing a frame processing which corresponds to the frame display property change event.

### Claim 2 (depends on 1)

The process of claim 1, wherein reducing execution time of the display invalidation event sequence comprises optimizing the frame processing of a web page.

### Claim 3 (depends on 1)

The process of claim 1, wherein reducing execution time of the display invalidation event sequence comprises optimizing the frame processing of hypertext markup language.

### Claim 4 (depends on 1)

The process of claim 1, wherein identifying frame bounding events in the execution trace comprises identifying a page load event.

### Claim 5 (depends on 1)

The process of claim 1, wherein reducing execution time of the display invalidation event sequence comprises optimizing the frame processing of a user interface to a social networking service.

### Claim 6 (depends on 1)

The process of claim 1, wherein optimizing the frame processing comprises at least one of the following:
eliminating the frame processing of the frame display property change event;
changing a location in the event sequence of the frame processing of the frame display property change event;
reducing computational resource usage by the frame processing of the frame display property change event; or
reducing execution time of the frame processing of the frame display property change event.

### Claim 7 (depends on 1)

The process of claim 1, wherein reducing execution time of the display invalidation event sequence comprises optimizing the frame processing of an interface to a device which resides in a cloud environment.

### Claim 8 (depends on 1)

The process of claim 1, wherein reducing execution time of the display invalidation event sequence comprises optimizing the frame processing of an interface to an internet of things node.

### Claim 9

A computer-readable storage medium configured with data and instructions which, upon execution by at least one processor, assist frame rate increases by controlling user interface display invalidation in a computing system, at least in part by a process which comprises:
identifying at least two frame bounding events inferred from an execution trace file of an application, wherein the identified frame bounding events include at least one of the following: a window resizing event, a page load event, a media query event, a binding update event, or a user input event, and wherein the execution trace file includes a plurality of events within a frame creation period which has endpoints that match the frame bounding events;
applying at least one display invalidation constituency filter to events in the execution trace file which are bounded by the frame bounding events; and
altering user interface display invalidation in the computing system by eliminating a frame display property change which occurs between the frame bounding events.

### Claim 10 (depends on 9)

The computer-readable storage medium of claim 9, wherein the process further comprises obtaining an increased frame rate after the altering, relative to a frame rate before the altering.

### Claim 11 (depends on 10)

The computer-readable storage medium of claim 10, wherein the process comprises obtaining an increased frame rate when rendering frames according to at least one of the following: a web page, hypertext markup language.

### Claim 12 (depends on 9)

The computer-readable storage medium of claim 9, wherein the process further comprises optimizing a processing of at least a portion of a display content data structure.

### Claim 13 (depends on 9)

The computer-readable storage medium of claim 9, wherein the process further comprises displaying a timeline which provides a user with a capability for obtaining details on one or more frame bounding events.

### Claim 14 (depends on 9)

The computer-readable storage medium of claim 9, wherein the process further comprises designating at least one event to a user as a display frame creation cause, thereby assisting optimization of processing to increase a frame rate.

### Claim 15

A computing system configured to assist development of software which has an increased frame rate, the computing system comprising:
one or more processors;
at least one memory in operable communication with the one or more processors;
a display screen;
a display update code portion which upon execution by the one or more processors updates display content of one or more frames on the display screen in response to a change in at least one frame display property;
an execution trace of a traced application program, the execution trace residing in the memory outside of the traced application program and containing events which trace execution of the traced application program; and
a frame causality identification module which upon execution by the one or more processors produces a display invalidation constituency which includes an event sequence for a selected frame, the event sequence containing at least one frame display property change event, and wherein the frame causality identification module also designates an earliest event of the display invalidation constituency as a cause of the selected frame.

### Claim 16 (depends on 15)

The computing system of claim 15, wherein the computing system would benefit from an increased frame rate to help avoid eye strain in that the selected frame has a frame preparation time greater than 22 milliseconds.

### Claim 17 (depends on 15)

The computing system of claim 15, wherein the computing system would benefit from an increased frame rate to help provide a perception of smoothness and responsiveness in that the selected frame has a frame preparation time greater than 16 milliseconds.

### Claim 18 (depends on 15)

The computing system of claim 15, wherein the display update code portion comprises a user interface thread.

### Claim 19 (depends on 15)

The computing system of claim 15, further comprising a network connection to a web server, and wherein the display content includes display content sent from the web server to the computing system.

### Claim 20 (depends on 15)

The computing system of claim 15, comprising at least one of the following: a desktop computer, a laptop computer, a workstation, a smartphone, a tablet.
