Clipboard Redirection for File Copy Between Local and Remote Virtual Desktops
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing virtual desktop infrastructure (VDI) and desktop-as-a-service (DAAS) systems face challenges in efficiently copying and pasting files and folders between local and remote systems due to limitations in clipboard redirection, particularly for file and folder data.
Innovation Solution
The proposed solution involves a mechanism where the file or folder path is set to the clipboard in one system, and the content is transferred over the network only when a paste operation is detected in the other system, utilizing a clipboard server and client to manage clipboard redirection and data exchange.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Speed
If file content is transferred immediately when copied to clipboard, then paste operation speed is improved, but network bandwidth is wasted for unnecessary transfers
Solution Approach 1:
The system performs preliminary actions by storing only file path information in the clipboard when a file is copied, rather than transferring the actual file content. The file content is prepared for transfer only when a paste operation is detected, avoiding premature network transfers and bandwidth waste while maintaining fast paste performance.
Solution Approach 2:
The clipboard redirection mechanism dynamically adjusts its behavior based on the paste detection state. When paste is detected, the system transitions from storing path information to transferring actual file content, optimizing network bandwidth usage while ensuring fast paste operation speed when needed.
2Loss of energy
If file path is stored in clipboard instead of file content, then network bandwidth usage is reduced, but paste operation requires additional processing time
Solution Approach 1:
The system performs preliminary actions by pre-storing file path information in the clipboard during the copy operation. This allows the clipboard to contain ready-to-use path data that can be quickly retrieved during paste operations, reducing both network bandwidth usage and paste processing time.
Solution Approach 2:
The clipboard acts as an intermediary that stores file path information rather than file content. This intermediary mechanism enables efficient data exchange by storing compact path references that can be quickly transferred and resolved, reducing network bandwidth usage while maintaining fast paste operation response.
3Adaptability or versatility
If clipboard redirection is implemented for file operations, then file copy/paste functionality is enabled between local and remote systems, but system complexity increases
Solution Approach 1:
The system extracts the file path information from the file content and stores only the path in the clipboard. This extraction approach enables file copy/paste functionality between local and remote systems while minimizing the data that needs to be managed and transferred, thereby reducing system complexity.
Solution Approach 2:
Instead of copying actual file content to the clipboard, the system copies only the file path information. This copying strategy enables file operations between systems while keeping clipboard data compact and manageable, reducing the complexity of clipboard redirection without sacrificing functionality.
Data Source
AI summary
System and method are described for copying and pasting files and folders between a client and a virtual desktop via clipboard redirection. A virtual desktop session can be established by the client on the virtual desktop. The user can copy a file or folder to the virtual desktop clipboard and a path corresponding to the file or folder can be stored in the virtual desktop clipboard in a path list. When the user ungrabs the agent or switches focus out of the virtual desktop to the client, the path list can be transferred to the client device and set into the client clipboard. Subsequently, a request can be received in the client device to paste the copied file or folder to a target location in the client device. In response to the request, the client device can retrieve the contents of the copied file or folder from the agent and the contents can be placed in the target location to complete the paste operation.


