# US 2020/0349037 A1 · Active-active environment control

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

- Number: US 2020/0349037 A1
- Document ID: US20200349037A1
- Status: Published application
- Kind: A1
- Application number: 16/399,915
- Filed: 2019-04-30
- Published: 2020-11-05
- Earliest claimed: 2019-04-30
- Assignees: JFrog Ltd.
- Applicants: JFrog, Ltd.
- Inventors: Yoav LANDMAN
- Web page: https://patentgrep.com/patent/US20200349037A1

## CPC

- G06F 11/1658: {Data re-synchronization of a redundant component, or initial sync of replacement, additional or spare unit}
- G06F 11/2082: {Data synchronisation}
- G06F 8/60: Software deployment
- G06F 11/2076: {Synchronous techniques}
- G06F 21/44: Program or device authentication
- G06F 21/64: Protecting data integrity, e.g. using checksums, certificates or signatures
- H04L 9/0825: {using asymmetric-key encryption or public key infrastructure [PKI], e.g. key signature or public key certificates}
- H04L 63/10: {for controlling access to devices or network resources}
- H04L 63/20: {for managing network security; network security policies in general (filtering policies H04L63/0227)}
- H04L 63/0823: {using certificates (cryptographic mechanisms or cryptographic arrangements for entity authentication involving certificates H04L9/3263)}
- H04L 63/108: {when the policy decisions are valid for a limited amount of time}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

The present disclosure provides a method, system, and device for security object synchronization at multiple nodes of an active-active environment. To illustrate, a source node may generate a corresponding security object sync request for each of multiple target nodes. The source node may send the security object sync request to the target nodes via a source queue and, for each target node, a corresponding distribution queue. A distribution queue may be closed based on an acknowledgement received from a corresponding target node, after a time period, or after a number of transmission attempts. A synchronization log may be maintained to indicate which security object sync requests have been delivered to which target nodes. In some implementations, the source node and the target nodes are part of an active-active environment that may be synchronized in time so the nodes resolve conflicts between received security object updates initiated from two different nodes.

## Claims

### Claim 1

A method for security object synchronization in an active-active environment, the method comprising:
receiving, at a source node, a user instruction, the user instruction comprising an instruction to synchronize one or more target nodes executing an instance of an application;
in response to receiving the user instruction, identifying one or more target nodes to receive a security object sync request from the source node;
initializing, at the source node, a distribution structure, the distribution structure comprising a source queue and, for each identified target node, a corresponding distribution queue;
generating, at the source node, for each identified target node, a corresponding security object sync request;
transmitting, via the source queue and the distribution queue corresponding to each identified target node, the corresponding security object sync requests; and
updating a synchronization log corresponding to each identified target node, where updating the synchronization log comprises recording an acknowledgment of receipt of sync request, and where the acknowledgement is received from at least one of the identified target nodes.

### Claim 2 (depends on 1)

The method of claim 1, where the user instruction contains an identification of each target node to receive the security object sync request from the source node.

### Claim 3 (depends on 1)

The method of claim 1, where the security object sync request comprises an add group request, a delete group request, a modify group request, an add user request, a delete user request, a modify user request, an add key request, a remove key request, an add permissions request, a remove permissions request, a modify permissions request, or any combination thereof.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
generating a first sync request for a first target node of the identified target nodes where the generating the first sync request comprises:
identifying a most recent synchronization update of the first target node; and
determining if at least one synchronization update was requested between the most recent synchronization update and receipt of the user instruction.

### Claim 5 (depends on 4)

The method of claim 4, where the first sync request for the first target node includes update data corresponding to the user instruction and to the at least one synchronization update.

### Claim 6 (depends on 4)

The method of claim 4, where identifying the most recent synchronization update of the first target node comprises:
determining a first time value corresponding to the most recent synchronization update; and
determining a second time value corresponding to receipt of the user instruction.

### Claim 7 (depends on 6)

The method of claim 6, where determining if the at least one synchronization update was requested between the most recent synchronization update and receipt of the user instruction comprises:
comparing the first time value and the second time value.

### Claim 8 (depends on 6)

The method of claim 6, where the source node and each of the one or more target nodes is synchronized in time.

### Claim 9 (depends on 4)

The method of claim 4, further comprising:
prior to sending the first sync request for the first target node, encoding the first sync request with a certificate of the source node.

### Claim 10 (depends on 9)

The method of claim 9, where the certificate of the source node comprises a token.

### Claim 11 (depends on 9)

The method of claim 9, where the certificate of the source node comprises a private key of the source node.

### Claim 12 (depends on 4)

The method of claim 4, where the first sync request causes the first target node to initiate a target queue.

### Claim 13 (depends on 1)

The method of claim 1, further comprising:
for a first target node of the one or more target nodes corresponding to a first distribution queue:
determining whether an acknowledgement is received from the first target node via the first distribution queue responsive to the security object sync request.

### Claim 14 (depends on 13)

The method of claim 13, further comprising:
responsive to a determination that the acknowledgement is not received from the first target node:
determining an amount of time that has elapsed since the security object sync request was sent;
comparing the amount of time to a threshold; and
in response to the amount of time being greater than or equal to the threshold, resending the security object sync request to the first target node.

### Claim 15 (depends on 13)

The method of claim 13, further comprising:
responsive to a determination that the acknowledgement is not received from the first target node:
determining whether an additional request is received at the source node after sending the security object sync request to the first target node;
in response to a determination that the additional request is received for the first target node;
updating the security object sync request based on the additional request to generate an updated security object sync request; and
sending the updated security object sync request to the first target node.

### Claim 16 (depends on 13)

The method of claim 13, further comprising:
responsive to a determination that the acknowledgement is not received from the first target node:
determining a number of times the security object sync request has been sent without acknowledgement;
performing a comparison between the number of times and a threshold; and
in response to the number of times being greater than or equal to the threshold, determining that the first target node is inactive.

### Claim 17

A system for security object synchronization in an active-active environment, the system comprising:
at least one memory storing instructions; and
one or more processors coupled to the at least one memory, the one or more processors configured to execute the instructions to cause the one or more processors to:
receive, at a source node, a user instruction, the user instruction comprising an instruction to synchronize one or more target nodes executing an instance of an application;
in response to receiving the user instruction, identify one or more target nodes to receive a security object sync request from the source node;
initialize, at the source node, a distribution structure, the distribution structure comprising a source queue and, for each identified target node, a corresponding distribution queue;
generate, at the source node, for each identified target node, a corresponding security object sync request;
transmit, via the source queue and a distribution queue corresponding to each identified target node, the corresponding security object sync requests; and
update a synchronization log corresponding to each identified target node, where updating the synchronization log comprises recording an acknowledgment of receipt of security object sync request, where the acknowledgement is received from at least one of the identified target nodes.

### Claim 18 (depends on 17)

The system of claim 17, where the source node and each of the one or more target nodes comprises a server.

### Claim 19 (depends on 17)

The system of claim 17, where:
the active-active environment comprises multiple geographic regions;
the source node is included in a first geographic region of the multiple geographic regions; and
at least one target node of the one or more target nodes is included in a second geographic region distinct from the first geographic region.

### Claim 20 (depends on 17)

The system of claim 17, where the security object sync request comprises a user sync request, a group sync request, a permission sync request, a token sync request, or a combination thereof.

### Claim 21

A non-transitory computer-readable storage medium storing instructions that, when executed by one or more processors, cause the one or more processors to perform operations for security object synchronization in an active-active environment, the operations comprising:
executing a first routine to identify one or more target nodes to receive a security object sync request from a source node in an active-active environment;
executing a second routine to initiate a distribution structure from the source node based on the identified one or more target nodes, the distribution structure comprising a source queue and, for each of the one or more target nodes, a corresponding distribution queue;
executing a third routine to generate, for each of the one or more target nodes, a corresponding security object sync request based on a synchronization log maintained by the source node;
executing a fourth routine to send to each target node of the one or more target nodes the corresponding security object sync request via the source queue and the distribution queue for the target node; and
executing a fifth routine to update the synchronization log for each target node based on whether an acknowledgment is received from the target node responsive to the corresponding security object sync request.

### Claim 22 (depends on 21)

The non-transitory computer-readable storage medium of claim 21, where the distribution structure comprises a logical hierarchy of virtual queues.

### Claim 23 (depends on 21)

The non-transitory computer-readable storage medium of claim 21, where the operations further comprise:
maintaining a list of one or more groups, each group corresponding to a target node of the one or more target nodes.

### Claim 24 (depends on 21)

The non-transitory computer-readable storage medium of claim 21, where the operations further comprise:
maintaining a list of the one or more target nodes, each of the one or more target nodes corresponding to a unique identifier.

### Claim 25 (depends on 24)

The non-transitory computer-readable storage medium of claim 24, where the operations further comprise:
adding a target node to the list of the one or more target nodes, each of the one or more target nodes corresponding to a unique identifier.

### Claim 26 (depends on 25)

The non-transitory computer-readable storage medium of claim 25, where the operations to add the target node to the list of the one or more target nodes further comprise:
sending, to the target node, a certificate of the source node for storage.

### Claim 27 (depends on 26)

The non-transitory computer-readable storage medium of claim 26, where the certificate comprises a private key of the source node or a token.

### Claim 28 (depends on 26)

The non-transitory computer-readable storage medium of claim 26, where the operations to add the target node to the list of the one or more target nodes further comprise:
creating and storing one or more application program interfaces (APIs), the one or more APIs corresponding to a path to the target node, an operation to remove the target node from the list, and/or an operation to perform a synchronization operation with the target node.
