# US 2014/0207957 A1 · Systems and methods for connecting media devices through web sockets

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

- Number: US 2014/0207957 A1
- Document ID: US20140207957A1
- Status: Published application
- Kind: A1
- Application number: 13/749,501
- Filed: 2013-01-24
- Published: 2014-07-24
- Earliest claimed: 2013-01-24
- Assignees: United Video Properties, Inc.
- Applicants: United Video Properties, Inc.
- Inventors: Ping Zhang; Michael Patrick Chrabaszcz; Dustin James Williams; Frederick Harmanson; Geoff Ehlers
- Web page: https://patentgrep.com/patent/US20140207957A1

## CPC

- H04L 67/141: Setup of application sessions (admission control or resource allocation in data switching networks H04L47/70)
- H04L 65/1069: Session establishment or de-establishment
- H04L 65/1083: In-session procedures
- H04L 67/02: based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L 67/51: Discovery or management thereof, e.g. service location protocol [SLP] or web services
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Systems and methods are described herein for connecting client devices to applications on a server using web sockets. In one aspect, the systems and methods described provide for a routing table that may be used to direct communications between a client device and an application on a web server. The routing table may overcome challenges of implementing web sockets under current constraints of the web socket specification, the HTTP specification, and server implementations.

## Claims

### Claim 1

A method for connecting a first device over a communication network to an application service through a second device, comprising:
receiving, via the communication network, a first message from the first device to form a web socket connection, wherein the first message includes an identification code of the first device;
storing, in a routing table, the identification code of the first device received in the first message and an identification code of the web socket connection, wherein the routing table includes one or more application services associated with the web socket connection;
receiving, via the communication network, a second message from the first device for transmission to the application service;
retrieving from the routing table, based on the identification code of the first device received in the second message and another identification code stored in the routing table, the web socket connection associated with the first device and the application service; and
transmitting the received second message from the first device to the application service through the web socket connection.

### Claim 2 (depends on 1)

The method of claim 1 wherein:
the first message is an upgrade request message to upgrade a transport connection to a web socket connection.

### Claim 3 (depends on 2)

The method of claim 2 wherein the upgrade request message is a point-to-point message, comprising the identification code of the first device as a source address and an identification code of the second device as a destination address.

### Claim 4 (depends on 2)

The method of claim 2 wherein the upgrade request message is a broadcast message, comprising the identification code of the first device as a source address and a broadcast address as a destination address.

### Claim 5 (depends on 1)

The method of claim 1 wherein the application service is implemented in a layer in a protocol stack comprising a plurality of layers, wherein the layer is below an application layer and above a network layer.

### Claim 6 (depends on 5)

The method of claim 5 further comprising:
receiving a third message from the first device through the web socket connection for transmission to the application service, without providing an indication message to an application implemented in the application layer above the layer in which the application service is implemented in the protocol stack.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
forming a second web socket connection to a third device, wherein the second web socket connection is associated with the application service;
storing, in the routing table, an identification code of the third device and an identification code of the second web socket connection, wherein the routing table includes one or more application services associated with the second web socket connection;
receiving a third message from the application service for transmission to the third device;
retrieving, from the routing table, the second web socket connection associated with the third device and the application service; and
transmitting the received third message from the application service to the third device through the second web socket connection.

### Claim 8 (depends on 1)

The method of claim 1 wherein the application service is a routing service for forwarding the received second message to a second application service implemented on a third device separate from the first device and the second device.

### Claim 9 (depends on 1)

The method of claim 1 wherein:
the second device is a server device, and
the application service is maintained on the server device.

### Claim 10 (depends on 1)

The method of claim 1, further comprising:
forming a second web socket connection with a cloud service; and
transmitting a third message from the application service to the cloud service through the second web socket connection.

### Claim 11

A system for connecting a first device over a communication network to an application service through a second device, comprising:
processing circuitry configured to:
receive, via the communication network, a first message from the first device to form a web socket connection, wherein the first message includes an identification code of the first device;
store in memory, in a routing table, the identification code of the first device received in the first message and an identification code of the web socket connection, wherein the routing table includes one or more application services associated with the web socket connection;
receive, via the communication network, a second message from the first device for transmission to the application service;
retrieve from the routing table, based on the identification code of the first device received in the second message and another identification code stored in the routing table, the web socket connection associated with the first device and the application service; and
transmit the received second message from the first device to the application service through the web socket connection.

### Claim 12 (depends on 11)

The system of claim 11 wherein:
the first message is an upgrade request message to upgrade a transport connection to a web socket connection.

### Claim 13 (depends on 12)

The system of claim 12 wherein the upgrade request message is a point-to-point message, comprising the identification code of the first device as a source address and an identification code of the second device as a destination address.

### Claim 14 (depends on 12)

The system of claim 12 wherein the upgrade request message is a broadcast message, comprising the identification code of the first device as a source address and a broadcast address as a destination address.

### Claim 15 (depends on 11)

The system of claim 11 wherein the application service is implemented in a layer in a protocol stack comprising a plurality of layers, wherein the layer is below an application layer and above a network layer.

### Claim 16 (depends on 15)

The system of claim 15 wherein the processing circuitry is further configured to:
receive a third message from the first device through the web socket connection for transmission to the application service, without providing an indication message to an application implemented in the application layer above the layer in which the application service is implemented in the protocol stack.

### Claim 17 (depends on 11)

The system of claim 11 wherein the processing circuitry is further configured to:
form a second web socket connection to a third device, wherein the second web socket connection is associated with the application service;
store, in the routing table, an identification code of the third device and an identification code of the second web socket connection, wherein the routing table includes one or more application services associated with the second web socket connection;
receive a third message from the application service for transmission to the third device;
retrieve, from the routing table, the second web socket connection associated with the third device and the application service; and
transmit the received third message from the application service to the third device through the second web socket connection.

### Claim 18 (depends on 11)

The system of claim 11 wherein the application service is a routing service for forwarding the received second message to a second application service implemented on a third device separate from the first device and the second device.

### Claim 19 (depends on 11)

The system of claim 11 wherein:
the second device is a server device, and
the application service is maintained on the server device.

### Claim 20 (depends on 11)

The system of claim 11, wherein the processing circuitry is further configured to:
form a second web socket connection with a cloud service; and
transmit a third message from the application service to the cloud service through the second web socket connection.

### Claim at position 21

21-30. (canceled)
