# US 2017/0371906 A1 · Service state management in a decentralized control plane of a computing system

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

- Number: US 2017/0371906 A1
- Document ID: US20170371906A1
- Status: Published application
- Kind: A1
- Application number: 15/195,521
- Filed: 2016-06-28
- Published: 2017-12-28
- Earliest claimed: 2016-06-28
- Assignees: VMware, Inc.
- Applicants: VMware, Inc.
- Inventors: Georgios CHRYSANTHAKOPOULOS; Pieter NOORDHUIS
- Web page: https://patentgrep.com/patent/US20170371906A1

## CPC

- G06F 9/5027: {the resource being a machine, e.g. CPUs, Servers, Terminals}
- G06F 3/0608: {Saving storage space on storage systems}
- G06F 3/064: {Management of blocks}
- G06F 3/0647: {Migration mechanisms}
- G06F 3/0652: {Erasing, e.g. deleting, data cleaning, moving of data to a wastebasket}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0673: {Single storage device}
- G06F 8/315: {Object-oriented languages}
- G06F 9/541: {via adapters, e.g. between incompatible applications}
- G06F 9/542: {Event management; Broadcasting; Multicasting; Notifications}
- G06F 16/2228: {Indexing structures}
- G06F 16/23: Updating
- G06F 16/245: Query processing
- H04L 41/20: {Network management software packages}
- H04L 67/02: based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L 67/10: in which an application is distributed across nodes in the network (software deployment G06F8/60; multiprogramming arrangements G06F9/46)
- H04L 67/104: Peer-to-peer [P2P] networks
- H04L 67/1095: Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
- H04L 67/51: Discovery or management thereof, e.g. service location protocol [SLP] or web services
- H04L 67/60: Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources (admission control or resource allocation H04L47/70)
- H04L 67/63: Routing a service request depending on the request content or context
- G06F 2209/5011: Pool
- 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

A method managing a state of a service of a control plane in a computer system includes: executing a service host process of the control plane on a software platform of the computer system; creating, by the service host process, a service object representing the service and a service document object representing the state of the service; modifying the service document object to update the state of the service; parsing at least a first portion of the service document to designate data to be indexed and at least a second portion of the service document to designate data to be persistently stored; and updating index data of an index stored in storage of the computer system with the data to be indexed and updating auxiliary data in the index with the data to be persistently stored.

## Claims

### Claim 1

A method of managing a state of a service of a control plane in a computer system, comprising:
executing a service host process of the control plane on a software platform of the computer system;
creating, by the service host process, a service object representing the service and a service document object representing the state of the service;
modifying the service document object to update the state of the service;
parsing at least a first portion of the service document to designate data to be indexed and at least a second portion of the service document to designate data to be persistently stored; and
updating index data of an index stored in storage of the computer system with the data to be indexed and updating auxiliary data in the index with the data to be persistently stored.

### Claim 2 (depends on 1)

The method of claim 1, wherein the service document object includes a plurality of service document object fields and the state of the service includes a plurality of values for the plurality of service document object fields.

### Claim 3 (depends on 2)

The method of claim 2, wherein each of the plurality of service document object fields is part of the first portion of the service document, the second portion of the service document, or both the first portion and the second portion of the service document.

### Claim 4 (depends on 2)

The method of claim 2, wherein the service host process manages an indexing service of the control plane, and wherein the step of modifying comprises:
invoking a handler of the service object in response to a first request targeting the service, the handler updating one or more of the plurality of service document object fields with one or more new values of an updated state for the service in the request; and
sending a second request to the indexing service after execution of the handler;
wherein the indexing service performs the step of parsing in response to the second request.

### Claim 5 (depends on 2)

The method of claim 2, wherein the step of parsing comprises:
generating an index entry object that includes index entry object fields, the index entry object fields including attribute/value pairs, where an attribute of each attribute/value pair identifies one of the plurality of service document object fields and a value of each attribute/value pair is formed from one of the plurality of values for the plurality of service document object fields; and
providing the index entry object to backend indexing logic of the service host process, wherein the backend indexing logic performs the steps of updating the index data and updating the auxiliary data in response to the index entry object.

### Claim 6 (depends on 5)

The method of claim 5, wherein each of the index entry object fields indicates whether the respective attribute/value pair represents the data to be indexed, the data to be persistently stored, or both the data to be indexed and the data to be persistently stored.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
serializing the service document object into a plurality of bytes; and
designating the plurality of bytes as part of the data to be persistently stored.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
receiving a first request targeting the service at the service host process;
wherein the service host process manages an indexing service of the control plane and wherein the step of creating the service document object includes:
sending a second request to the indexing service to query the index data; and
initializing the service document object from a portion of the auxiliary data returned in response to the query.

### Claim 9 (depends on 8)

The method of claim 8, further comprising:
linking the service document object to the first request; and
invoking a handler of the service object in response to a first request.

### Claim 10 (depends on 1)

The method of claim 1, further comprising:
receiving a first request targeting the service at the service host process;
initializing the service document object from cached data in a cache managed by the service host process;
linking the service document object to the first request; and
invoking a handler of the service object in response to a first request.

### Claim 11

A computer system, comprising:
a hardware platform having a central processing unit (CPU), memory, and storage;
a software platform executing on the hardware platform, the software platform includes a service host process of a control plane, the service host process executable by the CPU to:
create a service object representing a service and a service document object representing state of the service;
modify the service document object to update the state of the service;
parse at least a first portion of the service document to designate data to be indexed and at least a second portion of the service document to designate data to be persistently stored; and
update index data of an index stored in storage of the computer system with the data to be indexed and updating auxiliary data in the index with the data to be persistently stored.

### Claim 12 (depends on 11)

The computer system of claim 11, wherein the service document object includes a plurality of service document object fields and the state of the service includes a plurality of values for the plurality of service document object fields, and wherein each of the plurality of service document object fields is part of the first portion of the service document, the second portion of the service document, or both the first portion and the second portion of the service document.

### Claim 13 (depends on 12)

The computer system of claim 12, wherein the service host process is executable to manage an indexing service of the control plane, and wherein the service host process is executable to modify the service document by:
invoking a handler of the service object in response to a first request targeting the service, the handler updating one or more of the plurality of service document object fields with one or more new values of an updated state for the service in the request; and
sending a second request to the indexing service after execution of the handler;
wherein the indexing service performs the step of parsing in response to the second request.

### Claim 14 (depends on 12)

The computer system of claim 12, wherein the service host process is executable to parse the service document by:
generating an index entry object that includes index entry object fields, the index entry object fields including attribute/value pairs, where an attribute of each attribute/value pair identifies one of the plurality of service document object fields and a value of each attribute/value pair is formed from one of the plurality of values for the plurality of service document object fields; and
providing the index entry object to backend indexing logic of the service host process, wherein the backend indexing logic performs the steps of updating the index data and updating the auxiliary data in response to the index entry object.

### Claim 15 (depends on 14)

The computer system of claim 14, wherein each of the index entry object fields indicates whether the respective attribute/value pair represents the data to be indexed, the data to be persistently stored, or both the data to be indexed and the data to be persistently stored.

### Claim 16 (depends on 11)

The computer system of claim 11, wherein the service host process is further executable to:
serialize the service document object into a plurality of bytes; and
designate the plurality of bytes as part of the data to be persistently stored.

### Claim 17 (depends on 11)

The computer system of claim 11, wherein the service host process is further executable to:
receive a first request targeting the service at the service host process; and
manages an indexing service of the control plane;
wherein the service host process is executable to create the service document object by:”
sending a second request to the indexing service to query the index data; and
initializing the service document object from a portion of the auxiliary data returned in response to the query.

### Claim 18 (depends on 11)

The computer system of claim 11, wherein the service host process is further executable to link the service document to the first request.

### Claim 19

A non-transitory computer readable medium comprising instructions, which when executed in a computer system, causes the computer system to carry out a method of managing a state of a service of a control plane in a computer system, comprising:
executing a service host process of the control plane on a software platform of the computer system;
creating, by the service host process, a service object representing the service and a service document object representing the state of the service;
modifying the service document object to update the state of the service;
parsing at least a first portion of the service document to designate data to be indexed and at least a second portion of the service document to designate data to be persistently stored; and
updating index data of an index stored in storage of the computer system with the data to be indexed and updating auxiliary data in the index with the data to be persistently stored.

### Claim 20 (depends on 19)

The non-transitory computer readable medium of claim 19, wherein the service document object includes a plurality of service document object fields and the state of the service includes a plurality of values for the plurality of service document object fields, and wherein each of the plurality of service document object fields is part of the first portion of the service document, the second portion of the service document, or both the first portion and the second portion of the service document.
