Flash-Based Inter-Page Communication Link for Browser Data Sync
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current methods for data communication between web pages in a browser lack direct interaction, leading to inefficiencies such as unsynchronized updates, high bandwidth usage, and server load due to indirect communication approaches like localstorage, JavaScript polling, and long HTTP connections.
Innovation Solution
Establishing communication links between client pages using unique identifiers and Adobe Flash files to enable direct data transmission within pre-defined page groups, allowing for synchronized updates and operations.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Loss of time
If JavaScript polling is used to acquire update data from the server, then the timeliness of page data is improved, but the system performance deteriorates due to frequent polling requests
Solution Approach 1:
The patent introduces a Flash-based communication mechanism as an intermediary between pages and the server. Instead of direct JavaScript polling, the Flash object acts as a mediator that receives push notifications from the server and distributes them to relevant pages, eliminating the need for frequent polling requests while maintaining data timeliness.
Solution Approach 2:
The patent replaces continuous periodic polling with event-driven periodic action. The server pushes update data only when changes occur, and the Flash mechanism triggers page updates only when notifications are received, converting from constant periodic polling to conditional periodic action based on actual data changes.
2Speed
If long HTTP connections are established for each page to ensure immediacy, then the responsiveness is improved, but the bandwidth resources are wasted due to multiple connections
Solution Approach 1:
The patent merges multiple page-specific HTTP connections into a single Flash-based communication channel. The Flash object consolidates the communication infrastructure, allowing multiple pages to share the same connection to the server, thereby reducing the number of TCP connections and minimizing bandwidth consumption while maintaining immediate response capability.
Solution Approach 2:
The Flash communication mechanism serves multiple pages simultaneously, making it a universal solution. A single Flash instance can notify and update multiple pages with different data types, replacing the need for dedicated connections for each page and enabling one connection to perform multiple communication functions.
3Adaptability or versatility
If localstorage is used for data updates, then the browser compatibility is improved for supported browsers, but the synchronization between different browsers deteriorates
Solution Approach 1:
The patent uses the server as an intermediary to coordinate data synchronization across different browsers. Instead of relying on localstorage that is isolated to each browser instance, the server mediates the data distribution, receiving updates from any browser and pushing them to all connected browsers through the Flash mechanism, ensuring consistent synchronization state across all browsers.
Data Source
AI summary
Embodiments of the present application relate to a method for communicating between pages to be displayed at a client, a system for communicating between pages to be displayed at a client, and a computer program product for communicating between pages to be displayed at a client. A method for communicating between pages to be displayed at a client is provided. The method includes detecting whether a first page is to transmit data to a second page, in the event that the first page is to transmit the data to the second page, obtaining a communication identifier of the second page in a current page group storing the first page and the second page, and establishing a communication link between the first page and the second page based on the communication identifier, and using the communication link to send the data to be transmitted to the second page.


