# US 2020/0394035 A1 · Run-Time Application Modification

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

- Number: US 2020/0394035 A1
- Document ID: US20200394035A1
- Status: Published application
- Kind: A1
- Application number: 17/003,752
- Filed: 2020-08-26
- Published: 2020-12-17
- Earliest claimed: 2014-05-30
- Assignees: Apptimize LLC
- Applicants: Apptimize LLC
- Inventors: James Brandon Koppel
- Web page: https://patentgrep.com/patent/US20200394035A1

## CPC

- G06F 8/656: while running
- G06F 9/451: Execution arrangements for user interfaces
- G06F 8/34: Graphical or visual programming
- G06F 11/3698: Environments for analysis, debugging or testing of software
- G06F 8/61: Installation
- G06F 9/22: Microcontrol or microprogram arrangements
- G06F 9/544: {Buffers; Shared memory; Pipes}
- G06F 11/3688: {for test execution, e.g. scheduling of test suites}
- G06F 2009/4557: {Distribution of virtual machine instances; Migration and load balancing}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An application includes main program code, but also a call handler and an update module. When a specific method or function in the operating system is called, the call is redirected to the call handler in the application. The call handler then calls the function in the operating system. The function retrieves an object to present in a user interface to the application. But before the object is rendered, program control is returned to the call handler, which calls into the update module. The update module determines whether or not the appearance of the object should be changed, for example, in accordance with an A/B test or any other type of update. If so, visual characteristics of the object are changed. Control reverts back to the operating system from the call handler and the object, in its changed form, is presented in the user interface.

## Claims

### Claim 1

A computer-implemented method:
executing a main program comprising a plurality of functions, a function of the plurality of functions associated with an execution redirection flag, the main program developed by an application creator;
redirecting, after invoking the function associated with the execution redirection flag, program control to a call handler residing in a software development kit (SDK) associated with the main program, the SDK developed by a third party;
retrieving, based on the call handler, data describing a modification to an object or routine used by the main program; and
returning the program control to the main program.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
responsive to returning program control to the main program, executing an instruction using the data describing the modification to the object or routine.

### Claim 3 (depends on 2)

The method of claim 2, wherein the modification is associated with visual characteristics of one or more objects for display on the user interface, and executing the instruction further comprises:
displaying the one or more objects on the user interface with modified visual characteristics based on the modification described by the data.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
setting the execution redirection flag to indicate the function is associated with a native machine code implementation, the flag including information directing program execution to the call handler; and
generating a copy of a bytecode representation of the function, the copy associated with the call handler.

### Claim 5 (depends on 4)

The method of claim 4, wherein redirecting, after invoking the function associated with the execution redirection flag, the program control to the call handler residing in the SDK associated with the main program comprises:
responsive to identifying the redirection execution flag by the main program invoking the function, providing program control to the call handler,
executing, by the call handler, the copy of the bytecode representation of the function, the execution of the copy including retrieving information corresponding to the object or routine,
receiving, by the call handler, the information corresponding to the object or routine from the copy, and
determining, by the call handler, based on the information, whether or not the object or routine is subject to the modification.

### Claim 6 (depends on 5)

The method of claim 5, wherein the call handler retrieves the data describing the modification to the object or routine responsive to determining that the object or routine is subject to the modification, and further comprising:
performing, by the call handler, the modification of the object or routine using the retrieved data, the modified object or routine accessible to the main program.

### Claim 7 (depends on 4)

The method of claim 4, wherein the bytecode representation of the plurality of functions is a virtual machine code representation.

### Claim 8 (depends on 1)

The method of claim 1, wherein the modification is associated with an A/B test of the object or routine.

### Claim 9 (depends on 1)

The method of claim 1, wherein data describing the modification to the object or routine resides in the SDK.

### Claim 10

A system comprising:
memory;
one or more processors operatively coupled with the memory; and
instructions stored in the memory, the instructions, when executed by the one or more processors, direct the one or more processors to:
execute a main program comprising a plurality of functions, a function of the plurality of functions associated with an execution redirection flag, the main program developed by an application creator;
redirect, after invoking the function associated with the execution redirection flag, program control to a call handler residing in a software development kit (SDK) associated with the main program, the SDK developed by a third party;
retrieve, based on the call handler, data describing a modification to an object or routine used by the main program; and
return the program control to the main program.

### Claim 11 (depends on 10)

The system of claim 10, wherein the instructions, when executed by the one or more processors, further direct the one or more processors to:
responsive to returning program control to the main program, execute an instruction using the data describing the modification to the object or routine.

### Claim 12 (depends on 11)

The system of claim 11, wherein the modification is associated with visual characteristics of one or more objects for display on the user interface, and wherein the instructions, when executed by the one or more processors, further direct the one or more processors to:
display the one or more objects on the user interface with modified visual characteristics based on the modification described by the data.

### Claim 13 (depends on 10)

The system of claim 10, wherein the instructions, when executed by the one or more processors, further direct the one or more processors to:
set the execution redirection flag to indicate the function is associated with a native machine code implementation, the flag including information directing program execution to the call handler; and
generate a copy of a bytecode representation of the function, the copy associated with the call handler.

### Claim 14 (depends on 13)

The system of claim 13, wherein the instruction to redirect, after invoking the function associated with the execution redirection flag, the program control to the call handler residing in the SDK associated with the main program comprises instructions that direct the one or more processors to:
responsive to identifying the redirection execution flag by the main program invoking the function, provide program control to the call handler,
execute, by the call handler, the copy of the bytecode representation of the function, the execution of the copy including retrieving information corresponding to the object or routine,
receive, by the call handler, the information corresponding to the object or routine from the copy, and
determine, by the call handler, based on the information, whether or not the object or routine is subject to the modification.

### Claim 15 (depends on 14)

The system of claim 14, wherein the call handler retrieves the data describing the modification to the object or routine responsive to determining that the object or routine is subject to the modification, and wherein the instructions, when executed by the one or more processors, further direct the one or more processors to:
perform, by the call handler, the modification of the object or routine using the retrieved data, the modified object or routine accessible to the main program.

### Claim 16 (depends on 13)

The system of claim 13, wherein the bytecode representation of the plurality of functions is a virtual machine code representation.

### Claim 17 (depends on 10)

The system of claim 10, wherein the modification is associated with an A/B test of the object or routine.

### Claim 18 (depends on 10)

The system of claim 10, wherein data describing the modification to the object or routine resides in the SDK.

### Claim 19

A non-transitory computer readable storage medium for storing instructions that, when executed by one or more processors, direct the one or more processors to:
execute a main program comprising a plurality of functions, a function of the plurality of functions associated with an execution redirection flag, the main program developed by an application creator;
redirect, after invoking the function associated with the execution redirection flag, program control to a call handler residing in a software development kit (SDK) associated with the main program, the SDK developed by a third party;
retrieve, based on the call handler, data describing a modification to an object or routine used by the main program; and
return the program control to the main program.

### Claim 20 (depends on 19)

The computer readable storage medium of claim 19, wherein the instructions, when executed by the one or more processors, further direct the one or more processors to:
responsive to returning program control to the main program, execute an instruction using the data describing the modification to the object or routine.
