Reading system and reading processing program
User authentication on the reading device side during pull scanning prevents unauthorized access, ensuring secure image transmission.
Patent Information
- Application Number
- JP2023073438
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-27
- Publication Date
- 2024-11-08
AI Technical Summary
Conventional pull scan technologies risk unauthorized access to read images by users other than the original user who set the object to be read.
Implementing user authentication on the reading device side through a series of command exchanges and information requests to ensure only authorized users can perform a pull scan.
Ensures secure pull scanning by authenticating users before allowing image transmission, preventing unauthorized access.
Smart Images

Figure 2024158321000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a reading system and a reading processing program that performs a so-called pull scan. [Background technology]
[0002] Conventionally, a technology is known in which a terminal equipped with a communication interface and a user interface causes a scanner to execute a pull scan process by sending an execution request to the scanner via the communication interface, and saves the scan data created by the pull scan process (see, for example, Patent Document 1). [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2022-071300 A (paragraph
[0047] etc.) Summary of the Invention [Problem to be solved by the invention]
[0004] In the above-mentioned conventional technology, a so-called pull scan is executed from the terminal device to the reading device, which may lead to a risk that a user other than the user who placed the object to be read on the reading device may obtain the scanned image.
[0005] An object of the present invention is to provide a reading system and a reading processing program that can smoothly execute pull scan while ensuring security through authentication on the reading device side. [Means for solving the problem]
[0006] In order to achieve the above object, the present invention provides a reading system having a terminal device including a first control unit and a storage unit, and a reading device including a second control unit, connected to the terminal device and reading an object to be read, wherein the first control unit executes a first command sending process for sending a capability value acquisition command for acquiring a capability value of the reading device, the second control unit executes a first command receiving process for receiving the transmitted capability value acquisition command, and a capability value sending process for sending the capability value of the reading device in response to the received capability value acquisition command, the first control unit executes a capability value receiving process for receiving the transmitted capability value, and a second command sending process for sending a scan execution command in response to the reception of the capability value, and the second control unit executes a second command receiving process for receiving the transmitted scan execution command, and a first notification sending process for sending an authentication error notification notifying that an authentication error has occurred when authenticated information for authentication in the reading device is not received in the second command receiving process,The first control unit executes a first notification receiving process for receiving the transmitted authentication error notification, an acceptance process for accepting input of a user name and a password corresponding to the received authentication error notification, and a third command transmitting process for transmitting an authentication information request command, the second control unit executes a third command receiving process for receiving the transmitted authentication information request command, and an information transmitting process for transmitting authentication information in response to the received authentication information request command, and the first control unit executes an information receiving process for receiving the transmitted authentication information, an information creating process for creating the authenticated information using the received authentication information, and a third command transmitting process for transmitting the authenticated information received in the acceptance process. the second control unit executes a fourth command sending process to again send the scan execution command together with the user name and password received in the first command and the authenticated information created in the information creation process, the second control unit executes a fourth command receiving process to receive the transmitted user name and password, the authenticated information, and the scan execution command, and a second notification sending process to perform authentication using the authenticated information based on the received user name and password, and to send an authentication success notification notifying of successful authentication if the authentication is successful, and the first control unit executes a second notification receiving process to receive the transmitted authentication success notification.
[0007] In the reading system of the present invention, a so-called pull scan is performed from the terminal device to the reading device, which may lead to a risk that a user other than the user who placed the object to be read on the reading device may obtain the scanned image.
[0008] In the present invention, therefore, in order to prevent another user from acquiring the scanned image and ensure security, authentication of the user name and the like is performed on the scanning device side when the user accesses the scanning device from a terminal device.
[0009] That is, first, the first control unit of the terminal device transmits a capability value obtainment command in a first command transmission process, and the second control unit of the reading device receives the transmitted capability value obtainment command in a first command reception process, and then transmits the capability value of the reading device in a capability value transmission process.
[0010] The first control unit receives the transmitted capability value in a capability value receiving process, and then transmits a scan execution command in a second command transmitting process in response to the reception. The second control unit receives the transmitted scan execution command, and then transmits an authentication error notification to the effect that authentication cannot be performed as is in a first notification transmitting process.
[0011] After receiving the transmitted authentication error notification in the first notification receiving process, the first control unit requests the user to input a user name and password in response to the notification and receives the input in the reception process. Then, in the third command transmitting process, the first control unit transmits an authentication information request command that requests authentication information required for creating authenticated information for authentication in the reading device.
[0012] When the second control unit receives the authentication information request command in the third command receiving process, it transmits the authentication information in the information transmitting process accordingly. After receiving the transmitted authentication information in the information receiving process, the first control unit uses it to create the authentication target information in the information creating process. Then, the first control unit retransmits the scan execution command in the fourth transmitting process together with the created authentication target information, the accepted user name, and the password.
[0013] The second control unit, after receiving the transmitted authentication information, user name, password, and scan execution command, performs user authentication using the authentication information based on the user name and password, and transmits a corresponding authentication success notification in a second notification transmission process if the authentication is successful. The transmitted authentication success notification is received by the first control unit in a second notification reception process.
[0014] As described above, in the present invention, the reading device can perform authentication according to the authentication information and the scan execution command transmitted from the terminal device. As a result, only when the authentication is successful, the read image of the object to be read can be transmitted to the terminal device and the pull scan can be performed. Effect of the Invention
[0015] According to the present invention, it is possible to ensure security by authentication on the reading device side, while smoothly executing pull scan. [Brief description of the drawings]
[0016] [Figure 1] 1 is an explanatory diagram showing a configuration and a processing procedure of a reading system according to an embodiment of the present invention; [Diagram 2] 5 is an explanatory diagram showing an example of a scan execution screen using a TWAIN driver according to the embodiment of the present invention; FIG. [Diagram 3] FIG. 2 is an explanatory diagram showing an example of an input screen for a user name (ID) and a password (PW) according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0017] Next, a reading system according to an embodiment of the present invention will be described with reference to the drawings.
[0018] Fig. 1 is an explanatory diagram showing the configuration and processing procedure of a reading system according to an embodiment of the present invention. Fig. 1 shows processing between a user P (hereinafter, also referred to as a "user" or "operator") who uses the reading system of this embodiment, a general-purpose personal computer 10 (hereinafter, also simply referred to as "PC 10") as a terminal device operated by the user P, and a reading device 20 capable of reading a reading object such as a book or document (hereinafter, also referred to as a "medium to be read") (not shown).
[0019] Although not shown here, the PC 10 includes, for example, a main body 11 including a CPU as a first control unit and a storage unit including storage media such as a large-capacity hard disk drive, ROM, RAM, etc., a display screen 12, and a keyboard 13 and a mouse 14 as operation units. Therefore, in the following description, the processes executed by the first control unit and the storage unit will be described as simply being processed by the PC 10.
[0020] In addition, the PC 10 as a terminal device can be applied to all terminal devices equipped with computer functions, such as the above-mentioned desktop personal computer, notebook personal computers, or tablet terminals (including smartphones, etc.).
[0021] The PC 10 (its storage unit) functions as a tool (medium) for storing a TWAIN driver for performing reading (scanning) using the reading device 20, an application for reading this TWAIN driver, and a user name (user identification information, hereinafter also referred to as "ID" and also shown in the drawings) and password (hereinafter also referred to as "PW" and also shown in the drawings) described below.
[0022] In addition, the registry, which is a database of setting information used by the OS (operating system) for controlling the basic operations of PC 10, includes basic information about the OS, application setting information, extension information, file extension associations, etc., as well as user names (IDs) and passwords (PWs).
[0023] The reading device 20 has a reading surface 21 made of transparent glass or the like on which a medium to be read is placed, and also has a CPU as a second control unit, a reading unit for reading an image, and a storage unit made of a storage medium such as a hard disk drive, ROM, RAM, etc., which stores an application for executing reading by the CPU, including temporarily storing image data of an image read by the reading unit and driving control of the reading unit, although not shown in the figure. Therefore, in the following description, the processing executed by the second control unit and the storage unit will be described as being simply processed by the reading device 20.
[0024] The reading device 20 is connected to the PC 10 by wire or wirelessly, and at least enables pull-down reading in which the user P operates the PC 10 to cause the reading device 20 to read the medium to be read. It is also possible to configure the reading device as one that can use push-down reading in which the user P operates the reading device 20 to transmit read image data to the PC 10 or another personal computer or storage medium (e.g., an SD card, etc.) in combination with pull-down reading.
[0025] By the way, the TWAIN driver has a mode in which scanning can be performed using only the application's UI, without using the driver's user interface (hereinafter also referred to as "UI") (hereinafter also referred to as "NonUI mode").
[0026] Here, when connecting the reading device 20 to the PC 10 owned by the user P, for example, the NonUI mode of an application compatible with each model of the reading device 20 is often used.
[0027] On the other hand, in a UI mode in which the UI of the TWAIN driver is displayed, the ID and PW for authentication are input using the UI of the TWAIN driver.
[0028] Therefore, when in NonUI mode using a dedicated application, unless the ID and PW are obtained in some way, secure authenticated scanning cannot be achieved.
[0029] Therefore, in this embodiment, the following processes are executed as shown in Fig. 1. In Fig. 1, an outline of the process contents including the various process procedures set forth in the claims is written in text, and an example of the process order is shown in numbers in parentheses. However, the process order shown in Fig. 1 does not limit the process order (and the contents of the process procedures) for the various process procedures set forth in the claims, and the order of the process procedures may be changed as necessary, or a process procedure including an interrupt may be added, etc. as desired.
[0030] First, the PC 10 (first control unit) executes a first command transmission process ("capability value acquisition command transmission (1)" in FIG. 1) for transmitting a capability value acquisition command for acquiring the capability value of the reading device 20.
[0031] As a result, the reading device 20 (the second control unit) executes a first command receiving process ("receiving (2)" in Figure 1) for receiving the transmitted capability value acquisition command, and a capability value transmitting process ("transmitting capability value (3)" in Figure 1) for transmitting the capability value of the reading device 20 in response to the received capability value acquisition command.
[0032] Next, (the first control unit of) PC 10 executes a capability value receiving process ("receive (4)" in FIG. 1) for receiving the transmitted capability value, and a second command transmitting process ("transmit second command (6)" in FIG. 1) for transmitting a scan execution command in response to the reception of the capability value, triggered, for example, by an operation of a scan execution screen (see FIG. 2) by a TWAIN driver launched by an operation of the operation unit by user P ("operate 'scan execution' (5)" in FIG. 1). Note that the above-mentioned processes (1) to (4) are executed, for example, when it is confirmed that the reading device 20 is connected when checking the connection relationship with the peripheral devices when PC 10 is started. Note also that the peripheral devices in this case include, for example, connections with the keyboard 13, the mouse 14, and networks such as the Internet.
[0033] Then, the reading device 20 (the second control unit) executes a second command reception process ("reception (7)" in FIG. 1) to receive the transmitted scan execution command ("second command transmission (6)" in FIG. 1), and a first notification transmission process ("authentication (8)" in FIG. 1) to transmit an authentication error notification notifying that an authentication error has occurred if the authenticated information for the authentication is not received after the authentication process in the reading device 20 ("authentication (8)" in FIG. 1) in the second command reception process.
[0034] Then, the PC 10 (first control unit) executes a first notification receiving process ("Receive (10)" in FIG. 1) to receive the transmitted authentication error notification, and then executes a display process ("Display (11)" in FIG. 1) to display the input screen shown in FIG. 3 on the display screen 12, and executes an acceptance process ("Receive (13)" in FIG. 1) to accept input of a user name (ID) and password (PW) corresponding to the authentication error notification received by user P ("Enter ID and PW (12)" in FIG. 1), and a third command sending process ("Send Authentication Information Request Command (14)" in FIG. 1) to send an authentication information request command.
[0035] As a result, the reading device 20 (the second control unit) executes a third command receiving process ("receiving (15)" in Figure 1) to receive the transmitted authentication information request command, and a process ("generating (16)" in Figure 1) to generate authentication information (e.g., a "nonce" or a "realm") in accordance with the received authentication information request command, and then executes an information transmitting process ("transmitting authentication information (17)" in Figure 1) to transmit the authentication information.
[0036] Therefore, based on an information reception process ("reception (18)" in FIG. 1) for receiving the transmitted authentication information, PC10 (the first control unit) executes an information creation process ("creation of authentication information (19)" in FIG. 1) for creating authentication information using the received authentication information, and a fourth command transmission process ("command transmission including authentication information (20)" in FIG. 1) for again transmitting a scan execution command together with the created authentication information.
[0037] As a result, the reading device 20 (second control unit) executes a fourth command receiving process ("receiving (21)" in FIG. 1) for receiving the transmitted authentication information and scan execution command, and an authentication process ("authentication (22)" in FIG. 1) according to the received authentication information, and if the authentication is successful, executes a second notification sending process ("sending authentication success notification (23)" in FIG. 1) for sending an authentication success notification notifying the authentication success. Also, substantially in parallel with this sending process, the reading device 20 executes a scanning process ("reading (22)" in FIG. 1) for reading an image, and transmits the scanned image data ("sending image data (26)" in FIG. 1).
[0038] Therefore, (the first control unit of) PC 10 executes a second notification receiving process ("receive (24)" in FIG. 1) for receiving these transmitted authentication success notifications, and an image data receiving process ("receive (27)" in FIG. 1) for receiving image data. When (the first control unit of) PC 10 receives image data read by the reading device 20 using the second program (TWAIN driver), it can, for example, store the image data in the storage unit of PC 10, or store the image data in another portable storage medium (SD card memory, USB memory, etc.). Also, an image based on the image data can be displayed on the display screen 12 and used for image editing work using an image editing application or the like.
[0039] In this way, in the reading system according to the present embodiment, a so-called pull scan is executed from the PC 10 to the reading device 20. In this case, if left as is, there is a risk that a user other than the user who originally placed the object to be read on the reading device 20 may obtain the read image.
[0040] Therefore, in order to prevent another user from acquiring the scanned image and ensure security, authentication of the user name (ID) and the like is performed in the reading device 20 when the PC 10 accesses the reading device 20.
[0041] That is, first, the PC 10 (first control unit) transmits a capability value obtainment command in a first command transmission process (1). The reading device 20 (second control unit) receives the transmitted capability value obtainment command in a first command reception process (1), and then transmits the capability value of the reading device 20 in a capability value transmission process (3).
[0042] Furthermore, after receiving the transmitted capability value in a capability value receiving process (4), the PC 10 (first control unit) transmits a scan execution command in a second command transmitting process (6) in response to the reception. After receiving the transmitted scan execution command, the reading device 20 (second control unit) transmits an authentication error notification in a first notification transmitting process (9) to the effect that authentication cannot be performed as is.
[0043] After receiving the transmitted authentication error notification in a first notification receiving process (10), the PC 10 (a first control unit) executes a display process (11) for displaying on a display screen 12 an input screen requesting the user to input a user name (ID) and password in response to the notification, and thereby accepts the input in a reception process (13).
[0044] Then, the PC 10 (the first control unit thereof) transmits an authentication information request command requesting authentication information required for generating authenticated information for authentication in the reading device 20 in a third command transmission process (14).
[0045] When the reading device 20 (the second control section thereof) receives the authentication information request command in the third command receiving process (15), it transmits authentication information in response to the command in an information transmitting process (17).
[0046] After receiving the transmitted authentication information in an information receiving process (18), (the first control unit of) PC10 uses it to create the above-mentioned authentication information in an information creating process (19). Furthermore, (the first control unit of) PC10 retransmits a scan execution command including the authentication information in a fourth transmitting process (20) together with the created authentication information, the above-mentioned user name and password.
[0047] The reading device 20 (the second control unit thereof) receives (21) the transmitted user name, password, authentication information, and scan execution command, and then performs user authentication (22) using the authentication information based on the user name and password, and if the authentication is successful, transmits a corresponding authentication success notification in a second notification transmission process (23). The transmitted authentication success notification is received by the PC 10 (the first control unit thereof) in a second notification reception process (24).
[0048] As described above, in this embodiment, the reading device 20 can perform authentication according to the authentication information and the scan execution command sent from the PC 10. As a result, only if the authentication is successful, the read image of the object to be read is sent to the PC 10 (26) and a pull scan can be performed, and the authentication of the reading device 20 ensures security while allowing the pull scan to be performed smoothly.
[0049] The present invention is not limited to the above-described embodiment, and various modifications are possible without departing from the spirit and technical concept of the present invention. Such modifications will be described below in order.
[0050] Specifically, since the PC 10 is equipped with a display screen 12 as a display unit, the PC 10 (first control unit) responds to the authentication error notification received in the first notification receiving process (9) by executing a display process (11) for displaying an input screen for inputting a user name (ID) and a password (PW) on the display screen 12, and in the reception process (13), by accepting the input of the user name (ID) and password (PW) via the input screen displayed on the display screen 12, it is possible to easily and reliably identify the user (i.e., the user himself / herself).
[0051] Furthermore, the PC 10 (the first control unit thereof) executes a first determination process in parallel with the reception process (4) to determine whether the reading device 20 has an authentication function based on the capability value received in the capability value reception process (4), and when it is determined in the first determination process that the reading device 20 has the authentication function, executes a second command transmission process (6), a first notification reception process (10), an acceptance process (13), a third command transmission process (14), an information reception process (18), an information creation process (19), a fourth command transmission process (20), and a second notification reception process 824). Similarly, the reading device 20 (the second control unit thereof) may execute a second command reception process (7), a first notification transmission process (8), a third command reception process (15), an information transmission process (17), a fourth command reception process (21), and a second notification transmission process (23).
[0052] In addition, in response to receiving an authentication error notification in the first notification receiving process (10), the PC 10 (first control unit) executes a second determination process to determine whether or not a cache of the authenticated information is stored in the memory unit, and if it is determined in this second determination process that a cache is stored, the display process (11) is not performed, and only if it is determined in the second determination process that a cache is not stored, thereby contributing to effective use of the ID and PW and simplification of the scanning operation.
[0053] The embodiments of the present invention have been described above in detail with reference to the accompanying drawings. However, it goes without saying that the scope of the technical idea of the present invention is not limited to the embodiments described here. It is clear that a person having ordinary knowledge in the technical field to which the present invention belongs can conceive of various changes, modifications, combinations, etc. within the scope of the technical idea of the present invention described in the claims. Therefore, the technologies after these changes, modifications, combinations, etc. naturally belong to the scope of the technical idea of the present invention. For example, various data to be transmitted and received may be encrypted or hashed.
[0054] Although not specifically illustrated, the present invention can be implemented with various modifications without departing from the spirit and scope of the present invention. [Explanation of symbols]
[0055] 10 Terminal device (PC) 12 Display screen (display section) 20 Reading device
Claims
1. A terminal device including a first control unit and a storage unit, and a reading device including a second control unit and connected to the terminal device to read an object to be read; A reading system comprising: The first control unit is execute a first command transmission process for transmitting a capability value acquisition command for acquiring a capability value of the reading device; The second control unit is a first command receiving process for receiving the transmitted capability value acquisition command; a capability value transmission process for transmitting the capability value of the reading device in response to the received capability value acquisition command; Run The first control unit is A capability value receiving process for receiving the transmitted capability value; a second command transmission process for transmitting a scan execution command in response to receiving the capability value; Run The second control unit is a second command receiving process for receiving the transmitted scan execution command; a first notification transmission process for transmitting an authentication error notification notifying that an authentication error has occurred when the authenticated information for authentication in the reading device is not received in the second command reception process; Run The first control unit is a first notification receiving process for receiving the transmitted authentication error notification; an acceptance process for accepting an input of a user name and a password corresponding to the received authentication error notification; a third command transmission process for transmitting an authentication information request command; Run The second control unit is a third command receiving process for receiving the transmitted authentication information request command; an information transmission process of transmitting authentication information in response to the received authentication information request command; Run The first control unit is an information receiving process for receiving the transmitted authentication information; an information creation process for creating the authenticated information by using the received authentication information; a fourth command transmission process of transmitting the scan execution command again together with the user name and the password accepted in the acceptance process and the authentication information created in the information creation process; Run The second control unit is a fourth command receiving process for receiving the transmitted user name, the password, the authentication information, and the scan execution command; a second notification transmission process of performing authentication using the authentication target information based on the received user name and password, and transmitting an authentication success notification notifying the successful authentication if the authentication is successful; Run The first control unit is A second notification receiving process is executed to receive the transmitted authentication success notification. A reading system characterized by:
2. The terminal device further includes a display unit, The first control unit further includes: A display process for displaying an input screen for inputting the user name and the password on the display unit in response to the authentication error notification received in the first notification receiving process. Run In the reception process, The input of the user name and the password is accepted via the input screen displayed on the display unit.
2. A reading system according to claim 1, characterized in that it comprises:
3. The first control unit further includes: executes a first determination process for determining whether or not the reading device has an authentication function based on the capability value received in the capability value receiving process; When it is determined in the first determination process that the device has the authentication function, the first control unit executes the second command transmission process, the first notification reception process, the acceptance process, the third command transmission process, the information reception process, the information creation process, the fourth command transmission process, and the second notification reception process, The reading system according to claim 1, characterized in that the second control unit executes the second command reception process, the first notification transmission process, the third command reception process, the information transmission process, the fourth command reception process, and the second notification transmission process.
4. The first control unit further includes: a second determination process for determining whether or not a cache of the authentication target information is stored in the storage unit in response to receiving the authentication error notification in the first notification receiving process; Run When it is determined in the second determination process that the cache is stored, the display process is not performed; When it is determined in the second determination process that the cache is not stored, the display process is executed.
3. The reading system according to claim 2.
5. A terminal device is connected to a reading device that reads an object to be read, and includes a calculation unit and a storage unit, a first command transmission step of transmitting a capability value acquisition command for acquiring a capability value of the reading device; a capability value receiving step of receiving the capability value of the reading device transmitted from the reading device in response to the received capability value acquisition command; a second command transmitting step of transmitting a scan execution command in response to the received capability value; a first notification receiving step of receiving an authentication error notification, which is transmitted from the reading device when the scan execution command is received and the authentication target information for authentication in the reading device is not received, and notifies the user that an authentication error has occurred; a receiving step of receiving an input of a user name and a password corresponding to the received authentication error notification; a third command transmitting step of transmitting an authentication information request command; an information receiving step of receiving authentication information transmitted from the reading device in response to the received authentication information request command; an information creating step of creating the authenticated information by using the received authentication information; a fourth command transmission step of transmitting the scan execution command again together with the user name and the password accepted in the accepting step and the authentication information created in the information creating step; a second notification receiving step of receiving an authentication success notification, which is transmitted from the reading device when authentication is successful based on authentication performed using the authentication target information based on the received user name and password, and notifying the user of the successful authentication; The read process to be executed.
Citation Information
Patent Citations
Control program and terminal
JP2022071300A
