Automatic Input Data Recovery via Image Comparison
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Users face the issue of data loss when applications crash or are closed without saving, requiring users to re-enter data, which wastes time and can introduce errors, and existing recovery services often require additional code that complicates the application's structure.
Innovation Solution
Implementing a data recovery service using image comparison to identify and save input data by capturing first and second images of an application, with the first image showing no input data and the second image showing data entered, allowing the identified data to be restored upon application restart without requiring additional recovery logic.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If image comparison method is used for data recovery, then data loss prevention is improved, but device complexity increases
Solution Approach 1:
The patent introduces an intermediary recovery service that acts as a mediator between the application and the user. This service captures screenshots, compares images to detect input data, and restores data automatically. The intermediary approach allows existing applications to benefit from recovery capabilities without modifying their core code, thus improving reliability while managing complexity through a separate service layer.
Solution Approach 2:
The patent replaces traditional mechanical code-based recovery mechanisms with an optical/image-based system. Instead of using application code to track and recover data, the system captures visual screenshots and uses image comparison algorithms to detect changes. This substitution allows the recovery function to work across different applications without requiring each application to implement its own recovery logic, reducing overall system complexity.
2Reliability
If additional recovery code is added to application, then data recovery capability is improved, but application structure complexity increases
Solution Approach 1:
The patent extracts the data recovery functionality from the application itself and places it in a separate recovery service. The application only needs to allow screenshot capture and provide basic input field information, while the complex recovery logic resides in the external service. This extraction prevents the application's code structure from becoming complicated while still providing robust recovery capabilities.
Solution Approach 2:
The recovery service is designed as a universal solution that can work with multiple different applications without requiring application-specific code. By using image comparison and generic input field detection, the same recovery service can protect data across various applications, reducing the need for each application to have its own specialized recovery code and thus simplifying application structures.
3Measurement precision
If image comparison processing is performed, then input data identification accuracy is improved, but processing time increases
Solution Approach 1:
The system performs preliminary actions by capturing screenshots at specific intervals or when certain events occur (such as when the application is closed or interrupted). By proactively capturing and analyzing images before data loss occurs, the system can quickly compare the captured images to detect input data without requiring extensive real-time processing during critical moments, thus balancing accuracy with time efficiency.
Data Source
AI summary
Described embodiments provide a method, computer program product, and computer system for receiving, by a computing device, first and second images of an application, the first image indicative of no input data present within input fields of the application, and the second image being received after input data is present within at least one input field of the application. The input data of the second image may be identified based upon, at least in part, a comparison with the first image. The identified input data of the second image may be provided into the input field of the application after restart of the application so as to prevent loss of the input data.


