Browser Document Offline Sync via Abandoned Instance Detection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current browser technologies face challenges in version control, particularly in offline scenarios, where merging changes made by multiple users to the same document across different browser windows is difficult or impossible without human intervention, leading to issues like duplicate changes and delayed syncing.

Innovation Solution

A method for synchronizing browser documents that automatically determines when a document instance is abandoned, merges changes from abandoned instances into active ones, and syncs changes with a version control server, allowing seamless transition between online and offline modes without human intervention.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If basic offline functionality is provided in browsers, then users can view past work and continue working on open documents offline, but versioning problems occur and changes cannot be automatically merged when reconnecting

Engineering Contradiction:
Improveoffline functionalityVSAvoidversion control
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The system performs preliminary actions by automatically detecting abandoned browser windows and merging their changes into active windows before the user reconnects to the server. This preliminary merging of changes ensures that when connectivity is restored, all changes are already integrated, eliminating versioning conflicts and ensuring reliable version control without requiring manual user intervention.

Inventive Principle:
Principle #10Preliminary action

2Productivity

If multiple users independently make substantial changes to documents while disconnected, then productivity is maintained, but the remote server and browsers are unable to merge changes automatically without involving users

Engineering Contradiction:
Improvecontinuous editingVSAvoidautomatic merging
Core Design Contradiction:
ProductivityVSExtent of automation

Solution Approach 1:

The system implements self-service by automatically detecting when a browser window is abandoned (closed without saving) and autonomously merging its changes into other active windows. This self-service mechanism eliminates the need for manual user intervention to resolve versioning conflicts, enabling automatic merging of changes made by multiple users while maintaining continuous productivity.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system performs preliminary actions by automatically detecting abandoned browser windows and merging their changes into active windows before the user reconnects to the server. This preliminary merging of changes ensures that when connectivity is restored, all changes are already integrated, eliminating versioning conflicts and ensuring reliable version control without requiring manual user intervention.

Inventive Principle:
Principle #10Preliminary action

3Productivity

If local editing is allowed while offline, then user productivity is maintained, but managing synchronization back to the remote server is difficult and may waste bandwidth and CPU cycles

Engineering Contradiction:
Improveoffline editingVSAvoidbandwidth and CPU cycles
Core Design Contradiction:
ProductivityVSLoss of energy

Solution Approach 1:

The system extracts and processes only the necessary synchronization information by automatically detecting abandoned windows and merging their changes locally before synchronization. This extraction of critical change data allows the system to maintain offline productivity while preparing efficient synchronization packets that minimize unnecessary bandwidth and CPU cycle consumption during server communication.

Inventive Principle:
Principle #2Taking out (Extraction)

Data Source

PatentUS9087113B2Automatic offline synchronization of browser documents
Publication Date: 2015.07.21 LUCID SOFTWARE INC
  • US9087113B2 patent drawing
  • US9087113B2 patent drawing
  • US9087113B2 patent drawing

AI summary

In an embodiment, a method for synchronizing browser documents is described. The method may include losing a connection to a version control server at a client device having first and second instances of a document open in first and second browser windows of a browser. The method may also include storing a first branch corresponding to the first instance of the document in local storage associated with the first browser. The first branch may indicate whether the first instance of the document is open or abandoned and one or more first changes. The method may also include the second browser window automatically determining that the first instance of the document is abandoned. The method may also include the second browser window automatically merging the one or more first changes into the second instance of the document in response to determining that the first instance of the document is abandoned.