Pseudo Image File Scanner Data Access
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Application programs that cannot call the API of a scanner driver require complex operations to read scanned data, and even those that can call the API face the inconvenience of needing to check setting values and press an Enter button each time they read scanned data.
Innovation Solution
A computer-readable storage medium and image processing device that utilize a pseudo image file to simplify the reading of scanned data by transmitting a scan command to a scanning device and writing the received data to a named pipe, allowing the image processing program to read scanned data in a manner similar to typical image files.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If an application program cannot call the API of a scanner driver, then the program can be developed with simpler integration requirements, but the program cannot directly read scanned data and requires complex operations including activating the scanner driver, performing scan operations, storing data, and reading the file
Solution Approach 1:
A pseudo image file is introduced as an intermediary between the application program and the scanner driver. The pseudo image file acts as a buffer that receives scanned data from the scanner driver and makes it accessible to application programs that cannot call the scanner driver API. This mediator enables indirect data access while maintaining program compatibility.
Solution Approach 2:
The scan program extracts and separates the data reading function from the scanner driver API dependency. By creating a pseudo image file that contains scanned data independently of the scanner driver, the system allows application programs to read scanned data without needing to call the scanner driver API, thus extracting the data access capability from the driver dependency.
2Ease of operation
If an application program can call the API of a scanner driver, then the program can directly access scanning functionality, but the program must check setting values on the screen and press an Enter button every time scanned data is read
Solution Approach 1:
The scan program performs preliminary actions by pre-configuring scan settings and pre-loading scanned data into the pseudo image file before the application program needs to access it. This eliminates the need for the application program to repeatedly check settings and confirm operations, as the data is already prepared and available in the pseudo image file.
Solution Approach 2:
The pseudo image file serves itself by automatically containing and managing scanned data without requiring external intervention from the application program. The file system and scan program handle data storage and retrieval automatically, freeing the application program from manual setting verification and data access operations.
3Reliability
If an application program reads scanned data through traditional methods involving driver activation and file storage, then the scanned data can be obtained, but very complicated operations are required including multiple steps of driver activation, scanning, storage, and file reading
Solution Approach 1:
The scan program merges multiple operations into a single integrated process. Instead of requiring separate steps for driver activation, scanning, data storage, and file reading, the system combines these operations into one unified scan program that handles the entire data acquisition and storage process automatically, maintaining reliability while reducing operational complexity.
Data Source
AI summary
A non-transitory storage medium storing a scan program executable by a computer of an image processing device including a communication portion communicable with a scanning device and a storage portion storing a certain program, the scan program, when executed by the computer, causing the image processing device to execute: determining processing in which it is determined whether a pseudo image file is read by the certain program; scan-command transmission processing in which, when the image processing device determines that the pseudo image file is read by the certain program, a scan command is transmitted to the scanning device via the communication portion; scanned-data receiving processing in which the image processing device receives scanned data from the scanning device via the communication portion as a reply to the scan command; and scanned-data writing processing in which the received scanned data is written to the pseudo image file.


