Information processing device, information processing method, information processing system, and program
The information processing device efficiently performs SMTP authentication by prioritizing successful methods and switching to alternative devices or servers, reducing user burden and packet usage during email transmission.
Patent Information
- Application Number
- JP2020116320
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-07-06
- Publication Date
- 2024-08-20
- Estimated Expiration
- 2040-07-06
AI Technical Summary
Existing SMTP authentication methods require users to reset the authentication process upon errors, leading to increased time and packet usage during email transmission.
An information processing device that determines successful authentication among multiple methods, preferentially selects authentication methods based on success history, and switches to another device or server if necessary, using stored authentication information to efficiently complete email transmission.
Efficient SMTP authentication is achieved with reduced user burden and minimized packet usage, ensuring reliable email transmission without the need for manual resets.
Smart Images

Figure 0007536533000001 
Figure 0007536533000006 
Figure 0007536533000007
Abstract
Description
[Technical field]
[0001] The present invention relates to an information processing device, an information processing method, an information processing system, and a program capable of performing Simple Mail Transfer Protocol (SMTP) authentication for a mail server. [Background technology]
[0002] Patent Document 1 discloses a technique that can reduce the burden on a user when setting an authentication method in SMTP authentication by storing detailed settings of the authentication method in SMTP authentication. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2010-092111 A Summary of the Invention [Problem to be solved by the invention]
[0004] However, in the technology disclosed in Patent Document 1, if an authentication error occurs for some reason when actually sending an email, the user must execute the process of setting the authentication method again. Therefore, in this case, it takes time to actually complete the email transmission, and the amount of packets increases. In addition, resetting the authentication method is a burden on the user.
[0005] The present invention has been made in consideration of the above-mentioned problems, and has an object to provide a technique that can efficiently execute SMTP authentication for sending email. [Means for solving the problem]
[0006] In order to achieve the above object, one embodiment of the present invention is an information processing apparatus including a communication means capable of communicating with a mail server, and an authentication means for executing SMTP (Simple Mail Transfer Protocol) authentication with the mail server via the communication means, the authentication means being configured to select a successful authentication method among a plurality of authentication methods for SMTP authentication with the mail server. Frequently Prioritize authentication method and perform authentication If the authentication fails multiple times, another nearby information processing device is searched for, and authentication information including an authentication method is obtained from the searched information processing device, and authentication is performed using the authentication information. The present invention is characterized by the above. Effect of the Invention
[0007] According to the present invention, it becomes possible to efficiently execute SMTP authentication for sending email. [Brief description of the drawings]
[0008] [Figure 1] FIG. 1 is a block diagram of a recording system. [Diagram 2] FIG. 1 is a schematic diagram of a recording apparatus. [Diagram 3] FIG. [Figure 4] FIG. 2 is a block diagram showing the configuration of a control unit that functions as an information processing apparatus according to the embodiment. [Diagram 5] 11 is a flowchart showing the process contents of a mail transmission process. [Figure 6] 5 is a flowchart showing detailed processing contents of authentication processing in the first embodiment. [Figure 7] 10 is a flowchart showing detailed processing contents of authentication processing in the second embodiment. [Figure 8] 13 is a flowchart showing detailed processing contents of authentication processing in the third embodiment. [Figure 9] FIG. 13 is a block diagram showing an example of another embodiment of a recording system. [Figure 10] 13 is a flowchart showing detailed processing contents of a determination process in the fourth embodiment. [Figure 11] FIG. 13 is a diagram showing a screen on which priorities can be viewed. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] Hereinafter, an example of an embodiment of an information processing device, an information processing method, an information processing system, and a program will be described in detail with reference to the attached drawings. Note that the following embodiment does not limit the present invention, and not all of the combinations of features described in the present embodiment are essential to the solution of the present invention. In addition, the relative positions and shapes of the components described in the present embodiment are merely examples, and are not intended to limit the scope of the present invention to only those.
[0010] (First embodiment) <Recording System> 1 is a block diagram showing an example of a recording system according to an embodiment. The recording system 100 is configured with three areas A, B, and C connected to a proxy server 102 via a router. Each area is equipped with an AD (Active Directory: registered trademark), and is connected to a wide area network 106 from the proxy server 102 via a firewall 104.
[0011] Area A includes a client computer 108 that can input various information. Area B includes a first recording device 110 and a mail server 112 that sends and receives e-mails from the first recording device 110 and a second recording device 116 (described later). In the following description, "e-mail" will be simply referred to as "mail." Area B also includes a DNS (Domain Name System) server 114. Area C includes a second recording device 116.
[0012] In this recording system 100, the first recording device 110 and the second recording device 116 can use the mail server 112 to send mail to various devices connected via the wide area network 106. The mail server 112 includes an authentication unit 118 that authenticates that the first recording device 110 and the second recording device 116 are legitimate users when sending mail from these recording devices, and enables the sending of mail. The mail server 112 also includes a storage unit 120 that holds various information used during authentication.
[0013] <Recording device> 2 is a schematic diagram of the first recording device 110. The first recording device 110 is a sheet-fed inkjet recording device that produces a recorded matter P' by transferring an ink image to a recording medium P via a transfer body 12. The first recording device 110 also has a function of sending and receiving e-mail, and can send various information via a wide area network such as the Internet to devices connected via the wide area network. Note that the second recording device 116 has a similar configuration to the first recording device 110, and therefore detailed description thereof will be omitted in the following description.
[0014] The first recording device 110 includes a recording unit 14 that records on the recording medium P, a transport unit 16 that transports the recording medium P and the recorded matter P', and a control unit 17 (see FIG. 3) that controls the overall operation of the first recording device 110. In this embodiment, the mutually orthogonal X, Y, and Z directions respectively indicate the width direction (total length direction), depth direction, and height direction of the first recording device 110 in FIG. 1. The recording medium P is transported in the X direction.
[0015] Here, in this specification, "recording" does not only mean forming meaningful information such as characters or figures. In other words, it also includes forming an image, design, pattern, etc. on a recording medium, regardless of whether it is meaningful or not, or processing the medium, regardless of whether it is manifested in a way that can be visually perceived by humans. In addition, in this embodiment, a sheet of paper is assumed as the "recording medium," but it may also be cloth, plastic film, etc.
[0016] The ink components are not particularly limited, but in this embodiment, it is assumed that an aqueous pigment ink containing a pigment as a coloring material, water, and a resin is used.
[0017] =Recording section= The recording section 14 includes a recording unit 18 that ejects ink, and a transfer unit 20 that transfers the ink ejected from the recording unit 18 onto a recording medium. It also includes a peripheral unit 22 that is disposed around the transfer unit 20, and a supply unit 24 that supplies ink to the recording unit 18.
[0018] Recording unit 3 is a perspective configuration diagram of the recording unit 18. The recording unit 18 includes a plurality of recording heads 26 that eject ink supplied from a supply unit 24, and a carriage 28 that holds the recording heads 26 and moves the recording heads 26.
[0019] The recording head 26 ejects ink onto the transfer body 12 (described later) of the transfer unit 20, forming an ink image of a recording image on the transfer body 12. In this embodiment, each recording head 26 is a full-line head extending in the Y direction, and nozzles (not shown) for ejecting ink are arranged in a range covering the width of the image recording area of the maximum size of the recording medium that can be recorded. The recording head 26 has nozzle outlets formed on the surface facing the transfer body 12. In this specification, a nozzle is defined as being formed of an outlet from which ink is ejected and a flow path that supplies ink to the outlet. Hereinafter, the surface of the recording head 26 facing the transfer body 12 is appropriately referred to as the "outlet surface". The outlet surface faces the surface of the transfer body 12 with a predetermined gap (for example, several mm). In this embodiment, the transfer body 12 is configured to move cyclically on a circular orbit, so that the multiple recording heads 26 are arranged radially in the recording unit 18.
[0020] Transfer unit The transfer unit 20 includes a transfer cylinder 34 that supports the transfer body 12 on its outer circumferential surface, and an impression cylinder 36 that is in pressure contact with the transfer cylinder 34 (transfer body 12). The transfer cylinder 34 and the impression cylinder 36 are roughly cylindrical rotating bodies that rotate around a rotation axis that extends in the Y direction. The transfer cylinder 34 rotates in the direction of arrow A, and the impression cylinder 36 rotates in the direction of arrow B.
[0021] The transfer body 12 moves cyclically on a circular orbit due to the rotation of the transfer cylinder 34. The position of the transfer body 12 can be divided into a pre-ejection processing area R1, an ejection area R2, a post-ejection processing area R3, R4, a transfer area R5, and a post-transfer processing area R6, depending on the rotation phase of the transfer cylinder 34. The transfer body 12 passes through areas R1 to R6 cyclically.
[0022] The pre-ejection treatment area R1 is an area where the application unit 22a (described later) of the peripheral unit 22 performs pre-treatment on the transfer body 12 before the recording unit 18 ejects ink. The ejection area R2 is an area where the recording unit 18 ejects ink onto the transfer body 12 to form an ink image. The post-ejection treatment areas R3 and R4 are areas where treatment is performed on the ink image formed on the transfer body 12. Specifically, in the post-ejection treatment area R3, treatment is performed by the absorption unit 22b (described later) of the peripheral unit 22, and in the post-ejection treatment area R4, treatment is performed by the heating unit 22c (described later) of the peripheral unit 22. The transfer area R5 is an area where the ink image formed on the transfer body 12 is transferred to the recording medium P held by the impression cylinder 36. The post-transfer treatment area R6 is an area where the cleaning unit 22d (described later) of the peripheral unit 22 performs post-treatment on the transfer body 12 after the ink image has been transferred to the recording medium P.
[0023] Peripheral units The peripheral unit 22 is disposed around the transfer cylinder 34 so as to face the outer peripheral surface of the transfer cylinder 34. In this embodiment, the application unit 22a is disposed at a position facing the pre-ejection treatment region R1. The application unit 22a is a mechanism for applying a reaction liquid onto the transfer body 12 before the ink is ejected by the recording unit 18. In addition, an absorption unit 22b and a heating unit 22c are disposed at positions facing the post-ejection treatment regions R3 and R4, respectively, and a cleaning unit 22d is disposed at a position facing the post-transfer treatment region R6. The absorption unit 22b is a mechanism for absorbing liquid components from the ink image on the transfer body 12 before transfer. The heating unit 22c is a mechanism for heating the ink image on the transfer body 12 before transfer. The cleaning unit 22d is a mechanism for cleaning the transfer body 12 after transfer.
[0024] Supply unit The supply unit 24 is a mechanism for supplying ink to each recording head 26 of the recording unit 18. The supply unit 24 is provided, for example, on the downstream side in the conveying direction of the recording medium P in the first recording device 110. The supply unit 24 includes a storage section TK for storing ink for each type of ink. The storage section TK may be configured to include a main tank (not shown) and a sub-tank (not shown). Each storage section TK and each recording head 26 are connected to each other through a flow path 38, and the ink stored in the storage section TK is supplied to the recording head 26 through the flow path 38. The flow path 38 may be configured to circulate the ink between the storage section TK and the recording head 26 by a pump or the like. The flow path 38 or the storage section TK may be provided with a degassing mechanism for degassing air bubbles in the ink. The flow path 38 or the storage section TK may also be provided with a valve for adjusting the liquid pressure of the ink and the atmospheric pressure. Furthermore, in the supply unit 24, the heightwise (Z-direction) positioning of the storage section TK and the recording head 26 may be designed so that the ink liquid level in the storage section TK is lower than the ink ejection surface of the recording head 26.
[0025] =Transportation section= The transport section 16 is a device that feeds the recording medium P to the transfer unit 20 and collects the recorded matter P' to which the ink image has been transferred in the transfer unit 20. The transport section 16 is equipped with a feeding unit 40 that feeds the stored recording medium P, and a transport cylinder 42 that transports the fed recording medium. The transport section 16 also includes a transport mechanism 46 that transports the recorded matter P' to a recovery unit 48 (described later), and a recovery unit 48 that recovers the recorded matter P' transported by the transport mechanism 46. The transport section 16 is further equipped with a post-processing unit 50 that performs post-processing on the recorded matter P', and a photographing unit 52 that photographs the recorded image recorded on the recorded matter P'.
[0026] 1, the arrows on the inside of the diagrams showing the components of transport section 16 indicate the rotation direction of the components, and the arrows on the outside indicate the transport path of recording medium P or recorded matter P'. Recording medium P is transported from feeding unit 40 to collection unit 48 via transport drum 42, transfer unit 20, and transport mechanism 46. In this specification, the upstream side of the feeding unit 40 in the transport direction will be appropriately referred to as the "upstream side," and the downstream side of the transport direction of the collection unit 48 will be appropriately referred to as the "downstream side."
[0027] Feeding unit The feeding unit 40 includes a stacking section 40a in which a plurality of recording media P are stacked and stored, and a supply mechanism 40b that supplies the recording media P one by one from the stacking section 40a to a conveying drum 42 located most upstream.
[0028] ·Transport cylinder The transport drums 42 are provided in multiple numbers (seven in this embodiment), and are roughly cylindrical rotating bodies that rotate around a rotation axis extending in the Y direction. A gripping mechanism (not shown) that holds the leading end of the recording medium P (or recorded matter P') is provided on the outer circumferential surface of each transport drum 42. The gripping and releasing operations of the gripping mechanism are controlled so that the recording medium P is handed over between adjacent transport drums 42.
[0029] The transport cylinder 42 is equipped with a transport cylinder 42a for reversing the recording medium P. When recording on both sides of the recording medium P is performed, after transfer onto the front side of the recording medium P, the recording medium P is not passed from the impression cylinder 36 to the adjacent transport cylinder 42 downstream, but is passed to the adjacent transport cylinder 42a below the impression cylinder 36. The recording medium P is reversed via the transport cylinder 42a, and is passed again to the impression cylinder 36 via the adjacent transport cylinder 42 upstream of the impression cylinder 36. This brings the back side of the recording medium P into contact with the transfer body 12, making it possible to transfer an ink image to the back side.
[0030] ·Transport mechanism The transport mechanism 46 includes two sprockets 46a, 46b spaced apart in the X direction, and a chain 46c stretched endlessly around the sprockets 46a, 46b. One of the sprockets 46a, 46b is a drive sprocket, and the other is a driven sprocket. The chain 46c travels in a circular manner driven by the drive sprocket. The chain 46c is provided with a plurality of gripping mechanisms (not shown) spaced apart in the X direction. The gripping mechanisms grip the end of the recorded matter P'. The recorded matter P' is passed from the transport cylinder 42 located at the downstream end to the gripping mechanism of the chain 46c, and the recorded matter P' gripped by the gripping mechanism is transported to the collection unit 48 by the movement of the chain 46c, where the gripping by the gripping mechanism is released. As a result, the recorded matter P' is collected in the collection unit 48.
[0031] Aftertreatment unit The post-processing unit 50 includes a post-processing unit 50a provided on the adjacent transport cylinder 42 downstream of the impression cylinder 36 at a position facing the recorded matter P' held by that transport cylinder 42. The post-processing unit 50 also includes a post-processing unit 50b provided on the adjacent transport cylinder 42 upstream of the transport mechanism 46 at a position facing the recorded matter P' held by that transport cylinder 42. The post-processing unit 50a processes the back side of the recorded matter P', and the post-processing unit 50b processes the front side of the recorded matter P'. Specific processing content includes, for example, coating the image recording surface of the recorded matter P' for the purpose of protecting the image, adding gloss, etc. Coating content includes, for example, application of liquid, sheet welding, lamination, etc.
[0032] ·Camera unit The photographing units 52 include a photographing unit 52a that photographs an image recorded on the recording material P' held on the impression cylinder 36, and a photographing unit 52b that photographs an image recorded on the recording material P' held on the chain 46c. The photographing units 52a and 52b are, for example, imaging elements such as a CCD sensor or a CMOS sensor.
[0033] The photographing unit 52a photographs the recording image during the continuous recording operation. For example, a processing unit 54 (described later) checks the change over time in the color tone of the recorded image based on the image photographed by the photographing unit 52a. Based on the result, the processing unit 54 determines whether the image data or the recorded data can be corrected. In this embodiment, the photographing unit 52a faces the outer peripheral surface of the impression cylinder 36 and is disposed at a position where the recording image immediately after transfer can be partially photographed. Note that the photographing unit 52a may inspect all the recorded objects P', or may inspect every predetermined number of recorded objects P'.
[0034] The photographing unit 52b photographs a recording image during the test recording operation. The photographing unit 52b photographs the entire recording image. The image information photographed by the photographing unit 52b is output to, for example, the processing unit 54, and basic settings for various corrections related to the recording data are performed based on the image information. In the case of this embodiment, the photographing unit 52b is disposed at a position where it photographs the recorded matter P' transported by the chain 46c. When photographing a pattern with the photographing unit 52b, the travel of the chain 46c is temporarily stopped to photograph the entire pattern. The photographing unit 52b may be a scanner that scans the recorded matter P' held by the chain 46c.
[0035] <Control Unit> Next, the control unit 17 that controls the overall operation of the first recording device 110 will be described in detail with reference to FIG. 4. FIG. 4 is a block diagram of the control unit 17. The control unit 17 is communicatively connected to a higher-level device (DFE: Digital Front End Processor) HC2, which is communicatively connected to a host device HC1. The host device HC1 corresponds to the client computer 108 of the recording system 100 shown in FIG. 1. The higher-level device HC2 is not shown in FIG.
[0036] In the host device HC1, manuscript data that is the source of a recorded image is generated or stored. The manuscript data is generated in the form of an electronic file such as a document file or an image file. The manuscript data is transmitted to the higher-level device HC2, which converts the received manuscript data into a data format that can be used by the control unit 17 (for example, RGB data that expresses an image in RGB). The converted data is transmitted from the higher-level device HC2 to the control unit 17 as image data, and the control unit 17 starts a recording operation based on the received image data, etc. In this embodiment, the control unit 17 includes a main controller unit 17a and an engine controller unit 17b that acquires the detection results of the sensors and actuators provided in the first recording device 110 and controls the driving.
[0037] The main controller unit 17a includes a processing unit 54, a storage unit 56, a receiving unit 58, an image processing unit 60, a communication I / F (interface) 62, a buffer 64, and a communication I / F 66.
[0038] The processing unit 54 is a processor such as a CPU, and executes a program stored in the storage unit 56 to control the entire main controller unit 17a. The storage unit 56 is a storage device such as a RAM, a ROM, a HDD, or a SDD, and stores the program and data executed by the processing unit 54, and also provides a work area for the processing unit 54. The processing unit 54 is configured to be able to communicate with various devices connected to the first recording device 110, for example, via a communication I / F 67 or the like. The reception unit 58 receives instructions from a user via an operation unit 68 such as a touch panel, a keyboard, or a mouse. The operation unit 68 is provided with a display unit 70 on which various display screens are displayed by the processing unit 54, for example.
[0039] Although details will be described later, the control unit 17 including the processing unit 54 allows the first recording device 110 to send and receive emails to and from external devices connected via a network, etc. That is, in this embodiment, the control unit 17 functions as an information processing device capable of executing processes related to sending and receiving emails, such as authentication processes for a mail server.
[0040] The image processing unit 60 is, for example, an image processing processor. The buffer 64 is, for example, a RAM, a HDD, or a SDD. The communication I / F 62 communicates with the upper device HC2, and the communication I / F 66 communicates with the engine controller unit 17b. In FIG. 4, the dashed arrows indicate the flow of data, and image data received from the upper device HC2 via the communication I / F 62 is stored in the buffer 64. The image processing unit 60 reads the image data from the buffer 64, performs a predetermined image processing on the read image data, and stores the image data in the buffer 64 again. The image data after the image processing stored in the buffer 64 is transmitted from the communication I / F 66 to the engine controller unit 17b as recording data to be used in the print engine.
[0041] In the first recording device 110, the recording unit 18 has a plurality of recording heads 26, but the recording unit 18 may have only one recording head 26. In the first recording device 110, the recording head 26 is a full-line head, but it may be a serial type recording head that forms an ink image while scanning in the Y direction.
[0042] The conveying mechanism for the recording medium P may use a known method, such as a method of conveying the recording medium P by sandwiching it with a pair of rollers. In the method of conveying the recording medium P by a pair of rollers, a roll sheet may be used as the recording medium P, and a configuration may be adopted in which the roll sheet is cut after transfer to produce a recorded matter P'.
[0043] <Authentication process for mail server> In the above configuration, in the first recording device 110, the user operates the operation unit 68 in response to the screen displayed on the display unit 70 to instruct the execution of a recording process for recording on the recording medium P, an e-mail transmission process for outputting various information to an external device, and the like. In the first recording device 110, when an instruction to execute an e-mail transmission process is given, the reception unit 58 receives the instruction. Thereafter, the processing unit 54 starts an e-mail transmission process for sending various information by e-mail to an external device connected via the wide area network 106.
[0044] FIG. 5 is a flowchart showing the detailed processing contents of the mail transmission processing executed by the first recording device 110. FIG. 6 is a flowchart showing the detailed processing contents of the authentication processing as a subroutine of the mail transmission processing. A series of processes shown in the flowcharts of FIG. 5 and FIG. 6 (including the flowcharts shown in FIG. 7 and FIG. 8 below) are performed by the processing unit 54 expanding and executing the program code stored in the storage unit 56. Alternatively, some or all of the functions of the steps in FIG. 5 and FIG. 6 may be executed by hardware such as an ASIC or an electric circuit. Note that the symbol S in the explanation of each process means a step in the flowchart (the same applies hereinafter in this specification).
[0045] When the mail transmission process is started, first, the processing unit 54 acquires information to be transmitted by mail (S502), and then the processing unit 54 performs authentication process to be authenticated by the mail server (S504). After that, when the authentication process is successful, the information acquired in S502 is transmitted by mail via the authenticated mail server. That is, in this embodiment, the processing unit 54 functions as an authentication unit that performs authentication by the mail server, and also functions as a mail transmission unit that performs the authentication and transmits mail to the connected external device.
[0046] Here, the authentication process executed in S504 will be described with reference to FIG. 6. When the authentication process is started, the processing unit 54 first selects the authentication method with the highest priority (S602). In this embodiment, the plain method, the LOGON method, and the CRAM-MD5 (Challenge & Response Authentication Mechanism-MD5) method are executed as the authentication methods for SMTP authentication. These authentication methods are stored in the storage unit 56. In addition, authentication information such as a user name and a password used in each authentication method is also stored in the storage unit 56. In addition, as described later, each authentication method is associated with information that changes depending on the authentication result in this authentication process. This information is specifically a priority point that is counted when authentication is successful, a number of consecutive failures that is counted when authentication is not successful, and a consecutive failure flag that is set depending on the number of consecutive failures.
[0047] In S602, for each authentication method, the authentication method with no consecutive failure flag and the highest priority point is selected. In this embodiment, for the mail server 112, the plain method has a consecutive failure flag set, and between the LOGON method and CRAM-MD5, for which no consecutive failure flag is set, the latter has a higher priority point. Therefore, in S602, the CRAM-MD5 method is selected.
[0048] Next, the processing unit 54 performs authentication using the selected authentication method (S604). That is, in S604, authentication is performed for the mail server 112 using the CRAM-MD5 method. After that, the processing unit 54 judges whether the authentication is successful or not (S606). That is, in S604, the processing unit 54 connects to the mail server 112 based on, for example, the selected authentication method, and outputs authentication information specific to the first recording device 110 to the mail server 112. Note that such authentication information is preset, and includes, for example, ID, PASS, and the like. Then, in the authentication unit 118, the mail server 112 judges that the user is a legitimate user if the authentication information received matches that stored in the storage unit 120, and outputs a response of authentication success to the first recording device 110. If the received authentication information does not match, the mail server 112 judges that the user is not a legitimate user, and outputs a response of authentication failure to the first recording device 110. Therefore, in S606, the processing unit 54 makes a judgment according to a response signal output from the mail server 112. Specifically, when the processing unit 54 receives a response signal indicating successful authentication, it determines that the authentication has been successful, and when the processing unit 54 receives a response signal indicating unsuccessful authentication, it determines that the authentication has not been successful.
[0049] If it is determined in S606 that the authentication is successful, the processing unit 54 initializes the number of consecutive failures for the authentication method for which the authentication is successful, that is, sets it to "0", and adds "1" to the priority point (S608), and proceeds to S506. In this way, the priority point has a value according to the success of the authentication. Also, if it is determined in S606 that the authentication is not successful, the processing unit 54 adds "1" to the number of consecutive failures for the authentication method for which the authentication is not successful, that is, the CRAM-MD5 method (S610). In this way, the number of consecutive failures has a value according to the authentication failure. Note that in S610, a consecutive failure flag is set for the authentication method for which the authentication is not successful based on the consecutive failure number after the increment. Specifically, for example, if the number of consecutive failures reaches "3" in the most recent five days, the consecutive failure flag is set. Note that the threshold values of the number of days and the number of consecutive failures for setting the consecutive failure flag are not limited to the above values. Also, when the number of consecutive failures reaches a predetermined value, for example, "10", the number of consecutive failures may be initialized and, for example, the authentication method of SMTP authentication may be excluded.
[0050] After the process of S610 is completed, the processing unit 54 next selects the authentication method with the next highest priority point and performs authentication for the mail server 112 using the selected authentication method (S612). That is, in this embodiment, the LOGON method is selected in S612 and performs authentication. Thereafter, the processing unit 54 judges whether the authentication is successful or not (S614), and if it is judged that the authentication is successful, the process proceeds to S608. Also, if it is judged in S614 that the authentication is not successful, the processing unit 54 adds "1" to the number of consecutive failures for the authentication method for which the authentication is not successful, that is, the LOGON method (S616). In S616, similarly to S610, a consecutive failure flag is set for the authentication method for which the authentication is not successful based on the number of consecutive failures after the increment. Thereafter, the processing unit 54 displays an error screen on the display unit 70 indicating that authentication cannot be received at the mail server 112 (S618), and ends this authentication process and ends the mail transmission process.
[0051] When there are three or more authentication methods for which the consecutive failure flag is not set, the authentication process determines after S616 whether there is any authentication method for which authentication has not yet been performed among the authentication methods for which the consecutive failure flag is not set. If the determination is "yes," the process returns to S612 and executes the subsequent processes. If the determination is "no," the process proceeds to S618. Although not specifically described in this embodiment, in the process of selecting an authentication method according to priority points, if the priority points of multiple authentication methods match, the authentication methods may be executed in a preset order, or any one of them may be selected.
[0052] As described above, in this embodiment, in the first recording device 110, when authenticating to a mail server when sending an e-mail, authentication methods with low authentication success records (low number of authentication successes) are excluded, and authentication is performed preferentially from authentication methods with high records (high number of authentication successes). As a result, even if an authentication error occurs due to the authentication method first performed when sending an e-mail, authentication at the time of sending an e-mail is efficiently performed without the user having to perform a process such as resetting the authentication method. In addition, since authentication is performed in order of authentication methods with high authentication success records, authentication can be efficiently performed, the time required for sending an e-mail can be shortened, and the increase in the amount of packets associated with communication can be suppressed. For this reason, it is suitable for, for example, a recording device having a function of automatically sending device information by e-mail periodically in the background.
[0053] Second embodiment Next, a second embodiment will be described with reference to Fig. 7. In the following description, the same reference numerals as those used in the first embodiment are used for the same or corresponding configurations as those in the first embodiment, and detailed description thereof will be omitted.
[0054] This second embodiment differs from the first embodiment in that, in the authentication process, if authentication fails using all authentication methods that do not have a consecutive failure flag set, authentication information set in another recording device is used.
[0055] Specifically, in the first recording device 110, the authentication process of S504 in the mail sending process is executed as shown in the flowchart of Fig. 7. In this embodiment, the authentication methods executable by the first recording device 110, the consecutive failure flags, the number of consecutive failures, the priority points, and the like in each authentication method are the same as those in the first embodiment.
[0056] When this authentication process is started, first, the processing unit 54 selects the authentication method with the highest priority (S702) and performs authentication using the selected authentication method (S704). Thereafter, the processing unit 54 judges whether the authentication is successful or not (S706). If it is judged that the authentication is successful, the processing unit 54 initializes the number of consecutive failures for the authentication method for which the authentication is successful, and adds "1" to the priority point (S708), and proceeds to S506. If it is judged in S706 that the authentication is not successful, the processing unit 54 adds "1" to the number of consecutive failures for the authentication method for which the authentication is not successful (S710), and selects the authentication method with the next highest priority point to perform authentication (S712). Thereafter, the processing unit 54 judges whether the authentication is successful or not (S714), and if it is judged that the authentication is successful, proceeds to S708. If it is judged in S714 that the authentication is not successful, the processing unit 54 adds "1" to the number of consecutive failures for the authentication method for which the authentication is not successful (S716). It should be noted that the specific process contents from S702 to S716 are the same as those from S602 to S616 described above, and therefore a detailed description thereof will be omitted.
[0057] Next, the processing unit 54 displays on the display unit 70 an error screen indicating that authentication cannot be received from the mail server 112, and also displays a setting screen for setting whether or not to use a nearby recording device (S718). Thereafter, the processing unit 54 determines whether or not a setting has been made to use a nearby recording device, according to the user's input on the setting screen (S720).
[0058] If it is determined in S720 that a setting has been made not to use a nearby recording device, the processing unit 54 ends this authentication process and ends the mail transmission process. At this time, the processing unit 54 may display a screen on the display unit 70 indicating the reason for the cancellation, such as the fact that the mail could not be sent because authentication by the mail server 112 could not be obtained. Also, if it is determined in S720 that a setting has been made to use a nearby recording device, a search is made for a nearby recording device connected to the mail server 112 (S722). Note that the "neighborhood" of a nearby recording device refers to, for example, a recording device that is connected to the first recording device 110 via a router or the like to build the same recording system, and in this embodiment, refers to the second recording device 116. Also, the "recording device" to be searched for may be, for example, a recording device with similar performance to the first recording device 110, or a recording device made by the same manufacturer.
[0059] Next, the processing unit 54 judges whether or not a nearby recording device has been found (S724). If it is judged that a nearby recording device has not been found, the processing unit 54 ends this authentication process and ends the mail transmission process. At this time, the processing unit 54 may display a screen indicating the above-mentioned reason for the cancellation on the display unit 70. Also, if it is judged in S724 that a nearby recording device has been found, the processing unit 54 obtains authentication information held by the found nearby recording device and performs authentication using this authentication information (S726). Note that the authentication information obtained from the nearby recording device includes, for example, ID, PASS, authentication method, mail server address, and port number. Thereafter, it is judged whether or not the authentication has been successful (S728). If it is judged that the authentication has been unsuccessful, the display unit 70 displays a message indicating that the mail server 112 could not be authenticated and therefore the mail could not be transmitted, and the authentication process is terminated to terminate the mail transmission process. Also, if it is judged in S728 that the authentication has been successful, the processing unit 54 proceeds to S708.
[0060] In this embodiment, when authentication using all authentication methods for which the consecutive failure flag is not set fails, a "neighboring" recording device is searched for, but the present invention is not limited to this. That is, an "external" recording device connected via the wide area network 106 may be searched for, and authentication may be performed using authentication information set in the recording device. When there are three or more authentication methods for which the consecutive failure flag is not set, the authentication process determines after S716 whether there is an authentication method for which authentication has not yet been performed among the authentication methods for which the consecutive failure flag is not set. If the determination is "yes," the process returns to S712 and executes the subsequent processes. If the determination is "no," the process proceeds to S718.
[0061] As described above, in this embodiment, in the first recording device 110, when authenticating to a mail server when sending mail, authentication methods with a low record of successful authentication are excluded, and authentication is preferentially performed starting with the authentication method with a high record. Also, if authentication to a mail server is unsuccessful in all authentication methods for which the consecutive failure flag is not set, authentication information set in another recording device can be used. This provides the same effects as the first embodiment, and allows mail to be sent more reliably without increasing the burden on the user. Also, when the recording device holds a large amount of information, authentication failures due to minor information deficiencies or errors are less likely to occur.
[0062] Third embodiment Next, a third embodiment will be described with reference to Fig. 8. In the following description, the same reference numerals as those used in the first embodiment are used for the same or corresponding configurations as those in the first embodiment, and detailed description thereof will be omitted.
[0063] This third embodiment differs from the first embodiment in that if SMTP authentication is not performed at a specified mail server using the authentication method stored in the first recording device 110, it is possible to receive SMTP authentication at a different mail server.
[0064] Specifically, in the first recording device 110, the authentication process of S504 in the mail sending process is executed as shown in the flowchart of Fig. 8. In this embodiment, the authentication methods executable by the first recording device 110, the consecutive failure flags, the number of consecutive failures, the priority points, and the like in each authentication method are the same as those in the first embodiment.
[0065] When this authentication process is started, first, the processing unit 54 selects the authentication method with the highest priority (S802) and performs authentication using the selected authentication method (S804). Thereafter, the processing unit 54 judges whether the authentication is successful or not (S806). If it is judged that the authentication is successful, the processing unit 54 initializes the number of consecutive failures for the authentication method with which the authentication is successful, and adds "1" to the priority point (S808), and proceeds to S506. If it is judged that the authentication is not successful in S806, the processing unit 54 adds "1" to the number of consecutive failures for the authentication method with which the authentication is not successful (S810), and selects the authentication method with the next highest priority point to perform authentication (S812). Then, the processing unit 54 judges whether the authentication is successful or not (S814), and if it is judged that the authentication is successful, proceeds to S808. If it is judged that the authentication is not successful in S814, the processing unit 54 adds "1" to the number of consecutive failures for the authentication method with which the authentication is not successful (S816). The specific process from S802 to S816 is the same as S502 to S516 described above, and therefore the detailed description thereof will be omitted. In S802, the mail server 112 that has been set in advance is selected as the mail server for authentication, and in S804, authentication is performed on the mail server 112.
[0066] Next, the processing unit 54 displays an error screen on the display unit 70, such as a message indicating that authentication cannot be received from the mail server 112, and also displays a setting screen for setting whether or not authentication is to be received from another mail server (S818). The setting screen may be in a form in which the mail server to be authenticated is simply set to be changed or not, or may be in a form in which the mail server to be authenticated is selected. In the former case, a mail server that can be used as the mail server of the first recording device 110 is searched for according to the setting.
[0067] Thereafter, the processing unit 54 judges whether or not to be authenticated by another mail server according to the user's input result on the setting screen (S820). If it is judged in S820 that the authentication is not to be performed by the other mail server, the authentication process is terminated by notifying the user that the authentication was not performed by the mail server and the mail transmission process is terminated. If it is judged in S820 that the authentication is to be performed by the other mail server, the processing unit 54 performs authentication on the mail server to be authenticated (S822) and judges whether or not the authentication is successful (S824). For more detailed information, the processes of S822 and S824 are executed, for example, so that the processes from S802 to S818 are executed. At this time, the processes are executed based on the consecutive failure flag, the consecutive failure count, and the priority points associated with each authentication method in the mail server to be authenticated.
[0068] If it is determined in S824 that the authentication is successful, the process proceeds to S808, where processing is performed for the number of consecutive failures and the priority points for the authentication method in which the authentication was successful, and then the process proceeds to S506. Then, in S506, the acquired information is sent by email using the authenticated mail server. Also, if it is determined in S824 that the authentication is not successful, the processing unit 54 displays on the display unit 70 a selection screen for selecting whether or not to perform authentication again with a different mail server (S826). Then, depending on the input result on the selection screen, the processing unit 54 determines whether or not to perform authentication with a mail server that has not yet performed authentication (S828).
[0069] If it is determined in S828 that authentication is not to be performed, the authentication process is terminated by notifying the user that authentication could not be performed at the mail server and that mail transmission was not possible, and the mail transmission process is terminated. If it is determined in S828 that authentication is to be performed, the process returns to S822. When returning to S822, a screen for selecting a mail server that has not yet been authenticated may be displayed, and the mail server to be authenticated may be determined based on the input result on the screen. Alternatively, the mail server to be authenticated may be set in advance, and the mail server to be authenticated may be determined based on this setting. If there are only two mail servers to be authenticated, including the mail server 112, the processes of S826 and S828 are omitted, and if authentication is not successful in S824, the authentication process is terminated and the mail transmission process is terminated.
[0070] The mail server other than the mail server 112 may be, for example, an external mail server 150 that is provided outside the recording system 100 and is connected via the wide area network 106 (see FIG. 9(a)). Such an external mail server generally has multiple IP addresses, that is, is composed of multiple mail servers. Therefore, authentication is performed again using a different mail server to prevent authentication failures. Alternatively, the mail server other than the mail server 112 may be, for example, mail servers 152, 154 provided in area A or area C, and these mail servers 152, 154 may be the targets (see FIG. 9(b)).
[0071] Although not specifically mentioned in the above authentication process, if it is determined in S824 that the authentication is successful, in addition to the process of S808, for example, when sending mail thereafter, the mail server for which authentication has been successful may be used. Alternatively, when sending mail, authentication may first be performed for the mail server 112.
[0072] As described above, in this embodiment, in the first recording device 110, when authenticating to a mail server when sending mail, authentication methods with a low track record of successful authentication are excluded, and authentication is preferentially performed starting with the authentication method with a high track record. Also, if authentication to a mail server is unsuccessful using all authentication methods for which the consecutive failure flag is not set, authentication can be attempted using other mail servers. This provides the same operational effects as the first embodiment, and allows mail to be sent more reliably without increasing the burden on the user.
[0073] (Fourth embodiment) Next, a recording device according to a fourth embodiment will be described with reference to Fig. 10. In the following description, the same reference numerals as those used in the first embodiment are used for the same or corresponding configurations as those in the first embodiment, and detailed description thereof will be omitted.
[0074] The fourth embodiment differs from the above-mentioned embodiments in that the determination of whether or not authentication is possible at the mail server 112 upon receiving authentication information from the first recording device 110 is made according to whether or not a packet including authentication information is divided. In this embodiment, the mail transmission process and authentication process are the same as those described in the above-mentioned embodiments. Therefore, the description of the mail transmission process and authentication process will be omitted, and the process executed on the mail server side, which is different from the above-mentioned embodiment, will be described.
[0075] Information transmitted and received during communication between devices is sent as packets divided into a certain size. Therefore, for example, if authentication information indicating that the user is a legitimate user is divided into multiple packets, authentication cannot be performed based on the first packet acquired. Therefore, in this embodiment, if the acquired packet is divided, authentication is performed based on authentication information that combines information contained in the subsequent packets after acquiring the subsequent packets.
[0076] Specifically, in the recording system 100, the mail server 112 performs a determination process to determine whether or not authentication is permitted depending on the packet output from the first recording device 110. Fig. 10 is a flowchart showing the detailed processing contents of the determination process executed by the mail server. The series of processes shown in the flowchart in Fig. 10 are performed by the authentication unit 118 expanding and executing program code stored in the storage unit 120 in the mail server. Alternatively, some or all of the functions of the steps in Fig. 10 may be executed by hardware such as an ASIC or an electric circuit.
[0077] This determination process is started, for example, when the mail server 112 receives a packet including authentication information from the connected first recording device 110 or the like. When the determination process is started, the authentication unit 118 determines whether or not authentication is possible based on the authentication information of the acquired packet (S1002). That is, in S1002, it is determined whether or not the authentication information matches the information stored in the storage unit 120. That is, if it is determined that the authentication information does not match the stored information, it is determined that authentication is not possible, and if it is determined that they match, it is determined that authentication is possible.
[0078] If it is determined in S1002 that authentication is possible, the authentication unit 118 outputs a response signal of authentication success to the first recording device 110 (S1004), and ends this determination process. Note that, when the first recording device 110 receives the response signal of authentication success, it determines that authentication with the mail server 112 has been successful. Also, if it is determined in S1002 that authentication is not possible, the authentication unit 118 determines whether the acquired packet has been divided (S1006). Note that the packet contains information that can be used to determine that it is a divided packet, and in S1006, the authentication unit 118 determines whether the packet has been divided based on this information.
[0079] If it is determined in S1006 that the acquired packet is not divided, the authentication unit 118 outputs an authentication failure response signal to the first recording device 110 (S1008), and ends this determination process. Note that, upon receiving the authentication failure response signal, the first recording device 110 determines that authentication with the mail server 112 has failed. Also, if it is determined in S1006 that the acquired packet is divided, the authentication unit 118 determines whether or not the next packet has been acquired within a certain period of time (S1010).
[0080] If it is determined in S1010 that the next packet cannot be acquired, the process proceeds to S1008. If it is determined in S1010 that the next packet can be acquired, the authentication unit 118 combines the information acquired from the already acquired packet and the newly acquired packet, and determines whether authentication is possible based on the combined authentication information (S1012). If it is determined in S1012 that authentication is possible, the process proceeds to S1004, and if it is determined that authentication is not possible, the process proceeds to S1008.
[0081] As described above, in this embodiment, when authenticating to a mail server when sending mail in the first recording device 110, authentication methods with a low record of successful authentication are excluded, and authentication is preferentially performed starting from authentication methods with a high record of successful authentication. Also, when a packet sent from the first recording device 110 is divided, the mail server 112 acquires the subsequent packets and then combines the authentication information contained in these packets to perform authentication. This provides the same effects as the first embodiment, and allows mail to be sent more reliably without increasing the burden on the user.
[0082] (Other embodiments) The above-described embodiment may be modified as shown in the following (1) to (4).
[0083] (1) Although not specifically described in the above embodiment, the user may be configured to be able to view the priority order of authentication methods for authentication with a mail server, and may be configured to be able to change the priority order. FIG. 11 is a diagram showing an example of a screen 90 for viewing and setting the priority order of authentication methods. As shown in FIG. 11, for example, the display unit 70 displays the priority order of authentication methods for a mail server to be authenticated based on the priority points and consecutive failure flags associated with the authentication methods. On the screen 90, for example, the authentication methods are displayed according to the direction of an arrow indicating the priority order according to their priority points. On the screen 90, the user may change the priority order by selecting and moving an authentication method, and various known techniques may be applied to change the priority order of authentication methods.
[0084] (2) The above embodiment is not limited to a recording device, and may be applied to a reading device that scans and reads information from an object. In addition, the recording device in the above embodiment may be a multifunction device equipped with various functions such as a reading device. By applying the above embodiment to a reading device or a multifunction device, it becomes possible to easily send the read information by email. Furthermore, in the above embodiment, the control unit 17 of the first recording device 110 is described as an example of an information processing device for performing authentication with the mail server 112, but the present invention is not limited to this. That is, for example, a general-purpose computer terminal may be connected separately from the first recording device 110, and the general-purpose computer terminal may function as an information processing device.
[0085] (3) Although not specifically mentioned in the above embodiment, when a consecutive failure flag is set based on the number of consecutive failures, the priority point may be initialized, i.e., set to "0" or set to "-1."
[0086] (4) The above embodiment and the various forms shown in (1) to (3) above may be combined as appropriate. The present invention can also be realized by supplying a program that realizes one or more functions of the above embodiment to a system or device via a network or a storage medium, and having one or more processors in a computer of the system or device read and execute the program. The present invention can also be realized by a circuit (e.g., ASIC) that realizes one or more functions. [Explanation of symbols]
[0087] 17 Control Unit 54 Processing section 67 Interfaces 112 Mail Server
Claims
1. A communication means capable of communicating with a mail server; and an authentication unit that performs SMTP (Simple Mail Transfer Protocol) authentication on a mail server via the communication unit, The authentication means performs authentication by preferentially selecting an authentication method that has a high number of authentication successes from among multiple authentication methods for SMTP authentication against a mail server, and if authentication fails multiple times, searches for another connected information processing device, obtains authentication information including the authentication method from the searched information processing device, and performs authentication using the authentication information.
2. 2 . The information processing apparatus according to claim 1 , wherein the authentication means assigns a value corresponding to success of authentication to each of the plurality of authentication methods.
3. 3. The information processing device according to claim 1, wherein the authentication means assigns a value corresponding to an authentication failure to each of the plurality of authentication methods, and based on the value, excludes each of the plurality of authentication methods from the authentication methods that can be selected when performing authentication.
4. A communication means capable of communicating with a mail server; and an authentication means for executing SMTP authentication on a mail server via the communication means, The information processing device is characterized in that the authentication means preferentially selects an authentication method that has a high number of successful authentication attempts from among multiple authentication methods for SMTP authentication for a specified mail server, and performs authentication by selecting the authentication method that has a high number of successful authentication attempts from among multiple authentication methods for SMTP authentication for a specified mail server, and performs authentication for another mail server if authentication fails multiple times.
5. An information processing device according to any one of claims 1 to 4; a mail server for transmitting mail, wherein the information processing device performs SMTP authentication for the mail server.
6. 6. The information processing system according to claim 5, wherein when the acquired packet is divided, the mail server performs authentication by combining information contained in each packet after acquiring subsequent packets.
7. An information processing method for performing SMTP authentication on a mail server, comprising: An information processing method characterized in that, from among multiple authentication methods for SMTP authentication against a mail server, an authentication method that has a high number of authentication successes is preferentially selected to perform authentication, and if authentication fails multiple times, another connected information processing device is searched for, authentication information including the authentication method is obtained from the searched information processing device, and authentication is performed using the authentication information.
8. An information processing method for performing SMTP authentication on a mail server, comprising: An information processing method characterized in that, from among a plurality of authentication methods for SMTP authentication for a specified mail server, an authentication method that has a large number of authentication successes is preferentially selected to perform authentication, and if authentication fails multiple times, authentication is performed for another mail server.
9. A recording means for recording on a recording medium; A communication means capable of communicating with a mail server; a mail sending means for performing SMTP authentication with respect to a mail server via the communication means and for sending information by mail via the authenticated mail server, The mail sending means performs authentication by preferentially selecting an authentication method that has a high number of successful authentication attempts from among multiple authentication methods for SMTP authentication against a mail server, and if authentication fails multiple times, searches for another connected recording device, obtains authentication information including the authentication method from the found recording device, and performs authentication using that authentication information.
10. A recording means for recording on a recording medium; A communication means capable of communicating with a mail server; a mail sending means for performing SMTP authentication with respect to a mail server via the communication means and for sending information by mail via the authenticated mail server, The mail sending means performs authentication by preferentially selecting an authentication method that has a high number of successful authentication attempts from among multiple authentication methods for SMTP authentication for a specified mail server, and performs authentication for another mail server if authentication fails multiple times.
11. 11. The recording device according to claim 9, further comprising a reading means capable of scanning and reading information on an object.
12. A program that causes a computer to function as the information processing device according to any one of claims 1 to 4.
Citation Information
Patent Citations
Network equipment, service using method, service using program and storage medium recording the service using program
JP2006085579A
Image processing apparatus, authentication server selection method, and program
JP2007328411A
Communication apparatus, program, and recording medium
JP2009037426A
E-mail transmission terminal, e-mail authentication method setting method, and e-mail authentication method setting program
JP2010092111A
Image forming apparatus, authentication system, authentication control method and authentication control program
JP2010277185A
