Clipboard-Based Data Transfer Between Isolated Apps
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing data transmission methods between different applications in a data isolation state suffer from low data transmission speed and occupation of storage space in terminal devices.
Innovation Solution
An application data processing method that involves acquiring target data in response to a data replication instruction, loading it to a system clipboard to generate a temporary file, and then loading this temporary file by the second application to obtain the target data, thereby executing a target function based on the target data without additional storage processes.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If data is saved as a file for storage and then loaded by another application, then data transmission between isolated applications is achieved, but data transmission speed is low and storage space is occupied
Solution Approach 1:
The patent introduces a system clipboard as an intermediary mechanism to enable direct data transmission between isolated applications. Instead of saving data to persistent storage and loading it, the clipboard acts as a temporary buffer that allows the second application to directly access and process the data from the first application, eliminating the need for file I/O operations and improving transmission speed while maintaining data isolation boundaries
2Reliability
If data is saved as a file for storage and then loaded by another application, then data transmission between isolated applications is achieved, but storage space of terminal devices is occupied
Solution Approach 1:
The patent employs a temporary clipboard file that exists only transiently during the data transmission process. This disposable temporary file allows the second application to read the data without creating persistent storage occupation. After the data is successfully transmitted and processed, the temporary clipboard content is cleared, ensuring that no storage space is permanently consumed by the transmission mechanism
3Reliability
If additional data storage process is implemented, then data can be saved and loaded between applications, but data transmission efficiency is reduced
Solution Approach 1:
The patent implements preliminary action by pre-establishing the clipboard mechanism and preparing the data in the clipboard before the second application needs it. The data is formatted and placed in the clipboard in advance, allowing the receiving application to directly retrieve and process it without undergoing additional storage and loading operations, thereby eliminating unnecessary processing steps and improving transmission efficiency
Data Source
AI summary
Embodiments of the present disclosure provides an application data processing method and apparatus, an electronic device and a storage medium. The method includes: acquiring target data in response to a data replication instruction for a first application in a target operating system, the first application is in data isolation with a second application in the target operating system; loading the target data to a system clipboard to generate a temporary file; and loading the temporary file by the second application to obtain the target data, and executing a target function corresponding to the second application based on the target data. Data transmission between different applications in a data isolation state is implemented without additional data storage process, and the data transmission efficiency and the storage space utilization rate are improved.


