Kernel Driver Warning for Cloud Data Loss on Logout
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Data loss can occur when a cloud-based storage system client application is terminated before all local files are synchronized with the cloud, due to open files with unsaved changes, files in the process of synchronization, or files that cannot be synchronized due to errors.
Innovation Solution
A kernel driver executing at the operating system level detects the termination request of the cloud services client application, identifies files at risk of data loss, and presents a warning interface to the user, including open files, files in the synchronization process, and files that cannot be synchronized, allowing the user to cancel the termination to remedy the situation.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If the cloud services client application is terminated to improve productivity and ease of operation, then user convenience is improved, but data loss occurs for files that are open, being synchronized, or cannot be synchronized
Solution Approach 1:
The kernel driver performs preliminary detection of files at risk of data loss (open files, files being synchronized, files that cannot be synchronized) before the cloud services client application is terminated. A warning interface is presented to the user in advance, allowing them to take corrective actions such as saving files or waiting for synchronization to complete before termination proceeds.
Solution Approach 2:
The system provides feedback to the user by presenting a warning interface that lists specific files at risk of data loss, including open files, files currently being synchronized, and files that cannot be synchronized. This feedback enables the user to make informed decisions about whether to proceed with termination or take corrective actions to prevent data loss.
2Reliability
If the kernel driver monitors all files to detect data loss risks, then data loss prevention is improved, but device complexity increases
Solution Approach 1:
The monitoring function is segmented into specific categories of files at risk: open files (identified through operating system file handle queries), files currently being synchronized, and files that cannot be synchronized. This segmentation allows the kernel driver to focus monitoring efforts on specific file states rather than all files universally, reducing unnecessary complexity.
Solution Approach 2:
The kernel driver acts as an intermediary between the operating system and the cloud services client application. It leverages existing operating system mechanisms (file handle queries, synchronization status reporting) to gather information about files at risk, rather than implementing a completely independent monitoring system. This intermediary approach reduces complexity by building upon existing system infrastructure.
Data Source
AI summary
Embodiments of the disclosure provide systems and methods for detecting and providing warnings of potential data loss on termination of a client application of a cloud-based storage system. According to one embodiment, an attempt to log out or otherwise terminate the cloud services client application can be detected and local files at risk of losing data can be identified. A warning can then be presented to the user. For example, a warning can be presented on a display of the client device identifying local files at risk of data loss for various reasons such as those files that are still open by an application, files that are in the process of, but not yet finished, being synchronized, and files that cannot be synchronized. The user can then be given the option to continue or can cancel the termination and attempt to remedy the situation(s) creating the risk of data loss.


