Computer program for terminal device, terminal device and control method of terminal device
The computer program for a terminal device enhances user convenience by integrating a search and relay mechanism for scanner operation signals, enabling immediate execution of scanner workflows post-installation, addressing the limitations of the Windows Image Acquisition system.
Patent Information
- Application Number
- JP2023059937
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-03
- Publication Date
- 2024-10-16
AI Technical Summary
The existing Windows Image Acquisition (WIA) system, integrated with the PC OS program, limits the versatility of scanner functions due to its inability to identify the type of operation signal from the scanner, thereby hindering the execution of specific workflows without additional relay programs.
A computer program for a terminal device that includes a search unit to identify compatible image reading devices, an application program to process image data, and a relay program to relay operation signals, allowing for the installation and registration of target identification information during program installation, enabling immediate use of various workflows post-installation.
Enhances user convenience by allowing immediate execution of scanner workflows without requiring separate registration of target identification information at a different time, thus improving the versatility and usability of scanner functions.
Smart Images

Figure 2024147128000001_ABST
Abstract
Description
[Technical field]
[0001] The present specification relates to a terminal device that communicates with an image reading device. [Background technology]
[0002] Windows Image Acquisition (WIA) is disclosed in Patent Document 1. When WIA receives an execution command for push scanning from a scanner, it outputs the execution command to a control program that controls the scanner. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2020-021193 A Summary of the Invention [Problem to be solved by the invention]
[0004] WIA is included in the OS program of the PC beforehand. However, it is expected that a relay program that relays the signal from the scanner to the control program will be provided separately from the OS program. By providing the relay program separately from the OS program, the versatility of the function that transmits from the scanner to the control program can be increased.
[0005] This specification provides a technique for improving user convenience in a situation where a relay program is provided separately from an OS program. [Means for solving the problem]
[0006] A computer program for a terminal device disclosed in this specification causes a computer of the terminal device to function as the following units: a search unit that searches for an image reading device that can communicate with the terminal device and receives, from the target image reading device, target identification information that identifies the target image reading device; an application program for executing a series of processes that receive image data read by the image reading device from the image reading device and output the image data; and a relay program that relays an operation signal indicating that the image reading device has been operated to the application program, wherein the target identification information is registered in the relay program when the relay program is installed; and when a predetermined operation is executed on the target image reading device and the target image reading device transmits the operation signal corresponding to the predetermined operation to the terminal device, the relay program identifies the sender of the operation signal by the target identification information registered in the relay program and relays the operation signal to the application program, and the application program executes the series of processes to output the image data from the target image reading device to a specific output destination determined by the application program in accordance with the operation signal relayed by the relay program.
[0007] For example, a comparative example is assumed in which target identification information for identifying the image reading device that is the sender of the operation signal is registered in the relay program at a timing separate from the installation. In this comparative example, the user cannot use the series of processes immediately after installation. In contrast, according to the above configuration, the relay program is installed together with the application program, and at that time, the target identification information is registered in the relay program. The user can use the series of processes immediately after installation. In a situation in which the relay program is provided separately from the OS program, user convenience can be improved.
[0008] A computer-readable storage medium for storing the above computer program is also novel and useful. Also, the above terminal device itself and a method for controlling the above terminal device are novel and useful. [Brief description of the drawings]
[0009] [Figure 1] FIG. 1 is a block diagram of a communication system. [Diagram 2] FIG. 2 is a diagram for explaining the function of the relay program. [Diagram 3] Figure 3 shows the workflow settings screen. [Figure 4] FIG. 4 is a sequence diagram of the installation process. [Diagram 5] FIG. 5 is a sequence diagram when a key is selected. [Figure 6] FIG. 6 is a sequence diagram when a key is selected. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] (First Example) (Configuration of communication system 2; Figure 1) The communication system 2 includes a terminal device 10, a scanner 100, and a server 300. The terminal device 10 can communicate with the scanner 100 via a Universal Serial Bus (USB) or a Local area network (LAN). The LAN may be wired or wireless. The terminal device 10 can communicate with a server 300 on the Internet via the Internet 6. The server 300 is a cloud server that provides a service of storing data, a mail server, or the like.
[0011] (Configuration of terminal device 10; Figure 1) The terminal device 10 is a laptop PC. In a modified example, the terminal device 10 may be a desktop PC, a smartphone, or a tablet terminal.
[0012] The terminal device 10 includes an operation unit 12, a display unit 14, a LAN interface 20, a USB interface 22, and a control unit 30. Note that, hereinafter, the interface will be referred to as "I / F".
[0013] The operation unit 12 is an I / F for inputting various information to the terminal device 10, and includes, for example, a mouse and a keyboard. The display unit 14 is a display or panel for displaying various information. The panel may be a touch screen that functions as the operation unit, or it may not function as an operation unit. The panel is, for example, a liquid crystal panel or an organic EL panel. The LAN I / F 20 is connected to a LAN. The LAN may be wired or wireless. The USB I / F 22 is connected to a USB cable.
[0014] The control unit 30 includes a CPU 32 and a memory 34. The CPU 32 executes various processes according to each program stored in the memory 34. The memory 34 stores an OS program 40, an installer 50, a scan program 52, and a relay program 54. The OS program 40 controls the basic operation of the terminal device 10. The OS program 40 is, for example, Windows (registered trademark). The OS program 40 includes Windows Image Acquisition (WIA) 42. WIA is a program that has a function of acquiring image data from a scanner, a digital camera, etc. WIA is installed as standard in the OS program 40.
[0015] The installer 50 installs a scan program 52 and a relay program 54 in the terminal device 10. The scan program 52 is an application program for receiving scan data from the scanner 100 and executing a series of processes for outputting the scan data. The output destination is the memory 34 in the terminal device 10, or an external device, for example, the server 300. Here, the series of processes is a so-called workflow. In the following, the workflow will be referred to as "WF."
[0016] The relay program 54 receives an operation signal from the scanner 100 indicating that the scanner 100 has been operated, and relays the signal to the scan program 52. The installer 50, the scan program 52, and the relay program 54 are provided by a vendor different from the vendor of the OS program 40, for example, the vendor of the scanner 100. Each of the programs 50, 52, and 54 is downloaded to the terminal device 10, for example, from a server on the Internet.
[0017] (Configuration of scanner 100; Fig. 1) The scanner 100 is a peripheral device (for example, a peripheral device of the terminal device 10) capable of executing a function of reading an original (i.e., a scan function). For example, the scanner 100 includes a scanner engine including an image sensor such as a charge-coupled device (CCD) or a contact image sensor (CIS) in order to read an original. The scanner 100 includes a plurality of hardware keys. The plurality of hardware keys include a power key 150, a Wi-Fi key 152, and three push scan keys 160, 162, and 164. The power key 150 is a key for switching the power of the scanner 100 ON and OFF. The Wi-Fi key 152 is a key for connecting the scanner 100 to an access point. Each of the push scan keys 160, 162, and 164 is a key for executing a so-called push scan.
[0018] In push scanning, a user can execute scanning by operating a predetermined key on the scanner 100 without operating the terminal device 10. In push scanning in the broad sense, the output destination of the scan data obtained by scanning is not particularly limited. For example, the scan data may be transmitted from the scanner 100 to the terminal device 10, transmitted from the scanner 100 to a data storage server, transmitted from the scanner 100 by email, or stored within the scanner 100.
[0019] Different WFs can be set to the push scan keys 160-164. For example, a WF for saving scan data in a specified folder in the memory 34 of the terminal device 10 is set to the key 160, and a WF for attaching scan data to an e-mail and sending the e-mail to a mail server is set to the key 162. A user can execute a push scan (i.e., a WF) by simply operating any one of the multiple keys 160-164. User convenience is improved. In particular, the scanner 100 of this embodiment does not include a display. By including multiple keys 160-164, various WFs can be executed without including a display. The number of push scan keys is not limited to three, and may be one, two, four or more.
[0020] FIG. 2 shows the flow of signals in push scanning. For example, when the push scan key 160 of the scanner 100 is operated, the scanner 100 transmits an operation signal indicating that the push scan key 160 has been operated to the terminal device 10. Here, when the scanner 100 is connected to the USB I / F 22, the operation signal is received by the relay program 54 of the terminal device 10 via the USB I / F 22. Information for identifying the sender of the operation signal is registered in advance in the relay program 54. The relay program 54 identifies the sender of the operation signal and relays the operation signal to the scan program 52. Here, the relay program 54 relays the operation signal to the scan program 52 by using inter-process communication such as a Named Pipe. The inter-process communication is a method of communicating data between two programs running on the OS program 40. The inter-process communication is provided by the OS program 40. Note that when the scanner 100 is connected to the LAN I / F 20, the operation signal is received by the relay program 54 via the LAN I / F 20. In this case as well, the operation signal is relayed to the scan program 52 by the relay program 54 .
[0021] For example, if the relay program 54 is not installed in the terminal device 10, the operation signal is relayed to the scan program 52 via the WIA. Here, the WIA is included in the OS program 40. In the communication between the WIA and the scan program 52, inter-process communication such as a Named Pipe is not required. The WIA can identify the source of the operation signal, but cannot identify the type of the key operated on the scanner 100. Therefore, in this embodiment in which the WF is set to the push scan key, the WIA cannot inform the scan program 52 of the type of the push scan key operated by the user. Therefore, the scan program 52 cannot execute the WF corresponding to the push scan key operated by the user. By installing the relay program 54, it is possible to support various types of WF.
[0022] (Workflow setup; Figure 3) The process of setting WF to the push scan keys 160 to 164 will be described with reference to Fig. 3. After the scan program 52 and the relay program 54 are installed, the CPU 32 executes the process of Fig. 3 in accordance with the scan program 52. Note that, in the following, for ease of understanding, the operations executed by the CPU 32 in accordance with each program 50, 52, 54 will be described with each program 50, 52, 54 as the subject, rather than the CPU 32 as the subject.
[0023] When the scan program 52 detects an input to the operation unit 12 of an instruction to set a WF, it displays a setting screen on the display unit 14. The setting screen includes three key buttons 210, 212, 214 corresponding to the three push scan keys 160, 162, 164, a scan setting area 220, a save setting area 230, an output destination button 240, and a registration button 250.
[0024] When any one of the three key buttons 210, 212, 214 is designated, the color of the designated key button is different from the colors of the other two key buttons. In the example of Fig. 2, the color of key button 210 is different from the colors of key buttons 212 and 214. A scan setting area 220 and a save setting area 230 respectively show the current scan setting values and the current save setting values corresponding to the designated key button 210.
[0025] The scan setting area 220 includes a scan setting button 222. When the scan program 52 detects the selection of the button 222, it displays another screen (not shown) for specifying the scan setting values (i.e., document size, color setting, resolution, and whether or not to perform double-sided scanning). This allows the user to newly specify the scan setting values corresponding to the selected key button on the other screen. In this case, the scan setting area 220 displays the scan setting values newly specified by the user.
[0026] The save setting area 230 includes a save setting button 232. When the scan program 52 detects the selection of the button 232, it displays another screen (not shown) for designating a save setting value. The save setting value is, for example, a file format and a file name. In the other screen, the user can designate a new save setting value corresponding to the selected key button. In this case, the save setting area 230 displays the save setting value newly designated by the user.
[0027] The output destination button 240 is a button for specifying the output destination of the scan data. The output destination is, for example, "PC storage", "email attachment", "cloud storage", and "email fax". In "PC storage", a storage location (e.g., a path to a folder) in the memory 34 of the terminal device 10 is set as the output destination. In "email attachment", an email address of the e-mail and a mailer used to send the e-mail are set. In "cloud storage", a storage location (e.g., a URL) in a data storage server on the Internet 6 and authentication information for accessing the data storage server are set. In "email fax", a fax number that is a fax destination is set. In the storage setting area 230, information about the output destination specified by the user is displayed. As shown in FIG. 3, when the output destination is changed from "PC storage" to "email attachment", the display in the storage setting area 230 is also changed.
[0028] When the scan program 52 detects selection of the register button 250 after the scan setting values, save setting values, and output destination are specified, the scan program 52 stores the specified scan setting values, the specified save setting values, and information on the specified output destination in the memory 34 in association with a key number that identifies the specified key button (210 in the example of FIG. 2). When the scan program 52 receives an operation signal from the scanner 100, the scan program 52 identifies information on the WF that is stored in association with the key number included in the operation signal from the memory 34. Then, the scan program 52 executes the WF indicated by the information on the identified WF.
[0029] In addition, in the setting screen that is displayed for the first time after the installation of the scan program 52, default information is displayed in the scan setting area 220 and the save setting area 230. For example, "PC save" is set as the output destination by default.
[0030] (Installation process; Figure 4) With reference to FIG. 4, a process in which the installer 50 installs the scan program 52 and the relay program 54 will be described. In T10, the installer 50 searches for a scanner capable of communicating with the terminal device 10. The communication method with the scanner is selected, for example, by the user. In this case, USB is selected. The installer 50 transmits a search signal for searching for a scanner to the outside via the USB I / F 22. In this case, the scanner 100 is connected to the terminal device 10 via the USB I / F 22. In T12, the installer 50 receives the VID "xxxx", the PID "yyyy", and the serial number "sn00" from the scanner 100 via the USB I / F 22 as a response to the search signal of T10. Here, the VID is an ID that identifies the vendor of the scanner 100, and the PID is an ID that identifies the scanner 100 as a product. The VID is an abbreviation for Vender ID, and the PID is an abbreviation for Product ID. The serial number “sn00” is a sequential number assigned by the vendor when the scanner 100 is manufactured. A set of the VID, PID, and serial number is information for identifying the USB I / F (not shown) of the scanner 100.
[0031] At T14, the installer 50 starts a process to install the scan program 52. At T16, the installer 50 starts a process to install the relay program 54. The processes of T14 and T16 may be executed simultaneously or sequentially.
[0032] In T20, the installer 50 supplies the set of VID "xxxx", PID "yyyy", and serial number "sn00" received in T12 to the scan program 52 installed by the processing of T14. In T22, the scan program 52 is started in response to obtaining the set of VID "xxxx", PID "yyyy", and serial number "sn00" from the installer 50.
[0033] In T24, the scan program 52 displays a EULA screen on the display unit 14. EULA is an abbreviation for End-User License Agreement. The EULA screen is a screen for requesting consent to the license agreement for the scan program 52. The EULA screen includes text indicating the license agreement, an Agree button indicating consent to the agreement, and a Cancel button.
[0034] When the scan program 52 detects in T26 that the Agree button in the EULA screen has been selected, in T28 the scan program 52 registers the VID "xxxx", PID "yyyy", and serial number "sn00" acquired from the installer 50. Specifically, the VID "xxxx", PID "yyyy", and serial number "sn00" are saved in a folder in the memory 34 that can be referenced by the scan program 52. Then, in T32, the scan program 52 supplies the VID "xxxx", PID "yyyy", and serial number "sn00" registered in T22 to the relay program 54 installed by the processing in T16.
[0035] The relay program 54 operates in response to the communication of T32, and registers the set of VID "xxxx", PID "yyyy", and serial number "sn00" acquired from the scan program 52 in the relay program 54. Specifically, the set of VID "xxxx", PID "yyyy", and serial number "sn00" is saved in a folder in the memory 34 that can be referenced by the relay program 54. When the processing of T34 ends, the processing of FIG. 4 ends.
[0036] For example, when the cancel button in the EULA screen is selected, the installation of the scan program 52 and the relay program 54 is completed, but the registration of the VID "xxxx", the PID "yyyy", and the serial number "sn00" to the scan program 52 and the relay program 54 is not executed. In other words, on the condition that the license agreement is agreed to, the registration of the VID "xxxx", the PID "yyyy", and the serial number "sn00" to the scan program 52 and the relay program 54 is executed. In a situation where the license agreement is not agreed to, it is possible to prevent the registration of the VID "xxxx", the PID "yyyy", and the serial number "sn00".
[0037] (Processing when a key is selected; Figure 5) With reference to Fig. 5, a process executed when the push scan key is operated after the process of Fig. 4 is completed will be described. In this case, the user has not set up a workflow (see Fig. 3) after installing the scan program 52. That is, no workflow set up by the user has been registered in the scan program 52.
[0038] In T100, the user selects the push scan key 160 of the scanner 100. When the scanner 100 detects the selection of the key 160 in T100, the scanner 100 transmits an operation signal corresponding to the selection of the key 160 to the relay program 54 via the USB I / F 22 in T102A. The operation signal includes the VID "xxxx", the PID "yyyy", the serial number "sn00", and the key number "k1" for identifying the key 160. In this case, since the set of the VID "xxxx", the PID "yyyy", and the serial number "sn00" is registered in the relay program 54 by the process of FIG. 4, the relay program 54 identifies the scanner 100 that is the transmission source of the operation signal, and executes the process from T102B onward. If the set of VID "xxxx", PID "yyyy", and serial number "sn00" is not registered in the relay program 54, the relay program 54 notifies the scan program 52 of an error signal instead of T102B. In this case, the scan program 52 displays a EULA screen. When the Agree button is selected on the EULA screen, the set of VID "xxxx", PID "yyyy", and serial number "sn00" is registered in the scan program 52 and relay program 54, and the processing from T102B onwards is executed. In a modified example, the scan program 52 does not have to display the EULA screen when an error signal is acquired.
[0039] In T102B, the relay program 54 relays the operation signal received in T102A to the scan program 52.
[0040] When the scan program 52 acquires an operation signal from the relay program 54 in T102B, in T106, the scan program 52 transmits a capability request to the scanner 100 via the USB I / F 22. The capability request is a signal requesting the capability of the scan function of the scanner 100 (for example, maximum resolution, etc.).
[0041] When the scanner 100 receives the capability request from the scan program 52 in T106, the scanner 100 transmits capability information indicating the capability of the scan function of the scanner 100 to the scan program 52 in T108.
[0042] When the scan program 52 receives capability information from the scanner 100 in T108, the scan program 52 generates a default WF in T110 based on the capability information received in T108. Specifically, the scan program 52 determines default scan setting values within the range of capabilities indicated by the capability information received in T108. Furthermore, the scan program 52 determines a predetermined file format and a predetermined file name as default save setting values, and determines "PC save" as the default output destination.
[0043] In T112, the scan program 52 transmits a scan request requesting execution of a scan to the scanner 100 via the USB I / F 22. The scan request includes the default scan setting values in the default WF generated in T110.
[0044] When the scanner 100 receives a scan request from the scan program 52 in T112, the scanner 100 executes a scan according to default scan setting values included in the scan request in T114. In T116, the scanner 100 transmits the scan data generated in T114 to the scan program 52.
[0045] When scan program 52 receives scan data from scanner 100 via USB I / F 22 in T116, scan program 52 converts the format of the scan data in accordance with the default save setting value in the default WF in T118. In T120, scan program 52 outputs the scan data converted in T118 to the default output destination. In this case, the default output destination is a predetermined folder in memory 34, for example, a document folder. The scan data is saved in the predetermined folder.
[0046] (Effects of this embodiment) For example, a comparative example is assumed in which information for identifying the scanner 100 that is the source of the operation signal, that is, a set of VID and PID, is registered in the relay program 54 at a timing other than installation. The other timing is, for example, the timing when a predetermined instruction is input in a registration screen displayed according to the scan program 52. In this comparative example, the user cannot use the WF immediately after installation. In contrast, according to the configuration of this embodiment, the relay program 54 is installed together with the scan program 52, and at that time, a set of VID "xxxx", PID "yyyy", and serial number "sn00" is registered in the relay program 54 (T34 in FIG. 4). The user can use the WF immediately after installation. In a situation in which the relay program 54 is provided separately from the OS program, it is possible to improve user convenience.
[0047] (Correspondence) The terminal device 10, the installer 50, the scan program 52, and the relay program 54 are examples of a "terminal device," a "computer program," an "application program," and a "relay program," respectively. The scanner 100 is an example of a "target image reading device." The VID "xxxx," the PID "yyyy," and the serial number "sn00" are examples of "target identification information." The push scan keys 160 to 164 are examples of "one or more reading keys." The key number "k1" is an example of "key identification information." The server 300 is an example of an "external device." The scan data is an example of "image data." The EULA screen of T24 in FIG. 4 is an example of a "screen." The operation of the key 160 of T100 in FIG. 5 and the memory 34 of the terminal device 10 are examples of a "predetermined operation" and a "specific output destination," respectively.
[0048] 4 are examples of processes realized by a "search unit." T14 and T16 are examples of processes realized by an "installation unit."
[0049] (Second Example) (Installation process; Figure 4) This embodiment is similar to the first embodiment, except that the contents of the process during installation are different. T40 to T48 in this embodiment are similar to T20 to T28 in the first embodiment. In T52, the installer 50 supplies the set of VID "xxxx", PID "yyyy", and serial number "sn00" received in T12 to the relay program 54 installed by the process of T16. T54 is similar to T34. In this embodiment, too, the set of VID "xxxx", PID "yyyy", and serial number "sn00" is registered in the relay program 54 when the relay program 54 is installed, and the user can use the WF immediately after installation.
[0050] (Third Example) (Installation process; Figure 4) This embodiment is similar to the first embodiment, except that the contents of the process during installation and the contents of the process during key selection are different. In this embodiment, a set of VID "xxxx", PID "yyyy" and serial number "sn00" is not registered in the scan program 52, but is registered in the relay program 54. In T60 of this embodiment, the installer 50 supplies a start instruction to the scan program 52 to instruct the start of the scan program 52. As a result, the scan program 52 is started in T62. T64 and T66 are similar to T24 and T26 in the first embodiment. T72 and T74 are similar to T52 and T54 in the second embodiment.
[0051] In this embodiment, too, information identifying the scanner 100 that is the sender of the operation signal, i.e., the VID "xxxx", the PID "yyyy", and the serial number "sn00", are registered in the relay program 54 when the relay program 54 is installed, and the user can use the WF immediately after installation.
[0052] (Fourth Example) The scanner 100 of this embodiment has a touch screen that functions as a display and an operation unit, instead of the push scan keys 160 to 164. The user can operate the touch screen to execute WF. In this embodiment, as in the first embodiment, when the scan program 52 and the relay program 54 are installed, a set of VID "xxxx", PID "yyyy", and serial number "sn00" is registered in the relay program 54.
[0053] (Processing when operating the touch screen; Figure 6) In this case, similar to the case of Fig. 5, the user does not execute the process of Fig. 3 after installing the scan program 52. In this case, no WF set by the user is registered in the scan program 52. The user operates the touch screen of the T200 to instruct execution of the WF.
[0054] When scanner 100 detects an input of an instruction to execute a WF in T200, scanner 100 determines in T202 whether a WF set by a user is registered. In this case, scanner 100 determines that a WF set by a user is not registered, and proceeds to the process of T204A and subsequent steps.
[0055] In the T202A, the scanner 100 transmits a generation signal requesting generation of a default WF to the relay program 54 via the USB I / F 22. The generation signal includes the VID "xxxx", the PID "yyyy", and the serial number "sn00".
[0056] When the relay program 54 receives a generated signal from the scanner 100 in T204A, it identifies the scanner 100 that is the sender of the generated signal, and executes the processes from T204B onwards. In T204B, the relay program 54 relays the generated signal received in T204A to the scan program 52. T206 and T208 are similar to T106 and T108 in Fig. 5. T210 is similar to T110 in Fig. 5, except that T210 assigns the WF name "wf0" to the generated default WF.
[0057] In T212, the scan program 52 transmits information indicating the contents of the default WF generated in T210 to the scanner 100 via the USB I / F 22. The information includes the WF name "wf0".
[0058] When the scanner 100 receives information indicating the contents of the default WF from the scan program 52 in T212, the scanner 100 displays a WF screen on the touch screen in T214. The WF screen includes a message indicating the contents of the default WF and an execute button. In this case, the user selects the execute button on the WF screen to execute the default WF.
[0059] When scanner 100 detects selection of the execute button in the WF screen in T216, it proceeds to T302A. T302A and T302B are similar to T102A and T102B in Fig. 5, except that instead of the operation signal of T102A and T102B, a scan signal including VID "xxxx", PID "yyyy", serial number "sn00", and WF name "wf0" is relayed by relay program 54.
[0060] When the scan program 52 acquires a scan signal from the relay program 54 in T302B, it calls the default WF generated in T210 by using the WF name “wf0” included in the operation signal. T312 to T320 are the same as T112 to T120 in FIG.
[0061] According to this embodiment, in a configuration in which WF instructions are input via a touch screen, WF can be used immediately after installation of the relay program 54. User convenience is improved.
[0062] (Correspondence) The operation of the touch screen of the T200 and the generated signal are examples of a "predetermined operation" and an "operation signal", respectively.
[0063] Although specific examples of the present invention have been described above in detail, these are merely examples and do not limit the scope of the claims. The technology described in the claims includes various modifications and alterations of the specific examples exemplified above. Modifications of the above-mentioned embodiments are listed below.
[0064] (Modification 1) In T10 of FIG. 4, when LAN is selected as the communication method with the scanner, the search signal may be transmitted to the outside via the LAN I / F 20. In this case, the installer 50 may receive information for identifying the scanner 100 in the LAN, such as the IP address, node name, and MAC address of the scanner 100, as a response to the search signal from the scanner 100. In particular, the MAC address can uniquely identify the scanner 100. Also, unique identification information generated from the MAC address may be used as information for identifying the scanner 100 in the LAN. Then, the information for identifying the scanner 100 in the LAN may be registered in the relay program 54. In this modification, the IP address, node name, MAC address, and identification information generated from the MAC address of the scanner 100 are examples of "target identification information".
[0065] (Modification 2) In each embodiment, the display of the EULA screen during installation (see T24, T44, T64) may not be executed. In this modification, the "screen for requesting consent to the license agreement" can be omitted.
[0066] (Variant 3) The "target identification information" is not limited to the set of VID "xxxx", PID "yyyy", and serial number "sn00", but may be, for example, at least one piece of information among VID "xxxx", PID "yyyy", and serial number "sn00".
[0067] (Variation 4) The default WF may be generated at a timing different from the timing of T110 in Fig. 5. For example, the default WF may be generated when the scan program 52 is installed in Fig. 4. In this variation, the output destination indicated by the default WF generated when the scan program 52 is installed is an example of a "specific output destination determined by the application program."
[0068] (Modification 5) The "image reading device" is not limited to the scanner 100, but may be, for example, a multi-function device or a copier having other functions such as a printing function in addition to a reading function.
[0069] (Variation 6) In the above embodiment, the CPU 32 executes the program 50, 52, or 54 to realize each process in Figures 3 to 6. Alternatively, any process may be realized by hardware such as a logic circuit.
[0070] In addition, the technical elements described in this specification or drawings exert technical utility alone or in various combinations, and are not limited to the combinations described in the claims at the time of filing. In addition, the technologies exemplified in this specification or drawings achieve multiple objectives simultaneously, and achieving one of those objectives is itself technically useful.
[0071] In the scope of the claims at the time of filing of this patent application, even if each claim is dependent on only some of the claims, it is not limited to the fact that each claim can be dependent on only those some of the claims. Each claim can also be dependent on other claims that are not dependent on it at the time of filing to the extent that there is no technical contradiction. In other words, the technology of each claim can be combined in various ways as follows: (Item 1) A computer program for a terminal device, comprising: The computer program controls the computer of the terminal device to include the following units: a search unit that searches for an image reading device that can communicate with the terminal device, and receives target identification information that identifies the target image reading device from the target image reading device; an installation unit that installs in the terminal device an application program for executing a series of processes for receiving image data read by the image reading device from the image reading device and outputting the image data, and a relay program that relays an operation signal indicating that the image reading device has been operated to the application program, the installation unit registering identification information of the target in the relay program when the relay program is installed; Functioning as a when a predetermined operation is performed on the target image reading device and the target image reading device transmits the operation signal corresponding to the predetermined operation to the terminal device, the relay program identifies a sender of the operation signal using identification information of the target registered in the relay program, and relays the operation signal to the application program; the application program executes the series of processes for outputting the image data from the target image reading device to a specific output destination determined by the application program in accordance with the operation signal relayed by the relay program; Computer program. (Item 2) The computer program further causes the computer to 2. The computer program according to item 1, which functions as a first supplier that supplies the target identification information to the relay program when the relay program is installed. (Item 3) The computer program further causes the computer to functioning as a second supply unit that supplies the target identification information to the application program when the application program and the relay program are installed; 2. The computer program of claim 1, wherein the relay program registers the identification information of the target in the relay program by obtaining the identification information of the target from the application program. (Item 4) 4. The computer program according to claim 1, wherein the relay program relays the operation signal to the application program using a Named Pipe. (Item 5) The computer program further causes the computer to functioning as a display control unit that starts the application program and causes the application program to display a screen for requesting consent to a license agreement for the application program; 5. The computer program according to any one of claims 1 to 4, wherein the target identification information is registered in the relay program when an instruction to agree to the license agreement is entered on the screen. (Item 6) the image reading device includes one or more read keys for executing image reading; 6. The computer program product according to any one of items 1 to 5, wherein the predetermined operation is to operate a specific reading key among the one or more reading keys. (Item 7) 7. The computer program according to claim 6, wherein the operation signal includes key identification information that identifies the specific reading key. (Item 8) 8. The computer program according to item 6 or 7, wherein the image reading device does not have a display. (Item 9) 9. The computer program according to any one of items 1 to 8, wherein the application program is configured to be able to set an external device provided separately from the terminal device as an output destination of the image data. (Item 10) the terminal device is connected to the image reading device via a USB cable, 10. The computer program of claim 1, wherein the target identification information identifies a USB interface provided in the image reading device. (Item 11) A terminal device, a search unit that searches for an image reading device that can communicate with the terminal device, and receives target identification information that identifies the target image reading device from the target image reading device; an installation unit that installs in the terminal device an application program for executing a series of processes for receiving image data read by the image reading device from the image reading device and outputting the image data, and a relay program that relays an operation signal indicating that the image reading device has been operated to the application program, the installation unit registering identification information of the target in the relay program when the relay program is installed; Equipped with when a predetermined operation is performed on the target image reading device and the target image reading device transmits the operation signal corresponding to the predetermined operation to the terminal device, the relay program identifies a sender of the operation signal using identification information of the target registered in the relay program, and relays the operation signal to the application program; the application program executes the series of processes for outputting the image data from the target image reading device to a specific output destination determined by the application program in accordance with the operation signal relayed by the relay program; Terminal device. (Item 12) A method for controlling a terminal device, comprising: The control method includes: a search step of searching for an image reading device capable of communicating with the terminal device and receiving target identification information for identifying the target image reading device from the target image reading device; an installation process for installing, in the terminal device, an application program for executing a series of processes for receiving image data read by the image reading device from the image reading device and outputting the image data, and a relay program for relaying an operation signal indicating that the image reading device has been operated to the application program, the installation process including registering identification information of the target in the relay program when the relay program is installed; Equipped with when a predetermined operation is performed on the target image reading device and the target image reading device transmits the operation signal corresponding to the predetermined operation to the terminal device, the relay program identifies a sender of the operation signal using identification information of the target registered in the relay program, and relays the operation signal to the application program; the application program executes the series of processes for outputting the image data from the target image reading device to a specific output destination determined by the application program in accordance with the operation signal relayed by the relay program. Control methods. [Explanation of symbols]
[0072] 2: Communication systems 6: Internet 10: Terminal device 12:Operation section 14:Display section 20: LAN I / F 22: USB I / F 30: Control section 32 :CPU 34: Memory 40: OS program 50: Installer 52: Scan program 54: Broadcast Program 100: Scanner 150: Power key 152: Wi-Fi key 160~164: Push scan key 210~214: Key buttons 220: Scan setting area 222 :Scan setting button 230: Save settings area 232: Save settings button 240: Output destination button 250:Register button 300 :Server
Claims
1. A computer program for a terminal device, comprising: The computer program controls the computer of the terminal device to include the following units: a search unit that searches for an image reading device that can communicate with the terminal device, and receives target identification information that identifies the target image reading device from the target image reading device; an installation unit that installs in the terminal device an application program for executing a series of processes for receiving image data read by the image reading device from the image reading device and outputting the image data, and a relay program that relays an operation signal indicating that the image reading device has been operated to the application program, the installation unit registering identification information of the target in the relay program when the relay program is installed; Functioning as a when a predetermined operation is performed on the target image reading device and the target image reading device transmits the operation signal corresponding to the predetermined operation to the terminal device, the relay program identifies a sender of the operation signal using identification information of the target registered in the relay program, and relays the operation signal to the application program; the application program executes the series of processes for outputting the image data from the target image reading device to a specific output destination determined by the application program in accordance with the operation signal relayed by the relay program. Computer program.
2. The computer program further causes the computer to The computer program according to claim 1 , functioning as a first supplier that supplies the target identification information to the relay program when the relay program is installed.
3. The computer program further causes the computer to functioning as a second supply unit that supplies the target identification information to the application program when the application program and the relay program are installed; The computer program product according to claim 1 , wherein the relay program registers the identification information of the target in the relay program by acquiring the identification information of the target from the application program.
4. The computer program product according to claim 1 , wherein the relay program relays the operation signal to the application program by using a named pipe.
5. The computer program further causes the computer to activates the application program, and functions as a display control unit that causes the application program to display a screen for requesting consent to a license agreement for the application program; The computer program product according to claim 1 , wherein the identification information of the target is registered in the relay program when an instruction to agree to the license agreement is input on the screen.
6. the image reading device includes one or more read keys for executing image reading; The computer program product according to claim 1 , wherein the predetermined operation is to operate a specific read key among the one or more read keys.
7. The computer program product according to claim 6 , wherein the operation signal includes key identification information for identifying the specific reading key.
8. The computer program product of claim 6 , wherein the image reading device does not include a display.
9. 4. The computer program according to claim 1, wherein the application program is configured to be capable of setting an external device provided separately from the terminal device as an output destination of the image data.
10. the terminal device is connected to the image reading device via a USB cable; The computer program product according to claim 1 , wherein the target identification information identifies a USB interface included in the image reading device.
11. A terminal device, a search unit that searches for an image reading device that can communicate with the terminal device, and receives target identification information that identifies the target image reading device from the target image reading device; an installation unit that installs in the terminal device an application program for executing a series of processes for receiving image data read by the image reading device from the image reading device and outputting the image data, and a relay program that relays an operation signal indicating that the image reading device has been operated to the application program, the installation unit registering identification information of the target in the relay program when the relay program is installed; Equipped with when a predetermined operation is performed on the target image reading device and the target image reading device transmits the operation signal corresponding to the predetermined operation to the terminal device, the relay program identifies a sender of the operation signal using identification information of the target registered in the relay program, and relays the operation signal to the application program; the application program executes the series of processes for outputting the image data from the target image reading device to a specific output destination determined by the application program in accordance with the operation signal relayed by the relay program. Terminal device.
12. A method for controlling a terminal device, comprising: The control method includes: a search step of searching for an image reading device capable of communicating with the terminal device and receiving target identification information for identifying the target image reading device from the target image reading device; an installation process for installing, in the terminal device, an application program for executing a series of processes for receiving image data read by the image reading device from the image reading device and outputting the image data, and a relay program for relaying an operation signal indicating that the image reading device has been operated to the application program, the installation process including registering identification information of the target in the relay program when the relay program is installed; Equipped with when a predetermined operation is performed on the target image reading device and the target image reading device transmits the operation signal corresponding to the predetermined operation to the terminal device, the relay program identifies a sender of the operation signal using identification information of the target registered in the relay program, and relays the operation signal to the application program; the application program executes the series of processes for outputting the image data from the target image reading device to a specific output destination determined by the application program in accordance with the operation signal relayed by the relay program. Control methods.
Citation Information
Patent Citations
Laser oscillating device
JP1990001193A
