Dynamic WebSocket Connection Management for Print Servers
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In PUSH-type communication systems using WebSocket, the increased number of applications on a printer device leads to higher processing loads for the print server, causing instability and unnecessary resource allocation due to the need for maintaining connections for all pre-installed applications, even if they are not used.
Innovation Solution
The system establishes a single control WebSocket connection to manage the connection and disconnection of application WebSockets dynamically, allowing the print server to extend connections only for applications actively used, thereby reducing the load on the server and preventing unnecessary resource allocation.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If WebSocket connections are established for each pre-installed application on the printer, then the printer can support multiple applications, but the processing load on the print server increases and system stability decreases
Solution Approach 1:
The patent implements dynamic connection management where WebSocket connections are established and terminated based on actual application usage. The print server dynamically extends connections only for applications that are actively used, rather than maintaining static connections for all pre-installed applications. This dynamic approach reduces the processing load on the print server while maintaining support for multiple applications, thereby resolving the contradiction between adaptability and reliability.
2Adaptability or versatility
If WebSocket connections are established for each pre-installed application on the printer, then the printer can support multiple applications, but unnecessary resources are allocated for connections that are not used
Solution Approach 1:
The patent applies partial action by establishing WebSocket connections only for the subset of applications that are actually used, rather than for all pre-installed applications. The print server selectively extends connections based on usage detection, avoiding the waste of resources on unnecessary connections. This approach maintains full application support capability while eliminating resource allocation inefficiency.
3Adaptability or versatility
If the print server manages constant connections for multiple applications, then all applications can communicate with the server, but the processing load increases as the number of applications increases
Solution Approach 1:
The patent transforms the static connection management model into a dynamic one. Instead of maintaining constant connections for all applications, the system dynamically establishes and terminates WebSocket connections based on actual communication needs. The print server monitors application usage and extends connections only when necessary, thereby maintaining multi-application communication capability while preserving server processing efficiency even as the number of applications increases.
Data Source
AI summary
An image forming apparatus establishes a first network connection using a network protocol to enable transmitting of a request that is issued by taking the server apparatus for the starting point through a firewall to the image forming apparatus. The client server apparatus transmits an instruction through the first network connection to establish a second network connection corresponding to an application installed on the image forming apparatus after establishment of the first network connection. The image forming apparatus establishes the second network connection in response to the instruction transmitted from the print server.


