Dynamic Response Delay Adjustment for Long Polling Stability
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing image forming apparatuses face challenges in maintaining efficient long polling connections due to network disconnections caused by firewalls or proxies, leading to errors and instability in response delay times.
Innovation Solution
The image forming apparatus dynamically adjusts the response delay time based on detected errors, specifically reducing or increasing the timeout value to maintain a stable long polling connection by repeatedly performing long polling with adjusted delay times until errors are resolved.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Device complexity
If a fixed response delay time is used for long polling, then the connection protocol is simple to implement, but network disconnections caused by firewalls or proxies lead to errors and instability
Solution Approach 1:
The patent implements dynamic adjustment of the response delay time based on connection status. The system monitors for disconnections caused by firewalls or proxies and automatically modifies the timeout value to maintain stable communication, transforming the static timeout parameter into a dynamic one that adapts to network conditions.
Solution Approach 2:
The system incorporates feedback mechanisms by monitoring connection status and error conditions. When disconnections are detected, the system uses this feedback information to adjust the response delay time, creating a closed-loop control system that continuously optimizes connection stability based on actual network behavior.
2Reliability
If the response delay time is increased to handle network delays, then connection stability improves, but error detection and response time increases
Solution Approach 1:
The response delay time is made dynamic rather than fixed. The system adjusts the timeout value based on detected connection issues, increasing it when stability is needed and decreasing it when rapid error detection is required, thus balancing both connection stability and error detection speed.
Solution Approach 2:
The patent changes the parameter of response delay time based on connection conditions. By monitoring network status and adjusting the timeout parameter dynamically, the system optimizes the balance between maintaining stable connections and detecting errors promptly.
3Loss of time
If the response delay time is decreased to detect errors faster, then error detection speed improves, but connection stability deteriorates due to premature timeouts
Solution Approach 1:
The system dynamically adjusts the response delay time based on actual connection conditions. When the network is stable, a shorter timeout enables faster error detection. When disconnections are detected, the timeout is extended to prevent premature timeouts, thus balancing error detection speed with connection stability.
Solution Approach 2:
The response delay parameter is modified based on connection status monitoring. The system changes this parameter from a fixed value to a dynamic one that adapts to network conditions, allowing optimal error detection speed while maintaining connection stability under varying network environments.
Data Source
AI summary
An image forming apparatus and method for determining a response delay time for maintaining a long polling connection are provided. In an example, the image forming apparatus includes a communication device to communicate with an external device, a processor, and a memory storing instructions executable by the processor. The processor may execute the instructions to request the external device for a response about whether a job to be performed by the image forming apparatus is present based on a response delay time for long polling the external device by the image forming apparatus. The processor may also execute the instructions to detect an error from the response, adjust the response delay time, and determine a final response delay time for maintaining connection of the long polling by re-adjusting the adjusted response delay time based on a result of performing the long polling based on the adjusted response delay time.


