# Patent

## Title
Data communication apparatus, control method therefor, and storage medium storing control program therefor

## Abstract

A data communication apparatus that is capable of improving operability when inputting authentication information. An authentication unit accepts authentication information inputted when a user logs in to the data communication apparatus and authenticates the user based on the accepted authentication information. A designation unit designates a file transmission destination that is inputted by the authenticated user. A transmission unit transmits a file to the transmission destination inputted. A registration unit registers the transmission destination of the file. A control unit prohibits registration of the authentication information at the time of registration of the transmission destination of the file when the accepted authentication information is used for file transmission, and permits registration of the authentication information at the time of registration of the transmission destination of the file when the inputted authentication information is not used for file transmission.

## Background
BACKGROUND OF THE INVENTION
1. Field of the Invention
The present invention relates to a data communication apparatus, a control method therefor, and a storage medium storing control program therefor.
2. Description of the Related Art
In recent years, multifunction printers (also known as multifunctional peripheral devices) that have a plurality of functions, such as a facsimile function, a network scan function, and a print function, in addition to a copy function, are used increasingly and widely. Usually, such a multifunction printer is provided with an operation panel having a touch screen function and an operation unit having hard keys. A user calls a desired function from a function list, and operates the apparatus.
User authentication may be required for retaining security and charging for services (and consumable goods) when a user uses the apparatus. In this case, the device performs a user authentication based on input information from a touch panel or a card, and the apparatus becomes available when the authentication is successful.
When a user uses a network scan function of which the destination apparatus is a file server, the user designates an IP address or a host name of the file server, a destination folder, a user name and a password of the login user, as transmission destination information.
The user sets 300*300 dpi as a reading resolution, A4 as a reading size, and PDF as a file format, for example, as setting items for reading. A color mode for reading an original, a transmitting document name, etc. may be set.
The multifunction printer reads an original according to the settings and transmits the read image to the designated destination using the designated communication method.
Since there are many setting items that can be designated at the time of transmission, it is useful that setting operations by a user are simplified.
When a file is transmitted to the file server, the authentication information for logging in to the file server tends to relate to the user who is operating the apparatus. Accordingly, there is a known technique for using the authentication information that was used when a user uses an apparatus as the authentication information for logging in to the file server without making a user input it again.
The transmitting processes that a user (or a plurality of users) performs most often are finite, and there is a known technique that saves transmission destinations, settings for reading, etc., which were once inputted, as settings that are frequently used. The user can call a setting when depressing a predetermined button to which the saved content is assigned, and this makes a user's transmission-setting operation easy.
If the user wants to save the transmission setting to the file server, the user can save the transmission setting as a usual setting to the apparatus by operating a menu displayed on the operation panel after the transmission setting is completed (for example as a “favorite” setting).
However, the settings saved in the apparatus are not always valid when the settings will be called. For example, when the password expiration date is set, the password to the file server may be invalid when the settings will be called. In such a case, if the user calls and transmits the setting saved in the apparatus, a transmission error will arise.
Thus, an authentication information setting apparatus that can access a server using authentication information including an ID and a password, and that can redefine the authentication information when the expiration date of the authentication information saved in the apparatus expires is proposed (for example, see Japanese Laid-Open Patent Publication (Kokai) No. 2001-167051 (JP 2001-167051A)).
However, there is not only a type of authentication information like a password that becomes invalid on the expiration date, but also another type that is valid only when a user is logged in an apparatus. It is not only meaningless to save such authentication information to an apparatus, but also it is not preferred from the point of view of security.
On the other hand, it is preferable that a user is not required to perform a setting operation again when a usual setting saved in an apparatus is called, in order to simplify a user's setting operation. For example, it is not preferable from a view point of operability that a user is required to input authentication information that is not saved as a usual setting whenever the setting is called.
SUMMARY OF THE INVENTION
The present invention provides a data communication apparatus, a control method therefor, and a storage medium storing a control program therefor, which may be capable of improving operability when inputting authentication information used to transmit data to another apparatus.
Accordingly, a first aspect of the present invention provides a data communication apparatus comprising an authentication unit configured to accept authentication information that is inputted when a user logs in to the data communication apparatus and to authenticate the user based on the accepted authentication information, a designation unit configured to designate a transmission destination of a file that is inputted by the authenticated user, a transmission unit configured to transmit a file to the transmission destination inputted by the user, a registration unit configured to register the transmission destination of the file, a control unit configured to prohibit registration of the authentication information at the time of registration of the transmission destination of the file when the authentication information that is inputted when the user logs in to the data communication apparatus is used as authentication information required at the time of file transmission, and to permit registration of the authentication information at the time of registration of the transmission destination of the file when the inputted authentication information is not used as authentication information required at the time of file transmission.
Accordingly, a second aspect of the present invention provides a control method for a data communication apparatus, comprising an authentication step of accepting authentication information that is inputted when a user logs in to the data communication apparatus and of authenticating the user based on the accepted authentication information, a designation step of designating a transmission destination of a file that is inputted by the authenticated user, a transmission step of transmitting a file to the transmission destination inputted by the user, a registration step of registering the transmission destination of the file, a prohibition step of prohibiting registration of the authentication information at the time of registration of the transmission destination of the file when the authentication information that is inputted when the user logs in to the data communication apparatus is used as authentication information required at the time of file transmission, and a permission step of permitting registration of the authentication information at the time of registration of the transmission destination of the file when the inputted authentication information is not used as authentication information required at the time of file transmission.
Accordingly, a third aspect of the present invention provides a non-transitory computer-readable storage medium storing a control program causing a computer to execute the control method of the second aspect.
According to the present invention, the data communication apparatus, the control method therefor, and the storage medium storing a control program therefor which are capable of improving operability when inputting authentication information used to transmit data to another apparatus can be provided.
Further features of the present invention will become apparent from the following description of exemplary embodiments with reference to the attached drawings.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a block diagram schematically showing a configuration of an image processing apparatus according to a first embodiment of the present invention.
FIG. 2 is a block diagram schematically showing a software configuration of the image processing apparatus shown in FIG. 1.
FIG. 3 is a view showing an image processing system to which the embodiment is applied.
FIG. 4 is a plan view showing an operation unit shown in FIG. 1.
FIG. 5 is a view showing an example of a first scan operation screen displayed on a touch panel of the operation unit shown in FIG. 4.
FIG. 6 is a view showing an example of a second scan operation screen displayed on the touch panel of the operation unit shown in FIG. 4.
FIG. 7 is a view showing an example of a usual setting screen displayed on the touch panel of the operation unit shown in FIG. 4.
FIG. 8 is a view showing an example of usual setting information that is stored in a history on a memory shown in FIG. 1.
FIG. 9 is a flowchart showing a registration process executed by a CPU shown in FIG. 1.
FIG. 10A is a view showing an example of a registration-with/without-password selection screen displayed on the touch panel of the operation unit shown in FIG. 4.
FIG. 10B is a view showing an example of a registration-without-password confirmation screen displayed on the touch panel of the operation unit shown in FIG. 4.
FIG. 11 is a flowchart showing a reading process executed by the CPU shown in FIG. 1.
FIG. 12 is a view showing an example of a destination input screen displayed on the touch panel of the operation unit in FIG. 4.
FIG. 13 is a flowchart showing a registration process according to a second embodiment.
FIG. 14 is a flowchart showing a reading process according to a third embodiment.



DESCRIPTION OF THE EMBODIMENTS
Hereafter, embodiments according to the present invention will be described in detail, purely by way of example, and with reference to the drawings.
It should be noted that the terms “data communication apparatus” and “image processing apparatus” are interchangeably used in the following description and claims.
FIG. 1 is a block diagram schematically showing a configuration of an image processing apparatus according to a first embodiment of the present invention.
As shown in FIG. 1, the image processing apparatus 100 is provided with an image forming unit 101 that forms an image on a recording sheet with an electrophotography system, and a control unit 102 that controls the image processing apparatus 100. The image processing apparatus 100 is provided with a finisher 103 that performs post-processes such as a staple process, a scanner unit 104 that reads an original image, and an operation unit 105 through which various kinds of data and commands are inputted.
The image processing apparatus 100 is further provided with a network interface 106 that transmits and receives image data through a network, a facsimile interface 107 that transmits and receives facsimile data, and a card reader 110 that authenticates a user who uses the apparatus.
Then, the image forming unit 101, the finisher 103, the scanner unit 104, the operation unit 105, the network interface 106, and the facsimile interface 107 are connected to the control unit 102 each with a dedicated interface.
The main part of the control unit 102 consists of a CPU(central processing unit) 108 and a memory (storage means) 109.
The memory 109 stores control programs that enable methods corresponding to methods shown in the flowcharts shown in FIG. 9, FIG. 11, FIG. 13, and FIG. 14, control programs for displaying setting dialog boxes shown in FIGS. 4 through 7, FIG.10, and FIG. 12, contents that describe operation screen information, etc.
FIG. 2 is a block diagram schematically showing a software configuration of the image processing apparatus 100 shown in FIG. 1.
A UI (user interface) control module 201 shown in FIG. 2 displays an operation screen on a touch panel of the operation unit 105, and controls a user interface through which user's operations are received. A scanning control module 202 controls the scanner unit 104, and controls a process for reading an original image.
A transmission control module 203 controls a process for transmitting the image data read by the scanning control module 202 to a destination designated by a user using the network interface 106. A facsimile control module 204 controls transmission and reception of a facsimile using the facsimile interface 107.
A job management module 205 manages a user's transmission request that is accepted by the UI control module 201 and its running state. An image management module 206 manages management information about the image read by the scanner unit 104. A transmission setting management module 207 manages the transmission setting that is saved in the apparatus or is read from the apparatus according to a user's instruction.
FIG. 3 is a view showing an image processing system 300 to which the embodiment is applied.
The above-mentioned image processing apparatus 100, a server computer 302, and an authentication server 303 are shown in FIG. 3.
The server computer 302 corresponds to another apparatus that transmits image data obtained by scanning an original. A display unit 321 and an input device 322 are connected to the server computer 302.
The authentication server 303 authenticates a user when the user uses the image processing apparatus 100 and the server computer 302. These are connected to the network via respective network interfaces.
FIG. 4 is a plan view showing the operation unit 105 shown in FIG. 1.
In the example shown in FIG. 4, application selection buttons that call operation screens for desired functions are displayed on the touch panel 601 of the operation unit 105. In this example, a “COPY” button 606, a “SCAN” button 607, a “FAX” button 608, and a “BOX” button 609 that call operation screens for a copy function, a network scan function, a facsimile function, and a box function, respectively, are displayed.
A ten-key pad 602, a start key 603 that directs to start a job, a “SETUP/REGISTRATION” screen call button 604 that calls a device setup screen, and a “HISTORY/STATUS” button 605 that calls a job history/status screen are arranged on the operation unit 105.
FIG. 5 is a view showing an example of a first scan operation screen displayed on the touch panel 601 of the operation unit 105 shown in FIG. 4.
The first scan operation screen in FIG. 5 is displayed on the touch panel 601 of the operation unit 105 when a user depresses the “scan” button 607 shown in FIG. 4. In this view, a destination-input-button group 701 that allows the designation of a transmission destination is displayed.
A destination can be inputted by any methods of an “address book”, a “one-touch”, and a “new destination”. A transmission-setting-button group 702 is used when setting up transmission settings, such as a reading resolution and a reading color mode. An application setting button 703 is used when calling various detailed settings about reading and transmitting.
A “usual setting” button 704 that calls saved transmission settings is also displayed.
The first scan operation screen enables an e-mail transmission and a file transmission. A specified setting enables a facsimile transmission.
FIG. 6 is a view showing an example of a second scan operation screen displayed on the touch panel 601 of the operation unit 105 shown in FIG. 4.
The second scanning operation screen in FIG. 6 is displayed when a user performs a transmission setting, for example, when a user designates a transmission destination.
In the example shown in FIG. 6, the transmission destination “Host.myFolder” designated by the user is displayed in a transmission destination list 711. A detailed information button 712 for displaying details of a transmission destination is also displayed. A set value is reflected to the transmission setting button and a caption of a file type button is PDF (OCR) (Portable Document Format (Adobe Acrobat) (Optical Character Recognition)). The application setting button 703 is highlighted in order to show that application settings, such as a transmitting file name, are effective.
FIG. 7 is a view showing an example of the usual setting screen displayed on the touch panel 601 of the operation unit 105 shown in FIG. 4.
The usual setting screen is displayed on the touch panel 601 of the operation unit 105 when a user depresses the “usual setting” button 704 in FIG. 4.
As shown in FIG. 7, a “usual setting” button group 801 that is registered by the user, a registration button 802 that newly registers the current transmission setting, and an edit button 803 that edits the existing buttons are displayed on the usual setting screen. It should be noted that the “usual setting” button group 801 of the example in FIG. 7 includes buttons for “SERVER 1/SHARE 1”, “SERVER 1/REPORT”, “FAX/HEAD OFFICE WEEKLY REPORT”, and “E-MAIL/BROADCAST”.
When a user depresses a desired button included in the “usual setting” button group 801, the setting information that is related to the button is called and is reflected to the transmission setting. When the user depresses the registration button 802, the transmission setting can be registered.
FIG. 8 is a view showing an example of usual setting information (transmission setting information) that is stored in a history on the memory 109 shown in FIG. 1.
The usual setting information comprises destination information 811, reading setting information 812, file format information 813, and additional information 814.
The destination information 811 corresponds to a transmission protocol. In this example, the protocol is a “FILE” and the destination information 811 is required for the file transmission. The destination information 811 contains a password as authentication information that is used for authentication in another apparatus.
The reading setting information 812 shows size and resolution. In FIG. 8, the reading size is “AUTO” and the reading resolution is 300*300 dpi (dots per inch).
The file format information 813 shows a format of a file. FIG. 8 shows the format that uses high compression PDF and OCR. The additional information 814 is information other than the above-mentioned information, and is a transmitting file name in FIG. 8.
FIG. 9 is a flowchart showing a registration process executed by the CPU 108 shown in FIG. 1.
FIG. 9 shows the process for registering the current transmission setting as a usual setting, and the program therefor is stored in the memory 109.
The UI control module 201 accepts a registration request by a user (step S401). Specifically, the user performs a desired transmission setting by operating buttons in the destination-input-button group 701 and transmission-setting-button group 702 on the scan operation screen, and opens the usual setting screen by depressing the “usual setting” button 704, and then, the user can request to save the setting by depressing the registration button 802.
Next, the UI control module 201 confirms the set value of the transmission setting corresponding to the registration request (step S402). Then, the UI control module 201 determines whether the transmission destination included in the transmission setting in the confirmed set value is a new destination of a file transmission (step S403).
Since the password is not included in the transmission setting when the transmission destination is not a new destination (NO in the step S403), the UI control module 201 leaves the process to the transmission setting management module 207, registers the set value as-is (step S409), and finishes the process.
The UI control module 201 specifically passes the registration request of the transmission setting accepted in the step S401 to the transmission setting management module 207. Then, the transmission setting management module 207 saves the set value in a predetermined area of the memory 109.
On the other hand, when the transmission destination is a new destination (YES in the step S403), the password included in the transmission setting may not be permanent. Then, the UI control module 201 acquires attribute information about the password included in the transmission setting accepted in the step S401 (step S404), and determines whether the password accepted when the user logged in to the image processing apparatus 100 is used as a password that is required at the time of file transmission (step S405).
Namely, it is determined whether a login information connection in which the password that is required at the time of file transmission is identical to the password used for the authentication at the time of login to the image processing apparatus 100 is set. The memory 109 stores the password that was used for the authentication when the user logged in to the image processing apparatus 100.
When it is set that the image processing apparatus 100 accepts a password from a user when transmitting a file, the determination result in the step S405 becomes YES.
When the determination result in the step S405 is NO, the registration-with/without-password selection screen is displayed (step S406) in order to make the user determine whether to register this as the usual setting. That is, the authentication information required at the time of file transmission can be registered in addition to the transmission destination of the file. The details of the registration-with/without-password selection screen will be described later.
Next, it is determined whether the user selected the registration with a password (step S407). When the registration of the password is selected (YES in the step S407), the UI control module 201 registers the password, sets a password deletion flag that is registered as the usual setting to OFF (step S408), and proceeds with the process to the step S409.
On the other hand, when the registration of the password is not selected (NO in the step S407), the UI control module 201 deletes the password included in the transmission setting accepted in the step S401 (step S411).
Then, the UI control module 201 sets the password deletion flag that is registered as the usual setting to ON (step S412), and proceeds with the process to the step S409.
When the determination result in the step S405 is YES, it is not preferable to register the password as the usual setting, because the password is valid only when the user is logging in to the image processing apparatus 100 and is not permanent.
Then, the UI control module 201 displays the registration-without-password confirmation screen (step S410) in order to prohibit the registration of the authentication information with the transmission destination of the file, and proceeds with the process to the step S411. The details of the registration-without-password confirmation screen will be described later.
Thus, when the password is included in the transmission setting registered as the usual setting, the registration process can be performed appropriately depending on the setting of whether the password accepted at the time of login is used as a password when transmitting a file.
FIG. 10A shows an example of the registration-with/without-password selection screen, and FIG. 10B shows an example of the registration-without-password confirmation screen.
As shown in FIG. 10A, a message of “PASSWORD INFORMATION IS INCLUDED. DO YOU PERFORM REGISTRATION WITHOUT PASSWORD INFORMATION?” is displayed, and buttons of “YES” and “NO” are also displayed to make a user determine whether to register the password as the usual setting.
As shown in FIG. 10B, a massage of “PASSWORD INFORMATION IS INCLUDED. YOU PERFORM REGISTRATION WITHOUT PASSWORD INFORMATION.” is displayed, and a button of “yes” is also displayed to make a user confirm the deletion of password. It should be noted that the registration-with/without-password selection screen and the registration-without-password confirmation screen may be displayed as pop-up screens.
FIG. 11 is a flowchart showing a reading process executed by the CPU 108 shown in FIG. 1.
FIG. 11 shows the process for reading a set value registered as the usual setting, and the program therefor is stored in the memory 109.
The UI control module 201 accepts a reading request by a user (step S501). Specifically, the user can request reading by depressing a desired button in the “usual setting” button group 801 that is displayed on the usual setting screen.
Next, the UI control module 201 passes the accepted reading request to the transmission setting management module 207. The transmission setting management module 207 reads the transmission setting related to the accepted usual setting from the predetermined area of the memory 109 (step S502).
Then, the UI control module 201 determines whether the transmission destination included in the read transmission setting is a new destination of a file transmission (step S503).
When the transmission destination is not a new destination (NO in the step S503), the transmission destination may be read as-is because it does not include a password. Then, the UI control module 201 sets the transmission setting read in the step S502 as the current transmission setting (step S510), and finishes the process.
On the other hand, when the transmission destination is a new destination (YES in the step S503), the UI control module 201 checks the password deletion flag included in the set value read in the step S502, and determines whether the flag is ON (step S504).
When the flag is not ON (NO in the step S504), the password was not deleted.
Then, the UI control module 201 sets the user name and password that are included in the set value read in the step S502 as the user name and password of the transmission destination (step S509), and proceeds with the process to the step S510.
On the other hand, when the flag is ON (YES in the step S504), the password was deleted. Then, the UI control module 201 refers to the settings of the apparatus and determines whether an authentication connection is set (step S505).
When the authentication connection is set (YES in the step S505), the authentication information related to the user who is specified using the user authentication function can be used as the authentication information at the time of transmission.
Then, the UI control module 201 determines whether the authentication connection setting is a login information connection (step S506). When the authentication connection setting is a login information connection (YES in the step S506), the authentication information used when the user used the apparatus earlier can be used at the time of transmission.
Then, the UI control module 201 refers to the login information that is the authentication information used when the user used the apparatus using the card reader 110 (step S507), acquires the user name and password (step S508), and proceeds with the process to the step S509.
On the other hand, when the authentication connection setting is not the login information connection (NO in the step S506), the authentication information related to the user uses information that the user registered to a keyring. A keyring is a bundle of encryption keys that are used in message authentication code, for example.
Then, the UI control module 201 refers to the authentication information related to the user who is specified by the user authentication function by referring to the keyring (step S511), acquires a user name and a password (step S512), and proceeds with the process to the step S509. That is, when the authentication information is not registered at the time of transmitting data to another apparatus again, the UI control module 201 reflects the authentication information registered into the keyring related to the user who operates the image processing apparatus 100 to the transmission setting information.
When the authentication connection is not set (NO in the step S505), the UI control module 201 displays a destination input screen in order to prompt a user to input (step S513).
The destination input screen will be described below.
Next, the UI control module 201 acquires the password that the user inputted into a password input field 1004 (step S514), and proceeds with the process to the step S509.
Although the above description deals with the password included in a file destination, the process shown in FIG. 11 is applicable to other passwords included in the transmission setting in addition to the password included in the file destination. For example, a format in which a file-operating permission acquired from a file-operating-permission-management server is added to the file may be designated as the transmission file format. At the time, the transmission setting that is registered or is read may include a password for accessing the file-operating-permission-management server.
In this case, the UI control module 201 determines whether the transmission setting includes a password for accessing the file-operating-permission-management server in the step S403. In the step S503, the UI control module 201 determines whether the file format included in the read transmission setting handles the file operating permission.
In the process in FIG. 9, the UI control module 201 determines whether the authentication information required by another apparatus at the time of a file transmission is permanent information that can be used when transmitting data to another apparatus again (the step S405). Then, when the authentication information is permanent, it is registered (the step S408). Next, as shown in FIG. 11, when the authentication information is registered at the time of transmitting data to another apparatus again, the UI control module 201 reflects the authentication information concerned to the transmission setting information (step S509). As a result, the operability for inputting the authentication information that is used to transmit data to another apparatus is improved.
FIG. 12 is a view showing an example of the file-destination input screen that the UI control module 201 displays on the touch panel 601 of the operation unit 105. In the screen, a host name input field 1001, a folder name input field 1002, a user name input field 1003, and a password input field 1004 are displayed. Then, a user inputs data into these fields.
Next, a second embodiment of the present invention will be described. The configuration of the image forming apparatus in the second embodiment is similar to the configuration of the image forming apparatus 100 in the first embodiment, and its description is omitted.
The first embodiment determines whether the password is permanent or not by referring to the attribute information of the password for the file transmission to a new destination. On the other hand, when a destination of file transmission is registered in an address book, a user may designate to input a password each time on the assumption that a password is frequently changed.
In this case, when the user designates a transmission destination that requires to input a password each time, an input of a password is required whenever transmitting a file.
When the transmission destination that is registered as the usual setting requires inputting a password each time, the password is not permanent.
FIG. 13 is a flowchart showing a registration process according to the second embodiment.
FIG. 13 shows the process for registering the current transmission setting as a usual setting, and the program therefor is stored in the memory 109 and is executed by the CPU 108.
The UI control module 201 accepts a registration request that a user designates to register a transmission setting as a usual setting (step S1101), and confirms the set value of the transmission setting corresponding to the accepted registration request (step S1102).
Then, the UI control module 201 determines whether the transmission destination included in the transmission setting in the confirmed set value is a destination of a file transmission in an address book (step S1103).
When the transmission destination is not a destination in the address book (NO in the step S1103), the UI control module 201 passes the transmission setting corresponding to the accepted saving request to the transmission setting management module 207 because such a setting is permitted to register as-is.
Then, the transmission setting management module 207 registers the set value into a predetermined area of the memory 109 (step S1109), and finishes the process.
On the other hand, when the transmission destination is a destination in the address book (YES in the step S1103), the password may be required to input each time, and the password may not be permanent.
Then, the UI control module 201 acquires the attribute of the destination in the address book of the transmission destination included in the transmission setting corresponding to the accepted registration request (step S1104), and determines whether the password should be inputted each time (step S1105).
When the password is not required to input each time (NO in the step S1105), the password is permanent, and the process proceeds to the step S1109.
On the other hand, when the password is required to input each time (YES in the step S1105), the password is not permanent, and it is not preferred to register it as the usual setting.
Accordingly, the UI control module 201 displays the registration-without-password confirmation screen shown in the FIG. 10B, and notifies the user of deleting the password (step S1106). Next, the UI control module 201 deletes the password inputted each time that is included in the transmission setting corresponding to the accepted registration request (step S1107), sets the password deletion flag saved as the usual setting to ON (step S1108), and proceeds with the process to the step S1109.
The reading process in the second embodiment is identical to the reading process shown in FIG. 11 except the process in the step S503. In the second embodiment, the UI control module 201 determines the transmission destination included in the read transmission setting is a destination of a file transmission in the address book in the step S503.
Next, a third embodiment of the present invention will be described. The configuration of the image forming apparatus in the third embodiment is similar to the configuration of the image forming apparatus 100 in the first embodiment, and its description is omitted.
In the first and second embodiments, when calling the usual setting including the file transmission destination, the user name and the password at the time of calling are set instead of that at the time of registration.
It is conceivable to set the host name and the folder name of the transmission destination at the time of calling in addition to the user name and the password.
For example, a setting of an apparatus can restrict the destination of the file transmission to a specific folder related to an individual user from the point of view of security. In this case, it is conceivable that the host name and the folder name of the transmission destination that are related to the user are effective only when the user is logged in, and are not permanent.
FIG. 14 is a flowchart showing a reading process according to the third embodiment.
FIG. 14 shows the process for registering the current transmission setting as a usual setting, and the program therefor is stored in the memory 109 and is executed by the CPU 108.
The UI control module 201 accepts a reading request by a user (step S1201). Specifically, the user can request reading by pressing a desired button in the “usual setting” button group 801 that is displayed on the usual setting screen.
Next, the UI control module 201 passes the accepted reading request to the transmission setting management module 207. The transmission setting management module 207 reads the transmission setting related to the accepted usual setting from the predetermined area of the memory 109 (step S1202).
Next, the UI control module 201 determines whether a file transmission destination is limited to a “MyFolder” related to the user with reference to the setting of the apparatus (step S1203).
When the transmission destination is not limited to the “MyFolder” (NO in the step S1203), the UI control module 201 refers to the setting of the apparatus. Then, the UI control module 201 checks an authentication connection setting (step S1211), and acquires a user name and a password (step S1212).
Next, the UI control module 201 sets the acquired user name and password to the transmission destination (S1213), sets them together with the other transmission settings read in the step S1202 as the current transmission setting (step S1208), and finishes the process.
The process in the steps S1211 through 51213 corresponds to the process in the steps S505 through S509 in the flowchart in FIG. 11.
When the transmission destination is limited to the “MyFolder” (YES in the step S1203), the UI control module 201 refers to the setting of the apparatus. Then, the UI control module 201 determines whether the “MyFolder” information related to the user is managed by the authentication server (step S1204).
When the “MyFolder” information is managed by the authentication server (YES in the step S1204), the UI control module 201 refers to the login information acquired at the time of the authentication for operating the apparatus by the user (step S1205).
Then, the UI control module 201 acquires a host name, a folder name, a user name, and a password that are related to the user and are managed by the authentication server (step S1206).
Next, the UI control module 201 sets the host name, the folder name, the user name, and the password that are acquired in the step S1206 to the transmission destination (step S1207), and proceeds with the process to the step S1208.
When the “MyFolder” information is not managed by the authentication server (NO in the step S1204), the UI control module 201 refers to the keyring (step S1209). Then, the UI control module 201 acquires a host name, a folder name, a user name, and a password that are related to the registered user (step S1210), and proceeds with the process to the step S1207.
Other Embodiments
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(s), 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(s). 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.
This application claims the benefit of Japanese Patent Application No. 2011-255056, filed on Nov. 22, 2011, which is hereby incorporated by reference herein in its entirety.

## Claims

1. A data communication apparatus comprising:
a processor connected to a memory, the processor being configured to perform:
a scanning function of scanning an original image;
a setting function of setting an address of a file server on a network as a transmission destination for transmitting a file corresponding to the original image scanned by said scanning function;
an obtaining function of obtaining authentication information to be used for authentication of the file server, the authentication information being inputted at the time of a login to the data communication apparatus or being inputted at the time of the setting of the transmission destination;
a transmission function of transmitting the file to the file server designated by the transmission destination in a case that the authentication of the file server is successful on a basis of the authentication information;
a registration function of registering the transmission destination set by said setting function and the authentication information obtained by said obtaining function; and
a control function of prohibiting registration of the authentication information if the authentication information is inputted at the time of the login to the data communication apparatus, and permitting registration of the authentication information if the authentication information is inputted at the time of the setting of the destination.

2. The data communication apparatus according to claim 1, wherein, in a case where the authentication information is inputted at the time of the setting of the destination, request the user to designate whether or not to register the authentication information.

3. The data communication apparatus according to claim 1, wherein the transmission destination and the authentication information registered by said registration function are called by a user's call operation.

4. The data communication apparatus according to claim 1, wherein said registration function includes registering the transmission destination and the authentication information in relation to a user who logs in to the data communication apparatus, and wherein said transmission function includes transmitting the file concerned using the authentication information registered by said registration function in relation to the user, when transmitting the file to the transmission destination inputted by the user.

5. A control method for a data communication apparatus, comprising:
a scanner step of scanning an original image;
a setting step of setting an address of a file server on a network as a transmission destination for transmitting a file corresponding to the original image scanned by said scanning step;
an obtaining step of obtaining authentication information to be used for authentication of the file server, the authentication information being inputted at the time of a login to the data communication apparatus or being inputted at the time of the setting of the transmission destination;
a transmission step of transmitting the file to the file server designated by the transmission destination in a case that the authentication of the file server is successful on a basis of the authentication information;
a registration step of registering the transmission destination set by said setting step and the authentication information obtained by said obtaining step;
a prohibition step of prohibiting registration of the authentication information if the authentication information is inputted at the time of the login to the data communication apparatus; and
a permission step of permitting registration of the authentication information if the authentication information is inputted at the time of the setting of the destination.

6. The data communication apparatus according to claim 1, the processor and memory being further configured to perform:
a determining function of determining whether the authentication information being inputted at the time of the login to the data communication apparatus is usable as authentication information required at the time of file transmission, and prohibiting registration of the authentication information if it is found that the authentication information is usable, and permitting registration of the authentication information if it is found that the authentication information is not usable.

7. The data communication apparatus according to claim 1, the processor and memory being further configured to perform:
a first determining function of determining whether the transmission destination set by said setting function is a new transmission destination,
wherein said registration of the authentication information is prohibited if the transmission destination is a new transmission destination.

8. The data communication apparatus according to claim 1, the processor and memory being further configured to perform:
a third determining function of determining whether the transmission destination set by said setting function is in an address book;
a fourth determining function of determining whether authentication information is to be inputted by a user each time a file is transmitted to the transmission destination; and
wherein said registration of the authentication information is prohibited if said third and a fourth determining function determining that the transmission destination is in an address book and a password should be inputted each time.

9. The data communication apparatus according to claim 1, the processor and memory being further configured to perform:
a fifth determining function of determining whether the transmission destination is present in a list of transmission destinations;
a sixth determining function of determining whether the list of transmission destinations is managed by an authentication server; and
a selection function of selecting, based on the results of the fifth and sixth determining steps, whether to obtain the authentication information from the user's login information, a set authentication connection or from some other source.

10. A non-transitory computer-readable storage medium storing a control program causing a computer to execute a control method for a data communication apparatus, the control method comprising:
a scanner step of scanning an original image;
a setting step of setting an address of a file server on a network as a transmission destination for transmitting a file corresponding to the original image scanned by said scanning step;
an obtaining step of obtaining authentication information to be used for authentication of the file server, the authentication information being inputted at the time of a login to the data communication apparatus or being inputted at the time of the setting of the transmission destination;
a transmission step of transmitting the file to the file server designated by the transmission destination in a case that the authentication of the file server is successful on a basis of the authentication information;
a registration step of registering the transmission destination set by said setting step and the authentication information obtained by said obtaining step;
a prohibition step of prohibiting registration of the authentication information if the authentication information is inputted at the time of the login to the data communication apparatus; and
a permission step of permitting registration of the authentication information if the authentication information is inputted at the time of the setting of the destination.