# US 2025/0168071 A1 · Automatic implementation of code to provide a communication service

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

- Number: US 2025/0168071 A1
- Document ID: US20250168071A1
- Status: Published application
- Kind: A1
- Application number: 18/512,480
- Filed: 2023-11-17
- Published: 2025-05-22
- Earliest claimed: 2023-11-17
- Assignees: Oracle International Corporation
- Applicants: Oracle International Corporation
- Inventors: Kinshuk Kulshreshtha; Hon Sam Lee
- Web page: https://patentgrep.com/patent/US20250168071A1

## CPC

- G06F 8/35: model driven
- H04L 41/0894: Policy-based network configuration management
- G06F 8/31: {Programming languages or programming paradigms}
- 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 technology disclosed herein automatically creates code for both simple and complex policies to provide a communication service in accordance with those policies. In a particular example, a method includes receiving design policies for providing the communication service. The design policies include standard policies and complex policies. The method includes automatically generating the standard policy code with one or more decoupled extension points for implementing the standard policies. The method further includes providing the complex policies to a developer and receiving, from the developer, the complex policy code for implementing the complex policies. The method also includes inserting the complex policy code into the standard policy code at the decoupled extension points to generate communication service code and executing the communication service code to provide the communication service.

## Claims

### Claim 1

A method for combining standard policy code with complex policy code to implement a communication service, the method comprising:
receiving design policies for providing the communication service, wherein the design policies include standard policies and complex policies;
automatically generating the standard policy code for implementing the standard policies, wherein one or more decoupled extension points are included in the standard policy code;
providing the complex policies to a developer;
receiving, from the developer, the complex policy code for implementing the complex policies;
inserting the complex policy code into the standard policy code at the decoupled extension points to generate communication service code; and
executing the communication service code to provide the communication service.

### Claim 2 (depends on 1)

The method of claim 1, comprising:
receiving updated standard policies; and
automatically updating the standard policy code based on the update, wherein the standard policy code retains the decoupled extension points at which the complex policy code is inserted.

### Claim 3 (depends on 1)

The method of claim 1, comprising:
receiving updated complex policies;
providing the updated complex policies to the developer;
receiving, from the developer, updated complex policy code; and
inserting the updated complex policy code into the standard policy code at the decoupled extension points to generate updated communication service code.

### Claim 4 (depends on 1)

The method of claim 1, wherein receiving the design policies comprises:
receiving a model definition including the standard policies and custom implementation Uniform Resource Identifiers (URIs); and
retrieving the complex policies from an object store using the URIs.

### Claim 5 (depends on 1)

The method of claim 1, comprising:
realizing the design policies into an application specific model, wherein the application specific model formats the design policies into a format corresponding to an application that will implement the communication service.

### Claim 6 (depends on 5)

The method of claim 5, wherein automatically generating the standard policy code comprises:
generating a Java base class and including code for one of the standard policies in the Java base class, wherein the Java base class includes the extension points.

### Claim 7 (depends on 6)

The method of claim 6, wherein inserting the complex policy code into standard policy code comprises:
including an extension class from the complex policy code at one of the decoupled extension points in the Java base class.

### Claim 8 (depends on 7)

The method of claim 7, wherein executing the communication service code comprises:
compiling service artifacts including the Java base class and the extension class.

### Claim 9 (depends on 8)

The method of claim 8, comprising:
providing the service artifacts to endpoints using Representational State Transfer (REST).

### Claim 10

An apparatus to combine standard policy code with complex policy code to implement a communication service, the apparatus comprising:
one or more computer readable storage media;
a processing system operatively coupled with the one or more computer readable storage media; and
program instructions stored on the one or more computer readable storage media that, when read and executed by the processing system, direct the apparatus to:
receive design policies for providing the communication service, wherein the design policies include standard policies and complex policies;
automatically generate the standard policy code for implementing the standard policies, wherein one or more decoupled extension points are included in the standard policy code;
provide the complex policies to a developer;
receive, from the developer, the complex policy code for implementing the complex policies;
insert the complex policy code into the standard policy code at the decoupled extension points to generate communication service code; and
execute the communication service code to provide the communication service.

### Claim 11 (depends on 10)

The apparatus of claim 10, wherein the program instructions direct the processing system to:
receive updated standard policies; and
automatically update the standard policy code based on the update, wherein the standard policy code retains the decoupled extension points at which the complex policy code is inserted.

### Claim 12 (depends on 10)

The apparatus of claim 10, wherein the program instructions direct the processing system to:
receive updated complex policies;
provide the updated complex policies to the developer;
receive, from the developer, updated complex policy code; and
insert the updated complex policy code into the standard policy code at the decoupled extension points to generate updated communication service code.

### Claim 13 (depends on 10)

The apparatus of claim 10, wherein to receive the design policies, the program instructions direct the processing system to:
receive a model definition including the standard policies and custom implementation Uniform Resource Identifiers (URIs); and
retrieve the complex policies from an object store using the URIs.

### Claim 14 (depends on 10)

The apparatus of claim 10, wherein the program instructions direct the processing system to:
realize the design policies into an application specific model, wherein the application specific model formats the design policies into a format corresponding to an application that will implement the communication service.

### Claim 15 (depends on 14)

The apparatus of claim 14, wherein to automatically generate the standard policy code, the program instructions direct the processing system to:
generate a Java base class and including code for one of the standard policies in the Java base class, wherein the Java base class includes the extension points.

### Claim 16 (depends on 15)

The apparatus of claim 15, wherein to insert the complex policy code into standard policy code, the program instructions direct the processing system to:
include an extension class from the complex policy code at one of the decoupled extension points in the Java base class.

### Claim 17 (depends on 16)

The apparatus of claim 16, wherein to execute the communication service code, the program instructions direct the processing system to:
compile service artifacts including the Java base class and the extension class.

### Claim 18 (depends on 17)

The apparatus of claim 17, wherein the program instructions direct the processing system to:
provide the service artifacts to endpoints using Representational State Transfer (REST).

### Claim 19

One or more computer-readable storage media having program instructions stored thereon for combining standard policy code with complex policy code to implement a communication service, the program instructions, when read and executed by a processing system, direct the processing system to:
receive design policies for providing the communication service, wherein the design policies include standard policies and complex policies;
automatically generate the standard policy code for implementing the standard policies, wherein one or more decoupled extension points are included in the standard policy code;
provide the complex policies to a developer;
receive, from the developer, the complex policy code for implementing the complex policies;
insert the complex policy code into the standard policy code at the decoupled extension points to generate communication service code; and
execute the communication service code to provide the communication service.

### Claim 20 (depends on 19)

The one or more computer-readable storage media of claim 19, wherein the program instructions direct the processing system to:
receive updated standard policies; and
automatically update the standard policy code based on the update, wherein the standard policy code retains the decoupled extension points at which the complex policy code is inserted.
