The present invention relates to a server apparatus for inputting images using a network, an information processing apparatus, respective methods of controlling the apparatuses, a control program, and a storage medium.
To use a peripheral apparatus, such as an image input apparatus, from an information processing apparatus, generally, it is necessary to install a specific device driver compatible with the peripheral apparatus (e.g. a scanner driver in the case of an image input apparatus) in an operating system (hereinafter referred to as the “OS”) which operates on the information processing apparatus.
When using an image input apparatus, a scanner driver is started from an application, settings necessary for a scanning operation are made, the image input apparatus is driven, and then acquired image data is transferred to the application, whereby the application is enabled to freely handle the image data.
Therefore, conventionally, it is required that scanner drivers have been made available each of which is compatible with both of an image input apparatus to be used and an OS operating on an information processing apparatus. This generates a situation in which a user is required to search a proper scanner driver which operates according to a combination of an OS and an image input apparatus.
Further, users are sometimes required to perform a troublesome work, such as installation of a scanner driver into the OS. On the other hand, manufacturers and sellers of image input apparatuses are required to supply scanner drivers compatible with OS types which have been recently increased in number. Thus, the work for coping with the necessity of installing an appropriate driver is ever increasing.
On the other hand, there has been proposed a method of realizing a function equivalent to the operation of a scanner driver by accessing a Web page hosted by a PC (personal computer) which is directly connected to an image input apparatus, instead of using the scanner driver (see e.g. PTL(Patent Literature) 1).
In this case, the information processing apparatus which accesses the web page is not required to have a scanner driver installed therein.
Further, in recent years, a wide range of various uses of images have been made possible through image processing by so-called cloud computing, which is provided by a web service application operating on server apparatuses on the Internet.
As a method of transferring an image to a server apparatus on the Internet, the following technique is used: An image file is transferred from an information processing apparatus being in use to a desired server apparatus, using a menu option of e.g. image upload, which is integrated in a web page opened by a web browser application of the image processing apparatus. Image file transfer by a dedicated application for file transfer is also widely used.
PTL 1: Japanese Patent Laid-Open Publication No. 2000-148649
However, in an image input system using a web browser, disclosed in PTL1, a server apparatus connected to the image input apparatus, i.e. the aforementioned PC, is required to be provided within a local network so as to construct the image input system.
Further, to support a plurality of image input apparatuses, a server apparatus is required to have settings of scanner drivers and the like configured in advance such that the input apparatuses operate therewith.
Further, an information processing apparatus, such as a mobile terminal, cannot always secure a memory capacity sufficient to receive or store image data e.g. of a large number of pages. In this case, the whole image data scanned via a web page cannot be temporarily stored in the information processing apparatus, as described in PTL 1. Further, even if image data can be stored in a server apparatus, it is necessary to perform new operations different from scan processing, such as taking out of the image data and transfer of the same to a predetermined location, after the storage operation.
The present invention provides an arrangement for enabling a user to easily use an image input apparatus.
Accordingly, in a first aspect of the present invention, there is provided an server apparatus that is capable of communicating with an information processing apparatus, comprising a list providing unit configured to create a list of image input apparatuses found through a search by the information processing apparatus, and provide the list to the information processing apparatus, a script providing unit configured to provide script information including information for use in configuring settings of an operation of an image input apparatus selected on the information processing apparatus from the list provided by the list providing unit, to the information processing apparatus, a setting information-transmitting unit configured to transmit a job message to the information processing apparatus, for use in causing the image input apparatus to operate according to the operation settings configured at the information processing apparatus using the script information provided by the script providing unit, in order to cause the information processing apparatus to transfer the job message to the image input apparatus, and a storage unit configured to acquire image data input by the operation of the image input apparatus according to the job message via the information processing apparatus, and store the acquired image data.
Accordingly, in a second aspect of the present invention, there is provided an information processing apparatus that is capable of communicating with a server apparatus and an image input apparatus, comprising a selection screen display unit configured to acquire a list of image input apparatuses found through a search, from the server apparatus, and display a selection screen for prompting a user to select an image input apparatus to be operated from the list, a selection result-transmitting unit configured to transmit a selection result indicative of the image input apparatus selected by the user via the selection screen displayed by the selection screen display unit, to the server apparatus, setting screen display unit configured to acquire script information including information for use in configuring operation settings of the image input apparatus selected by the user, from the server apparatus, and display a setting screen for prompting the user to configure the operation settings, a setting message-transmitting unit configured to transmit a setting message indicative of the operation settings configured by the user via the setting screen displayed by the setting screen display unit, to the server apparatus, a first transfer unit configured to receive a job message from the server apparatus, for causing the image input apparatus to operate according to the operation settings indicated by the setting message, and transfer the received job message to the image input apparatus, and a second transfer unit configured to receive image data input by the operation of the image input apparatus according to the job message, from the image input apparatus, and transfer the received image data to the server apparatus.
Accordingly, in a third aspect of the present invention, there is provided a method of controlling a server apparatus that is capable of communicating with an information processing apparatus, comprising creating a list of image input apparatuses found through a search by the information processing apparatus, and providing the list to the information processing apparatus, providing script information including information for use in configuring settings of an operation of an image input apparatus selected on the information processing apparatus from the list, to the information processing apparatus, transmitting a job message to the information processing apparatus, for use in causing the image input apparatus to operate according to the operation settings configured at the information processing apparatus using the script information, in order to cause the information processing apparatus to transfer the job message to the image input apparatus, and a storage unit configured to acquire image data input by the operation of the image input apparatus according to the job message via the information processing apparatus, and store the acquired image data.
Accordingly, in a fourth aspect of the present invention, there is provided a method of controlling an information processing apparatus that is capable of communicating with a server apparatus and an image input apparatus, comprising acquiring a list of image input apparatuses found through a search, from the server apparatus, and displaying a selection screen for prompting a user to select an image input apparatus to be operated from the list, transmitting a selection result indicative of the image input apparatus selected by the user via the selection screen, to the server apparatus, acquiring script information including information for use in configuring operation settings of the image input apparatus selected by the user, from the server apparatus, and displaying a setting screen for prompting the user to configure the operation settings, transmitting a setting message indicative of the operation settings configured by the user via the setting screen displayed by the setting screen display unit, to the server apparatus, receiving a job message from the server apparatus, for causing the image input apparatus to operate according to the operation settings indicated by the setting message, and transferring the received job message to the image input apparatus, and receiving image data input by the operation of the image input apparatus according to the job message, from the image input apparatus, and transferring the received image data to the server apparatus.
Accordingly, in a fifth aspect of the present invention, there is provided a control program for causing a computer to execute the method of controlling the server apparatus.
Accordingly, in a sixth aspect of the present invention, there is provided a control program for causing a computer to execute the method of controlling the information processing apparatus.
Accordingly, in a seventh aspect of the present invention, there is provided a non-transitory computer-readable storage medium storing a control program for causing a computer to execute the method of controlling the server apparatus.
Accordingly, in an eighth aspect of the present invention, there is provided a non-transitory computer-readable storage medium storing a control program for causing a computer to execute the method of controlling an information processing apparatus.
According to the present invention, it is possible to provide an arrangement for enabling a user to easily use an image input apparatus.
Further features of the present invention will become apparent from the following description of exemplary embodiments with reference to the attached drawings.
The present invention will now be described in detail below with reference to the accompanying drawings showing an embodiment thereof.
In
The information processing apparatuses 101 and the image input apparatuses 102 are connected via a local network 104 constructed by Ethernet (registered trademark), and hence can communicate with each other. Further, the server apparatus 103 is connected to the information processing apparatus 101a via a network 106 including a mobile communication network, public lines, the Internet 107 and the like, or via the gateway apparatus 105 and the network 106. Therefore, the server apparatus 103, the information processing apparatuses 101, and the image input apparatuses 102 can communicate with each other.
The image input apparatus 102 transmits image data to the information processing apparatus 101, and also performs scanning.
In
A ROM 113 stores various kinds of programs and data. An operating section interface 117 controls key inputs from an operating section 121 or a pointing device (e.g. a touch panel), not shown.
A display section interface 116 controls contents to be displayed on a display section 120. An external memory interface 118 controls access to an external memory 130, such as a flash memory or an SSD (solid state disk).
The external memory 130 functions as a storage medium in which the information processing apparatus can store data or from which the information processing apparatus can read data. More specifically, the external memory 130 stores an OS (operating system) 131, various kinds of applications 132, and a web browser 133.
A first communication interface 114 is a controller for communication e.g. via a mobile network, and establishes a network connection to a wireless base station via an antenna 115. A second communication interface 119 is a controller for a Wi-Fi wireless network and a preferred network, and enables connection to a local network via a Wi-Fi antenna or a network terminal, not shown.
Note that a script file which is executed on the web browser 133 is not initially stored in the external memory 130 of the information processing apparatus 101 which is newly used by a user. In the present embodiment, if a script file according to which the scan system environment is constructed is not stored, the web browser 133 running on the OS 131 downloads a script from the server apparatus 103 into the information processing apparatus 101 and executes the script using the RAM 112. Details of an example of script execution processing by the web browser 133 will be described with reference to
Next, a description will be given of the configuration of the image input apparatus 102. A CPU 202 controls the overall operation of the image input apparatus 102. A RAM 203 functions as a main memory, a work area, and so forth, for the CPU 202, and is also used as an input information-loading area and an environment data-storing area. Further, the RAM 203 has a NVRAM (nonvolatile RAM) area, and is configured to be capable of expanding a memory capacity by an option RAM connected to an expansion port, not shown.
A ROM 204 stores various types of fonts, control programs and the like executed by the CPU 202, and various kinds of data. A network interface 205 transmits and receives data to and from the information processing apparatus 101.
A printer interface 208 controls interface with a printing unit 209 which is a printer engine. A scanner interface 210 controls interface with a scanning unit 211 which is a scanner engine.
An external memory 220 stores hardware information 221. An external memory interface 212 controls access to the external memory 220, and the external memory 220 includes a flash memory, an SSD, etc. Note that when the external memory 220 is not connected, the image input apparatus 102 stores information etc. used in the information processing apparatus 101, in the ROM 204.
An console section interface 206 controls interface with a console section 207 from which the scan processing to be performed by the image input apparatus 102 is set. The console section 207 is provided with an operating panel for receiving input operations by a user. Switches, an LED display device, etc. for the input operations are arranged on the operating panel. Further, the console section 207 may include an NVRAM, not shown, to store scan setting information input from the operating panel. The above-mentioned sections are connected by a system bus 201.
With the above-described configuration, the CPU 202 acquires image data from the scanning unit 211 via the scanner interface 210 based on the control program and the like stored in the ROM 204. Further, the CPU 202 is capable of performing processing for communicating with the information processing apparatus 101 via the network interface 205. The CPU 202 is configured to be capable of transmitting image data to the information processing apparatus 101, and notifying the information processing apparatus 101 of information and the like stored in the image input apparatus 102. In the present embodiment, the network interface 205 implements a corresponding web service protocol or a protocol for its own search and scanning.
In
A display section interface 304 controls contents to be displayed on a display section 308. An external memory interface 306 controls access to an external memory 320, such as a hard disk (HD) or an SSD.
The external memory 320 stores an OS 321, a web service library 322, and various kinds of scan processing-related programs 323, and further stores user files, edited files, and so on, not shown.
Of the above-mentioned stored programs and files, the scan processing-related programs 323 include a search program 324, a search script 325, an image input apparatus management program 326, a scan job creation program 327, a scan script 328, and an image reception program 329.
A network interface 307 is connected to the information processing apparatus 101 via the Internet 107 or the mobile communication network, and indirectly performs communication control processing with the image input apparatus 102 connected to the information processing apparatus 101.
In
The user starts the web browser 133 using the operating section 121 of the information processing apparatus 101 (step S200). Next, the information processing apparatus 101 accesses the URL of the server apparatus 103 to thereby log into the server apparatus 103 so as to make use of a scan processing service (step S201).
When the login is successful, a search script for searching for image input apparatuses is downloaded from the server apparatus 103 to the web browser 133 (step S202). The downloaded search script is executed on the web browser 133, and the information processing apparatus 101 displays a search-in-progress screen (step S203).
When the search script execution is successful, the information processing apparatus 101 sends a search request to the server apparatus 103 (step S204). Note that although not shown, the information processing apparatus 101 periodically transmits an update request message requesting to the server apparatus 103 during execution of the search script so as to request the same to update an HTML file. By transmitting the update message, if there is a change in the status of the server apparatus 103, the information processing apparatus 101 updates the displayed screen according to the update of the HTML file.
Upon receipt of the search request by the server apparatus 103, a search message is transmitted from the search program 324 of the server apparatus 103 to the information processing apparatus 101 (step S205). In response to this, the search script executed on the web browser 133 of the information processing apparatus 101 sends the search message by broadcast to the local network 104 after executing IP header conversion of packet data of the received search message (step S206). An example of the packet data conversion process executed by the search script will be described hereinafter.
Each image input apparatus 102 having received the broadcast search protocol-based message is activated (returns from the sleep state) (step S207). The image input apparatus 102 determines whether or not the self apparatus is compatible with the search protocol-based message. When it is determined that the image input apparatus 102 is compatible with the search protocol-based message, the image input apparatus 102 sends a response to the information processing apparatus 101 as a broadcast transmission source (step S208). Thus, image input apparatuses 102 on the local network 104 which are compatible with the search protocol-based message each transmit the response to the information processing apparatus 101.
The search script being executed on the web browser 133 of the information processing apparatus 101 having received responses converts the received responses to response messages, and sequentially transfers the response messages to the server apparatus 103 (step S209). An example of converting processing executed by the search script for converting a response to a response message will be described hereinafter.
Next, the image input apparatus management program 326 analyzes response messages transmitted from the information processing apparatuses 101 to the server apparatus 103. Then, the image input apparatus management program 326 creates an image input apparatus list as a list of the retrieved image input apparatuses 102 obtained from the search result (step S210).
The image input apparatus management program 326 converts the result (list) to an HTML file, and performs the HTML update (step S211) to thereby display an image input apparatus selection screen including the list of the image input apparatuses on the web browser 133 (step S212).
The user selects the image input apparatus 102 to be used from the apparatus list (step S213), and the web browser 133 transmits the selection result to the server apparatus 103 as an apparatus selection message (step S214).
The image input apparatus management program 326 selects a scan script compatible with the selected image input apparatus 102, and downloads the selected scan script to the web browser 133 (step S215). The downloaded scan script is executed on the web browser 133, and a scan setting screen is displayed (step S217).
The user sets an original on the image input apparatus 102 selected from the scan setting screen (step S218), and inputs settings for scanning (step S219). Note that although not shown, during execution of the scan script, the information processing apparatus 101 periodically transmits an HTML file update request message to the server apparatus 103 so as to request the same to update the HTML file. By transmitting the update request message, if there is a change in the status of the server apparatus 103, the information processing apparatus 101 updates the displayed screen according to the update of the HTML file.
The scan script transmits the settings set by the user to the server apparatus 103 as a scan setting message (step S220). The scan job creation program 327 of the server apparatus 103 generates a scan job according to the received setting message (step S221), and transmits the scan job to the information processing apparatus 101 as a scan job message (step S222).
The information processing apparatus 101 having received the scan job message transmits the scan job message to the image input apparatus 102 as a scan job command by the scan script (step S223). During execution of the steps S223 to step S229, described hereinafter, a scan-in-progress screen is displayed.
According to the scan job command, the image input apparatus 102 executes a scan operation (step S224). Then, the image input apparatus 102 transmits image data obtained by the scan operation to the information processing apparatus 101 (step S225). The image data is different in type depending on a transmission method used by the image input apparatus 102.
The scan script executed on the information processing apparatus 101 performs, similarly to the search script, processing for transmitting the image data to the server apparatus 103 without modifying the contents of the image data by performing IP header conversion and the like of packet data (step S226).
The server apparatus 103 has determined the image input apparatus in advance, and hence the server apparatus 103 can perform proper image conversion processing by the image reception program 329 according to the type of image data. These image processing and image storage processing are executed by the image reception program 329 of the server apparatus 103 (step S227).
When the image storage processing is terminated, the server apparatus 103 transmits the updated HTML file and a termination message to the information processing apparatus 101 (S228). Upon receipt of the HTML file update and the termination message, the information processing apparatus 101 displays a scan operation completed screen (step S230).
Then, the scan script converts the received termination message to a termination command, and transmits the termination command to the image input apparatus 102 (step S229). The user goes and picks up the original on which the operation has been completed, from the image input apparatus 102 (step S231).
According to the above scan processing sequence, the image data obtained by scanning the original is transferred to the server apparatus 103.
The screens in
The search-in-progress screen, denoted by reference numeral 600, shown in
The example of the image input apparatus selection screen, denoted by reference numeral 700 in
In an image input apparatus list display section 701, when the user depresses a selection button 702, the search script sends a selection result message to the server apparatus 103. The server apparatus 103 prepares the scan script 328 compatible with the selected image input apparatus 102.
When the user depresses a re-search button 703, a search request is sent to the server apparatus 103 as a message again, and the steps S205 to S212 are executed again. As a result, the contents of the image input apparatus list display section 701 are updated.
The scan setting screen, denoted by reference numeral 800 in
On the scan setting screen 800, there are displayed a web service selection drop-down combo box 801 for selecting a web service, and an image type drop-down combo box 802, a resolution drop-down combo box 803, and an image size drop-down combo box 804, which are for configuring settings of the scanning operation. Also displayed on the scan setting screen 800 are a detail button 805 and a scan button 806.
When the user depresses the scan button 806, the scan script 328 transmits the settings configured from the buttons 801 to 804 at the time to the server apparatus 103 as a setting message.
The detail button 805 is a button which is depressed by the user, for making more detailed settings. Although not shown in detail, when the detail button 805 is depressed, the scan script 328 updates the HTML file of the “scan setting” screen, whereby the user is prompted to make additional settings. When the additional settings are made, and a button, not shown, for storing the settings is depressed, the display returns to the scan setting screen 800.
The scan-in-progress screen, denoted by reference numeral 900 in
The scan processing progress indicator 902 is displayed by the scan script 328 downloaded and executed on the web browser 133 when after starting the scan operation by the image input apparatus 102, the scanning process has reached the step S224.
A cancel button 901 is used for canceling the scan processing being executed by being depressed by the user. When the cancel button 901 is depressed, the scan script transmits a cancel message to the server apparatus 103.
The server apparatus 103 transmits a scan job message including the cancellation to the information processing apparatus 101 similarly to the step S222, whereby a sequence of cancel job commands are transmitted to the image input apparatus 102 similarly to the step S223. The scan script updates the scan-in-progress screen 900 when transmitting image data in the step S226, whereby the scan processing progress indicator 902 displays the status of image data transmission to the user.
The scan operation completed screen, denoted by reference numeral 1000 in
A reduced image display area 1003 is displayed on the scan operation completed screen 1000 to notify the user of the contents of the final scanned image. When the user depresses a close button 1001, the scan operation completed screen 1000 is closed, whereby the scan script 328 downloaded and executed by the web browser 133 is terminated. When the user depresses a retry button 1002, the process returns to the step S217, wherein the scan setting screen 800 shown in
In
If the login is not successful (NO to the step S301), the web browser 133 displays an error message of “No image input apparatus is available.” (step S320), followed by terminating the present process.
If the login is successful (YES to the step S301), the web browser 133 downloads the search script 325 from the server apparatus 103 via the Internet 107, and executes the downloaded search script 325 (step S302).
When the search script 325 is executed, a search request message is sent to the server apparatus 103, and then the search script 325 receives a search protocol-based message as a response to the search request. Then, the search script 325 converts the IP header of each network packet of the search protocol-based message to thereby transmit the search protocol-based message to the local network by broadcast. The search script 325 transfers each of responses sent back from the image input apparatuses 102a and 102b and the like in response to the search protocol-based message sent thereto by broadcast, to the server apparatus 103 as a response message after converting the IP header of the network packets of the response. Further, at this time, polling processing for receiving responses to the search protocol-based message from the server apparatus 103 is being performed.
During execution of the above-mentioned search script, the web browser 133 displays the search-in-progress screen shown in
If neither session time-out occurs nor satisfaction of the termination condition occurs (NO to the step S304), the process returns to the step S302. At this time, if the processing is canceled by the user, the process proceeds to the step S320.
If session time-out occurs or the termination condition is satisfied (YES to the step S304), the update of the HTML file is performed by the server apparatus 103, and the web browser 133 displays the image input apparatus selection screen shown in
When the user selects the image input apparatus to be used from the apparatus list (step S306), the server apparatus 103 is notified of a selection result message. The step S306 corresponds to an operation of a selection result transmission unit that transmits a selection result indicative of an image input apparatus selected by the user. Next, the scan script 328 compatible with the selected image input apparatus 102 is downloaded from the server apparatus 103, and is executed by the web browser 133 (step S307).
The executed scan script displays the scan setting screen shown in
The user is prompted to depress the scan button 806 for starting the scan setting and the scan processing. When the user depresses the scan button 806 (step S309), the scan script transmits a scan setting message to the server apparatus 103. Next, the scan script transfers a scan job message transmitted from the server apparatus 103 to the local network to transmit the scan job message to the selected image input apparatus 102. The scan script transfers a response sent back from the image input apparatus 102 to the information processing apparatus 101 to the server apparatus 103. This processing sequence (step S310) is repeated.
By repeating the processing sequence, the scanned image data included in the response is transmitted to the server apparatus 103. The step S310 corresponds to an operation of a setting message-transmitting unit that transmits a setting message indicative of operation settings configured by a user.
Further, the step S310 corresponds to an operation of a first transfer unit that receives a job message for use in causing the image input apparatus to operate according to the operation settings indicated by the setting message from the server apparatus, and transfers the received job message to the image input apparatus.
Furthermore, the step S311 corresponds to an operation of a second transfer unit that receives image data input by the image input apparatus through an operation thereof according to the job message, from the image input apparatus, and transfers the received image data to the server apparatus.
The repetition of the processing sequence is terminated when the termination condition is satisfied (YES to the step S311), and the process proceeds to a step S312. Note that the termination condition in this step is that the image storage processing by the server apparatus 103 for receiving the responses is completed. If an error, such as a time-out error, occurs in the above-mentioned processing sequence, an HTML file indicative of an error message of “Scan processing has failed.” is received and displayed (step S321), followed by terminating the present process.
If the termination condition is satisfied (YES to the step S311), the scan operation completed screen shown in
According to the process in
In
Subsequently, it is determined whether or not a search request by a search request message has been received from the information processing apparatus 101 within a predetermined time period (step S402). If no search request has been received within the predetermined time period (NO to the step S402), the search program 324 updates the HTML file to one for displaying a message “No image input apparatus is available.” which implies that an environment for scan processing cannot be created, and causes the web browser 133 to display the message (step S420), followed by terminating the present process.
On the other hand, if a search request has been received within the predetermined time period (YES to the step S402), the search program 324 sends a search protocol-based message to the information processing apparatus 101, and waits and receives to analyze responses for a predetermined time period (step S403).
Then, it is determined whether or not a search result has been received within a predetermined time period (step S404). If it is determined in the step S404 that no search result has been received (NO to the step S404), the process proceeds to the step S420.
On the other hand, if it is determined in the step S404 that a search result has been received (YES to the step S404), the image input apparatus management program 326 creates an HTML file for showing the image input apparatus selection screen. The server apparatus 103 causes the web browser 133 to display the image input apparatus selection screen, and waits and receives a response for a predetermined time period (step S405). The step S405 corresponds to an operation of a list providing unit that provides a list of image input apparatuses found through a search to the information processing apparatus 101.
Then, it is determined whether or not an apparatus selection result message has been received within a predetermined time period (step S406). If it is determined in the step S406 that no apparatus selection result message has been received (NO to the step S406), the process proceeds to the step S420.
On the other hand, if an apparatus selection result message has been received (YES to the step S406), the image input management program 326 searches for a scan script 328 compatible with the selected image input apparatus 102, and transmits the scan script found through the search to the information processing apparatus 101 (step S407). The step S407 corresponds to an operation of a script providing unit that provides script information including information for use in configuring operation settings of the image input apparatus selected by the information processing apparatus from the provided list, to the information processing apparatus 101.
Next, it is determined whether or not a scan setting message has been received within a predetermined time period (step S408). If it is determined in the step S408 that no scan setting message has been received (NO to the step S408), the process proceeds to the step S420.
On the other hand, if a scan setting message has been received (YES to the step S408), the scan job creation program 327 creates a scan job according to the received scan setting message, and transmits the created scan job to the information processing apparatus 101 (step S409). The step S409 corresponds to an operation of a setting information-transmitting unit that transmits a job message to the information processing apparatus, for use in causing the image input apparatus to operate according to the operation settings configured at the information processing apparatus, in order to cause the information processing apparatus to transfer the job message to the image input apparatus.
Next, the server apparatus 103 starts the image reception program 329, and determines whether or not a scanned image has been received within a predetermined time period (step S410). If it is determined in the step S410 that no scanned image has been received (NO to the step S410), the image reception program 329 updates an HTML file indicative of a message of “scan setting error”. Then, the image reception program 329 causes the web browser 133 to display the message (step S421), followed by terminating the present process. In this step, the image reception program 329 creates the HTML file indicative of a message of “scan setting error” by making use of the scan script performing periodical transmission of the HTML file update request message to the server apparatus 103. The message of “scan setting error” includes a message to the effect that a scan execution processing environment cannot be created.
If it is determined in the step S410 that a scanned image has been received (YES to the step S410), the image reception program 329 creates a final scanned image. The image reception program 329 further creates an HTML file including reduced images which can be displayed on the image processing apparatus 101. Then, the image reception program 329 transmits the HTML file as a final image data transmission response message to the information processing apparatus 101 (step S411), followed by terminating the present process. In the step S410, as shown in
By receiving the termination message, the web browser 133 is caused to display a screen for notifying the user of the scan operation completion and the contents of the final image data, as shown in
According to the process in
In
If it is determined in the step S501 that a query about the search has been received (YES to the step S501), the image input apparatus 102 refers to the hardware information 221 stored in the external memory 220. Then, the image input apparatus 102 sends a response to the information processing apparatus 101 (step S502), and the process returns to the step S500.
On the other hand, if it is determined in the step S501 that no query about the search has been received (NO to the step S501), it is determined whether or not a scan job has been received from the information processing apparatus 101 (step S503). If it is determined in the step S503 that no scan job has been received (NO to the step S503), the process returns to the step S500.
On the other hand, if it is determined in the step S503 that a scan job has been received (YES to the step S503), the image input apparatus 102 performs the scan operation and the image data transfer to the information processing apparatus 101 (step S504).
Then, it is determined whether or not the data transfer is completed (step S505). This determination is performed by determining whether or not a termination command has been received from the information processing apparatus 101 within a predetermined time period.
If it is determined in the step S505 that a termination command has been received (YES to the step S505), the present process is terminated. On the other hand, if it is determined in the step S505 that no termination command has been received (NO to the step S505), the image input apparatus 102 transmits error information to the information processing apparatus 101 (step S506), followed by terminating the present process.
According to the process in
In
Next, a description will be given of a representative example of data transmitted and received by the scripts. Data 1101 is an example of data transmitted as a search protocol-based message from the server apparatus 103 to the search script being executed by the web browser 133 of the information processing apparatus 101 in the step S205 in
The server apparatus 103 creates the data 1101 such that it has a structure in which information for transmitting the data 1101 to the local network 104 is included in the header of packet data which contains a search command or the like as payload. To transmit the entire data from the server apparatus 103 to the information processing apparatus 101, the data is created such that the header of the data defines transmission from the network address S to the network address TI.
The search script of the information processing apparatus 101 which has received the packet data including the data 1101 takes out only contained packet data, and transfers the packet data to the local network 104 as data 1102. As shown in
Data 1103 is an example of packet data sent by the image input apparatus 102 as a response to the search command. The data 1103 has a header for transmission thereof from the network address D of the image input apparatus 102 to the network address TL of the information processing apparatus 101 on the local network 104. Further, the payload contains response information including the hardware information 221.
The search script having received the packet data of the data 1103 generates packet data containing the data 1103. The search script transfers the generated data as data 1104 from the network address TI to the network address S of the server apparatus 103. The network address TI is the address of the information processing apparatus 101 on the network 106 connected to the server apparatus 103 via the Internet 107.
By transmitting the data having the above-mentioned packet data structure to the server apparatus 103, the server apparatus 103 can acquire the network address TL of the information processing apparatus 101 on the local network 104. Similarly, the server apparatus 103 can acquire the network address D of the image input apparatus 102 having sent the response to the search command.
Data 1105 is an example of a scan job message in the step S222 in
The scan script having received the packet data of the data 1105 takes out only contained packet data, and transfers the taken-out packet data to the local network 104 as data 1106.
The server apparatus 103 has already acquired, from the data 1104, the network address TL of the information processing apparatus 101 on the local network 104 and the network address D of the image input apparatus 102 having sent the response to the search command. The data 1105 is created using these addresses, and hence the scan script can easily create data which can be transmitted to the local network 104 only by routinely taking out the contained packet data.
Data 1107 is an example of packet data transmitted by the image input apparatus 102 as image data generated as a result of the scan operation. The data 1107 has a header for transmission from the network address D of the image input apparatus 102 to the network address TL of the information processing apparatus 101 on the local network 104. Further, the data 1107 contains image data information and the like in the payload.
The scan script having received the packet data of the data 1107 generates packet data containing the data 1107. The scan script transfers the generated packet data from the network address TI to the server apparatus 103 as data 1108.
Note that the data 1107 is generated as each of divisional data items obtained by dividing the whole image data according to designation of the scan command. Further, the scan script sequentially processes the packets which correspond to the divisional data items of the data 1107 and are sent in a plurality of respective times. By transmitting each data to the server apparatus 103 with a data structure indicated by the data 1108, it is possible to process the packet data even when the capacity of the RAM 112 of the information processing apparatus 101 used by the scan script is small.
Although not described in detail here, when the control of a network port is required, switching of the network port is described in a destination part of packet data together with a network address. This enables each script to cope with control of the network port by performing packet data generation including the conversion of the destination part.
Further, the search script and the scan script in the present embodiment can execute other functions. The scan script displays the scan setting screen 800 shown in
The search script and the scan script periodically check the status of the server apparatus 103 to thereby periodically check the server apparatus 103 as to whether or not update of the display contents is necessary. The server apparatus 103 sends a notification e.g. of error handling in the server apparatus 103 to the information processing apparatus 101 as a message, whereby the search script and the scan script can operate according to the message.
In the above-described embodiment, communication between the server apparatus and the image input apparatus via the information processing apparatus may be performed by any method insofar as it can be executed by the information processing apparatus. More specifically, communication may be performed using the ActiveX control, the Java (registered trademark) script, the Java (registered trademark) applet, or any of various types of plug-ins. However, it is efficient to perform preparations to be executed in the information processing apparatus in order of priority, because the server apparatus has choices of a plurality of execution methods, and is not required to have a function of an apparatus which is most frequently used.
Further, to easily and efficiently perform bi-directional communication, it is also effective to use a bi-directional communication technique, such as Websockets http://dev.W3.Org/html5/WebSockets. When the technique e.g. of WebSockets is introduced, it is unnecessary to perform such processing as described above in which a script periodically sends an HTML file update request message to the server apparatus 103. Further, it is possible to update a message sent from the server apparatus 103 without a request from the information processing apparatus 101.
Although a protocol defined by WS-Eventing is employed as a protocol for sending a notification, this is not limitative. For example, it is also possible to realize the communication e.g. by using GENA (general event notification architecture) as a protocol for sending a notification.
Further, the search script operating on the information processing apparatus 101 can be operated using any suitable protocol insofar as the protocol is capable of properly notifying the search script of hardware information and makes it possible to obtain the same result. Therefore, the present invention is not limited to the above-described embodiment.
Further, as a method of performing a scan operation in an image input apparatus, the above-described embodiment employs a method of generating a scan job and transmitting the generated scan job to the image input apparatus. However, if it is possible to transmit general information, such as a scan job ticket, to an image input apparatus, it is also possible to perform the scan processing by employing this method.
Aspects of the present invention can also be realized by a computer of a system or apparatus (or devices such as a CPU or MPU) that reads out and executes a program recorded on a memory device to perform the functions of the above-described embodiment, and by a method, the steps of which are performed by a computer of a system or apparatus by, for example, reading out and executing a program recorded on a memory device to perform the functions of the above-described embodiment. For this purpose, the program is provided to the computer for example via a network or from a recording medium of various types serving as the memory device (e.g., computer-readable medium).
While the present invention has been described with reference to exemplary embodiments, it is to be understood that the invention is not limited to the disclosed exemplary embodiments. The scope of the following claims is to be accorded the broadest interpretation so as to encompass all such modifications and equivalent structures and functions.
Number | Date | Country | Kind |
---|---|---|---|
2011-123637 | Jun 2011 | JP | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/JP2012/064617 | 5/31/2012 | WO | 00 | 7/24/2012 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2012/165659 | 12/6/2012 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
6289371 | Kumpf et al. | Sep 2001 | B1 |
7644119 | Anooshfar | Jan 2010 | B1 |
20060053124 | Nishio et al. | Mar 2006 | A1 |
20060087684 | Dokuni | Apr 2006 | A1 |
20060209359 | Kadowaki | Sep 2006 | A1 |
20100118330 | Feijoo et al. | May 2010 | A1 |
20110157215 | Aoyagi | Jun 2011 | A1 |
Number | Date | Country |
---|---|---|
2000-036892 | Feb 2000 | JP |
2000-148649 | May 2000 | JP |
2001-274943 | Oct 2001 | JP |
2011-050014 | Mar 2011 | JP |
Number | Date | Country | |
---|---|---|---|
20120307306 A1 | Dec 2012 | US |