Browser-Based Polling Service for Web Application Job Monitoring

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Single page web applications face challenges in monitoring and managing HTTP requests between clients and servers, particularly in ensuring data completeness and error handling, which complicates their development and usage, and traditional server-based polling solutions require a persistent channel.

Innovation Solution

A browser-based polling system that uses a reusable library to queue and monitor HTTP requests, allowing real-time updates and error handling without relying on server fetches, enabling multi-user support and flexible configuration across web application pages.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If server-based polling is used to monitor HTTP requests, then data completeness can be ensured, but a persistent channel between server and client is required which increases system complexity

Engineering Contradiction:
Improvedata completenessVSAvoidpersistent channel requirement
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

Instead of the server polling the client for status updates, the invention inverts the approach by having the client browser perform the polling directly against the server. The browser-based polling service independently monitors HTTP request states without requiring a persistent server-client channel, thus maintaining data completeness while reducing system complexity.

Inventive Principle:
Principle #13The other way round (Inversion)

Solution Approach 2:

The client browser is empowered to perform its own polling operations directly against the server using available HTTP methods. The browser-based service autonomously monitors request states, manages queues, and updates the application without requiring continuous server-initiated communication or persistent channels.

Inventive Principle:
Principle #25Self-service

2Productivity

If traditional server-based polling is implemented, then HTTP request monitoring is possible, but it complicates single page web application development

Engineering Contradiction:
ImproveHTTP request monitoring capabilityVSAvoiddevelopment complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The invention introduces a browser-based polling service as an intermediary layer between the single page web application and the server. This service handles all polling operations, request queuing, and state monitoring independently, allowing the main application to remain simple while still achieving comprehensive HTTP request monitoring capability.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The polling functionality is segmented into a separate browser-based service that operates independently from the main web application logic. This segmentation allows the core application to focus on business logic while the polling service handles monitoring tasks, reducing development complexity and improving maintainability.

Inventive Principle:
Principle #1Segmentation

3Speed

If a persistent channel is maintained for polling, then real-time data can be exchanged, but connection management becomes more difficult

Engineering Contradiction:
Improvereal-time data exchangeVSAvoidconnection management
Core Design Contradiction:
SpeedVSEase of operation

Solution Approach 1:

The invention uses periodic polling actions instead of maintaining a persistent channel. The browser-based service periodically sends HTTP requests to check the state of jobs or data, achieving real-time data exchange through repeated discrete actions rather than continuous connection, thus simplifying connection management.

Inventive Principle:
Principle #19Periodic action

Data Source

PatentUS11836472B2System and method for browser based polling
Publication Date: 2023.12.05 DELL PROD LP
  • US11836472B2 patent drawing
  • US11836472B2 patent drawing
  • US11836472B2 patent drawing

AI summary

A system, method, and computer-readable medium are disclosed for browser based polling of jobs used to build a web page of a web application. A web browser builds the web page of the web application and connects with one or more web services for jobs used to build the web page of the web application. A reusable service from a library is downloaded and is used at the web browser to poll the jobs as they are received from the web services. Polling the jobs is performed until download is complete. The web page application is updated when the download is complete.