×

Establishing connections in a multi-tenant environment

  • US 10,528,526 B2
  • Filed: 09/02/2015
  • Issued: 01/07/2020
  • Est. Priority Date: 03/19/2015
  • Status: Active Grant
First Claim
Patent Images

1. A method for inter-process communication in a multi-tenant environment, the method comprising:

  • creating an advertisement file for each tenant of a plurality of tenants;

    locking a plurality of synchronization files prior to incrementing a semaphore, wherein the plurality of synchronization files correspond to the plurality of tenants, and wherein locking the plurality of synchronization files ensure that the semaphore is only decremented once per tenant;

    incrementing the semaphore by an integer equal to a target count, wherein the target count is calculated by adding the advertisement files for each tenant of the plurality of tenants to an advertisement file for a daemon;

    responsive to a determination that the semaphore for the plurality of tenants is greater than zero, searching for a response file corresponding to a specific tenant, wherein the response file includes metadata related to an information channel for communication with the specific tenant and information depicting a communication protocol used corresponding to the specific tenant;

    decrementing the semaphore, wherein the daemon decrements the semaphore in which the specific tenant is operating in the daemon once for each search loop;

    detecting the response file using the metadata related to the information channel to determine that the detected response file corresponds to the specific tenant;

    responsive to detecting the response file, unlocking the plurality of synchronization files;

    responsive to detecting the response file, resetting the semaphore to a value of zero; and

    responsive to detecting the response file, establishing a connection, wherein the connection comprises an encrypted communication channel between the specific tenant and the attachment process mediated by the daemon, and wherein the connection is established at a pre-determined time and is terminated after a pre-determined duration.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×