# US 2021/0289038 A1 · Methods and systems for service discovery and tunnelling in a distributed architecture

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

- Number: US 2021/0289038 A1
- Document ID: US20210289038A1
- Status: Published application
- Kind: A1
- Application number: 17/198,324
- Filed: 2021-03-11
- Published: 2021-09-16
- Earliest claimed: 2020-03-13
- Assignees: Deutsche Telekom AG
- Applicants: Deutsche Telekom AG
- Inventors: Alexandra MIKITYUK; Martin Exequiel ZULLIGER PIZARRO; Eugen OSIPTSCHUK; Alexander MANECKE; Manuel Rodriguez FRANCO; Maksim SUKHOTIN
- Web page: https://patentgrep.com/patent/US20210289038A1

## CPC

- G06F 9/465: {Distributed object oriented systems (remote method invocation [RMI] G06F9/548)}
- H04L 67/51: Discovery or management thereof, e.g. service location protocol [SLP] or web services
- H04L 67/02: based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L 67/1023: based on a hash applied to IP addresses or costs
- 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 for distributed service management includes; running, by client nodes and service provider nodes, respective instances of a distributed service management unit, wherein the distributed service management unit comprises a distributed hash set table (DHST); providing, by the distributed service management unit, an application programming interface (API), wherein all connections between a client node and a service provider node are tunneled through the API; registering, by a service provider, a service on a network node; storing, by the registering network node, an endpoint of the service in a dataset of the DHST with a key corresponding to the service; requesting, by the client node, the service; and returning, by the distributed service management unit, all endpoints stored in the DHST with the key corresponding to the service.

## Claims

### Claim 1

A method for distributed service management in a distributed data processing network comprising a plurality of network nodes, the method comprising;
running, by client nodes and service provider nodes, respective instances of a distributed service management unit of the distributed data processing network, wherein the distributed service management unit comprises a distributed hash set table (DHST) configured to store and retrieve one or more datasets, wherein each dataset comprises a key and one or more values, and wherein the DHST is indexed by the key;
providing, by the distributed service management unit, an application programming interface (API), wherein all connections between a client node and a service provider node are tunneled through the API;
registering, by a service provider, a service on a network node;
storing, by the registering network node, an endpoint of the service in a dataset of the DHST with a key corresponding to the service;
requesting, by the client node, the service; and
returning, by the distributed service management unit, all endpoints stored in the DHST with the key corresponding to the service.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the endpoint is used as an address to connect to the service via the distributed service management unit; and
wherein the endpoint is a string comprising information about: a protocol used for communication with the service, a network node identifier of the registering network node of the service, and/or an identifier of the service on the registering network node.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the key corresponding to the service is a string that comprises type information about the key and name information of the service.

### Claim 4 (depends on 3)

The method according to claim 3, wherein a hash of the string is used as the key in the DHST.

### Claim 5 (depends on 4)

The method according to claim 4, wherein the hash is an SHA-1 hash.

### Claim 6 (depends on 1)

The method according to claim 1, wherein the API provides an HTTP tunnel or a TCP tunnel between the client node and the service provider node.

### Claim 7 (depends on 1)

The method according to claim 1, wherein the API provides an HTTP tunnel between the client node and the service provider node;
wherein the client node sends a request to the endpoint by sending a request message to the closest network node of the distributed service management unit, wherein the request message comprises the endpoint in a header; and
wherein a node of the distributed service management unit receives the request message with the endpoint in the header, forwards the request message transparently to the service provider node, and returns a reply message in response to the request message.

### Claim 8 (depends on 1)

The method according to claim 1, wherein the API provides a TCP tunnel between the client node and the service provider node;
wherein the client node sends an HTTP CONNECT request message to the distributed service management unit and specifies the endpoint in a header, and the distributed service management unit attempts to establish a two-way connection to the endpoint; and
wherein after the connection is established, the distributed service management unit returns a confirmation message, after which the connection will be a transparent, two-way, binary link between the client node and the service provider node.

### Claim 9 (depends on 8)

The method according to claim 8, wherein the confirmation message is a 200 OK message.

### Claim 10

A distributed service management system, comprising:
wherein client nodes and service provider nodes configured to run respective instances of a distributed service management unit, wherein the distributed service management unit comprises a distributed hash set table (DHST) configured to store and retrieve one or more datasets, wherein each dataset comprises a key and one or more values and the DHST is indexed by the key;
wherein the distributed management unit is configured to provide an application programming interface (API), and is configured so that all connections between a client node and a service provider node are tunneled through the API;
wherein the distributed service management system further comprises a registering network node configured to, based on a service provider registering a service on the registering network node, store an endpoint of the service in a dataset of the DHST with a key corresponding to the service; and
wherein the client node is configured to request the service; and
wherein the distributed service management unit is configured to, based on the client node requesting the service, return all endpoints stored in the DHST with the key corresponding to the service.

### Claim 11 (depends on 10)

The distributed service management system according to claim 10, wherein the endpoint is used as an address to connect to the service via the distributed service management unit; and
wherein the endpoint is a string comprising information about: a protocol used for communication with the service, a network node identifier of the registering network node of the service, and/or an identifier of the service on the registering network node.

### Claim 12 (depends on 10)

The distributed service management unit according to claim 10, wherein the key corresponding to the service is a string that comprises type information about the key and name information of the service.

### Claim 13 (depends on 12)

The distributed service management unit according to claim 12, wherein a hash of the string is used as the key in the DHST.

### Claim 14 (depends on 13)

The distributed service management unit according to claim 13, wherein the hash is an SHA-1 hash.

### Claim 15 (depends on 10)

The distributed service management system according to claim 10, wherein the API is configured to provide an HTTP tunnel or a TCP tunnel between the client node and the service provider node.

### Claim 16 (depends on 10)

The distributed service management system according to claim 10, wherein the API is configured to provide an HTTP tunnel between the client node and the service provider node;
wherein the client node is configured to send a request to an endpoint by sending a request message to the closest network node of the distributed service management unit, wherein the request message comprises the endpoint in a header; and
wherein a node of the distributed service management unit is configured to receive the request message with the endpoint in the header, forward the request message transparently to the service provider node, and return a reply message in response to the request message.

### Claim 17 (depends on 10)

The distributed service management system according to claim 10, wherein the API is configured to provide a TCP tunnel between the client node and the service provider node;
wherein the client node is configured to send an HTTP CONNECT request message to the distributed service management unit and specify the endpoint in a header;
wherein the distributed service management unit is configured to attempt to establish a two-way connection to the endpoint, and after the connection is established, return a confirmation message, after which the connection will be a transparent, two-way, binary link between the client node and the service provider node.

### Claim 18 (depends on 17)

The distributed service management system according to claim 17, wherein the confirmation message is a 200 OK message.

### Claim 19

One or more non-transitory computer-readable mediums having processor-executable instructions stored thereon for distributed service management in a distributed data processing network comprising a plurality of network nodes, wherein the processor-executable instructions, when executed, facilitate;
running, by client nodes and service provider nodes, respective instances of a distributed service management unit of the distributed data processing network, wherein the distributed service management unit comprises a distributed hash set table (DHST) configured to store and retrieve one or more datasets, wherein each dataset comprises a key and one or more values, and wherein the DHST is indexed by the key;
providing, by the distributed service management unit, an application programming interface (API), wherein all connections between a client node and a service provider node are tunneled through the API;
registering, by a service provider, a service on a network node;
storing, by the registering network node, an endpoint of the service in a dataset of the DHST with a key corresponding to the service;
requesting, by the client node, the service; and
returning, by the distributed service management unit, all endpoints stored in the DHST with the key corresponding to the service.
