# US 2015/0106798 A1 · Sharing dynamic variables in a high availability environment

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

- Number: US 2015/0106798 A1
- Document ID: US20150106798A1
- Status: Published application
- Kind: A1
- Application number: 14/050,604
- Filed: 2013-10-10
- Published: 2015-04-16
- Earliest claimed: 2013-10-10
- Assignees: Avaya Inc.
- Applicants: Avaya Inc.
- Inventors: Robert C. Steiner
- Web page: https://patentgrep.com/patent/US20150106798A1

## CPC

- G06F 8/443: {Optimisation}
- G06F 8/433: {Dependency analysis; Data or control flow analysis}
- G06F 11/1451: {by selection of backup contents}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Methods and systems are provided that utilize compiler technology in identifying changed critical variables in work assignment code that cause synchronization issues between a master system and another server. The identified changed critical variables are shared by the master server in a high availability environment. In general, the sharing of changed critical variables includes sending, via a master system, changed code or critical variables to a receiving system. The receiving system can implement the changed code or critical variables to maintain synchronization with the master system.

## Claims

### Claim 1

A method, comprising:
identifying, by a compiler module, critical variables used in an inner loop of a work assignment mechanism in a contact center, wherein the inner loop is executed as code stored in a memory;
determining, via the compiler module, a change in at least one of the critical variables as a result of executing the code, wherein the change affects work assignments made via the work assignment mechanism;
rewriting, via the compiler module, the code stored in memory to include the at least one of the critical variables determined to change; and
sending the at least one of the critical variables determined to change to a server across a communication network.

### Claim 2 (depends on 1)

The method of claim 1, wherein prior to sending the at least one of the critical variables determined to change, the method further comprises:
detecting, via the compiler module, multiple changes to the at least one of the critical variables determined to change for two or more iterations of the inner loop executed; and
completing, via the compiler module and in response to detecting the multiple changes, execution of all iterations of the inner loop.

### Claim 3 (depends on 1)

The method of claim 1, wherein prior to sending the at least one of the critical variables determined to change, the method further comprises:
detecting, via the compiler module, the at least one of the critical variables determined to change remains unchanged for at least two iterations of the inner loop executed.

### Claim 4 (depends on 1)

The method of claim 1, wherein the server is a backup server to the contact center, and the at least one of the critical variables determined to change is sent to maintain an operational synchronization between the contact center and the backup server.

### Claim 5 (depends on 1)

The method of claim 1, wherein the at least one of the critical variables determined to change is sent to the server as the rewritten code.

### Claim 6 (depends on 1)

The method of claim 1, wherein the at least one of the critical variables determined to change is sent to the server as at least one of a call function, library, and list.

### Claim 7 (depends on 1)

The method of claim 1, wherein the critical variables include at least one of a count of eligible work, work assigned to a resource, metrics, when a resource is added to the contact center, and dictionaries.

### Claim 8 (depends on 1)

The method of claim 1, wherein the server is a master system, and wherein the method further comprises:
receiving the at least one of the critical variables determined to change; and
determining, via the master system, whether to include the at least one of the critical variables determined to change in a master system inner loop code.

### Claim 9 (depends on 8)

The method of claim 8, wherein determining whether to include the at least one of the critical variables determined to change further comprises:
comparing, via the master system, the at least one of the critical variables determined to change to at least one master system critical variable; and
selecting, via the master system and based at least partially on rules, optimal critical variables to implement into the master system inner loop code.

### Claim 10

A non-transitory computer readable medium having stored thereon instructions that, when executed by a processor, perform a method comprising:
identifying critical variables used in an inner loop of a work assignment mechanism in a contact center, wherein the inner loop is executed as code stored in a memory;
determining a change in at least one of the critical variables as a result of executing the code, wherein the change affects work assignments made via the work assignment mechanism;
rewriting the code stored in memory to include the at least one of the critical variables determined to change; and
sending the at least one of the critical variables determined to change to a server across a communication network.

### Claim 11 (depends on 10)

The non-transitory computer readable medium of claim 10, wherein prior to sending the at least one of the critical variables determined to change, the method further comprises:
detecting multiple changes to the at least one of the critical variables determined to change for two or more iterations of the inner loop executed; and
completing, in response to detecting the multiple changes, execution of all iterations of the inner loop.

### Claim 12 (depends on 10)

The non-transitory computer readable medium of claim 10, wherein prior to sending the at least one of the critical variables determined to change, the method further comprises:
detecting the at least one of the critical variables determined to change remains unchanged for at least two iterations of the inner loop executed.

### Claim 13 (depends on 10)

The non-transitory computer readable medium of claim 10, wherein the server is a backup server to the contact center, and the at least one of the critical variables determined to change is sent to maintain an operational synchronization between the contact center and the backup server.

### Claim 14 (depends on 10)

The non-transitory computer readable medium of claim 10, wherein the at least one of the critical variables determined to change is sent to the server as the rewritten code.

### Claim 15 (depends on 10)

The non-transitory computer readable medium of claim 10, wherein the at least one of the critical variables determined to change is sent to the server as at least one of a call function, library, and list.

### Claim 16 (depends on 10)

The non-transitory computer readable medium of claim 10, wherein the critical variables include at least one of a count of eligible work, work assigned to a resource, metrics, when a resource is added to the contact center, and dictionaries.

### Claim 17 (depends on 10)

The non-transitory computer readable medium of claim 10, wherein the server is a master system, and wherein the method further comprises:
receiving the at least one of the critical variables determined to change; and
determining, via the master system, whether to include the at least one of the critical variables determined to change in a master system inner loop code.

### Claim 18 (depends on 17)

The non-transitory computer readable medium of claim 17, wherein determining whether to include the at least one of the critical variables determined to change further comprises:
comparing, via the master system, the at least one of the critical variables determined to change to at least one master system critical variable; and
selecting, via the master system and based at least partially on rules, optimal critical variables to implement into the master system inner loop code.

### Claim 19

A contact center, comprising:
a work assignment mechanism contained in memory and executed by a processor, the work assignment mechanism including:
a compiler module configured to identify critical variables used in an inner loop of a work assignment mechanism in a contact center, wherein the inner loop is executed as code stored in a memory, determine a change in at least one of the critical variables as a result of executing the code, wherein the change affects work assignments made via the work assignment mechanism, rewrite the code stored in memory to include the at least one of the critical variables determined to change; and
a communications module configured to share the critical variables across a communications network with a remote server.

### Claim 20 (depends on 19)

The contact center of claim 19, wherein the compiler module is further configured to detect multiple changes to the at least one of the critical variables determined to change for two or more iterations of the inner loop executed; and in response to detecting the multiple changes, complete execution of all iterations of the inner loop.
