WebRTC Data Channel Between Secure Web and Local Native Apps

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current technologies face challenges in establishing direct and secure communication between secure web applications running in a web browser and locally installed native applications on the same device, due to the migration to HTTPS, browser security measures, and restrictions on mixed content, making existing solutions impractical or unreliable.

Innovation Solution

The implementation of Web Real-Time Communication (WebRTC) to establish a direct, secure, and bidirectional data channel between a secure web application and a local native application within the same device, utilizing signaling or rendezvous servers or local protocol handlers to exchange OFFER and ANSWER messages, without relying on traditional HTTPS trust models or external certificate authorities.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If traditional HTTPS trust models and public DNS services are used for communication between web applications and local native applications, then security is maintained, but communication reliability and speed are degraded due to mixed content restrictions and DNS service limitations

Engineering Contradiction:
Improvecommunication reliabilityVSAvoidsystem complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent introduces a signaling server as an intermediary component that facilitates the establishment of WebRTC data channels between web applications and local native applications. This mediator handles the complex negotiation process including OFFER/ANSWER message exchange, ICE candidate distribution, and credential verification, thereby reducing the complexity burden on the client devices while maintaining communication reliability through secure peer-to-peer connectivity.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Productivity

If Web Real-Time Communication (WebRTC) is implemented to establish direct data channels, then communication speed and scalability are improved, but browser security policies and mixed content restrictions create new challenges

Engineering Contradiction:
Improvecommunication speedVSAvoidsecurity compliance
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent implements a feedback mechanism where the signaling server receives ONICECOMPLETE notifications from the web application after ICE candidate distribution, and responds with ONICESTARTED notifications containing verification credentials. This bidirectional feedback loop ensures that security policies are complied with by verifying the authenticity of communication partners before establishing the data channel, thereby maintaining security compliance while enabling fast direct communication.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The patent performs preliminary actions by exchanging verification credentials and establishing trust relationships before the actual data transmission begins. The signaling server pre-verifies the authenticity of both the web application and local native application through credential exchange, and only after successful verification does it allow the WebRTC data channel to be activated for high-speed communication, thus ensuring security compliance is met beforehand.

Inventive Principle:
Principle #10Preliminary action

3Adaptability or versatility

If direct peer-to-peer communication is established using WebRTC, then communication scalability is improved, but establishing the connection requires complex negotiation protocols

Engineering Contradiction:
Improvecommunication scalabilityVSAvoidconnection establishment complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The signaling server acts as a mediator that handles the complex WebRTC negotiation process including STUN/ICE candidate exchange, credential verification, and data channel establishment. By centralizing this complexity in the signaling server, the patent enables scalable peer-to-peer communication between multiple web applications and local native applications without requiring each endpoint to implement the full complexity of the negotiation protocol.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS10897438B2Direct communication between a secure application and a local application running on the same device
Publication Date: 2021.01.19 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US10897438B2 patent drawing
  • US10897438B2 patent drawing
  • US10897438B2 patent drawing

AI summary

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.