# US 2025/0168148 A1 · Systems and methods for consolidating network traffic rules

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

- Number: US 2025/0168148 A1
- Document ID: US20250168148A1
- Status: Published application
- Kind: A1
- Application number: 18/613,042
- Filed: 2024-03-21
- Published: 2025-05-22
- Earliest claimed: 2023-11-20
- Assignees: Aetna Inc.
- Applicants: Aetna Inc.
- Inventors: Varun Pamarthy; Virender Dhiman; Salil Jain; Andrew Hinton; Christopher Durand
- Web page: https://patentgrep.com/patent/US20250168148A1

## CPC

- H04L 63/0263: {Rule management}
- H04L 41/0823: characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability (for optimising operational conditions of wireless networks H04W24/02)
- H04L 43/062: related to network traffic
- H04L 45/42: Centralised routing
- H04L 45/74: Address processing for routing
- H04L 47/12: Avoiding congestion; Recovering from congestion
- H04L 47/781: {Centralised allocation of resources}
- H04L 47/801: {Real time traffic}
- H04L 61/301: Name conversion
- H04L 63/0236: {Filtering by address, protocol, port number or service, e.g. IP-address or URL}
- H04L 63/1425: {Traffic logging, e.g. anomaly detection}
- H04L 63/20: {for managing network security; network security policies in general (filtering policies H04L63/0227)}
- H04L 2101/618: Details of network addresses
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

In some instances, a method for generating security rules for a cloud environment is provided. The method comprises: generating one or more dictionary data structures based on a plurality of data logs, wherein each of the one or more dictionary data structures comprise a key and a value; determining one or more recent network traffic rules based on the one or more generated dictionary data structures; determining a new recommended network traffic rule based on one or more security groups associated with the plurality of data logs and consolidating the one or more recent network traffic rules with historical proposed traffic rules; and applying the new recommended network traffic rule to network data transferred between a server machine and one or more client machines.

## Claims

### Claim 1

A method for generating security rules for a cloud environment, comprising:
generating one or more dictionary data structures based on a plurality of data logs, wherein each of the one or more dictionary data structures comprise a key and a value, wherein the key indicates two of three elements from the plurality of data logs and the value indicates the other element from the plurality of data logs, and wherein the three elements indicates a plurality of server machine internet protocol (IP) addresses, a plurality of client machine IP addresses, and a plurality of destination ports;
determining one or more recent network traffic rules based on the one or more generated dictionary data structures;
determining a new recommended network traffic rule based on one or more security groups associated with the plurality of data logs and consolidating the one or more recent network traffic rules with historical proposed traffic rules; and
applying the new recommended network traffic rule to network data transferred between a server machine and one or more client machines.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
obtaining a first list based on extracting the plurality of server machine IP addresses, the plurality of client machine IP addresses, and the plurality of destination ports from the plurality of data logs, wherein generating the one or more dictionary data structures is based on the first list.

### Claim 3 (depends on 2)

The method of claim 2, wherein obtaining the first list comprises:
populating a first field of the first list with the plurality of server machine IP addresses;
populating a second field of the first list with the plurality of client machine IP addresses;
populating a third field of the first list with the plurality of destination ports from the plurality of data logs; and
discarding a plurality of source ports from the plurality of data logs.

### Claim 4 (depends on 2)

The method of claim 2, further comprising:
classifying the plurality of server machine IP addresses and/or the plurality of client machine IP addresses into an IP address class from a plurality of IP address classes; and
based on classifying the plurality of server machine IP addresses and/or the plurality of client machine IP addresses, generating octets for the plurality of client machine IP addresses, wherein generating the one or more dictionary data structures is based on generating the octets.

### Claim 5 (depends on 2)

The method of claim 2, further comprising:
generating a second list based on the first list, wherein the second list comprises a plurality of first entries and each of the first entries indicates a client machine IP address octet and one or more destination ports associated with the client machine IP address octet;
generating a third list based on the first list and the second list, wherein the third list comprises a plurality of second entries and each of the second entries indicates one or more server machine IP addresses and a combination of the client machine IP address octet and the one or more destination ports; and
generating octets for the one or more server machine IP addresses from the third list, wherein generating the one or more dictionary data structures is based on the second list, the third list, and the octets for the one or more server machine IP addresses.

### Claim 6 (depends on 1)

The method of claim 1, wherein generating the one or more dictionary data structures comprises generating a first, a second, and a third dictionary data structure,
wherein the key of the first dictionary data structure indicates first IP address octets associated with the server machine IP addresses and second IP address octets associated with the client machine IP addresses, wherein the value of the first dictionary data structure indicates destination ports from the plurality of destination ports,
wherein the key of the second dictionary data structure indicates the first IP address octets associated with the server machine IP addresses and the destination ports, wherein the value of the second dictionary data structure indicates the second IP address octets associated with the client machine IP addresses, and
wherein the key of the third dictionary data structure indicates the second IP address octets associated with the client machine IP addresses and the destination ports, wherein the value of the third dictionary data structure indicates the first IP address octets associated with the server machine IP addresses.

### Claim 7 (depends on 6)

The method of claim 6, wherein generating the first, the second, and the third dictionary data structure comprises:
generating the first dictionary data structure based on the plurality of data logs;
generating the second dictionary data structure based on the first dictionary data structure; and
generating the third dictionary data structure based on the second dictionary data structure.

### Claim 8 (depends on 6)

The method of claim 6, wherein determining the one or more recent network traffic rules comprises:
generating one or more intermediate rules based on using the key of the third dictionary data structure; and
generating the one or more recent network traffic rules based on the one or more intermediate rules.

### Claim 9 (depends on 8)

The method of claim 8, wherein generating the one or more recent network traffic rules comprises:
generating the one or more recent network traffic rules based on inserting a communication protocol and a traffic direction into the one or more intermediate rules.

### Claim 10 (depends on 1)

The method of claim 1, wherein determining the new recommended network traffic rule comprises:
consolidating the one or more recent network traffic rules with the historical proposed traffic rules to obtain a plurality of consolidated network traffic rules associated with a first security group from the one or more security groups; and
determining the new recommended network traffic rule based on the plurality of consolidated network traffic rules.

### Claim 11 (depends on 10)

The method of claim 10, wherein consolidating the one or more recent network traffic rules with the historical proposed traffic rules to obtain the plurality of consolidated network traffic rules comprises:
determining the one or more recent network traffic rules and the historical proposed traffic rules associated with the first security group;
generating a destination port data structure based on the one or more recent network traffic rules and the historical proposed traffic rules associated with the first security group, wherein the destination port data indicates a set of destination ports used for the first security group; and
obtaining the plurality of consolidated network traffic rules based on the destination port data structure.

### Claim 12 (depends on 11)

The method of claim 11, wherein consolidating the one or more recent network traffic rules with the historical proposed traffic rules to obtain the plurality of consolidated network traffic rules further comprises:
updating the destination port data structure based on a number of destination ports within the set of destination ports and duplicate destination ports within the destination port data structure.

### Claim 13 (depends on 11)

The method of claim 11, wherein consolidating the one or more recent network traffic rules with the historical proposed traffic rules to obtain the plurality of consolidated network traffic rules further comprises:
based on determining the one or more recent network traffic rules and the historical proposed traffic rules associated with the first security group, generating merged IP address lists indicating merged client machine IP address octets or merged server machine IP address octets associated with the first security group; and
generating one or more intermediate consolidated network traffic rules based on the destination port data structure and the merged IP address lists, wherein obtaining the plurality of consolidated network traffic rules is based on comparing a first number of the one or more intermediate consolidated network traffic rules with one or more thresholds.

### Claim 14 (depends on 13)

The method of claim 13, wherein obtaining the plurality of consolidated network traffic rules comprises:
determining to update one or more octets from the client machine IP address octets and the server machine IP address octets based on comparing the first number of the one or more intermediate consolidated network traffic rules with a first threshold;
updating the one or more intermediate consolidated network traffic rules based on the one or more updated octets; and
obtaining the plurality of consolidated network traffic rules based on the comparing a second number of the one or more updated intermediate consolidated network traffic rules with a second threshold.

### Claim 15 (depends on 10)

The method of claim 10, wherein determining the new recommended network traffic rule comprises:
comparing IP address octets from the plurality of consolidated network traffic rules with service tags associated with one or more current network traffic rules; and
generating the new recommended network traffic rule based on the comparison.

### Claim 16 (depends on 15)

The method of claim 15, wherein generating the new recommended network traffic rule comprises:
generating the new recommended network traffic rule using the service tags associated with one or more current network traffic rules.

### Claim 17 (depends on 10)

The method of claim 10, wherein determining the new recommended network traffic rule comprises:
comparing one or more ports from the plurality of consolidated network traffic rules with one or more ports from one or more current network traffic rules; and
generating the new recommended network traffic rule based on the comparison.

### Claim 18 (depends on 10)

The method of claim 10, wherein applying the new recommended network traffic rule to the network data transferred between the server machine and the one or more client machines comprises:
assigning a priority to the new recommended network traffic rule; and
applying the new recommended network traffic rule based on the assigned priority.

### Claim 19

An enterprise organization cloud computing platform for generating network traffic rules for a cloud environment, comprising:
one or more processors; and
a non-transitory computer-readable medium having processor-executable instructions stored thereon, wherein the processor-executable instructions, when executed by the one or more processors, facilitate:
generating one or more dictionary data structures based on a plurality of data logs, wherein each of the one or more dictionary data structures comprise a key and a value, wherein the key indicates two of three elements from the plurality of data logs and the value indicates the other element from the plurality of data logs, and wherein the three elements indicates a plurality of server machine internet protocol (IP) addresses, a plurality of client machine IP addresses, and a plurality of destination ports;
determining one or more recent network traffic rules based on the one or more generated dictionary data structures;
determining a new recommended network traffic rule based on one or more security groups associated with the plurality of data logs and consolidating the one or more recent network traffic rules with historical proposed traffic rules; and
applying the new recommended network traffic rule to network data transferred between a server machine and one or more client machines.

### Claim 20

A non-transitory computer-readable medium having processor-executable instructions stored thereon, wherein the processor-executable instructions, when executed, facilitate:
generating one or more dictionary data structures based on a plurality of data logs, wherein each of the one or more dictionary data structures comprise a key and a value, wherein the key indicates two of three elements from the plurality of data logs and the value indicates the other element from the plurality of data logs, and wherein the three elements indicates a plurality of server machine internet protocol (IP) addresses, a plurality of client machine IP addresses, and a plurality of destination ports;
determining one or more recent network traffic rules based on the one or more generated dictionary data structures;
determining a new recommended network traffic rule based on one or more security groups associated with the plurality of data logs and consolidating the one or more recent network traffic rules with historical proposed traffic rules; and
applying the new recommended network traffic rule to network data transferred between a server machine and one or more client machines.
