Cross-Device App Window Migration Without Restart or Data Loss
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing display methods result in data loss and application restart when switching an application from one electronic device to another, leading to a disrupted user experience.
Innovation Solution
A display method that migrates the application window and its activity stack from the first electronic device to the second device, retaining the application's status and data, and optionally adjusting the window size and display interface to maintain continuity.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If the application is restarted when switching from the first electronic device to the second electronic device, then the application can be displayed on the second device, but data loss occurs and application continuity is broken
Solution Approach 1:
The system performs preliminary actions by detecting the start operation of the first application on the first electronic device before the actual switching occurs. It proactively matches the application window and prepares the activity stack migration, so that when switching to the second electronic device, the application can continue without restart, preventing data loss
Solution Approach 2:
The activity stack serves as an intermediary mechanism between the first electronic device and the second electronic device. The system migrates the activity stack from the first device to the second device, allowing the application state to be transferred and maintained across devices, thus preventing data loss during switching
2Reliability
If the application status is retained during device switching, then data loss is prevented, but the system complexity increases due to window matching and activity stack migration
Solution Approach 1:
The activity stack mechanism serves multiple functions: it stores application state information, enables device switching, and maintains application continuity. By using this universal mechanism, the system achieves reliable application continuity without proportionally increasing complexity, as the same structure handles multiple aspects of state management
3Duration of action of moving object
If the window of the first application is migrated to the second electronic device, then application continuity is maintained, but the processing time and resources increase
Solution Approach 1:
The system detects and matches the application window at the moment the first application is started on the first electronic device, before switching occurs. This preliminary matching and preparation of the activity stack reduces the time required during actual switching, as the migration path is already established
Data Source
AI summary
This application provides a display method and an electronic device. The method is applied to a first electronic device, and the method may include: The first electronic device detects a first operation of starting a first application. The first electronic device matches a window of the first application; and when the first electronic device determines that the matched window of the first application is located in the first electronic device, migrates the window of the first application to a second electronic device for display. The technical solutions can be applied to projection technologies. When an application is switched from the first electronic device to the second electronic device for display, data and a status of the application can be retained to avoid restarting the application.


