# US 2020/0396117 A1 · Reuse open connections to resources for requesters

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

- Number: US 2020/0396117 A1
- Document ID: US20200396117A1
- Status: Published application
- Kind: A1
- Application number: 16/443,505
- Filed: 2019-06-17
- Published: 2020-12-17
- Earliest claimed: 2019-06-17
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Yaniv SHAKED; Itamar LEVY-RINSKY; Amos L. KLEINBERGER
- Web page: https://patentgrep.com/patent/US20200396117A1

## CPC

- H04L 67/02: based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L 63/0428: {wherein the data content is protected, e.g. by encrypting or encapsulating the payload}
- H04L 67/142: Managing session states for stateless protocols; Signalling session states; State transitions; Keeping-state mechanisms
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

According to examples, an apparatus may include a processor and a non-transitory computer readable medium on which is stored machine readable instructions that may cause the processor to receive a request from a requester, the request identifying a resource. The instructions may also cause the processor to determine whether a connection between the apparatus and the resource is currently open, and based on a determination that the connection is currently open, submit the request to the resource through the open connection to reuse the open connection. The processor may also receive a response to the request from the resource and send the response to the requester.

## Claims

### Claim 1

An apparatus comprising:
a processor; and
a non-transitory computer readable medium on which is stored machine readable instructions that are to cause the processor to:
receive a request from a requester, the request identifying a resource and indicating that a connection to the resource is to be one of a secure connection or a non-secure connection;
determine whether a connection between the apparatus and the resource that meets the indicated connection is currently open;
based on a determination that the connection that meets the indicated connection is currently open, submit the request to the resource through the open connection to reuse the open connection;
receive a response to the request from the resource; and
send the received response to the requester.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the requester comprises a process or a server.

### Claim 3 (depends on 1)

The apparatus of claim 1, wherein the instructions are further to cause the processor to:
based on a determination that a connection that meets the indicated connection between the apparatus and the resource is not currently open,
open a new connection that meets the indicated connection to the resource;
submit the request to the resource through the new connection;
receive a response to the request submitted through the new connection from the resource; and
send the response received through the new connection to the requester.

### Claim 4 (depends on 1)

The apparatus of claim 1, wherein the instructions are further to cause the processor to:
receive a prior request from a prior requester, the prior request identifying the resource; and
establish a connection to the resource, wherein the open connection comprises the connection established to the resource for the prior requester.

### Claim 5 (depends on 1)

The apparatus of claim 1, wherein the open connection comprises a secure connection and wherein the request from the requester is received over a non-secure connection.

### Claim 6 (depends on 5)

The apparatus of claim 5, wherein the apparatus receives the request via the non-secure connection and wherein the request includes an indication that the connection to the resource is to be made via the secure connection.

### Claim 7 (depends on 1)

The apparatus of claim 1, wherein the open connection between the apparatus and the resource is to close following a predefined length of time during which the open connection remains idle and the predefined length of time is to reset following the submission of the request to the resource through the open connection.

### Claim 8 (depends on 1)

The apparatus of claim 1, wherein the instructions are further to cause the processor to:
determine that the request indicates that the connection to the resource is to be the secure connection;
determine whether a secure connection between the apparatus and the resource is currently open to determine whether the connection between the apparatus and the resource is currently open;
based on a determination that the secure connection is currently open, submit the request to the resource through the open secure connection to reuse the open secure connection;
receive a response to the request from the resource; and
send the received response to the requester.

### Claim 9 (depends on 8)

The apparatus of claim 8, wherein the instructions are further to cause the processor to:
based on a determination that the secure connection is not currently open,
open a new secure connection to the resource;
submit the request to the resource through the new secure connection;
receive a response to the request submitted through the new secure connection from the resource; and
send the response received through the new secure connection to the requester.

### Claim 10 (depends on 1)

The apparatus of claim 1, wherein the instructions are further to cause the processor to:
determine that the request indicates that the connection to the resource is to be the non-secure connection;
determine whether a non-secure connection between the apparatus and the resource is currently open to determine whether the connection between the apparatus and the resource is currently open;
based on a determination that the non-secure connection is currently open, submit the request to the resource through the open non-secure connection to reuse the open non-secure connection; and
based on a determination that the non-secure connection is not currently open, open a new non-secure connection to the resource.

### Claim 11

A method comprising:
receiving, by a processor, a request from a requester via a first connection, the request including an identification of a resource that the requester is to access and an indication that a connection to the resource is to be one of a secure connection or a non-secure connection, wherein the processor is to receive additional requests from a plurality of requesters;
determining, by the processor, whether a second connection to the resource that meets the indicated connection is open, wherein the second connection differs from the first connection; and
based on a determination that the second connection that meets the indicated connection to the resource is open,
sending, by the processor, the received request to the resource through the open second connection;
receiving, by the processor, a response to the request from the resource; and
sending, by the processor, the received response to the requester via the first connection.

### Claim 12 (depends on 11)

The method of claim 11, further comprising:
based on a determination that a second connection that meets the indicated connection to the resource is not open,
opening a new second connection that meets the indicated connection to the resource;
sending the request to the resource through the new second connection;
receiving a response to the request submitted through the new second connection from the resource; and
sending the response received through the new second connection to the requester via the first connection.

### Claim 13 (depends on 11)

The method of claim 11, further comprising:
receiving a prior request from a prior requester, the prior request identifying the resource; and
establishing the second connection to the resource, wherein determining whether a second connection to the resource is open comprises determining whether the second connection established for the prior requester is open.

### Claim 14 (depends on 11)

The method of claim 11, further comprising:
determining that the request indicates that a connection to the resource is to be the secure connection;
determining whether the second connection is a secure connection and is open; and
based on a determination that the second connection is a secure connection and is open, sending the request to the resource through the second connection to reuse the second connection.

### Claim 15 (depends on 14)

The method of claim 14, further comprising:
based on a determination that the second connection is not the secure connection or that the second connection is not open,
opening a new secure connection to the resource; and
sending the request to the resource through the new secure connection.

### Claim 16 (depends on 11)

The method of claim 11, further comprising:
determining that the request indicates that a connection to the resource is to be the non-secure connection;
determine whether the second connection is a non-secure connection and is open; and
based on a determination that the second connection is a non-secure connection and is open, sending the request to the resource through the second connection to reuse the second connection.

### Claim 17 (depends on 16)

The method of claim 16, further comprising:
based on a determination that the second connection is a secure connection or is not open,
opening a new non-secure connection to the resource; and
sending the request to the resource through the new non-secure connection.

### Claim 18

A non-transitory computer readable medium on which is stored machine readable instructions that when executed by a processor, cause the processor to:
receive a request from a requester via a first connection, the request including an identification of a resource that the requester seeks to access and including an indication that a type of the connection to the resource is to be one of a secure connection or a non-secure connection, wherein the requester is one of a plurality of requesters from which the processor is to receive requests;
determine whether a second connection between the processor and the resource that meets the indicated type of connection is open; and
based on a determination that the second connection to the resource that meets the indicated type of connection is open,
send the received request to the resource through the open second connection;
receive a response to the request from the resource; and
send the received response to the requester via the first connection.

### Claim 19 (depends on 18)

The computer readable medium of claim 18, wherein the instructions are further to cause the processor to:
determine whether the second connection complies with the indication in the request regarding whether the connection to the resource is to be a secure or a non-secure connection;
based on a determination that the second connection complies with the secure or the non-secure connection indication, use the second connection to send the request to the resource; and
based on a determination that the second connection does not comply with the secure or the non-secure connection indication, open a new second connection to the resource and use the new second connection to send the request to the resource.

### Claim 20 (depends on 19)

The computer readable medium of claim 19, wherein the non-secure connection is a hypertext transfer protocol (HTTP) connection and the secure connection is an HTTP over secure socket layer (HTTPS) connection.
