# US 2020/0351312 A1 · Method and apparatus for session sharing shared worker module

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

- Number: US 2020/0351312 A1
- Document ID: US20200351312A1
- Status: Published application
- Kind: A1
- Application number: 16/896,312
- Filed: 2020-06-09
- Published: 2020-11-05
- Earliest claimed: 2019-01-10
- Assignees: JPMorgan Chase Bank, N.A.
- Applicants: JPMorgan Chase Bank, N.A.
- Inventors: Kenneth A. SUTHERLAND
- Web page: https://patentgrep.com/patent/US20200351312A1

## CPC

- H04L 67/02: based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L 41/0253: using browsers or web-pages for accessing management information
- H04L 65/1069: Session establishment or de-establishment
- H04L 65/1083: In-session procedures
- H04L 67/14: Session management (for real-time applications in data packet communications networks H04L65/1066)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Various methods, apparatuses, and media for implementing a session sharing shared worker module arc provided. A processor executes a first web application and a second web application within a web browser. The first web application is associated with a first tab and the second web application is associated with a second tab having different web content than the first lab. The processor determines whether a shared worker is available within the web browser. A session sharing module is configured to: register each of the first tab and the second tab with the shared worker based on determining that the shared worker is available within the web browser; receive a first request from the first tab to connect to a server and a second request from the second tab to connect to the server; combine the first request and the second request into one packaged request; and send the one packaged request to the server via one connection point.

## Claims

### Claim 1

A method for implementing a session sharing shared worker module, the method comprising:
executing, by a processor, a first web application and a second web application within a web browser, the first web application being associated with a first tab, and the second web application being associated with a second tab having different web content than the first tab;
determining, by the processor, whether a shared worker is available within the web browser, if no shared worker is available, initiating a new shared worker within the web browser;
registering, by the processor, each of said first tab and the second tab with the shared worker based on determining that the shared worker is available within the web browser;
receiving, by the processor, a first request from the first lab to connect to a server and a second request from the second tab to connect to the server;
combining, by the processor, the first request and the second request into one packaged request;
creating, by the processor, a single connection point within the shared worker for a plurality of tabs including the first tab and the second tab and combining the plurality of tabs to server connections from the same browser into a single connection per browser; and
sending, by the processor, the one packaged request to die server via the single connection point,
wherein the shared worker is an area of the web browser that is operating at a higher level than the first and second tabs and is configured to run programming in the same manner as the first and second tabs but without any visuals, and
wherein the shared worker is accessible from all tabs within the browser and is configured to allow one tab to communicate to other tabs via the higher level.

### Claim 2 (depends on 1)

The method according to claim 1, further comprising:
storing, in response to the registering, within the shared worker a first reference identification associated with the first tab and a second reference identification associated with the second tab;
receiving, by the processor, a first response corresponding to the first request and a second response corresponding to the second request from the server as a packaged response via the single connection point; and
routing the first response to the first tab via a first path based on the first reference identification and the second response to the second tab via a second path different from the first path based on the second reference identification.

### Claim 3 (depends on 1)

The method according to claim 1, further comprising:
receiving, by the processor, a first response corresponding to the first request and a second response corresponding to the second request from the server as a packaged response via the single connection point; and
routing the first response to the first tab via a first path and the second response to the second tab via a second path different from the first path.

### Claim 4 (depends on 1)

The method according to claim 1, further comprising: when a plurality of tabs are opened by the processor at the same time or before a connection is established between the processor and the server, maintaining the single connection point open so that the processor receives a message corresponding to each of said plurality of tabs via the single connection point.

### Claim 5 (depends on 1)

The method according to claim 1, wherein when a plurality of tabs are opened by the processor at the same time and a connection is established between the processor and the server via the single connection point, and then one of the plurality of tabs is closed by the processor before receiving a message from the server, the method further comprising:
maintaining the single connection point open so that the processor receives a message corresponding to each of said plurality of tabs via the single connection; and
closing a connection between the processor and the closed tab.

### Claim 6

A system for implementing a session sharing shared worker module, comprising:
a processor; and
a server, wherein;
the processor is configured to:
execute a first web application and a second web application within a web browser, the first web application being associated with a first tab, the second web application being associated with a second tab having different web content than the first tab and determine whether a shared worker is available within the web browser, if no shared worker is available, initiating a new shared worker within the web browser;
register each of said first tab and the second tab with the shared worker based on determining that the shared worker is available within the web browser;
receive a first request from the first tab to connect to the server and a second request from the second tab to connect to the server;
combine the first request and the second request into one packaged request;
create, a single connection point within the shared worker for a plurality of tabs including the first tab and the second tab and combine the plurality of tabs to server connections from the same browser into a single connection per browser; and
send (he one packaged request to the server via the single connection point,
wherein the shared worker is an area of the web browser that is operating at a higher level than the first and second tabs and is configured to run programming in the same manner as the first and second tabs but without any visuals, and
wherein the shared worker is accessible from all tabs within the browser and is configured to allow one tab to communicate to other tabs via the higher level.

### Claim 7 (depends on 6)

The system according claim 6, wherein the processor is further configured to:
store, in response to the registering, within the shared worker a first reference identification associated with the first tab and a second reference identification associated with the second tab;
receive a first response corresponding to the first request and a second response corresponding to the second request from the server as a packaged response via the single connection point; and
route the first response to the first tab via a first path based on the first reference identification and the second response to the second tab via a second path different from the first path based on the second reference identification.

### Claim 8 (depends on 6)

The system according to claim 6, wherein the processor is further configured to:
receive a first response corresponding to the first request and a second response corresponding to the second request from the server as a packaged response via the single connection point; and
route the first response to the first tab via a first path and the second response to the second tab via a second path different from the first path.

### Claim 9 (depends on 6)

The system according to claim 6, wherein when a plurality of tabs are opened by the processor at the same time or before a connection is established between the processor and the server, the processor is configured to maintain the single connection point open so that the processor can receive a message corresponding to each of said plurality of tabs via the single connection point.

### Claim 10 (depends on 6)

The system according to claim 6, wherein when a plurality of tabs are opened by the processor at the same time and a connection is established between the processor and the server via the single connection point, and then one of the plurality of tabs is closed by the processor before receiving a message from the server, the processor is further configured to:
maintain the single connection point open so that the processor can receive a message corresponding to each of said plurality of labs via the single connection; and
close a connection between the processor and the closed tab.

### Claim 11

A non-transitory computer readable medium configured to store instructions for implementing a session sharing shared worker, wherein when executed, the instructions cause a processor to perform the following:
executing a first web application and a second web application within a web browser, the first web application being associated with a first tab, the second web application being associated with a second tab having different web content than the first tab;
determining whether a shared worker is available within the web browser, if no shared worker is available, initiating a new shared worker within the web browser;
registering each of said first tab and the second tab with the shared worker based on determining that the shared worker is available within the web browser;
receiving a first request from the first tab to connect to a server and a second request from the second tab to connect to the server;
combining the first request and the second request into one packaged request;
creating a single connection point within the shared worker for a plurality of tabs including the first tab and the second tab and combining the plurality of tabs to server connections from the same browser into a single connection per browser; and
sending the one packaged request to the server via the single connection point,
wherein the shared worker is an area of the web browser that is operating at a higher level than the first and second tabs and is configured to run programming in the same manner as the first and second tabs but without any visuals, and
wherein the shared worker is accessible from all tabs within the browser and is configured to allow one lab to communicate to other tabs via the higher level.

### Claim 12 (depends on 11)

The non-transitory computer readable medium of claim 11, wherein when executed, the instructions further cause the processor to perform the following:
storing, in response to the registering, within the shared worker a first reference identification associated with the first tab and a second reference identification associated with the second tab;
receiving a first response corresponding to the first request and a second response corresponding to the second request from the server as a packaged response via the single connection point; and
routing the first response to the first tab via a first path based on the first reference identification and the second response to the second tab via a second path different front the first path based on the second reference identification.

### Claim 13 (depends on 11)

The non-transitory computer readable medium of claim 11, wherein when executed, the instructions further cause the processor to perform the following:
receiving a first response corresponding to tire first request and a second response corresponding to the second request from the server as a packaged response via the single connection point; and
routing the first response to the first lab via a first path and the second response to the second tab via a second path different from the first path.

### Claim 14 (depends on 11)

The non-transitory computer readable medium of claim 11, wherein when a plurality of tabs are opened by the processor at the same time or before a connection is established between the processor and the server, the instructions further cause the processor to maintain the single connection point open so that the processor receives a message corresponding to each of said plurality of tabs via the single connection point.

### Claim 15 (depends on 11)

The non-transitory computer readable medium of claim 11, wherein when a plurality of tabs are opened by the processor at the same time and a connection is established between the processor and the server via the single connection point, and then one of the plurality of tabs is closed by the processor before receiving a message from the server, the instructions further cause the processor to perform the following:
maintaining the single connection point open so that the processor receives a message corresponding to each of said plurality of tabs via the single connection; and
closing a connection between the processor and the closed tab.
