# US 2021/0289047 A1 · Systems and methods for establishing highly secure & resilient persistent communication connections

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

- Number: US 2021/0289047 A1
- Document ID: US20210289047A1
- Status: Published application
- Kind: A1
- Application number: 16/815,900
- Filed: 2020-03-11
- Published: 2021-09-16
- Earliest claimed: 2020-03-11
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Rajeev Ranjan PATHAK
- Web page: https://patentgrep.com/patent/US20210289047A1

## CPC

- H04L 67/104: Peer-to-peer [P2P] networks
- H04L 51/02: using automatic reactions or user delegation, e.g. automatic replies or chatbot-generated messages
- H04L 63/0807: {using tickets, e.g. Kerberos (cryptographic mechanisms or cryptographic arrangements for entity authentication using tickets or tokens H04L9/3213)}
- H04L 63/0815: {providing single-sign-on or federations}
- H04L 65/1089: by adding media; by removing media
- H04L 65/1094: Inter-user-equipment sessions transfer or sharing
- H04L 65/403: Arrangements for multi-party communication, e.g. for conferences (data switching systems for conference H04L12/18; arrangements for connecting several subscribers to a common circuit, i.e. affording conference facilities H04M3/56; television conferencing systems H04N7/15)
- H04L 67/02: based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L 67/2871: Implementation details of single intermediate entities
- H04L 67/56: Provisioning of proxy services (store-and-forward switching systems in data switching networks H04L12/54)
- H04W 4/80: Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
- H04W 12/06: Authentication
- H04W 48/16: Discovering, processing access restriction or access information
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)

## Abstract

Systems and methods for providing resilient persistent connections for communication are disclosed. Methods include identifying, at a first device, a second device registered with a client connection service; obtaining, from the client connection service, a first resource identifier for delivering request messages to the second device via the client connection service; identifying, based on the obtained first resource identifier, a first target resource for a first request message directed to the second device, wherein the first target resource specifies a first host included in the client connection service; sending, to the client connection service via the data communication network, the first request message to the first target resource for delivery to the second device by the client connection service; and receiving, from the client connection service via the data communication network, a first response message provided by the second device as a response to the first request message.

## Claims

### Claim 1

A first device comprising:
a processor; and
a machine-readable medium storing instructions therein which, when executed by the processor, cause the first device to:
identify a second device registered with a client connection service, wherein the second device is different than the first device;
obtain, from the client connection service via a data communication network, a first resource identifier for delivering request messages to the second device via the client connection service;
identify, based on the obtained first resource identifier, a first target resource for a first request message directed to the second device, wherein the first target resource specifies a first host included in the client connection service;
send, to the client connection service via the data communication network, the first request message to the first target resource for delivery to the second device by the client connection service; and
receive, from the client connection service via the data communication network, a first response message provided by the second device as a response to the first request message.

### Claim 2 (depends on 1)

The first device of claim 1, wherein the instructions further cause the first device to:
receive, via a first transport channel between the first device and the client connection service, a second request message generated by the second device; and
provide, via the first transport channel for delivery to the second device by the client connection service, a second response message as a response to the second request.

### Claim 3 (depends on 1)

The first device of claim 1, wherein the instructions further cause the first device to:
authenticate the first device with an authentication service in association with a first user identifier; and
provide, to the client connection service, a first token reflecting the authentication of the first device with the authentication service.

### Claim 4 (depends on 1)

The first device of claim 1, wherein the instructions further cause the first device to:
obtain, from the client connection service via the data communication network, a second resource identifier for delivering request messages to the first device via the client connection service; and
cause a registry remote from the first device to associate a first user identifier with the second resource identifier;
wherein the identifying the second device includes:
identifying a plurality of software instances each associated with the first user identifier, the plurality of software instances including a first software instance executing on the second device, and
selecting the first software instance from the plurality of software instances.

### Claim 5 (depends on 1)

The first device of claim 1, wherein the instructions further cause the first device to:
receive a beacon signal from the second device, the beacon signal including a device identifier and a secret; and
encode the first request message based on the received secret,
wherein the obtaining the first resource identifier includes requesting, from a registry remote from the first device, a resource identifier associated with the received device identifier.

### Claim 6 (depends on 1)

The first device of claim 1, wherein:
the first request comprises an HTTP (Hypertext Transfer Protocol) request message; and
the first response comprises an HTTP response message.

### Claim 7 (depends on 1)

The first device of claim 1, wherein the instructions further cause the first device to:
receive, from the client connection service after sending the first request, a second resource identifier for delivering requests to the second device via the client connection service, wherein the second resource identifier is different than the first resource identifier;
identify, based on the received second resource identifier, a second target resource for a second request message directed to the second device, wherein the second target resource specifies a second host included in the client connection service;
send, to the client connection service via the data communication network, the second request message to the second target resource for delivery to the second device by the client connection service; and
receive, from the client connection service via the data communication network, a second response message provided by the second device as a response to the second request message.

### Claim 8

A method comprising:
identifying, at a first device, a second device registered with a client connection service, wherein the second device is different than the first device;
obtaining, at the first device from the client connection service via a data communication network, a first resource identifier for delivering request messages to the second device via the client connection service;
identifying, at the first device based on the obtained first resource identifier, a first target resource for a first request message directed to the second device, wherein the first target resource specifies a first host included in the client connection service;
sending, by the first device to the client connection service via the data communication network, the first request message to the first target resource for delivery to the second device by the client connection service; and
receiving, at the first device from the client connection service via the data communication network, a first response message provided by the second device as a response to the first request message.

### Claim 9 (depends on 8)

The method of claim 8, further comprising:
receiving, at the first device via a first transport channel between the first device and the client connection service, a second request message generated by the second device; and
providing, by the first device via the first transport channel for delivery to the second device by the client connection service, a second response message as a response to the second request.

### Claim 10 (depends on 8)

The method of claim 8, further comprising:
authenticating the first device with an authentication service in association with a first user identifier; and
providing, by the first device to the client connection service, a first token reflecting the authentication of the first device with the authentication service.

### Claim 11 (depends on 8)

The method of claim 8, further comprising:
obtaining, at the first device from the client connection service via the data communication network, a second resource identifier for delivering request messages to the first device via the client connection service; and
causing a registry remote from the first device to associate a first user identifier with the second resource identifier;
wherein the identifying the second device includes:
identifying, at the first device, a plurality of software instances each associated with the first user identifier, the plurality of software instances including a first software instance executing on the second device, and
selecting the first software instance from the plurality of software instances.

### Claim 12 (depends on 8)

The method of claim 8, further comprising:
receiving, at the first device, a beacon signal from the second device, the beacon signal including a device identifier and a secret; and
encoding, by the first device, the first request message based on the received secret,
wherein the obtaining the first resource identifier includes requesting, from a registry remote from the first device, a resource identifier associated with the received device identifier.

### Claim 13 (depends on 8)

The method of claim 8, wherein:
the first request comprises an HTTP (Hypertext Transfer Protocol) request message; and
the first response comprises an HTTP response message.

### Claim 14 (depends on 8)

The method of claim 8, further comprising:
receiving, at the first device from the client connection service after sending the first request, a second resource identifier for delivering requests to the second device via the client connection service, wherein the second resource identifier is different than the first resource identifier;
identifying, at the first device based on the received second resource identifier, a second target resource for a second request message directed to the second device, wherein the second target resource specifies a second host included in the client connection service;
sending, by the first device to the client connection service via the data communication network, the second request message to the second target resource for delivery to the second device by the client connection service; and
receiving, at the first device from the client connection service via the data communication network, a second response message provided by the second device as a response to the second request message.

### Claim 15

A method comprising:
assigning, by a client connection service, a first resource to a first device;
receiving, at the client connection service, a first request message sent by a second device to a first target resource, wherein the second device is different than the first device;
selecting the first device based on the first target resource corresponding to the first resource;
generating, by the client connection service, a first forwarded request message based on the received first request message;
transmitting, via a first transport channel, the first forwarded request message from the client connection service to the first device;
receiving, at the client connection service from the first device via the first transport channel, a first response message to the first forwarded request message; and
transmitting, from the client connection service to the second device, a second response message generated based on the first response message as a response to the first request message.

### Claim 16 (depends on 15)

The method of claim 15, further comprising:
assigning, by the client connection service, a second resource to the second device, wherein the second resource is different than the first resource;
receiving, at the client connection service, a second request message sent by the first device to the second target resource;
selecting the second device based on the second target resource corresponding to the second resource;
generating, by the client connection service, a second forwarded request message based on the received second request message;
transmitting, via a second transport channel, the second forwarded request message from the client connection service to the second device;
receiving, at the client connection service from the second device via the second transport channel, a third response message to the second forwarded request message; and
transmitting, from the client connection service to the first device, a fourth response message generated based on the third response message as a response to the second request message.

### Claim 17 (depends on 15)

The method of claim 15, further comprising:
obtaining a first user identifier associated with the first device;
obtaining a second user identifier associated with the second device; and
determining, before the transmission of the first forwarded request message, that the first user identifier is the same as the second user identifier,
wherein the first forwarded request message is transmitted based in the determination that the first user identifier is the same as the second user identifier.

### Claim 18 (depends on 15)

The method of claim 15, wherein:
the first request message comprises an HTTP (Hypertext Transfer Protocol) request message; and
the second response message comprises an HTTP response message.

### Claim 19 (depends on 15)

The method of claim 15, further comprising:
receiving, at the client connection service after the first time, a second request message sent by the second device to a second target resource;
selecting the first device based on the second target resource corresponding to the first resource;
generating, by the client connection service, a second forwarded request message based on the received second request message; and
transmitting, via a second transport channel different than the first transport channel, the second forwarded request message from the client connection service to the first device.

### Claim 20 (depends on 15)

The method of claim 15, further comprising:
assigning, by the client connection service, a second resource to the first device, wherein the second resource is different than the first resource;
receiving, at the client connection service, a second request message sent by the second device to a second target resource;
selecting the first device based on the second target resource corresponding to the first resource;
generating, by the client connection service, a second forwarded request message based on the received second request message;
transmitting, via the first transport channel, the second forwarded request message from the client connection service to the first device;
receiving, at the client connection service from the first device via the first transport channel, a third response message to the second forwarded request message; and
transmitting, from the client connection service to the second device, a fourth response message generated based on the third response message as a response to the second request message.
