# US 10,958,538 B2 · Symmetric coherent request/response policy enforcement

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

- Number: US 10,958,538 B2
- Document ID: US10958538B2
- Status: Granted
- Kind: B2
- Application number: 16/740,681
- Filed: 2020-01-13
- Published: 2020-05-14
- Granted: 2021-03-23
- Earliest claimed: 2014-02-07
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Thomas C. Burke; Mario E. De Armas; Oswaldo Gago; Ramon M. Spence
- Web page: https://patentgrep.com/patent/US10958538B2

## CPC

- H04L 41/5019: Ensuring fulfilment of SLA
- H04L 41/5003: Managing SLA; Interaction between SLA and QoS
- H04L 41/5006: Creating or negotiating SLA contracts, guarantees or penalties
- H04L 41/5022: by giving priorities, e.g. assigning classes of service
- H04L 41/5093: {wherein the managed service relates to messaging or chat services}
- H04L 47/20: Traffic policing
- H04L 47/2433: {Allocation of priorities to traffic types}
- H04L 47/76: using dynamic resource allocation, e.g. in-call renegotiation requested by the user or requested by the network in response to changing network conditions
- H04L 63/20: {for managing network security; network security policies in general (filtering policies H04L63/0227)}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A set of service level agreement (SLA) policies and service level definition (SLD) policies that are applied to a request message of a correlated request/response message pair are tracked. A response message of the correlated request/response message pair is detected. A corresponding set of platform-specific policy enforcement processing rules that are used to enforce the set of SLA policies and SLD policies on the response message are identified using the tracked set of SLA policies and SLD policies applied to the request message. The set of SLA policies and SLD policies are enforced on the response message using the identified corresponding set of platform-specific policy enforcement processing rules.

## Claims

### Claim 1

A computer-implemented method for processing request messages to capture a symmetric policy enforcement context structure and response messages comprising:
detecting, by a processor, receipt of a request message;
selecting, by the processor, a policy to apply to the request message;
enforcing, by the processor, the policy selected to be applied to the request message by determining a policy enforcement processing rule of a rule set that is configured to enforce the policy and executing the policy enforcement processing rule;
capturing a policy identifier of the policy selected to be applied to the request message into the symmetric policy enforcement context structure based on a name of the policy enforcement processing rule being executed, wherein capturing the policy identifier within the symmetric policy enforcement context structure execution sequence of service level agreements (SLA) and/or service level definitions (SLD) enforceable on the response message;
storing, by the processor, the symmetric policy enforcement context structure in a memory storage device.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1 further comprising:
adding, by the processor, to the symmetric policy enforcement context structure an existing transactional message context created to manage request message and response message pairs.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein the rule set is a three rule set comprising a request rule, response rule, and fault processing rule.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, further comprising:
determining, by the processor, whether a response message correlated to the request message has been detected based upon detection of a transaction identifier correlated to the request message and the response message pair; and
in response to detection of the response message correlated to the request message, retrieving the symmetric policy enforcement context structure.

### Claim 5 (depends on 4)

The computer implemented method of claim 4, further comprising:
identifying, by the processor, a last unprocessed policy in the symmetric policy enforcement context structure;
identifying, by the processor, a response policy enforcement rule to apply to enforce the last unprocessed policy on the response message; and
executing the response policy enforcement rule on the response message.

### Claim 6 (depends on 5)

The computer implemented method of claim 5, further comprising:
in response to executing the response policy enforcement rule on the response message, deleting, by the processor, the symmetric policy enforcement context structure from the memory storage device.

### Claim 7

A computer system comprising:
a processor; and
computer-readable memory storage device coupled to the processor, wherein the computer-readable storage device contains program instructions executing a computer-implemented method comprising:
detecting, by the processor, receipt of a request message;
selecting, by the processor, a policy to apply to the request message;
enforcing, by the processor, the policy selected to be applied to the request message by determining a policy enforcement processing rule of a rule set that is configured to enforce the policy and executing the policy enforcement processing rule;
capturing a policy identifier of the policy selected to be applied to the request message into the symmetric policy enforcement context structure based on a name of the policy enforcement processing rule being executed, wherein capturing the policy identifier within the symmetric policy enforcement context structure execution sequence of service level agreements (SLA) and/or service level definitions (SLD) enforceable on the response message;
storing, by the processor, the symmetric policy enforcement context structure in the computer-readable storage device.

### Claim 8 (depends on 7)

The computer system of claim 7, further comprising:
adding, by the processor, to the symmetric policy enforcement context structure an existing transactional message context created to manage request message and response message pairs.

### Claim 9 (depends on 7)

The computer system of claim 7, wherein the rule set is a three rule set comprising a request rule, response rule, and fault processing rule.

### Claim 10 (depends on 7)

The computer system of claim 7, further comprising:
determining, by the processor, whether a response message correlated to the request message has been detected based upon detection of a transaction identifier correlated to the request message and the response message pair; and
in response to detection of the response message correlated to the request message, retrieving the symmetric policy enforcement context structure.

### Claim 11 (depends on 10)

The computer system of claim 10, further comprising:
identifying, by the processor, a last unprocessed policy in the symmetric policy enforcement context structure;
identifying, by the processor, a response policy enforcement rule to apply to enforce the last unprocessed policy on the response message; and
executing the response policy enforcement rule on the response message.

### Claim 12 (depends on 11)

The computer system of claim 11, further comprising:
in response to executing the response policy enforcement rule on the response message, deleting, by the processor, the symmetric policy enforcement context structure from the computer-readable storage device.

### Claim 13

A computer program product comprising:
a computer-readable storage device having computer-readable program instructions stored thereon and said program instructions execute a computer-implemented method comprising:
detecting, by the processor, receipt of a request message;
selecting, by the processor, a policy to apply to the request message;
enforcing, by the processor, the policy selected to be applied to the request message by determining a policy enforcement processing rule of a rule set that is configured to enforce the policy and executing the policy enforcement processing rule;
capturing a policy identifier of the policy selected to be applied to the request message into the symmetric policy enforcement context structure based on a name of the policy enforcement processing rule being executed, wherein capturing the policy identifier within the symmetric policy enforcement context structure execution sequence of service level agreements (SLA) and/or service level definitions (SLD) enforceable on the response message;
storing, by the processor, the symmetric policy enforcement context structure in the computer-readable storage device.

### Claim 14 (depends on 13)

The computer program product of claim 13, further comprising:
adding, by the processor, to the symmetric policy enforcement context structure an existing transactional message context created to manage request message and response message pairs.

### Claim 15 (depends on 13)

The computer program product of claim 13, wherein the rule set is a three rule set comprising a request rule, response rule, and fault processing rule.

### Claim 16 (depends on 13)

The computer program product of claim 13, further comprising:
determining, by the processor, whether a response message correlated to the request message has been detected based upon detection of a transaction identifier correlated to the request message and the response message pair; and
in response to detection of the response message correlated to the request message, retrieving the symmetric policy enforcement context structure.

### Claim 17 (depends on 16)

The computer program product of claim 16, further comprising:
identifying, by the processor, a last unprocessed policy in the symmetric policy enforcement context structure;
identifying, by the processor, a response policy enforcement rule to apply to enforce the last unprocessed policy on the response message; and
executing the response policy enforcement rule on the response message.

### Claim 18 (depends on 17)

The computer program product of claim 17, further comprising:
in response to executing the response policy enforcement rule on the response message, deleting, by the processor, the symmetric policy enforcement context structure from the computer-readable storage device.
