# US 2020/0396185 A1 · Direct Communication Between a Secure Application and a Local Application Running on the Same Device

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

- Number: US 2020/0396185 A1
- Document ID: US20200396185A1
- Status: Published application
- Kind: A1
- Application number: 16/507,283
- Filed: 2019-07-10
- Published: 2020-12-17
- Earliest claimed: 2019-06-12
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Guillaume Egles; Brian Din; Georges Vieux; Richard Cochran
- Web page: https://patentgrep.com/patent/US20200396185A1

## CPC

- H04L 65/1069: Session establishment or de-establishment
- G06F 16/955: using information identifiers, e.g. uniform resource locators [URL]
- H04L 51/046: Interoperability with other network applications or services
- H04L 65/1073: Registration or de-registration
- H04L 65/1083: In-session procedures
- H04L 65/4015: {where at least one of the additional parallel sessions is real time or time sensitive, e.g. white board sharing, collaboration or spawning of a subconference}
- H04L 65/65: Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]
- H04L 65/70: Media network packetisation
- H04L 67/02: based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Establishing communication between a secure web application and a local native application is provided. A first input is received to establish a direct Web Real-Time Communication data channel between the secure web application running in a web browser and the local native application running outside the web browser in the data processing system. In response to receiving the first input, the direct Web Real-Time Communication data channel is established between the secure web application running in the web browser and the local native application running outside the web browser in the data processing system.

## Claims

### Claim 1

A method for establishing communication between a secure web application and a local native application, the method comprising:
receiving, by a data processing system, a first input to establish a direct Web Real-Time Communication data channel between the secure web application running in a web browser of the data processing system and the local native application running outside the web browser in the data processing system; and
responsive to the data processing system receiving the first input to establish the direct Web Real-Time Communication data channel, establishing, by the data processing system, the direct Web Real-Time Communication data channel between the secure web application running in the web browser of the data processing system and the local native application running outside the web browser in the data processing system, wherein an ANSWER to an OFFER for establishing the direct Web Real-Time Communication data channel is precomputed and known to the secure web application and the local native application prior to communicating the OFFER, such that the ANSWER does not need to be communicated from the local native application to the secure web application in response to receiving the OFFER from the secure web application.

### Claim 2

(canceled)

### Claim 3 (depends on 1)

The method of claim 1, wherein establishing the direct Web Real-Time Communication data channel between the secure web application and the local native application comprises communicating the OFFER for establishing the direct Web Real-Time Communication data channel via a uniform resource locator protocol handler using a one-shot, one-way message from the secure web application to the local native application.

### Claim 4

(canceled)

### Claim 5 (depends on 1)

The method of claim 1 further comprising:
generating, by the data processing system, using the web browser, the OFFER to establish the direct Web Real-Time Communication data channel between the secure web application and the local native application; and
retrieving, by the data processing system, a precomputed ANSWER to the OFFER from the secure web application.

### Claim 6 (depends on 1)

The method of claim 1 further comprising:
triggering, by the data processing system, a uniform resource locator protocol handler registered by the local native application with an operating system of the data processing system; and
launching, by the data processing system, the local native application using the uniform resource locator protocol handler.

### Claim 7 (depends on 6)

The method of claim 6 further comprising:
communicating, by the data processing system, the OFFER to the local native application via encoding the OFFER in a uniform resource locator text message transmitted by the uniform resource locator protocol handler.

### Claim 8 (depends on 7)

The method of claim 7 further comprising:
setting, by the data processing system, the OFFER and a precomputed ANSWER in the secure web application and the local native application; and
establishing, by the data processing system, the direct Web Real-Time Communication data channel between the secure web application running in the web browser and the local native application running outside the web browser on the data processing system based on information contained in the OFFER and the precomputed ANSWER set in the secure web application and the local native application.

### Claim 9 (depends on 1)

The method of claim 1 further comprising:
determining, by the data processing system, whether a second input was received to terminate the direct Web Real-Time Communication data channel between the secure web application and the local native application; and
responsive to the data processing system determining that the second input was received to terminate the direct Web Real-Time Communication data channel between the secure web application and the local native application, terminating, by the data processing system, the direct Web Real-Time Communication data channel between the secure web application and the local native application.
