# US 2022/0286360 A1 · Global network state management

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

- Number: US 2022/0286360 A1
- Document ID: US20220286360A1
- Status: Published application
- Kind: A1
- Application number: 17/249,612
- Filed: 2021-03-06
- Published: 2022-09-08
- Earliest claimed: 2021-03-06
- Assignees: Juniper Networks, Inc.
- Applicants: Juniper Networks, Inc.
- Inventors: Shivaprasad Gali; Sri Sampath Mallipudi
- Web page: https://patentgrep.com/patent/US20220286360A1

## CPC

- H04L 41/0816: the condition being an adaptation, e.g. in response to network events
- H04L 41/12: Discovery or management of network topologies
- H04L 12/2876: {Handling of subscriber policies (group policies management H04L41/0893)}
- H04L 41/082: the condition being updates or upgrades of network functionality
- H04L 41/0886: {Fully automatic configuration}
- H04L 41/0893: Assignment of logical groups to network elements
- H04L 41/0895: Configuration of virtualised networks or elements, e.g. virtualised network function or OpenFlow elements
- H04L 41/122: of virtualised topologies, e.g. software-defined networks [SDN] or network function virtualisation [NFV]
- H04L 41/40: using virtualisation of network functions or resources, e.g. SDN or NFV entities
- H04L 41/5054: Automatic deployment of services triggered by the service manager, e.g. service implementation by automatic configuration of network components
- H04L 47/50: Queue scheduling
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Devices, systems, and techniques for global network state management are described herein. In one example, the present disclosure describes an example method performed by a software-defined network (SDN) controller that manages a network of a plurality of devices. The method include maintaining, by processing circuitry of the SDN controller, global network state information, configuring, by the processing circuitry, a notification service with a subscription for updates to a portion of the global network state information, wherein the notification service is configured to arrange the updates to the portion of the global network state information into a plurality of events, and distributing, by the notification service and via a plurality of interfaces, the plurality of events as event notifications to a plurality of subscriber micro-services of the SDN controller.

## Claims

### Claim 1

A method performed by a software-defined network (SDN) controller that manages a network of a plurality of devices, the method comprising:
maintaining, by processing circuitry of the SDN controller, global network state information, wherein the global network state information comprises device profile information or network topology information corresponding to each of the devices in the network;
configuring, by the processing circuitry, a notification service with a subscription for updates to a portion of the global network state information, wherein the notification service is configured to arrange the updates to the portion of the global network state information into a plurality of events; and
distributing, by the notification service and via a plurality of interfaces, the plurality of events as event notifications to a plurality of subscriber micro-services of the SDN controller, wherein a first thread is configured to wait for a configurable time period while a second thread receives one or more event notifications from the notification service, and when the configurable time period elapses, the first thread reads at least one update to the portion of the global network state information in the one or more received event notifications.

### Claim 2 (depends on 1)

The method of claim 1, wherein a subscriber micro-service runs on a same host as the SDN controller or a different host.

### Claim 3 (depends on 1)

The method of claim 1, further comprising determining, by the processing circuitry, an amount of time set for the configurable time period, wherein the determining is based on one or more parameters associated with the distributing.

### Claim 4 (depends on 1)

The method of claim 1, further comprising executing, by the processing circuitry, the first thread and the second thread to provide the updates to at least a first subscriber micro-service of the plurality of subscriber micro-services.

### Claim 5 (depends on 4)

The method of claim 4, the configurable time period comprising a first configurable time period, the method further comprising executing, by the processing circuitry, a third thread and a fourth thread for providing the updates to at least a second subscriber micro-service of the plurality of subscriber micro-services, wherein the third thread is configured to wait for a second configurable time period while a fourth thread receives the one or more event notifications from the notification service, and when the second configurable time period elapses, the first thread reads the at least one update to the portion of the global network state information in the one or more received event notifications, wherein the second configurable time period is different than the first configurable time period.

### Claim 6 (depends on 1)

The method of claim 1, further comprising determining, by the processing circuitry, an amount of time set for the second configurable time period, wherein the determining is based on one or more parameters associated with the distributing.

### Claim 7 (depends on 1)

The method of claim 1, wherein the first thread is configured to request new network topology information and new device profile information based on the updates to global network state information.

### Claim 8 (depends on 1)

The method of claim 1, wherein the first thread establishes a sleep timer with the configurable time period, wherein the second thread is configured to pause or continue listening for future event notifications when the configurable time period elapses.

### Claim 9 (depends on 1)

The method of claim 1, wherein sending, by the processing circuitry, the updates to global network state information further comprises storing, by a publisher module executing on the processing circuitry, the updates to global network state information in one or more databases in operation on a network device of the plurality of network devices.

### Claim 10 (depends on 9)

The method of claim 9, wherein in response to the updates to global network state information, the notification service publishes the updates to global network state information in a hash-set keyspace within the one or more databases.

### Claim 11 (depends on 10)

The method of claim 10, wherein the notification service stores one or more keyspace events comprising new network topology information or new device profile information corresponding to a node identifier-device-object identifier pair as a key-value pair.

### Claim 12 (depends on 11)

The method of claim 11, wherein distributing, by the notification service and via the number of interfaces, the number of events further comprises establishing, by the processing circuitry, the subscription with the notification service for the event notifications to be sent to one or more modules operating the subscriber micro-services for the network, wherein the subscription corresponds to a particular node identifier-device-object identifier pair in the portion of the global network state information.

### Claim 13 (depends on 12)

The method of claim 12, wherein establishing, by the processing circuitry, the subscription further comprises coalescing, by the one or more modules executing on the processing circuitry, the events to determine the new network topology information or the new device profile information in the one or more databases.

### Claim 14

A software-defined network (SDN) controller that manages a network of one or more network devices, the SDN controller comprising:
memory configured to store global network state information for the network devices, wherein the global network state information comprises device profile information and network topology information corresponding to each of the network devices;
one or more processors configured to execute logic for a publisher micro-service, wherein the logic is operative to:
maintain, in a database, global network state information, wherein the global network state information comprises device profile information or network topology information corresponding to each of the devices in the network;
configure a notification service with a subscription for updates to a portion of the global network state information, wherein the notification service is configured to arrange the updates to the portion of the global network state information into a plurality of events; and
distribute, via a plurality of interfaces, the plurality of events as event notifications to a plurality of subscriber micro-services of the SDN controller, wherein a first thread is configured to wait for a configurable time period while a second thread receives one or more event notifications from the notification service, and when the configurable time period elapses, the first thread reads at least one update to the portion of the global network state information in the one or more received event notifications; and
one or more core modules or one or more core applications operating as one or more of the plurality of subscriber micro-services and configured to receive, via the first thread or the second thread, at least a portion of the event notifications corresponding to the subscription.

### Claim 15 (depends on 14)

The SDN controller of claim 14, wherein the one or more core modules or one or more core applications are further configured to store each event notification received within a configurable time period, and when the configurable time period elapses, read new device profile information or new network topology information for each update to the global network state information.

### Claim 16 (depends on 14)

The SDN controller of claim 14, wherein each of one or more second subscriber micro-services is configured to run a third thread and a fourth thread, wherein the third thread starts a sleep timer set to a second configurable time period while the fourth thread receives one or more of the event notifications, wherein the third thread reads new device profile information or new network topology information for one or more updates to the global network state information after the sleep timer ends.

### Claim 17 (depends on 14)

The SDN controller of claim 14, wherein the second thread reads a sequence of received event notifications and determines a subset of the number of events based on the one or more updates to the global network state information, wherein the first thread requests the new device profile information or the new network topology information corresponding to the subset of the number of events.

### Claim 18 (depends on 14)

The SDN controller of claim 14, wherein the network comprises a mobile core network communicatively coupled to subscriber devices, via a radio access network.

### Claim 19 (depends on 14)

The SDN controller of claim 14, wherein the one or more core modules or the one or more core applications are configured to compute a network configuration comprising a new network topology and new device states to conform to the information corresponding to a topology of the plurality of network devices or the information corresponding to profiles of the plurality of subscriber devices, generate new global network state information to implement the network configuration, and use the network device protocol interfaces to program the plurality of network devices with new device profile information based on the new device profiles and new network topology information based on the new network topology.

### Claim 20

A computer-readable storage medium comprising processor-executable instructions that when executed in a software-defined network (SDN) controller that manages a network of one or more network devices, causes the SDN controller to:
for each iteration of a sleep timer of a first thread:
during a configurable time period, receive, by a second thread, event notifications from a notifications service configured to maintain global network state information in one or more databases, wherein the global network state information comprises device profile information or network topology information corresponding to each of the network devices in the network, wherein the event notifications comprise updates to the global network state information;
when the configurable time period elapses, read, by the first thread, at least a portion of new network topology information or new device profile information from the one or more databases based on at least a portion of the updates to the global state information; and
compute, by one or more modules, a network configuration comprising a network topology and device profiles based on the at least a portion of new network topology information or new device profile information; and
implement, by the one or more modules or one or more applications, the network configuration, by programming, via a plurality of network device protocol interfaces, the plurality of network devices with the new network topology information and new device profile information.
