This application claims priority under 35 U.S.C. §119 from Japanese Patent Application No. 2008-023633 filed on Feb. 4, 2008. The entire subject matter of the application is incorporated herein by reference.
1. Technical Field
The present invention relates to an image scanner capable of transmitting scan data to external devices and computer-accessible recording medium containing program for the image scanner.
2. Prior Art
Image scanners having a function of transmitting scan data to external devices have been known. An example of such an image scanner is disclosed in Japanese Patent Provisional Publication No. 2006-311344 (hereinafter, referred to as '344 publication). An image scanner disclosed in '344 publication is configured to scan an image to generate scan data and store the generated scan data in a predetermined storage, which is connected to a network. Further, the image scanner is capable of creating an e-mail message, in which a URL (Uniform Resource Locator) of the predetermined storage is indicated, and transmitting the same to external devices. Then, a user of each of the external devices can access the predetermined storage based on the URL indicated in the e-mail message to download the scan data.
As described above, the image scanner disclosed in '344 publication is capable of transmitting location identifying information (e.g., the URL in the above example) which indicates a location, where the scan data is stored, to external devices.
According to such a configuration, there is a possibility that the location identifying information might be sneaked out by a third person when the location identifying information is transmitted from the image scanner to the external devices. Once the location identifying information is sneaked out, the scan data itself might be sneaked out easily.
The present invention, which has been made in consideration of the above problem, is advantageous in that there is provided a scanner, which includes a scanning unit configured to scan an object to generate scan data, a scan data storage configured to store the scan data generated by the scanning unit, a location information transmitting unit configured to transmit location identifying information indicative of a location where the scan data is stored to an external device, a device-location storage configured to store device-location information including device identifying information used for identifying a device with which the scan data generated by the scanning unit is transmitted and the location identifying information in a associated manner, a reception unit configured to receive combination information representing a combination of the device identifying information and the location identifying information, and a scan data transmitting unit configured to transmit the scan data stored at a location identified by the location identifying information to the device identified by the device identifying information on condition that the combination represented by the combination information received by the reception unit is stored in the device-location storage.
The external device to which the scan data is transmitted may be determined by the user per every scanning operation. Alternatively, the scan data may be transmitted to a predetermined device. Further alternatively, the device may be determined according to other methods. Examples of such a device may include a personal computer, a server, a printer, a mobile terminal (a cell phone, a PDA (personal digital assistant)) and the like. The location identifying information should be interpreted in the broadest manner and may include any information that is used for identifying the location where the scan data is stored. Examples of the location information may include a URI (Uniform Resource Identifiers), a URL, a folder name, a file name and the like.
Further, the device identifying information should be interpreted in the broadest manner and may include any information used for identifying a device. Examples of the device identifying information may be the URI, URL, IP address, MAC address and the like.
The act of “receiving a combination” needs not be limited to receive each components of the combination simultaneously. Rather, one or more components of the combination may be received at different timings.
According to another aspects of the invention, there is provided a computer-readable recording medium containing computer-executable instructions which cause a computer implemented in a scanner to execute the steps of scanning an object to generate scan data, storing the scan data generated in the step of scanning, transmitting location identifying information indicative of a location where the scan data is stored to an external device, storing device-location information including device identifying information used for identifying a device to which the scan data generated by the scanning unit is transmitted and the location identifying information in an associated manner, receiving combination information representing a combination of device identifying information and the location identifying information, and transmitting the scan data stored at a location identified by the location identifying information to the device identified by the device identifying information on condition that the combination represented by the combination information received in the step of receiving is stored in the step of storing device-location information.
Referring now to the accompanying drawings, a description will be given in detail of an image scanning system according to a preferred embodiment of the invention.
<Configuration of Image Scanner>
The image scanner 10 includes an operation unit 12, a display unit 14, a scan unit 16, an original tray 18, a control unit 20, a storage unit 22 and a network interface 32.
The operation unit 12 has a plurality of keys to be operated by a user. By operating the operation unit 12, the user can input various pieces of information and commands in the image scanner 10. The display unit 14 is configured to display various pieces of information. The scan unit 16 scans the original placed on the original tray 18 to generate scan data. The control unit 20 executes various processes in accordance with programs stored in the storage unit 22. The processes executed by the control unit 20 will be described in detail later.
The storage unit 22 includes a ROM (Read Only Memory), an EEPROM (Electronically Erasable ROM), a RAM (Random Access Memory) and the like. The storage unit 22 is provided with a URL storing area 24, a scan data storing area 26, a corresponding information storing area 28 and a non-classified storing area 30. Information stored in each of the storing areas 24, 26 and 28 will be described hereinafter.
<URL Storing Area 24>
The URL storing area 24 stores information indicating devices to which the scan data is to be transmitted.
According to the embodiment, the URL of the shared folder includes an IP address of the device (PC 40) in which the shared folder is defined. For example, a shared folder URL 62 of the set of data 70 is <192.168.0.2/common>, which includes an IP address <192.168.0.2>. It should be noted that, in the description, a scheme character string (e.g., file://) is omitted in
The user can store each of the sets of data 70, 72 in the URL storing area 24. For example, the sets of data 70, 72 are stored in the URL storing area 24 when the user operates the operation unit 12. Alternatively or optionally, the user may input each of the sets of data 70, 72 in an external device (i.e., a device other than the scanner 10), and make the external device 10 transmit the sets of data 70, 72 to the scanner 10. In such a case, the scanner 10 stores the data 70, 72, which is received from the external device, in the URL storing area 24.
The scan data storage 24 is configured to store the scan data generated by the scanning unit 16.
In this embodiment, the folder 90 has a folder name 90a, “scan0002.” The folder 90 contains three files 92, 94 and 96. Specifically, the folder 90 stores one data type file 92 and a plurality of scan data files 94 and 96. The data type file 92 has a file name 92a and document data 92d which are associated with each other. The document data 92d is data describing the data type of the scan data. Concrete contents of the document data will be described in detail later. Similar to the scan data file 82 described above, the scan data file 94 has a file name 94a and scan data 94d, which are associated with each other. The file name 94a includes a character string 94b representing date and time when the scan data file 94 was generated, and a character string 94c that represents the extension. The scan data file 96 has a file name 96a and scan data 96b, which are associated with each other. The file name 96a includes a character string 92b representing the date and time when the scan data file 96 was generated, and another character string 96c representing the extension of the file. Generation of the folders 90, files 92, 94 and 96 will be described in detail later.
The storing area 30 is configured to store information other than information which is to be stored in the storing areas 24, 26 and 28 described above. The information to be stored in the storing area 30 will be described later when necessary.
The network interface 32 is connected to a communication line 36. The scanner 10 is capable of communicating with the PC 40 via the network interface 32 and the communication line 36.
<Configuration of PC>
The PC 40 includes an operation unit 42, a display unit 44, a control unit 46, a storage 48 and a network interface 54. The operation unit 42 is provided with a keyboard and a mouse. The user can input various kinds of information/commands into the PC 40 by operating the operation unit 42. The display unit 44 is configured to display various types of information. The control unit 46 is configured to executed various processes according to programs stored in the storage 48.
The storage 48 includes a ROM, an EEPROM, a RAM and an HDD. The storage 48 is provided with a shared folder 50 and other information storing area 52. The user can generate the shared folder 50 in the PC 40 by operating the operation unit 42. The shared folder 50 is a folder which can be accessed externally by other devices. In other words, folders which are not defined as shared folders cannot be accessed by other devices. According to the embodiment, the shared folder URL 62 (192.168.0.2/common) included in the set data 70 corresponds to the shared folder 50 of the PC 40. In the storage area 52, various types of information can be stored.
The network interface 54 is connected to the communication line 36. The PC 40 is capable of communicating the scanner 10 via the network interface 54 and the communication line 36.
<Scan-To Process>
Next, processes executed by the scanner 10 will be described. That is, the processes described hereinafter are executed by the control unit 20 of the scanner 10.
If the control unit 20 determines that the original is placed on the original tray 18 (S12: YES), the control unit 20 awaits until the data type of the scan data and the transmission destination (S14). The user can designate the data type of the scan data by operating the operation unit 12. Specifically, the user can designates three items regarding the data type of the scan data.
Firstly, the user can designate a resolution of scan data. The user can designate a single scanning resolution or multiple scanning resolutions. Secondly, the user can designate color information (color, grayscale or black and white) of the scan data. The user can designate only one piece of color information, or a plurality of pieces of color information. Lastly, the user can designate a file type among PDF, TIFF, JPEG and the like. The user can designate only one file type or a plurality of file types. When each of the three items are designated by the user, the control unit 20 store the scan data in accordance with the designated items in the storing area 30.
Further, the user can designate at least one set data from among a plurality of pieces of set data 70, 72, . . . stored in the device URL storing area 24 (see
The user is capable of start scanning by operating the operation unit 12. In Si 6, the control unit 20 monitors the operation of the operation unit 12 to judge whether the user input a command to start scanning. If the user operates the operation unit 12 to start scanning (S16: YES), the control unit 20 judges whether the encryption flag 66 included in the set data designated in S14 is set to “YES” (S18). In the example shown in
In S20, the control unit 20 generates a password and displays the same. For example, the control unit 20 may select one number among a plurality of numbers and generate a password including the thus selected number. Alternatively, the control unit 20 may increment the number which was generated in S20 as a password to generate a new password. The control unit 20 displays the generated password on the display unit 14. Thus, the user can recognize the newly generated password. It should be noted that the password may be notified to the user in a different way. For example, the newly generated password may be notified by speech output, printing matter or may be transmitted to another device (e.g., a cell phone of the user). The password newly generated in S20 is stored in the storing area 30 by the control unit 20.
Next, the control unit 20 creates a folder in the scan data storing area 26 and a name of the folder (S22). According to the embodiment, the folder name includes a character string “scan” followed by a four-digit number. In S22, the control unit 20 adds 1 (one) to the four-digit number of the folder name previously generated in S22. For example, if the previously generated folder name is “scan0002,” which is the name of the folder 90a in
In S24, the control unit 20 creates a file in the folder generated in S22 and a name of the file. The file name is used as the file name of the scan data. Specifically, the control unit 20 generates the file name by including a character string representing a current date and time and a character string representing the extension (i.e., “.bin”) as files 82a, 94a and 96a shown in
Next, the control unit 20 judges whether the original is placed on the original tray 18 (S26). If the original is placed on the original tray 18 (S26: YES), the control unit 20 drives the scanning unit 16 to scan a sheet of the original (S28). The control unit 20 determines a method of scanning based on the data type designated in S14. For example, if the data type designated in S14 represents “150 dpi” in resolution, “color” in color information and “PDF” in file format, the control unit 20 executes the color scanning at the resolution of 150 dpi. Further, the control unit 20 generates the scan data file in the PDF file format in S32. It should be noted that, the extension “.bin” is used as the extension of the file name generated in S24. If multiple resolutions and/or multiple pieces of color information and/or multiple files are designated in S114, the control unit 20 generates the scan data which is used as base data for generating scan data of the combinations of all the designated items. That is, the control unit 20 generates scan data which can be converted into any one of the combinations. For example, if the user designates multiple resolutions, the number of which is L, multiple pieces of color information, the number of which is M and multiple file types, the number of which is N, the control unit 20 generates basic scan data which can be used to generate all the L×M×N combinations of scan data. If multiple pieces of color information are designated, the control unit 20 generates the scan data according to the highest number of colors. If the user designates the “color,” “grayscale” and “black and white,” the control unit 20 executes the color scanning. If the user designates multiple file types, the control unit 20 generates a scan data file having a file type which can be converted to any one of the designated file types.
The user can insert a separator sheet among a plurality of sheets of the original subjected to scanning. The separator sheet can be of any type if it can be distinguished from the sheet to be scanned. According to the embodiment, a black sheet of which the entire surface is black is used as the separator sheet. In S30, the control unit 20 judges whether a sheet subjected to scanning (hereinafter, referred to a target sheet) is the separator sheet or not based on the scan data obtained in S28. If the target sheet is not the separator sheet (S30: NO), the control unit 20 stores the scan data obtained in S28 in the scan data storing area 26 (S32). The control unit 20 makes the scan data with the file name created in S24. After execution of S32, the control unit 20 returns to S26, and judges whether there is a next sheet to be scanned. If there is next sheet to be scanned (S26: YES), the control unit 20 scans the next sheet (S28). If the sheet is not the separator sheet (S30: NO), the control unit 20 stores the scan data obtained in S28 in the scan data storing area 26 (S32). At this time, the scan data is stored subsequent to the scan data which was stored in previous execution of S32. Thus, according to the embodiment, a single scan data file can include scan data of a plurality of sheets of the original.
In S30, if the control unit 20 judges that the target sheet is the separator sheet (S30: YES), the control unit 20 close the scan data file generated in S24 (S34). In this case, the control unit 20 returns to S24 and creates an new file under the folder created in S22. That is, if the process executes S24 after execution of S34, a plurality of scan data files are generated under a single folder. For example, in the example shown in
When all the sheets of the original placed on the original tray 18 have been scanned, the judgment of the control unit 20 at S26 is “NO.” In such a case, the control unit 20 closes the scan data file created in S24 (S36). Then, the process proceeds to S50 (see
In S52, the control unit 20 judges whether multiple scan data files are stored in the folder generated in S22 of
As described above, in S14 of
The control unit 20 generates a thumbnail image based on the scan data for the first page included in the scan data file generated in S24 of
For example, when the folder generated in S22 of
In S58, the control unit 20 generates the data type file. The data type file is generated under the folder which is generated in S22 of
In S60, the control unit 20 transmits the HTML file generated in S54 or S56, which is transmitted to the transmission destination designated in S14 of
Next, the control unit 20 updates the stored contents of the corresponding information storing area 28 (S62). Specifically, the control unit stores one piece of the corresponding information in the corresponding information storing area 28. That is, the control unit 20 stores corresponding information contains the ID 100, the URL 102 including the folder name generated in S22 of
Next, the process when the judgment in S50 of
In S84, the control unit 20 generates the HTML file containing the URL and thumbnail image. In the flowchart shown in
In S86, the control unit 20 generates a zip file based on the scan data file that was generated in S24 of
Next, the control unit 20 generates the HTML file including the URL and the thumbnail image (S88). In the flowchart shown in
If, for example, the folder generated in S22 of
In S102, the control unit 20 generates the HTML file which contains the URL but not the thumbnail image. An example of the URL 160 generated in S102 is indicated in the flowchart shown in
In S106, the control unit 20 generates ZIP files based on the multiple scan data files generated in S24 of
Next, the control unit 20 generates the HTML file containing the URL but not the thumbnail image (S108). An example of the URL 170 generated in S108 is indicated in a flowchart shown in
<Scan Data Providing Process>
Next, the Scan Data Providing Process of the scanner 10 will be described.
The control unit 20 judges whether the URL included in the access request is stored in the corresponding information storing area 28 (S132). If the URL included in the access request is stored in the corresponding information storing area 28 (S132: YES), the process proceeds to S134. In the following description, the information stored in the corresponding information storing area 28 and meets the URL included in the access request will be referred to as identified information. In S134, the control unit 20 judges whether the scheme character string (i.e., http or https) included in the URL 102 of the identified information (see
In S140, the control unit 20 judges whether the communication protocol of the access request is HTTPS. If the communication protocol of the access request is HTTP (S140: NO), the process proceeds to S160. If the communication protocol of the access request is HTTPS (S140: YES), the process proceeds to S142, where the control unit 20 judges whether the identified information includes the password 106 (see
In S160, the control unit 20 judges whether the URL included in the access request is the URL of a folder or the URL of a file. For example, if the URL 120 which has been generated in S54 of
In S162, the control unit 20 identifies a group of files which exist as files under the URL (of the folder) included in the access request. For example, if the URL included in the access request is the URL 90 of the folder 90 shown in
The flowchart of
The control unit 20 generates the thumbnail image for each of the URL's generated as above. The thumbnail images are generated as is done in S54 of
In S164, the control unit 20 judges whether the URL included in the access request is the URL of the ZIP file. This judgment is made by examining whether a character string “.zip” is included in the URL included in the access request. If the URL included in the access request is of the ZIP file (S164: YES), the control unit 20 transmits the ZIP file (i.e., the scan data) corresponding to the URL included in the access request and a command instructing to store the ZIP file in the shared folder 50 to the PC 40. It should be noted that the URL of the shared folder 50 designated by the command is stored in the transmission destination device URL storing area 24 in association with the IP address that is included in the access request. Thus, the control unit 20 can identify the URL of the shared folder 50.
When S166 is executed, the ZIP files are stored in the shared folder 50 of the PC 40. The user can select one of the ZIP files by operating the operation unit 42 of the PC 40. When the ZIP file is selected, a password input screen is displayed so that the user can input the password for opening the ZIP file. Then, by inputting the password, the user can open the ZIP file as selected, thereby the user can obtain the scan data.
For example, when the user selects the URL generated in S54 of
In S170, the control unit 20 identifies the data type based on the URL included in the access request. For example, if the URL included in the access request is the URL 180 which is indicated in S162 (i.e., a character string “c150.pdf” is included), the control unit identifies the data type as “color,” “resolution of 150 dpi” and “PDF file.” In such a case, the control unit 20 converts the scan data file 82 (see
The control unit 20 transmits the file corresponding to the URL included in the access request (i.e., the file generated in S170) and a command instructing to store the file in the shared folder 50 to the PC 40 (S172). Then, the file is stored in the shared folder 50 of the PC 40. The user can open the file to obtain the scan data. If multiple transmission destinations are designated in S14 of
<Cancelling Process>
Next, the cancelling process of the scanner 10 will be described.
The user can select one piece of corresponding information from the list displayed on the display unit 14 by operating the operation unit 12. The control unit 20 monitors selection of the corresponding information (S194). When a piece of corresponding information is selected (S194: YES), the control unit 20 judges whether the selected corresponding information includes a password (S196). If the password is not included in the selected corresponding information (S196: NO), the process skips S190-S202. If the password is included in the selected corresponding information (S196: YES), the control unit 20 displays the password input screen on the display unit 14 (S198). Then, the user can input the password by operating the operation unit 12. The control unit 20 monitors input of the password (S200). If the user inputs the password (S200: YES), the control unit 20 judges whether the password of the corresponding information selected in S194 and the password input by the user in S200 coincide with each other (S202). If the passwords do not coincide (S202: NO), the control unit 20 returns to S198 to display the password input screen on the display unit 14 again. If both the passwords coincide with each other (S202: YES), the control unit proceeds to S204.
In S204, the control unit 20 deletes the HTML file including the URL 102 (see
As above, the scanner system 2 according to the embodiment of the invention has been described in detail. The scanner 10 transmits the URL's storing the scan data (e.g., 120c of
There is a possibility that a third person (unauthorized person) secretly looks at the URL. However, according to the embodiment, even if the third person attempts to access the URL using a device other than the PC 40, the scanner 10 does not transmit the scan data since the combination of the URL and the IP address of the device used by the third person has not been stored in the corresponding information storing area 28. Therefore, according to the above-configured embodiment, the possibility that the third person steals the scan data can be well suppressed.
Further, according to the embodiment, when the Scan-To process is executed, a password can be generated. The third person cannot obtain such a password. Therefore, the possibility that the scan data is stolen by the third person can be well suppressed.
The scanner 10 is capable of generating the ZIP file using the password as the encryption key when the HTTP is used as the communication protocol. When the HTTP is used as the communication protocol, the thus generated ZIP file is transmitted. With this configuration, the possibility that the scan data is stolen by the third person can be effectively suppressed. When the HTTPS is used, however, the scanner 10 does not create the ZIP file. It is because, when the HTTPS is used, all the data for communication is encrypted. By omitting the step of generating the ZIP file, the entire process can be executed efficiently.
According the above-described embodiment, the scanner transmits location information indicative of a location of the scan data (location information Y) is transmitted to a device which is identified by device information (location information X). As a result, the user of the device can recognize the location information Y of the scan data. The scanner stores the device information X and the location information Y in an associated manner. The user of a device, which is a transmission destination of the location information Y, can access the location information Y making use of the device. In such a case, a combination of the device information X and the location information Y is transmitted from the device, and received by the scanner. As mentioned above, the combination of the information X and information Y is stored in the device-location storage. Therefore, it is confirmed that the scanner can transmit the scan data which corresponds to the location information Y to the device which corresponds to the device information X.
If a third person steals the location information Y and accesses the location Y from a device (device information thereof is Z) which is different from the device of which the location information is X, the scanner receives a combination of the location information Y and the device information Z. Such a combination, however, is not stored in the device-location storage. Therefore, even if the third person tries to obtain the scan data, it is securely prevented.
There is a possibility that the third person steals the location information Y and tries to access the scan data using the device corresponding to the device information X. To prevent such a problem, the scanner may be provided with an authentication information output unit. It should be noted that the term “output” should be interpreted in the broadest manner and may include “display,” “notify by sound,” “print,” “transmit to another device,” and the like.
The scanner can transmit the scan data using an encryption communication protocol or non-encryption communication protocol.
The term “encryption communication protocol” should be interpreted in the broadest manner, and may include any protocol which employs the encryption communication. Examples of the encryption communication protocol may include HTTPS, FTPS (File Transfer Protocol over SSL/TLS), SFTP (Secure File Transfer Protocol) ant the like. When the encryption communication protocol is used for transmitting the scan data, it may be unnecessary to encrypt the scan data.
The term “non-encryption communication protocol” should also be interpreted in the broadest manner, and may include any protocol which does not use encryption communication. Examples of the non-encryption protocol may include HTTP, FTP (File Transfer Protocol), CIFS (Common Internet File System), SMB (Sever Message Block) and the like.
As described, various types of scan data could be generated. It should be noted that the term “data type” of the scan data should be interpreted in the broadest manner, and may include any item that characterize the data type of the scan data. Example of the items of data type may include the resolution, color information (i.e., color, grayscale, monochromatic, specified number of colors, etc.), the file format (i.e., PDF, TIFF, JPEG, etc.) and combinations thereof.
When multiple data types are designated, multiple pieces of scan data are generated. In such a case, the scanning unit may generate the multiple pieces of scan data based on the multiple data types, respectively. Alternatively, the scanning unit may generate basic scan data which could be converted to generate the multiple pieces of the scan data respectively corresponding to the multiple data types.
For example, when two data types (e.g., color data, and black and white data) are required, the scanning unit may generate only the color scan data since the black-and-white scan data can be obtained by converting the color scan data.
It should be noted that the foregoing is an only an exemplary embodiment and the invention needs not be limited to the above-described configuration, but can be modified in various ways without departing from the scope of the invention. Examples of such modifications will be described below.
(1) The folders and files under the folders stored in the scan data storing area 26 may be deleted when the scan data is transmitted. When multiple transmission destinations are designated in S14 of
(2) The folders and files under the folders stored in the scan data storing area 26 may be deleted when a predetermined time period has elapsed after generation thereof.
(3) The folders and files under the folders stored in the scan data storing area 26 may be deleted in a chronological order. In such a case, deletion of the data may be executed when the amount of scan data exceeds a predetermined amount.
(4) The folders and files under the folders stored in the scan data storing area 26 may be deleted such that the data transmitted earlier is deleted earlier.
(5) Generation of the URL and thumbnail image for each file, which is executed in S162 of
It should be noted that technical elements described/illustrated in the specification and drawings may have technical usefulness by themselves or various combinations thereof, which are not confined to the combinations of the claims at the time of application. Further, the technique described/illustrated in the specification/drawings may achieve multiple objects, and to achieve at least one of the objects in itself embraces the technical usefulness.
Number | Date | Country | Kind |
---|---|---|---|
2008023633 | Feb 2008 | JP | national |