Permanent HTTP Connection for Asynchronous Event Delivery
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Information processing terminals, such as smartphones and tablets, face challenges in efficiently monitoring the status of connected apparatuses like image forming devices due to high memory consumption and instability caused by concurrent polling, leading to deviations in displayed status information.
Innovation Solution
Establishing a permanent HTTP connection for event information delivery between the information processing terminal and the apparatus, allowing asynchronous reporting of events without frequent temporary sessions, which reduces memory usage and improves real-time status monitoring.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Speed
If concurrent polling is used to monitor apparatus status, then real-time status monitoring is achieved, but memory consumption increases and system stability deteriorates
Solution Approach 1:
The system implements periodic event-driven updates instead of continuous polling. The apparatus generates events periodically when status changes occur, and the information processing terminal receives these events asynchronously, eliminating the need for continuous periodic polling while maintaining real-time awareness of status changes.
Solution Approach 2:
The apparatus autonomously generates and transmits event information when status changes occur, without requiring external polling requests. This self-service mechanism allows the apparatus to actively push status updates to connected terminals, reducing the burden on terminals to continuously query and lowering overall system memory consumption.
2Speed
If concurrent polling is used to monitor apparatus status, then real-time status monitoring is achieved, but system stability deteriorates
Solution Approach 1:
The system implements a feedback mechanism where the apparatus monitors its own status and automatically generates events when changes occur. This closed-loop feedback system ensures that status information is accurately transmitted to terminals only when relevant changes happen, maintaining system stability by avoiding the instability caused by concurrent polling requests from multiple terminals.
Solution Approach 2:
The apparatus autonomously manages status monitoring and event generation, eliminating the need for multiple terminals to concurrently poll. This self-service approach centralizes the monitoring logic in the apparatus itself, improving system stability by removing the conflicting concurrent access patterns that cause instability.
3Adaptability or versatility
If temporary sessions are established for each execution request, then communication flexibility is maintained, but connection overhead increases
Solution Approach 1:
The system merges multiple temporary communication sessions into a single permanent connection established between the apparatus and the information processing terminal. This permanent connection remains open for the duration of the application's operation, allowing multiple events and status updates to be transmitted without repeatedly establishing and tearing down connections, thereby reducing connection overhead while maintaining communication flexibility.
Solution Approach 2:
The permanent connection establishes a continuous communication channel that remains active throughout the application's operation. This continuous connection allows event information to be transmitted asynchronously without interruption, eliminating the need to repeatedly set up temporary sessions and reducing the overhead associated with connection management while maintaining adaptability.
Data Source
AI summary
An apparatus includes an operating unit. The operating unit includes one or more processors each configured to transmit an execution request for executing a process based on a user's operation, and a delivery unit configured to receive event information indicating an event generated in the apparatus, and to deliver the received event information to the processors. A connection is established for performing communications between the apparatus and the operating unit every time each of the processors transmits the execution request, and a permanent connection for performing communications between the apparatus and the operating unit that is permanently established is used when the delivery unit receives the event information.


