PROGRAM SET, METHOD FOR ACQUIRING READING RESULT, AND INFORMATION PROCESSING APPARATUS

The program set facilitates communication between information processing devices and scanners using both general-purpose and dedicated protocols, enhancing scanner usability by enabling registration and protocol conversion, thus supporting a wider range of scanner models.

JP7587765B2Active Publication Date: 2024-11-21BROTHER KOGYO KK
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2023218992
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2023-12-26
Publication Date
2024-11-21
Estimated Expiration
2040-03-10

AI Technical Summary

Technical Problem

Scanners that are not compatible with general-purpose communication protocols, such as IPP, cannot be used with information processing devices, and even compatible scanners require complex user interactions for setting changes, leading to reduced usability.

Method used

A program set comprising a first and second program that allows communication with scanners using a first and second protocol respectively, enabling registration of the second program as a scanner in the operating system, and converting general-purpose scan commands to dedicated protocols for compatible scanners.

Benefits of technology

Enables the use of scanners that do not support general-purpose protocols, improving usability by allowing seamless communication and operation with information processing devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007587765000001
    Figure 0007587765000001
  • Figure 0007587765000002
    Figure 0007587765000002
  • Figure 0007587765000003
    Figure 0007587765000003
Patent Text Reader

Abstract

To provide a technique for increasing the usability of a scanner when the scanner is used from an information processing device.SOLUTION: By executing a program set that includes a management program 43 and a scan server program 44, a CPU 11 of a PC 1 starts the scan server program 44 corresponding to a scanner 3 when the scan server program 44 has not been started, by the management program 43; and registers the started scan server program 44 in an OS 41 as a scanner. When an OS 41 accepts, by a general-purpose protocol, a scan job for which the scan server program 44 is specified as an output destination, the CPU 11 sends a scan command of a dedicated protocol to the scanner 3 by the scan server program 44 and receives a reading result from the scanner 3 by the dedicated protocol.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The technical field disclosed in this specification relates to a program set for controlling a scanner, a method for obtaining a read result, and an information processing device. [Background technology]

[0002] In an information processing device capable of communicating with a device such as a scanner, a technology is known for performing data communication with the scanner using a predetermined general-purpose protocol. For example, Patent Document 1 discloses a configuration in which the information processing device and the scanner perform data communication using a protocol called IPP (Internet Printing Protocol). Patent Document 1 further discloses a configuration in which the IPP does not support a specific function such as setting the opening direction of a document because it is a general-purpose protocol, and thereby realizes the specific function by making it possible to set the specific function on the scanner side. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2016-111560 A Summary of the Invention [Problem to be solved by the invention]

[0004] In order for an information processing device to communicate with a scanner using a specific general-purpose communication protocol, the destination scanner must support the specific general-purpose communication protocol. Therefore, when a scanning system incorporated in an information processing device performs data communication using a specific general-purpose communication protocol, a scanner that does not support the specific general-purpose communication protocol cannot be used. For example, when an information processing device performs data communication using IPP as in Patent Document 1, a scanner that does not support IPP cannot be used.

[0005] Even if a scanner supports a specific general-purpose communication protocol, if the scanner uses settings that are not supported by IPP, the user has to switch settings on the scanner each time, or the scanner's user interface is difficult to use, which causes inconvenience to the user. The same problem occurs when scanning is performed using a general-purpose driverless scan function such as AirPrint (registered trademark), because a general-purpose communication protocol is used.

[0006] This specification discloses a technique for improving the availability of a scanner when the scanner is used from an information processing device. [Means for solving the problem]

[0007] A program set made to solve this problem is a program set executable by a computer of a first information processing device, the program set including a first program and a second program, the first program causing the computer to execute a startup process for starting the second program when a scanner corresponding to a first protocol is capable of communicating via a communication interface of the first information processing device and the second program corresponding to the scanner is not running, and a first registration process for registering the second program as a scanner in an operating system of the first information processing device when the second program is started in the startup process, and the second program causing the computer to execute a scan job based on the scan job when the operating system accepts a scan job in which the second program registered in the operating system is specified as an output destination, using a second protocol different from the first protocol. Then, the scanner transmits a scan command of the first protocol to the communication interface. A transmission process for transmitting the image data to the scanner via the interface, and a previous image data transmitted in the transmission process. The scanner reads the document in response to the scan command, and transmits the read result to the communication interface. and receiving the signal via the interface in accordance with the first protocol. It is characterized by the following:

[0008] According to the program set disclosed in the present specification, the first information processing device If the second program corresponding to the scanner corresponding to the device is not running, Start the software and register it as a scanner in the operating system (hereafter referred to as "OS"). This allows the second program to be selected in the OS. A scan job that is accepted by the OS by When the second program receives the scan job, it executes the scan A scan command is sent to the scanner according to the first protocol, and the read data is received from the scanner. This allows even a scanner that does not support the second protocol to receive the first information. The processing device can issue read instructions and receive read results.

[0009] A control method, an information processing device, and an application program for implementing the above functions A computer readable storage medium for storing the same is also novel and useful. Effect of the Invention

[0010] According to the program set disclosed in this specification, a scanner can be used from an information processing device. In one embodiment, a technique is provided that increases the availability of a scanner when a network is in use. [Brief description of the drawings]

[0011] [Figure 1] 1 is a schematic configuration diagram of a scan system according to an embodiment; [Diagram 2] FIG. 11 is a sequence diagram showing a procedure for starting and registering a scan server. [Diagram 3] FIG. 11 is a sequence diagram showing a procedure of a pull scan. [Figure 4] FIG. 11 is a sequence diagram showing a procedure of push scanning. [Diagram 5] FIG. 11 is a sequence diagram showing the procedure of a program capable of executing both pull scanning and push scanning. [Figure 6] FIG. 11 is a sequence diagram showing a procedure for starting and registering a scan server in a second embodiment. [Figure 7] FIG. 11 is a sequence diagram showing a procedure of push scanning in the second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0012] A first embodiment of the scanning system will be described in detail below with reference to the accompanying drawings. This embodiment is a system for controlling a plurality of personal computers (hereinafter referred to as "PCs") and their The present invention discloses a scanning system including the above-mentioned PC and a scanner connected to the PC.

[0013] As shown in FIG. 1, the scanning system 100 of the present embodiment includes a PC1, a PC2, and a scanning The system includes a PC and a network controller 3, which are connected to a common network. PC1 and PC2 send scan instructions to scanner 3, and receive image data from scanner 3. PC1 and PC2 are devices that receive image data, edit the received image data, etc. These are also examples of information processing devices, PC1 is an example of a first information processing device, and PC2 is The PC2 is an example of a second information processing device. The PC2 is a device having the same configuration and functions as the PC1. In the following, we will explain PC1 as a representative to the extent that there is no need to distinguish between them. Instead of the PC 1, for example, a smartphone or a tablet computer may be used.

[0014] As shown in FIG. 1, the PC 1 of the present embodiment includes a control circuit including a CPU 11 and a memory 12. 1 is a general term for hardware and software used to control PC1, and does not necessarily represent a single piece of hardware actually present in PC1. Furthermore, PC1 is equipped with a user interface (hereinafter referred to as "user IF") 13 and a communication interface (hereinafter referred to as "communication IF") 14, which are electrically connected to the controller 10. Note that the controller 10 in Fig. 1 is a general term for hardware and software used to control PC1, and does not necessarily represent a single piece of hardware actually present in PC1.

[0015] The CPU 11 executes various processes according to the programs read from the memory 12 and based on the user's operations. The CPU 11 is an example of a computer. The memory 12 is a storage area that stores various programs such as a startup program for starting the PC 1 and various application programs (hereinafter, referred to as "apps") for using the scanner, various data such as image data and document data, and various setting information. The memory 12 is also used as a work area when various processes are executed.

[0016] The user IF 13 is, for example, a touch panel, and includes hardware for displaying a screen for notifying the user of information, and hardware for accepting input operations by the user. Note that the user IF 13 may be a combination of a display having a display function and a keyboard, mouse, trackball, or the like having an input acceptance function.

[0017] The communication IF 14 includes hardware for communicating with external devices such as the PC 2 and the scanner 3. The communication standard of the communication IF 14 includes, for example, Ethernet (registered trademark) and Wi-Fi (registered trademark), and may include wireless communication and wired communication, or may include a plurality of configurations corresponding to a plurality of communication standards. In the scan system 100 of this embodiment, the communication method between the PC 1 and the PC 2, the communication method between the PC 1 and the scanner 3, and the communication method between the PC 2 and the scanner 3 may be different from each other.

[0018] As shown in Fig. 1, the memory 12 of the PC 1 stores various data and programs including an OS 41, a scan application 42, a management program 43, and a scan server program 44. A general-purpose scan control program 45 is built into the OS 41. The OS 41 is, for example, iOS (registered trademark), Android (registered trademark), Microsoft Windows (registered trademark), macOS (registered trademark), or Linux (registered trademark). The management program 43 is an example of a first program, and the scan server program 44 is an example of a second program. A set of the management program 43 and the scan server program 44 is an example of a program set.

[0019] The scan application 42 receives user instructions such as designation of a device to execute a scan, designation of a location to save the read result, an instruction to execute a scan, various scan settings, etc. The scan application 42 may further receive an instruction to display or edit an image of the read result received from the scanner.

[0020] The generic scan control program 45 is a program that controls the operation of the scanner based on a predetermined standard. The generic scan control program 45 is a program that utilizes the scan control function of the OS 41, and is a standard program provided by the OS 41. The generic scan control program 45 is a general-purpose program that is compatible with multiple models of scanners that support a predetermined standard. Therefore, any scanner that has a function compatible with the generic scan control program 45 can perform scanning based on the standard, regardless of the manufacturer. Examples of scanning systems that utilize the generic scan control program 45 include AirPrint and Mopria (registered trademark).

[0021] Since the general-purpose scan control program 45 is a general-purpose program that supports multiple models, the scan settings that can be accepted are limited to general ones. Therefore, the general-purpose scan control program 45 does not include all scan settings that can be executed by the specified scanner. The decision may not be accepted.

[0022] In this embodiment, the OS 41 controls the scanner using a general-purpose scan control program 45. For example, installation of individual control programs such as scanner drivers for individual models The scan application 42 in this embodiment is a version that does not accept general-purpose scanners. It supports the general-purpose scan control program 45. A scan job can be passed to OS41 using a specified generic protocol. OS41 Based on the scan job, the general-purpose scan control program 45 is used to It generates a scan command and sends the generated scan command to the specified scanner using the generic protocol. The general-purpose protocol is, for example, IPP, which is an example of the second protocol.

[0023] The OS 41 also controls the scanner connected to the PC 1 to execute the general-purpose scan control program 45. It has a function to judge whether the scanner is compatible or not, and to register the information of the compatible scanner in memory 12. The scan application 42 executes scanning from a scanner registered in the memory 12. The selection of the device to be executed is accepted. 3 does not support the standard used by the general-purpose scan control program 45, for example. , and does not support generic protocols. That is, Scanner 3 does not support the The scanned scan command cannot be received, or even if it is received, it cannot be processed correctly. Alternatively, the scanner 3 of the scanning system 100 of the present embodiment may be, for example, a general-purpose scanner. Supports the standards used by control program 45 and is also compatible with general-purpose protocols. However, it has a function that is not supported by the standard used by the general-purpose scan control program 45. is.

[0024] The management program 43 manages the operation of the scanner 3 and the operation of the scan server program 44. Specifically, the management program 43 is a program that manages the scanner 3. The scan server program 44 is started, and the This is a program that registers the scan server to OS41 as a virtual scanner. If the scan server is registered as a virtual scanner in OS 41, it can be used in scan apps 42, etc. The user selects the virtual scanner, i.e., the scan server program 44, as the scanner. It becomes selectable.

[0025] The scan server program 44 processes the scan data generated by the OS 41 on behalf of the scanner. The scan server program 44 is a program that receives commands from the scanner 3. This is a dedicated program that corresponds to the model and is a protocol that the scanner 3 can support. The dedicated protocol is a part of the first protocol. In the scan system 100 of the present embodiment, a virtual scan If a scanner is selected, OS41 sends the generated scan command to the scan server program. Give it to Ram 44.

[0026] The scanner 3 of the scanning system 100 of this embodiment has a communication function with the PC 1 and the PC 2, and The image reading function is to read the image of the manuscript and obtain image data. The scanner 3 is not limited to a single-function scanner, but may be, for example, a multifunction printer, a copier, or a fax machine. This is also possible.

[0027] Next, in the scanning system 100 of this embodiment, the scanning process executed by the PC 1 The procedure of the process will be described with reference to the sequence diagrams of FIGS. 2 to 5. The processes in the above and each processing step in the flowchart are basically performed by the management program 43 and The CPU 11 follows instructions written in a program such as the scan server program 44. The processing by the CPU 11 is shown in FIG. 1. The processing by the CPU 11 is performed by exchanging data with other modules of the OS 41 of the PC 1. This also includes hardware control using an IF (also called an API) for performing the operations. Note that in this specification, there are cases where the description of the OS 41 is omitted and the operation of each program is described.

[0028] First, the procedure for registering a virtual scanner before executing a scan will be described with reference to the sequence diagram of Fig. 2. First, the management program 43 is started (S101). The management program 43 is automatically started when the PC 1 is started, for example. The management program 43 may also be started based on a user instruction.

[0029] When the management program 43 is started, it first searches for scan servers operating on other PCs etc. included in the same scan system 100 as PC1 (S102). In this embodiment, the management program 43 inquires of PC2 of the scan system 100 whether or not the scan server program 44 is running. When there are multiple PCs etc. connected to the same system, the management program 43 of PC1 inquires of all the other PCs etc.

[0030] Then, the management program 43 receives response information from PC2 (S103). When the scan server program 44 of PC1 or PC2 receives an inquiry from another device while it is running, it responds with information indicating that it is running. If it determines that it has received information indicating that it is running ([Yes]), the management program 43 passes information indicating the scan server program 44 of PC2 to the OS 41 (S104), and requests the OS 41 to register it as a scanner. S104 is an example of a second registration process.

[0031] The management program 43 further transmits to PC2 a list registration request for adding information about the own device to the destination list of the scan server program 44 of PC2, together with the identification information of the own device (S105). S105 is an example of the second registration request process. The destination list is a list for registering devices that receive and store the results of scanning an image of an original by the scanner 3 via the scan server program 44.

[0032] Based on the information received in S104, the OS 41 registers the scan server program 44 running on the PC 2 as a scanner (S106). As a result, when an instruction to select a scanner is received by the scan application 42 or the like, the OS 41 passes information on the scan server program 44 running on the PC 2 to the scan application 42 or the like as one of the scanner options. By being able to use the scan server program 44 running on the PC 2, there is no need to start up multiple scan server programs 44 in the entire scan system 100 in which the scanner 3 is shared by multiple PCs, and there is less waste in the entire system.

[0033] On the other hand, if it is determined that no information indicating that execution is in progress has been received ([None]), the management program 43 instructs the scan server program 44 included in the own device to start up (S107). S107 is an example of a startup process and a startup step. For example, if the management program 43 does not receive response information within a predetermined time, such as when the PC 2 is not started, the management program 43 determines that it has not received information indicating that the PC 2 is running.

[0034] When the scan server program 44 is started, it executes initial settings based on its own information, such as model information and capability information of the scanner 3 (S108). The scan server program 44 acquires information on the scanner 3 at the time of installation or the previous execution, and stores it in a storage area managed by the scan server program 44. When the scan server program 44 completes starting, it notifies the management program 43 of the initial setting information (S109). Based on the received information, the management program 43 passes information on the scan server program 44 to the OS 41 (S110), and requests the OS 41 to register it as a scanner. S110 is an example of a first registration process, and an example of a registration process and a registration step.

[0035] The management program 43 further notifies the started scan server program 44 of the destination of the storage. A list registration request is then sent to the device to request that the device's information be registered (S111 S111 is an example of a first registration request process. Based on the received request, the device identification information of the device itself is registered in the storage destination list (S112). S112 is an example of a list registration process. If the user already has a list of storage destinations that the user manages, The scan server program 44 then registers the requested information in its storage destination list. In addition, the OS 41 starts up the program based on the information received from the management program 43 in step S110. The scanned scan server program 44 is registered as a scanner (S113). In S113, it is advisable to give a name indicating the scanner 3 and have it registered in the OS 41.

[0036] The scan server program 44 running on PC1 is connected to the scan system 1 on PC2, etc. Accepts requests to search for and register on the list of scan servers from other devices connected to 00. When a scan server search is accepted, the scan server program The PC 2 transmits information indicating that the PC 2 is running (S114). When the registration request is received, the scan server program 44 sends a list registration request. The device identification information of the device that has been selected is registered in the storage destination list provided in the device (S115). is an example of a list registration process.

[0037] Now the user of PC1 is ready to use Scanner3 to scan. In addition, the scan server program 44 is running on PC2. If you register the information of program 44 as a scanner in OS41, PC2 will shut down. The scanner information is lost when the scanner is restarted. For example, the scan server program 44 of PC2 is registered as a virtual scanner in OS41. After that, it periodically communicates with the scan server program 44 of PC2 and If the Scan Server program 44 is not found, the Scan Server program running on another PC may be If it is not found, it starts the scan server program 44 on PC1. It is also possible to say this.

[0038] Also, instead of creating the destination list when the scan server program 44 is started, The information may be permanently stored in a storage area managed by the scan server program 44. For example, The information of the PCs included in the scan system 100 (in this embodiment, PC1 and PC2) is stored in advance. A list of registered save destinations may be created.

[0039] Next, after the procedure in Figure 2 above is completed, the scan server program is started on PC1 or PC2. A procedure for using a scanner 3 with a scan application 42 on a PC 1 while a program 44 is running. When the scan application 42 receives an instruction to select a scanner, the scan application 42 The information of the scanner registered in step S10 in FIG. 2 is displayed and the user's selection is accepted. 6 or S113, the running scan server program 44 is registered with OS 41. Therefore, the scan server program 44 is displayed as one of the options.

[0040] With the scan server program 44 selected as the device to execute the scan, Scan execution command received by scan application 42 of PC1 The execution procedure, or the so-called pull scan procedure, will be explained with reference to the sequence diagram in Figure 3. do.

[0041] When the scan application 42 receives a command to execute a scan (S201), Based on the received scan job, the OS41 A general-purpose protocol scan command is generated using the general-purpose scan control program 45. The generated scan command is sent to the scan server program 44, which is the selected device. As a result, the scan server program 44 passes the scan command to the S203 is an example of an acquisition process and an acquisition step.

[0042] The scan server program 44 sends an instruction to the scanner 3 to check the status (S204). The scan server program 44 supports a dedicated protocol and can communicate with the scanner 3 using the dedicated protocol. Based on the received status check instruction, the scanner 3 responds with information indicating the status of its own device to the scan server program 44 of the device that sent the status check instruction (S205). The scanner status includes, for example, available and unavailable, and the scanner 3 may be able to respond with more detailed information.

[0043] If the scan server program 44 determines that it has received response information indicating availability ([OK]), it converts the scan command of the general-purpose protocol received in S203 into a scan command of the dedicated protocol (S206). The scan server program 44 transmits the converted scan command to the scanner 3 by the dedicated protocol (S207). S207 is an example of a transmission process and a transmission step.

[0044] The scanner 3 executes scanning based on the scan command of the dedicated protocol received in S207 (S208). In S208, the scanner 3 executes scanning in response to a scan start instruction from the user who set the document. The scanner 3 then transmits the results of reading the document to the scan server program 44 of the device that transmitted the scan command (S209).

[0045] The scan server program 44 receives the read result transmitted from the scanner 3 in S209. S209 is an example of a receiving process and a receiving step. The communication in S209 is also communication using a dedicated protocol. The scan server program 44 applies image correction to the received read result (S210). S210 is an example of an image correction process. As image correction, the scan server program 44 executes, for example, character recognition processing and moire removal processing. The scan server program 44 may receive a user instruction as to whether or not to perform image correction. By performing image correction, more suitable image data can be acquired.

[0046] The scan server program 44 passes the corrected image data to the OS 41 of the device that sent the scan command in S203 (S211). The OS 41 passes the received image data to the scan application 42, which is the program that accepted the scan job in S202 (S212). As a result, the scan application 42 receives the result of reading by the scanner 3.

[0047] On the other hand, if the response received in S205 is not available, or if no response is received from the scanner 3 even after a predetermined time has elapsed ([NG]), the scan server program 44 returns an error notification indicating that the scanner 3 is in an error state to the OS 41 (S213). When the OS 41 receives an error notification from the scan server program 44, it causes the user IF 13 to display a message informing the user of the error (S214).

[0048] As a result, by selecting the scan server program 44 in place of the scanner 3, even if the scanner 3 does not support the general-purpose protocol, the scan result can be obtained from the scan application 42 using the scanner 3. Note that image correction of the scan result or error notification in the event of an error does not have to be performed.

[0049] Next, the procedure for making the scanner 3 execute a scan will be further described with reference to the sequence diagram of Fig. 4. Fig. 4 is a sequence diagram showing the procedure for executing a scan when the scanner 3 receives an instruction to execute a scan, that is, the procedure for a so-called push scan. The general-purpose scan control program 45 does not support the push scan function, and the activated scan server program 44 is used.

[0050] Scanner 3 performs scanning on its own operation panel while it has not received a scan command. When a command to start scanning is received (S301), the network of the scan system 100 A search request for a PC that can properly communicate with the device in operation is transmitted via the network (S302). In other words, Scanner 3 searches for PCs that can communicate using a dedicated protocol. The server program 44 receives a search request from the scanner 3 and returns the device identification information of the own device. The process S303 is an example of a response process.

[0051] In step S303, the scan server program 44 executes the scan The list of destinations to be saved is also passed to the scanner 3. The list of destinations to be saved is, for example, as shown in S111 of FIG. The list is created by communicating with the scanner 3 using the scan server program 44. This is a list of devices that may be

[0052] The scanner 3 reads the storage destination information indicating the storage destination of the scan result based on the received storage destination list. The list of information is displayed on the operation panel of the device (S304), and the user's selection is accepted (S3 05) The destination information may be the destination list itself, or the destination list may be a list of destinations that the user can select. Furthermore, the scanner 3 may convert the image data into information that is easy to understand for the user. When a scan start command is received, the image of the document is scanned and read (S306), and the read result is and the storage destination information received in S305 are sent to the scan server program 44 (S 307).

[0053] The scan server program 44 associates the received scan result with the storage destination information and automatically The information is stored in a memory area that is managed by the processor (S308). S308 is an example of a storage process. By receiving the scan results together with the destination information registered in Scanner 3, The scan server program 44 can store the read results separately for each device such as PC1. The memory area is the memory (12 or 22 (see FIG. 1).

[0054] The management program 43 periodically or upon receiving an instruction from the user, sets the local device as the storage destination. An output request for the specified reading result is passed to the running scan server program 44. (S309). The management program 43 and the scan server program 44 are executed on the same device. If the command is in progress, the management program 43 inputs an output request to the scan server program 44. If the scan server program 44 is running on a device other than the management program 43, If so, the management program 43 adds the identification information of the own device to the output request and sends it to the scan server. Sends an output request to the device running program 44.

[0055] Upon receiving the output request, the scan server program 44 stores the Then, it is determined whether there is a read result addressed to the management program 43 that has issued the output request (S31 0). That is, the scan server program 44 receives the output request and The system checks whether there is a read result whose ID information matches the storage destination information added to the read result. do.

[0056] If it is determined that there is a matching scan result ([Yes]), the scan server program 44 The read result is passed to the management program 43 that made the request (S311). If there are multiple corresponding reading results, the program 44 passes all the reading results. The scan results pushed from the scanner 3 are temporarily recorded by the scan server program 44. The scan server program 4 is configured to store the data in the hard disk and then save it to the real destination later. When 4 receives the read result, the actual storage destination does not need to be running. The read result is one in which the added identification information matches the storage destination information added to the read result. If it is determined that there is no such file, the scan server program 44 may return information indicating that there is no such file.

[0057] The management program 43 stores the received read result as a file (S312). S312 is an example of a save process. The management program 43 may notify that a file has been created. The management program 43 may save the file in a predetermined folder, such as a folder managed by the management program 43, or may determine a save destination folder based on a user's instruction. In this way, the image data of the document image for which a read instruction has been issued by the scanner 3 is appropriately saved by the management program 43, thereby realizing a so-called push scan. In addition, the management program 43 saves the read result as a file, so that the user can easily find and check the read result pushed from the scanner 3 in the folder in which the file is saved.

[0058] The scan server program 44 deletes the passed read results from the memory area it manages (S313). This saves the amount of data in the memory area. The scan server program 44 may delete the results after confirming that the management program 43 has completed saving the results, or may delete the results if they remain in the memory area for a certain period of time, or may delete the results based on a user instruction.

[0059] In Fig. 4, the procedure of push scan in which the management program 43 receives the read result has been described, but it is also possible to have the scan application 42 receive the read result of push scan. This procedure will be described with reference to the sequence diagram of Fig. 5. Note that, below, the same steps as those in Fig. 3 or 4 are denoted by the same reference numerals and description thereof will be omitted.

[0060] 3, first, in a state where the scan server program 44 is selected instead of the scanner 3, the scan application 42 of the PC 1 receives an instruction to execute a scan (S201). The scan application 42 passes a scan job to the OS 41 using a general-purpose protocol (S202). The OS 41 generates a scan command and passes it to the scan server program 44 (S203).

[0061] The scan server program 44 judges whether or not the read result with the identification information of the device that sent the received scan command is present in the memory area that it manages (S401). S401 is the same process as S310 in Fig. 4, but the scan server program 44 judges based on the information of the device that sent the scan command, instead of based on the identification information attached to the output request. If the OS 41 and the scan server program 44 are running on the same device, the scan server program 44 judges whether or not the read result with the identification information of its own device is present.

[0062] Note that a user who performs push scanning must execute scanning of an original with the scanner 3 before issuing a scan instruction in S201. In other words, in the case of push scanning, S301 to S308 in Fig. 4 have already been executed. In this case, the scan server program 44 does not delete the scanning result in S313, but stores it in a memory area managed by itself.

[0063] When the scan server program 44 determines that there is a corresponding read result ([Yes]), it passes the read result to the OS 41 that output the scan command (S402). S402 is an example of a read result response process. When the scan server program 44 is executed on a device other than the scan application 42, the scan server program 44 transmits the read result to the device that sent the scan command.

[0064] The OS 41 that has received the read result passes the received read result to the scan application 42. (S403). In other words, by having the scanner 3 perform scanning in advance, the scanning The reading results can be obtained using app 42.

[0065] When the scan server program 44 determines that there is no corresponding reading result ([None]) Then, the same procedure as the pull scan procedure shown in Figure 3 is performed. That is, the scan server The program 44 transmits a status check to the scanner 3 (S204) and receives a response from the scanner 3. If the response is OK ([OK]), the scan server program 44 Then, the received scan command is converted (S206) and the converted scan command is sent to the The S207 in this figure is also a transmission process and a transmission step. Here is one example.

[0066] The scanner 3 executes a scan based on the received scan command (S208), The result of the reading is sent to the scan server program 44 (S209). The program 44 passes the received read result to the OS 41 that output the scan command (S4 04). S404 is the same process as S402. The OS 41 that receives the read result The received scan result is passed to the scan application 42 (S405). The process is the same as that of the scan server program 4 before S402 and S404. 4 may perform image correction.

[0067] That is, when the scan server program 44 receives a scan command, it If the result of the scan is stored, it is returned. If not, the result of the scan is returned. For the user of the scan application 42, In either case, all that is required is to perform the operation to indicate the reading instruction, making the operation easy to use. Even if the scan program 44 is executed on a device other than the scan application 42, the identification information of the device is not required. Since the storage destination for the read results can be determined based on the information and the storage destination information, the read results can be stored in an appropriate destination. The results can be passed on.

[0068] On the other hand, if an OK response is not obtained from Scanner 3 ([NG]), The user program 44 returns an error notification to the OS 41 (S213), and the OS 41 notifies the user A message notifying the user of the error is displayed on F13 (S214).

[0069] This allows the scanner3, which does not support the generic protocol, to use the generic scan control. The scan is executed based on the scan command by the control program 45, and the The scan results can be obtained using the scan application 42. Also, if the device does not support push scanning, Even if a general-purpose scan control program 45 is used, the same effect as push scan can be achieved. The above processing can be realized.

[0070] In addition, the scan server program 44 is always running while PC1 and PC2 are running. Alternatively, the scan may be terminated based on a user's termination command. Before terminating, the program 44 notifies the management program 43 in which it is registered of the termination. is also good.

[0071] As described above in detail, according to the scan system 100 of the present embodiment, the management program The RAM 43 can be used as a scanner if the system includes a scanner 3 that supports the dedicated protocol. Start the scan server program 44 corresponding to the scanner 3, and then This registers the program 44 to the OS 41 as a scanner. The scan server program 44 can be selected. Furthermore, the OS 41 When the program 44 accepts a scan job with the output destination specified, The scan command based on the request is passed to the scan server program 44. The program 44 transmits a scan command to the scanner 3 using the dedicated protocol, receives the scan result from the scanner 3, and returns it to the OS 41. As a result, even if the scanner 3 does not support the general-purpose protocol, it is possible to issue a scan instruction from the scan application 42 or the like and obtain the scan result.

[0072] Next, a second embodiment of the scan system will be described in detail with reference to the attached drawings. This embodiment discloses a scan system 100 having the same hardware configuration as the first embodiment, in which the scan server program 44 is not shared among multiple PCs. In other words, in the scan system 100 of this embodiment, each PC that uses the scanner 3 uses its own scan server program 44. In the following, the same configurations and procedures as those of the first embodiment will be denoted by the same reference numerals as those of the first embodiment, and description thereof will be omitted.

[0073] The registration procedure of the virtual scanner in the scan system 100 of this embodiment will be described with reference to the sequence diagram of Fig. 6. When the management program 43 is started (S101), the management program 43 starts the scan server program 44 of its own device without searching for other PCs (S107).

[0074] The scan server program 44 performs initial settings (S108) and notifies the management program 43 of the initial setting information (S109). Based on the information received from the scan server program 44, the management program 43 passes the information of the scan server program 44 to the OS 41 (S110). Based on the information received from the management program 43, the OS 41 registers the scan server program 44 as a scanner (S113).

[0075] In this embodiment, as described below, the scan results received by the scan server program 44 are limited to data addressed to the device itself. Therefore, the scan server program 44 of PC1 does not need to generate a save destination list, and does not accept list registration requests from other PCs. A user who wants to use the scanner 3 on PC2 starts the management program 43 on PC2, just like PC1, and starts the scan server program 44 of PC2, which is then registered in the OS 51 of PC2.

[0076] Following the procedure in Fig. 6, the procedure for using the scanner 3 with the PC 1 will be described. The procedure for so-called pull scanning is the same as that described in the sequence diagram of Fig. 3. That is, the scan server program 44 communicates with the scanner 3 using a dedicated protocol, checks the status of the scanner 3 (S204-S205), and sends a scan command (S206-S207). The scanner 3 sends the read result to the scan server program 44 (S208-S209). The scan server program 44 receives the read result and passes it to the OS 41 of its own device (S211). The scan server program 44 may also perform image correction.

[0077] Next, the procedure of so-called push scan will be described with reference to the sequence diagram of Fig. 7. Fig. 7 is a sequence diagram in which the procedure of Fig. 6 has been completed in each of PC1 and PC2, and the scan server program 44 of PC1 and the scan server program 44 of PC2 are both running.

[0078] The scanner 3 receives an instruction to start scanning from the operation panel (S301) and transmits a search request to each PC in the scan system 100 (S302). The search request of S302 is passed to both the scan server program 44 of PC1 and the scan server program 44 of PC2. Each scan server program 44 that receives the search request responds to the scanner 3. The scan server program 44 of PC1 responds to the scanner 3 via the communication IF 14 of PC1 (S501). The scan server program 44 of PC2 responds to the scanner 3 via the communication IF 24 of PC2 (S502). S501 and S5 02 is an example of response processing.

[0079] Scanner 3 lists the destination information as selectable devices based on the response received. The scan server program 44 of PC1 also displays the scan server of PC2 (S304). Scanner 3, which also received a response from server program 44, sets PC1 and PC2 as the destination information. The scanner 3 accepts the user's selection from the displayed list ( S305), and receives a user's instruction to start scanning, and reads the image of the document (S306). ).

[0080] If the selection accepted in S305 is PC1 ([PC1]), the scanner 3 reads The result is sent to the scan server program 44 of PC1 (S503). The server program 44 stores the received read result in the memory 12 (S504). In this embodiment, the scan server program 44 receives only the scan results for which the device itself is the destination. Therefore, the scanner 3 does not need to add destination storage information to the scan results before transmitting them. In addition, the management program 43 needs to receive the read result from the scan server program 44. None.

[0081] If the selection accepted in S305 is PC2 ([PC2]), the scanner 3 reads The result is sent to the scan server program 44 of PC2 (S505). The server program 44 stores the received read result in the memory 22 (S506). Thereafter, the processes of S309 to S311 and S313 shown in FIG. 4 may be executed, or the process of FIG. The process shown in 5 may be executed.

[0082] As described above in detail, the scanning system 100 of this embodiment also A scan instruction can be issued from a scan application 42 to a scanner 3 that does not support the protocol. In addition, the general-purpose scan control program 45 can also be used to obtain the results of scanning. In this embodiment, compared to the first embodiment, the number of PC1 and P C2 is not required, and the communication load is small. By using the C2 scan server program44, the processing load of PC1 is reduced. do.

[0083] It should be noted that each embodiment is merely an example and does not limit the present invention in any way. Therefore, the technology disclosed in this specification may be modified in various ways without departing from the spirit and scope of the invention. For example, the number of PCs and printers in each configuration is not limited to the example shown. For example, the scanning system 100 may include more than one scanner and may be a general purpose scanner. The scanner may include a scanner compatible with the scanning control program 45. It is also possible to include a PC that does not have the scan server program 44.

[0084] For example, in the push scan procedure, Scanner 3 sends the scan results to the scan server. The scan server program 44 then records the data in the memory area it manages. However, it may be stored in the memory of the scanner 3. In that case, the scan server program The program 44 receives a request for the read result from the management program 43 or the OS 41 and scans the scanner. 3 to determine whether or not there is a read result in the memory of the scanner 3.

[0085] Also, for example, the scanner 3 receives a list of storage destinations from the scan server program 44. Instead of receiving the registration, the device may accept the registration and store it in advance. The save destination list is registered by direct input to the scanner 3 via the operation panel of the scanner 3, etc. Alternatively, the scanner 3 may receive the data from the scan application 42 and store the data. If the configuration is such that the list of destinations to save is received from the scan server program 44, the scanner There is no need to store it in 3.

[0086] Also, for example, the scan server program 44 does not have to perform the correction process. There may be another program that performs the correction process.

[0087] In the second embodiment, the management program 43 may be included in the scan server program 44. That is, the scan server program 44 may have a function of registering itself in the OS 41 when started.

[0088] In addition, in any of the flowcharts disclosed in each embodiment, the execution order of multiple processes in any of the steps can be changed as desired or the processes can be executed in parallel, as long as no contradiction occurs in the process content.

[0089] The processes disclosed in the embodiments may be executed by a single CPU, multiple CPUs, hardware such as ASIC, or a combination of these. The processes disclosed in the embodiments may be realized in various forms, such as a recording medium having a program for executing the processes recorded thereon, or a method. [Explanation of symbols]

[0090] 1, 2 PCs 3. Scanner 11, 21 CPU 12, 22 Memory 13, 23 User Interface 14, 24 Communication IF 41, 51 OS 43 Management Program 44 Scan Server Program

Claims

1. A scan server program executable by a computer of an information processing device capable of communicating with a scanner, and registered in an operating system of the information processing device as a virtual scanner corresponding to the scanner, the scanner being capable of receiving a scan command according to a first protocol and transmitting a scan result obtained by scanning an original in response to the scan command; The scan server program is installed on the computer. a receiving process for receiving a scan command according to a second protocol different from the first protocol from the operating system of the information processing device as the virtual scanner; a transmission process of transmitting a scan command in a first protocol based on the scan command in the second protocol to the scanner when the scan command in the second protocol is accepted in the acceptance process; a receiving process for receiving a scan result obtained by the scanner reading an original in response to the scan command according to the first protocol transmitted in the transmitting process; Execute the A scan server program comprising:

2. 2. The scan server program according to claim 1, The scan server program is installed on the computer. executing a storage process for storing the received reading result in a predetermined memory area of ​​the information processing device when the reading result is received from the scanner even if the scan command based on the first protocol is not transmitted to the scanner; A scan server program comprising:

3. 3. The scan server program according to claim 2, When the reception process is executed, the scan server program If the read result is not stored in the predetermined memory area, the transmission process is executed; if the read result is stored in the predetermined memory area, the transmission process is not executed, and a read result response process is executed to respond to the operating system with the read result stored in the predetermined memory area. A scan server program comprising:

4. 4. The scan server program according to claim 1, The scan server program is installed on the computer. executing an image correction process for correcting the image of the read result received in the receiving process; A scan server program comprising:

Citation Information

Patent Citations

  • Image reading system, image reader, control method thereof, and program

    JP2012044420A

  • Image reading device, information processing method, and program

    JP2016111560A

  • Information processing device, information processing method and information processing system

    JP2019004429A