IP Library Granted Patent US 9,300,697
Granted Patent B2
US 9,300,697 · App. 13/706,919 · Granted Mar 29, 2016

Connection model-based control of concurrent connection count and properties

Inventors: Gerald M. W. Allen (Eastleigh, GB); Michael D. Brooks (Southampton, GB); Philip I. Wakelin (Eastleigh, GB)
Assignee: INTERNATIONAL BUSINESS MACHINES CORPORATION
H04L65/1069H04L63/101H04L67/1023
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,300,697
App. No.
13/706,919
Granted
Mar 29, 2016
Kind
B2
Abstract

A connection request including a connection model key and a partner system attribute of the partner system requesting a connection is received at an application server from a partner system. Using a predefined connection model, as determination is made as to whether the received connection model key and the received partner system attribute respectively match a configured connection model key and a configured authorized partner system attribute within the predefined connection model. In response to determining that the received connection model key and the received partner system attribute match the respective configured connection model key and the configured authorized partner system attribute within the predefined connection model, a connection is created that includes a first unique connection name derived from the received partner system attribute.

Claims (45)

1. A system, comprising:

a memory; and

a processor programmed to execute an application server to:

receive, from a partner system, a connection request comprising a connection model key and a partner system attribute of the partner system requesting a connection;

determine, using a predefined connection model stored within the memory, whether the received connection model key and the received partner system attribute respectively match a configured connection model key and a configured authorized partner system attribute within the predefined connection model;

create, in response to determining that the received connection model key and the received partner system attribute match the respective configured connection model key and the configured authorized partner system attribute within the predefined connection model, a connection that comprises a first unique connection name derived from the received partner system attribute, where the predefined connection model comprises a connection namespace field limitation that limits a number of created unique connection names;

enforce a limit on a number of multiplexed logical connections to the application server from partner systems that share the partner system attribute using the connection namespace field limitation within the predefined connection model; and

receive additional connection requests comprising the connection model key from additional partner systems that share the partner system attribute; and

where, in being programmed to enforce the limit on the number of multiplexed logical connections to the application server from the partner systems that share the partner system attribute using the connection namespace field limitation within the predefined connection model, the processor is programmed to:

for each additional connection request:

determine whether the limit on the number of multiplexed logical connections to the application server from the partner systems that share the partner system attribute has been reached based upon the connection namespace field limitation that limits the number of created unique connection names and based upon previously-created connection names; and

create, in response to determining that the limit on the number of multiplexed logical connections has not been reached, an additional multiplexed logical connection that comprises an additional unique connection name derived from the received partner system attribute and based upon the previously-created connection names.

2. The system of claim 1 , where in being programmed to create, in response to determining that the received connection model key and the received partner system attribute match the respective configured connection model key and the configured authorized partner system attribute within the predefined connection model, the connection that comprises the first unique connection name derived from the received partner system attribute, the processor is programmed to:

concatenate the received partner system attribute and a next available connection number to form the first unique connection name.

3. The system of claim 1 , where the processor is further programmed to deny at least one additional connection request in response to determining, based upon the namespace field limitation that limits the number of created unique connection names and the previously-created connection names, that the limit on the number of multiplexed logical connections to the application server from partner systems that share the partner system attribute has been reached.

4. The system of claim 1 , where the processor is further programmed to:

receive a request to terminate the created additional multiplexed logical connection from one of the additional partner systems;

terminate the additional multiplexed logical connection to the one of the additional partner systems requesting the termination of the additional multiplexed logical connection; and

reuse the additional unique connection name used by the terminated additional multiplexed logical connection for a new multiplexed logical connection in response to a new connection request comprising the connection model key and the partner system attribute.

5. The system of claim 1 , where:

the predefined connection model authorizes a plurality of specific partner system instances to connect using the predefined connection model via the partner system attribute; and

the processor is further programmed to enforce connection authorization of multiplexed logical connections to the application server using the configured authorized partner system attribute within the predefined connection model.

6. The system of claim 1 , where the partner system attribute comprises a partner system cluster application instance identifier.

7. A computer program product, comprising:

a computer readable storage device having computer readable program code embodied therewith, where the computer readable program code when executed on a computer causes the computer execute an application server to:

receive, from a partner system, a connection request comprising a connection model key and a partner system attribute of the partner system requesting a connection;

determine, using a predefined connection model, whether the received connection model key and the received partner system attribute respectively match a configured connection model key and a configured authorized partner system attribute within the predefined connection model;

create, in response to determining that the received connection model key and the received partner system attribute match the respective configured connection model key and the configured authorized partner system attribute within the predefined connection model, a connection that comprises a first unique connection name derived from the received partner system attribute, where the predefined connection model comprises a connection namespace field limitation that limits a number of created unique connection names;

enforce a limit on a number of multiplexed logical connections to the application server from partner systems that share the partner system attribute using the connection namespace field limitation within the predefined connection model; and

receive additional connection requests comprising the connection model key from additional partner systems that share the partner system attribute; and

where in causing the computer to enforce the limit on the number of multiplexed logical connections to the application server from the partner systems that share the partner system attribute using the connection namespace field limitation within the predefined connection model, the computer readable program code when executed on the computer causes the computer to:

for each additional connection request:

determine whether the limit on the number of multiplexed logical connections to the application server from the partner systems that share the partner system attribute has been reached based upon the connection namespace field limitation that limits the number of created unique connection names and based upon previously-created connection names; and

create, in response to determining that the limit on the number of multiplexed logical connections has not been reached, an additional multiplexed logical connection that comprises an additional unique connection name derived from the received partner system attribute and based upon the previously-created connection names.

8. The computer program product of claim 7 , where in causing the computer to create, in response to determining that the received connection model key and the received partner system attribute match the respective configured connection model key and the configured authorized partner system attribute within the predefined connection model, the connection that comprises the first unique connection name derived from the received partner system attribute, the computer readable program code when executed on the computer causes the computer to:

concatenate the received partner system attribute and a next available connection number to form the first unique connection name.

9. The computer program product of claim 7 , where the computer readable program code when executed on the computer further causes the computer to deny at least one additional connection request in response to determining, based upon the namespace field limitation that limits the number of created unique connection names and the previously-created connection names, that the limit on the number of multiplexed logical connections to the application server from partner systems that share the partner system attribute has been reached.

10. The computer program product of claim 7 , where the computer readable program code when executed on the computer further causes the computer to:

receive a request to terminate the created additional multiplexed logical connection from one of the additional partner systems;

terminate the additional multiplexed logical connection to the one of the additional partner systems requesting the termination of the additional multiplexed logical connection; and

reuse the additional unique connection name used by the terminated additional multiplexed logical connection for a new multiplexed logical connection in response to a new connection request comprising the connection model key and the partner system attribute.

11. The computer program product of claim 7 , where:

the predefined connection model authorizes a plurality of specific partner system instances to connect using the predefined connection model via the partner system attribute; and

the computer readable program code when executed on the computer further causes the computer to enforce connection authorization of multiplexed logical connections to the application server using the configured authorized partner system attribute within the predefined connection model.

12. The computer program product of claim 7 , where the partner system attribute comprises a partner system cluster application instance identifier.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 6, 2012
From: ALLEN, GERALD M. W.; BROOKS, MICHAEL D.; WAKELIN, PHILIP I.
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 029422/0479 →
Continuity (1)
Related Publication 20140164626A1 · Jun 12, 2014