# US 9,354,928 B1 · User facing load balancing via virtual machine synchronization

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

- Number: US 9,354,928 B1
- Document ID: US9354928B1
- Status: Granted
- Kind: B1
- Application number: 14/255,180
- Filed: 2014-04-17
- Granted: 2016-05-31
- Earliest claimed: 2013-04-24
- Applicants: Brian K. Buchheit
- Inventors: Brian K. Buchheit
- Web page: https://patentgrep.com/patent/US9354928B1

## CPC

- H04L 12/4625: {Single bridge functionality, e.g. connection of two networks over a single bridge}
- G06F 9/455: Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F 9/45529: {Embedded in an application, e.g. JavaScript in a Web browser}
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 9/4856: {resumption being on a different machine, e.g. task migration, virtual machine migration (G06F9/5088 takes precedence)}
- G06F 9/5044: {considering hardware capabilities}
- G06F 9/5083: {Techniques for rebalancing the load in a distributed system}
- G06F 9/52: Program synchronisation; Mutual exclusion, e.g. by means of semaphores
- H04L 67/1095: Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
- H04L 69/329: in the application layer [OSI layer 7]
- G06F 2009/4557: {Distribution of virtual machine instances; Migration and load balancing}
- G06F 2009/45595: {Network integration; Enabling network access in virtual machine instances}
- H04L 41/0816: the condition being an adaptation, e.g. in response to network events
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A native environment on a local device and a virtual environment on a server device linked to the native device over a network can concurrently execute. The concurrently executing can share state information to keep activities between both environments substantially time-synched. The native environment can be a user-machine interactive environment of a machine-to-user interactive interface. The native environment can perform stand-alone operation without appreciable end-user experience degradation. A process in the native environment requiring an excessive quantity of processing cycles can be detected. The native environment can not perform the processing using resources of the native environment. The virtual environment can perform the process and synchronize the result to the native environment, thereby permitting the native environment to continue to function as if the process was performed by the native environment.

## Claims

### Claim 1

A method for user facing load balancing comprising:
concurrently executing a native environment on a local device and a virtual environment on a server device linked to the native device over a network, wherein the concurrently executing shares state information to keep activities between the native environment and the virtual environment substantially time-synched, wherein the native environment is a user-machine interactive environment comprising a machine-to-user interactive interface, wherein the native environment is capable of stand-alone operation without appreciable end-user experience degradation;
detecting a process in the native environment requiring an estimated quantity of processing cycles to be consumed for completion that exceeds a previously established cycle threshold or requiring an estimated duration for completion that exceeds a previously established duration threshold;
responsive to detecting, the native environment not performing the processing using resources of the native environment; and
the virtual environment performing the process, and synchronizing the result of the process to the native environment, thereby permitting the native environment to continue to function as if the process was performed by the native environment.

### Claim 2 (depends on 1)

The method of claim 1, wherein all processes performed by the local device in the native environment that do not exceed the previously established cycle threshold or the previously established duration threshold are executed locally in the native environment.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
the virtual environment establishing service level agreement (SLA) constraints/conditions for handling processing that the native environment is not performing due to the previously established cycle threshold or duration threshold being exceeded;
the virtual environment determining whether SLA constraints/conditions are able to be met for the processes that the native environment is not handling using resources dedicated to the virtual machine; and
when the SLA constraints/conditions are not able to be met, the virtual machine utilizing additional server side resources to complete the processes within the constraints/conditions of the SLA, wherein the additional server side resources are external to those dedicated to the virtual machine.

### Claim 4 (depends on 1)

The method of claim 1, wherein the detecting detects that the process in the native environment requires the estimated quantity of processing cycles that exceeds the previously established cycle threshold.

### Claim 5 (depends on 1)

The method of claim 1, wherein the native environment is at least one of a GOOGLE NATIVE CLIENT (NaCl), a GOOGLE PEPPER, and a GOOGLE CHROME OS.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
detecting a user interaction with a different native environment;
determining a cessation of user interaction with the native environment; and
conveying time information from the virtual environment to the different native environment resulting in the different native environment time-synched to the virtual environment.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
performing a software change within the virtual environment and not performing the software change within the native environment; and
determining a conflict associated with the software change, wherein the conflict is at least one of a compatibility conflict, data format conflict and a resource conflict.

### Claim 8 (depends on 7)

The method of claim 7, further comprising:
executing a change configuration management action to resolve the conflict.

### Claim 9 (depends on 1)

The method of claim 1, wherein the detecting detects that the process in the native environment requires the estimated duration that exceeds the previously established duration threshold.

### Claim 10 (depends on 1)

The method of claim 1, further comprising:
identifying a data retention policy associated with the native environment, wherein the policy specifies a data set associated with the native environment;
determining an identical data set within the virtual environment; and
conveying the identical data set to a repository in accordance with the data retention policy.

### Claim 11 (depends on 1)

The method of claim 1, further comprising:
identifying a software license associated with a software executing within the virtual environment; and
providing legal access to the software to the local through the software license.

### Claim 12 (depends on 1)

The method of claim 1, further comprising:
determining a data set associated with an exclusivity policy, wherein the exclusivity policy prevents the data set from being time-synched to the virtual environment.

### Claim 13 (depends on 1)

The method of claim 1, further comprising:
detecting a device proximate to the local device executing the native environment, wherein the local device is associated with a network link, wherein the device is associated with a different network link; and
conveying state information to the virtual machine via the network link and the different network link concurrently.

### Claim 14 (depends on 1)

The method of claim 1, further comprising:
collecting usage metrics from the virtual environment; and
analyzing the usage metrics to determine a usage behavior associated with a user of the native environment.

### Claim 15 (depends on 1)

The method of claim 1, further comprising:
performing a targeted advertisement action within the native environment utilizing information obtained from the virtual environment.

### Claim 16 (depends on 1)

The method of claim 1, further comprising:
creating a pool of resources including resources of the local device and including resources of a second device; and
the server device orchestrating resource management for resources of the pool.

### Claim 17

A method for user facing load-balancing comprising:
concurrently executing two or more instances of a user session on two or more different computing devices, comprising at least a first device and a second device, said first device executing a first instance of the two or more instances, said second device executing a second instance of the two or more instances, said first device and said second device comprising hardware and software, wherein said first device and said second device are remotely located from each other and are communicatively linked to each other over a network, wherein at least the second device executing the second instances of the user session within a virtual machine running on the second device;
maintaining state across the instances of the user session in substantially real time, whereby state-affecting changes made in either the first instance or the second instances are communicated to other ones of the instances to maintain a synchronized state for the user session, wherein at least said first instance and said second instance of the user session are capable of independent handling of the user session;
detecting a process in the first instance requiring an estimated quantity of processing cycles to be consumed for completion that exceeds a previously established cycle threshold or requiring an estimated duration for completion that exceeds a previously established duration threshold;
responsive to detecting, the first instance not performing the process using resources of the first device; and
the second instance of the second device performing the process, and synchronizing the result of the process to the first instance of the first device, thereby permitting the first instance to continue to function as if the process was performed by the first instance.

### Claim 18 (depends on 17)

The method of claim 17, further comprising:
detecting a failure associated with the first device, wherein the failure prevents the normal operation of the first device; and
responsive to detecting the failure, programmatically conveying state information associated with at least one of the first and second instances to a computing device remotely located from the first computing device and from the second computing device.

### Claim 19

A system for user facing load-balancing comprising:
one or more processors executing programmatic instructions stored in one or more non-transitory storage mediums;
a synchronization engine, comprising at least a portion of the programmatic instructions, configured to persist a time-synchronized computing session associated with a native environment to a virtual environment, wherein the native environment and virtual environment execute concurrently, wherein the native environment executes in a first computing device and wherein the virtual environment executes in a second computing device connected to the first computing device by a network;
a data store able to persist at least one of a synchronization mapping, a state information, and a configuration setting;
at least a portion of the programmatic instructions to detect a process in the native environment requiring an estimated quantity of processing cycles to be consumed for completion that exceeds a previously established cycle threshold or requiring an estimated duration for completion that exceeds a previously established duration threshold;
at least a portion of the programmatic instructions to suppress performance of the process in the native environment responsive to detecting that estimated quantity of processing cycles exceeds the previously established cycle threshold or responsive to detecting that the estimated duration for completion exceeds that previously established duration threshold, wherein when performance of the process is suppressed, the process is not executed by a processor of the native environment; and
at least a portion of the programmatic instructions to perform the process within the virtual environment when performance of the process is suppressed in the native environment, and to synchronize the result of the process from the virtual environment to the native environment when performance of the process is suppressed in the native environment, thereby permitting the native environment of the first device to function as if the process was performed by the native environment.

### Claim 20 (depends on 19)

The system of claim 19, wherein all processes performed by the local device in the native environment that do not exceed the previously established cycle threshold or the previously established duration threshold are executed locally in the native environment.
