Local Comm Server for Web-App Messaging via Named Pipes
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The phase-out of NPAPI plugins in modern browsers disrupts communication paths between web applications and locally running applications, affecting legacy systems that rely on these interactions.
Innovation Solution
Implementing a local communications server using CORS and named pipes to establish a communication channel between web applications and local applications, allowing for two-way messaging and inter-process communication without relying on NPAPI plugins.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If NPAPI plugins are used to implement communication between web browser and local application, then communication functionality is achieved, but browser compatibility is lost as modern browsers discontinue NPAPI support
Solution Approach 1:
A local communication server is introduced as an intermediary component between the web browser and the local application. The server runs locally on the user's system and provides a bridge that allows web applications to communicate with local applications without requiring NPAPI plugins in the browser. This intermediary approach maintains communication functionality while achieving compatibility with modern browsers that have discontinued NPAPI support.
2Adaptability or versatility
If a local communication server is implemented to enable web application communication, then browser compatibility is improved, but system complexity increases
Solution Approach 1:
The local communication server is designed to operate autonomously on the user's local system, managing its own processes, connections, and communication protocols without requiring external control or configuration. The server automatically handles message routing between web and local applications, manages session states, and maintains communication channels, thereby reducing the complexity burden on the overall system architecture while achieving broad browser compatibility.
Data Source
AI summary
Disclosed is a method and mechanism to implement a communication channel between a web application and a locally running application on a computing system. A local communications server is employed to pass messages between the web application and a local application using a local comm server. The local comm server communicates with the local application over a named pipe that is dedicated to a specific web session and/or application.


