Web Content Transfer Between Containers With DOM State Adaptation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Transferring a web content display from one container to another while maintaining its state is technically challenging due to dependencies on the document object model (DOM) tree properties, which complicates the consolidation of tabs in web browsers or the separation of tasks across different windows.
Innovation Solution
A method and system that determine whether state components of a web content display are dependent or independent of the DOM tree properties, adjusting or copying these components accordingly when transferring the display from one container to another, allowing the display to be hosted in a new container with a different DOM tree.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If a web content display is transferred from one container to another container with a different DOM tree, then the display can be reorganized across windows for task separation, but maintaining the state of the display becomes technically challenging due to DOM tree property dependencies
Solution Approach 1:
The state of the web content display is segmented into multiple state components, each evaluated for its dependency on the DOM tree. This segmentation allows selective handling of state components - those independent of the DOM tree are copied directly, while those dependent are adjusted, thereby resolving the contradiction between transferability and state maintenance.
Solution Approach 2:
The patent changes the parameters of state components based on their DOM tree dependency. Independent state components retain their original values, while dependent state components have their parameters adjusted to match the new container's DOM tree properties, enabling successful transfer while maintaining reliability.
2Ease of manufacture
If state components are copied directly during transfer, then the transfer process is simplified, but state inconsistencies occur when the new container has different DOM tree properties
Solution Approach 1:
Different quality handling is applied to different state components based on their local characteristics - specifically, whether they are dependent or independent of the DOM tree. Independent components receive direct copying treatment, while dependent components receive adjustment treatment, optimizing both simplicity and precision.
Solution Approach 2:
The transfer process is made dynamic by evaluating each state component's dependency relationship with the DOM tree and applying different transfer strategies accordingly. This dynamic approach allows the system to adapt the transfer method to each component's specific requirements, balancing simplicity and precision.
3Reliability
If state components are adjusted to match the new DOM tree properties, then state compatibility is improved, but the transfer process becomes more complex
Solution Approach 1:
The complex transfer process is segmented into distinct evaluation and handling steps for each state component. By dividing the state into independent and dependent components, the system manages complexity through structured processing rather than monolithic handling.
Solution Approach 2:
The patent uses copying as a baseline approach for state component transfer, then applies adjustments only where necessary for dependent components. This copying-based approach simplifies the overall process while maintaining reliability through selective modification.
4Ease of operation
If web content displays are tightly coupled to their hosting container's lifetime, then container management is simplified, but the displays cannot be independently transferred or reorganized
Solution Approach 1:
The tight coupling between container and display is segmented by separating the display's state into DOM-dependent and DOM-independent components. This segmentation enables the display to be transferred independently of the container's lifetime cycle while maintaining proper state management.
Solution Approach 2:
The web content display is given universal handling capabilities through the state transfer mechanism, allowing it to function both as a container-bound element and as an independently transferable unit. This multi-functionality resolves the contradiction between simplified management and transfer flexibility.
Data Source
AI summary
Systems and methods for transferring a web content display from one container to another container are disclosed. A request to transfer a first web content display hosted in a first container having a first document object model (DOM) tree to a second container having a second DOM tree is received. The first web content display has a state comprising a plurality of state components. A second web content display hosted in the second container is created. If a first state component is dependent on a property of the first DOM tree associated with a host of the first web content display: the first state component is adjusted in the second web content display according to a corresponding property of the second DOM tree.


