Information processing apparatus and connection determination method
By making connection judgment based on the authentication information acquisition status of OAuth authentication in the information processing device, the problem of connection test failure in OAuth authentication is solved, and the connection information input by the user can correctly judge the connection status, improving the user experience.
Patent Information
- Application Number
- CN202410624844.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-05-30
- Filing Date
- 2024-05-20
- Publication Date
- 2024-12-03
AI Technical Summary
In OAuth authentication, users cannot conduct connection testing through the connection information entered in the connection test screen, resulting in connection failure and user confusion, especially when prior authorization is required.
By implementing the connection determination method of the service provider device in the information processing device, it is determined whether the connection can be made based on the connection information input by the user based on the authorized authentication information acquisition status, including obtaining a token and connecting when the authentication method is OAuth authentication. test.
Even under the authentication method that requires prior authorization, the connection information designed by the user can be used to determine whether to connect to the service provider device, which avoids connection test failures and user confusion and improves the user experience.
Smart Images

Figure CN119071398A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to an information processing device and the like. Background Art
[0002] Regarding the setting of SMTP (Simple Mail Transfer Protocol) / POP (PostOffice Protocol) authentication, there is known an information processing device that has a connection test function that uses the provider information, account, and other connection information entered by the user through the setting screen to verify whether it can actually connect to the service provider (for example, refer to patent document 1).
[0003] In addition, as an authentication method related to SMTP / POP authentication, the OAuth authentication method, which is a more secure authentication method than the existing authentication method using a user ID and a password, has recently become mainstream. In order to use OAuth authentication, it is necessary to make an authorization request to the provider in advance and become authorized. Therefore, in OAuth authentication, as in the previous SMTP / POP authentication, it is not possible to perform a connection test by simply inputting the connection information assumed by the user through the connection test screen. Prior art literature Patent Literature
[0004] Patent Document 1: Japanese Patent Application Publication No. 2004-102420 Summary of the invention Technical Problems to be Solved by the Invention
[0005] An object of the present disclosure is to provide an information processing device or the like that can determine whether to connect to a service providing device using connection information assumed by a user even in an authentication method that requires prior authorization. Solutions for solving problems
[0006] In order to solve the above-mentioned problem, the information processing device involved in the present disclosure is characterized in that it includes: an input unit, which accepts input of connection information; a control unit, which controls the connection to the service provider device based on the accepted connection information, and when the authentication method in the service provider device is an authentication method that requires prior authorization, the control unit determines whether the connection can be made based on the acquisition status of the authentication information accompanied by the authorization.
[0007] In addition, the connection determination method involved in the present disclosure is a connection determination method that accepts input of connection information and determines whether a connection to a service provider device can be made based on the accepted connection information. The method is characterized in that, when the authentication method in the service provider device is an authentication method that requires prior authorization, it is determined whether a connection can be made based on the accepted connection information based on the acquisition status of the authentication information accompanied by the authorization. Effects of the Invention
[0008] According to the present disclosure, it is possible to provide an information processing device or the like that can determine whether to connect to a service providing device using connection information assumed by a user even in an authentication method that requires prior authorization. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] Figure 1 This diagram explains how the multifunction device and the cloud are connected. Figure 2 This is a functional configuration diagram of a multifunction device. Figure 3 This is a diagram for explaining the connection information management table. Figure 4 This is a flowchart illustrating the flow of processing according to the first embodiment. Figure 5 This is a flowchart illustrating the flow of processing according to the first embodiment. Figure 6 It is a diagram for explaining an operation example according to the first embodiment. Figure 7 It is a diagram for explaining an operation example according to the first embodiment. Figure 8 It is a diagram for explaining an operation example according to the first embodiment. Fig. 9 It is a diagram for explaining an operation example according to the first embodiment. Fig.10 It is a diagram for explaining an operation example according to the first embodiment. Fig.11 It is a diagram for explaining an operation example according to the first embodiment. Fig.12 It is a diagram for explaining an operation example according to the first embodiment. Fig.13 It is a diagram for explaining an operation example according to the second embodiment. Fig.14 It is a diagram for explaining an operation example according to the second embodiment. Fig.15 It is a diagram for explaining an operation example according to the second embodiment. Fig.16 It is a diagram for explaining an operation example according to the second embodiment. Fig.17 It is a diagram for explaining a modified example. DETAILED DESCRIPTION
[0010] Hereinafter, an embodiment of the present disclosure will be described with reference to the drawings. In addition, the following embodiment is an example for describing the present disclosure, and the technical content of the description described in the claims is not limited to the following description.
[0011] It is known that there is a function (connection test) that uses the connection information input by the user on the test screen to test whether it is actually possible to connect to the service provider when setting SMTP / POP authentication. After confirming that the result of the connection test is successful, the user can register the connection information input to the test screen. According to this purpose, it is assumed that the connection test is performed with the connection information (the setting value assumed by the user) displayed on the test screen when it is implemented.
[0012] On the other hand, in OAuth authentication, it is necessary to make an authorization request to the service provider in advance and become authorized. Therefore, in OAuth authentication, as in the previous SMTP / POP authentication, it is impossible to implement a connection test by simply entering the connection information assumed by the user through the connection test screen. Here, if the OAuth authentication has been authorized in advance, it is possible to obtain a token and confirm whether the service provided by the service provider can be used. At this time, for example, even if the connection information entered in the test screen is different from the connection information used during authorization, the connection test itself may sometimes succeed depending on the timing. In this case, when the user registers the connection information entered in the test screen, an inconsistency occurs between the connection information for which the connection test has succeeded and the connection information registered after the connection test (the connection information entered in the test screen), and therefore, the user may be confused when the communication connection with the service provider fails.
[0013] In the present disclosure, even in an authentication method such as OAuth authentication that requires prior authorization, an information processing device or the like that can determine whether or not to connect to a service providing device using connection information assumed by a user is implemented in the following embodiments.
[0014] [1. First embodiment] [1.1 Overall composition] Figure 1 This is a diagram for explaining an example of a connection method between the multifunction machine 10 as an information processing device and the cloud 30 as a service providing device according to the first embodiment.
[0015] The multifunction machine 10 involved in the first embodiment is an information processing device that can realize printing, copying, faxing (Internet FAX), mail sending, etc. in one housing. In addition, in the first embodiment, the multifunction machine 10 is described as a form of an image processing device, but as long as it is a configuration that can perform authentication processing using an account corresponding to OAuth authentication, there is no particular limitation, and it may also be an information processing device such as a copier, a printer, or a fax machine.
[0016] The multifunction device 10 is connected to the cloud 30 via the network NW. The multifunction device 10 is configured to be able to communicate with the cloud 30 based on a communication protocol such as IP (Internet Protocol), TCP (Transmission Control Protocol), HTTP (Hypertext Transfer Protocol), SMTP, etc. In addition, the network NW represents a network line such as a LAN (Local Area Network), a WAN (Wide Area Network), and the Internet. In addition, the number of multifunction devices 10 connected to the network NW is not limited to Figure 1 In another example, a plurality of multifunction peripherals 10 may be connected to the network NW.
[0017] The cloud 30 is a service providing device, which includes an authorization server (not shown), which performs authorization for use related to mail distribution by implementing, for example, an authorization code flow based on the OAuth2.0 authentication method. As long as the cloud 30 generates an authorization code, an access token as authorization information, a refresh token, etc. according to the authorization process / authentication process, there is no restriction on the device configuration. For example, the authorization server that processes the authorization code flow and the mail distribution server can be separately configured, or can be configured by a single device that has both the authorization function / authentication function and the mail distribution function. The cloud 30 can function as a service provider for mail distribution based on the SMTP protocol and the POP protocol.
[0018] [1.2 Functional structure] [1.2.1 Regarding the multifunction device 10] Next, use Figure 2 The functional configuration of the multifunction peripheral 10 according to the first embodiment will be described. The multifunction peripheral 10 includes a control unit 11 , an input unit 13 , a communication unit 15 , an image processing unit 17 , an image input unit 19 , and a storage unit 21 .
[0019] The control unit 11 controls the entire multifunction device 10 . The control unit 11 is composed of, for example, one or more computing devices (CPU (Central Processing Unit) etc.), and realizes its functions by reading and executing various programs stored in the storage unit 21 .
[0020] The input unit 13 is an input unit that receives input of various information from a user, etc., including input of connection information by the user via a test screen described later. The input unit 13 may include a display unit 131 and an operation unit 132 .
[0021] The display unit 131 is a display device that displays various information to the user, etc. The display unit 131 is composed of, for example, an LCD (Liquid crystal display), an organic EL (Electro-luminescence) display, etc. The display unit 131 displays a screen based on the browsing screen information generated by the browser program 214 described later, based on the control performed by the control unit 11.
[0022] The operation unit 132 receives input of information from a user, etc. The operation unit 132 can be composed of various input devices such as operation keys such as hardware keys and software keys, and buttons.
[0023] In addition, the input unit 13 may be configured as a touch panel having the functions of the display unit 131 and the operation unit 132. In this case, the touch panel may function as a UI (User Interface) through a displayed web browser screen or application screen. In addition, as an input method of the touch panel, common methods such as a resistive film method, an infrared method, an electromagnetic induction method, and a capacitive method may be used.
[0024] The communication unit 15 includes either or both of wired / wireless interfaces for communicating with other devices (cloud 30) via a network (NW) such as a LAN, WAN, the Internet, a telephone line, a fax line, etc. In addition, the communication unit 15 may also include interfaces related to (short-range) wireless communication technologies such as Bluetooth (registered trademark), NFC (Near field communication), Wi-Fi (registered trademark), ZigBee (registered trademark), Irda, and wireless USB.
[0025] The image processing unit 17 includes an image forming unit that forms an image based on image data on a paper or the like as a recording medium. The image forming unit supplies paper from a paper feed tray (not shown), forms an image based on the image data on the paper, and then discharges the paper to a paper discharge unit (not shown). The image forming unit may be composed of, for example, a laser printer using an electronic photography method. In this case, the image forming unit uses a toner supplied from a toner box (not shown) corresponding to the toner color (for example, cyan, magenta, yellow, black) to form an image. In addition, the image processing unit 17 may also include a method of performing, for example, shading correction, concentration correction, etc. on the image data input from the image input unit 19 to generate output image data for attachment to mail.
[0026] The image input unit 19 generates image data by scanning an original document. The image input unit 19 can be configured as, for example, a scanning device having an image sensor such as a CCD (Charge coupled device), a CIS (Contact image sensor), an automatic document feeder (ADF), a platform for placing original documents, and the like. There is no particular limitation on the configuration of the image input unit 19 as long as it is capable of generating image data by reading a reflected light image from an original document image through an image sensor. In addition, the image input unit 19 can also be configured as, for example, an interface capable of acquiring image data stored in a removable storage medium such as a USB (Universal serial bus) memory, or image data sent from an external terminal device not shown in the figure.
[0027] The storage unit 21 stores various programs and various data required for the operation of the multifunction device 10. The storage unit 21 can be composed of a storage device such as a RAM (Random access memory), a HDD (Hard disk drive), a SSD (Solid state drive), or a ROM (Read only memory).
[0028] In the first embodiment, the storage unit 21 stores a control program 211 , an authorization / authentication program 212 , an application program 213 , a browser program 214 , and a connection information management program 215 , and secures a connection information storage area 216 .
[0029] The control program 211 is a program read by the control unit 11 when comprehensively controlling the multifunction device 10. The control unit 11 that has read the control program 211 functions as an OS, and performs setting, execution, post-processing, etc. of each job such as printing, copying, faxing, and mailing by controlling the drivers of the input unit 13 (display unit 131, operation unit 132), the communication unit 15, the image processing unit 17, and the image input unit 19.
[0030] The authorization / authentication program 212 is a program read by the control unit 11 when performing authorization / authentication processing with the cloud 30. The control unit 11 that has read the authorization / authentication program 212 performs authorization / authentication processing for the cloud 30 via a web browser. In addition, the control unit 11 that has read the authorization / authentication program 212 can also perform existing authentication processing (such as SMTP authentication processing, POP authentication processing) that performs authentication by a combination of a user name (user ID) and a password, and login authentication for the multifunction device 10, in addition to an authentication method that requires prior authorization such as OAuth authentication.
[0031] The application 213 is read out by the control unit 11 and can realize functions such as printing, copying, faxing, and sending emails. As the application 213, it can be a comprehensive management application that manages the settings and management of the multifunction machine 10, or it can be a separate application (for example, a scan and send application, etc.) that sets the comprehensive management application as a platform. In addition, the control unit 11 that has read out the application 213 can utilize the functions of other programs such as the authorization / authentication program 212 via the API (Application Programming Interface). By collaborating with the application 213 and the authorization / authentication program 212, it is possible to obtain / update / hand over authorization codes and access tokens with the cloud 30. In the description here, the application 213 and the authorization / authentication program 212 are described as separate structures, but the functions of the authorization / authentication program 212 can also be set in the application 213.
[0032] The browser program 214 is a program read by the control unit 11 when generating screen information for browsing by rendering the received input content. The control unit 11 that has read the browser program 214 functions as a web browser, and can accept input from the user through the displayed web browser screen and display notifications from the application to the user.
[0033] The connection information management program 215 is a program read by the control unit 11 when managing the provider information and account set according to the cloud 30 as connection information. In addition, the control unit 11 that has read the connection information management program 215 determines whether the connection test can be performed based on the connection information input and selected by the user through a test screen related to the connection test described later. In addition, in the present disclosure, the act of trying to establish a connection (communication) with the cloud 30 as a service provider is referred to as a connection test. Then, when it is determined that the connection test can be performed, the control unit 11 implements a connection test using the connection information input and selected via the test screen. In addition, when the connection test is successful, the control unit 11 accepts a registration instruction for the connection information and stores the connection information in the connection information storage area 216.
[0034] The connection information storage area 216 is a storage area for storing connection information for the cloud 30. The connection information storage area 216 stores the connection information for which a registration instruction has been received based on the control of the control unit 11 that has read the connection information management program 215. The connection information storage area 216 may also be provided in an external storage device (not shown) or the like connected to the network NW other than the multifunction device 10.
[0035] In addition, the connection information of successful connection test can also be used as Figure 3 Here, the connection information management table 2161 is used to manage Figure 3 The data structure of the connection information management table 2161 is described. Figure 3 The data structure example of the connection information management table 2161 shown in the example is only an example, and the management of connection information is not limited to Figure 3 For example, the connection information management table 2161 may include Figure 3 The management format of items other than the management items exemplified in FIG. 1 is not limited to the table format, and a database may be used.
[0036] Figure 3 The connection information management table 2161 illustrated in FIG. 2 includes an ID, a user name, a provider, a usage account, an authentication method, an authorization status, and a token acquisition status.
[0037] Id is an identifier for uniquely identifying the connection information to be managed. Username indicates the name of the owner of the account related to the connection information. Provider is provider information indicating the name of the service provider of the authorization / authentication destination. Usage account indicates the account used for authorization processing / authentication processing. Authentication method indicates the authentication method corresponding to the account. Authorization status indicates the authorization status when the authentication method is "OAuth" authentication. Token acquisition status indicates the acquisition status of the token as authentication information. In addition to these management items, the connection information management table 2161 may also include, for example, a password corresponding to the usage account, a token (itself), an authorization code, contact information of the account owner (for example, an email address), etc. in the management items.
[0038] For example, the connection information associated with ID "01" indicates that the user name "admin" is set as the owner of the account. The account associated with ID "01" sets the provider "aabbcc" (equivalent to cloud 30) as the authorization / authentication destination, and the user account used in the connection at this time is "admin@aabbcc.jp". In addition, the connection information associated with ID "01" indicates that the authentication method is the "OAuth" authentication method, the authorization status is "authorized", and the token is "acquired".
[0039] In addition, the connection information associated with ID "02" indicates that the account has the user name "admin" set as the owner. The account associated with ID "02" indicates that the service provider "ddeeff" is used as the authentication destination, and the user account used in the connection at this time is "user@ddeeff.jp". In addition, the connection information associated with ID "02" indicates that the authentication method is the "SMTP" authentication method.
[0040] like Figure 3 As shown in the example in , the connection information of successful connection tests can also be centrally managed based on various parameters such as connection information, authentication method, logged-in user (whether or not there is administrator authority), and timing of connection test implementation.
[0041] [1.2.2 About Cloud 30] The cloud 30 according to the first embodiment may use a known configuration as long as it includes an authorization server that performs authorization for mail distribution by executing an authorization code flow based on the OAuth authentication method. Therefore, the functional configuration of the mail server 30 will be omitted.
[0042] [1.3 Processing Flow] Next, use Figure 4 and Figure 5 The flowchart of the first embodiment is used to illustrate the process of the processing involved. Figure 4 and Figure 5The processing described in is the processing executed by the control unit 11 by reading the control program 211, the authorization / authentication program 212, the application 213, the browser program 214, the connection information management program 215, etc. Figure 4 and Figure 5 In the description, it is assumed that the connection information assumed by the user is input in the test screen described later. Figure 4 and Figure 5 In the example, SMTP authentication is used as an authentication method other than OAuth authentication. However, in the case of POP authentication, the processing flow is basically the same.
[0043] First, the control unit 11 receives selection of an execution button for receiving an instruction to execute a connection test (step S10 ).
[0044] The control unit 11 confirms the connection information input in the test screen (step S12). Then, the control unit 11 determines whether there is a problem with the input connection information (step S14). If there is no problem with the input connection information, that is, regardless of the success or failure of the connection test, for example, based on the connection information, the port number used for communication is input, and the execution of the connection test is not faulty, the control unit 11 determines that there is no problem with the connection information. In the case of determining that there is no problem with the connection information, the control unit 11 determines whether the registration status of the authentication method is other than OAuth authentication, or whether the status related to OAuth authentication is unauthorized (step S14; yes → step S16).
[0045] Here, the authentication method other than OAuth authentication refers to authentication methods other than OAuth authentication, such as SMTP authentication, POP authentication, plain text authentication, and no authentication. There are no special restrictions as long as it is an authentication method that does not require prior authorization. In addition, the unauthorized state related to OAuth authentication means that there is no experience in implementing the authorization process based on the OAuth authentication method before entering the connection information through the test screen, and the setting using OAuth authentication has not been formed, or although there is experience in implementing the authorization process based on OAuth authentication, the authorization status is unauthorized due to reasons such as authorization failure and deletion of the setting when using OAuth authentication. In addition, the registration status of the authentication method can be the registration status of the authentication method applied as the device setting of the multifunction machine 10, or it can be the registration status of the authentication method based on the connection information stored in the connection information storage area 216.
[0046] When it is determined that the authentication method is not other than OAuth authentication and the state related to OAuth authentication is not unauthorized, the control unit 11 determines that the authentication method is OAuth authentication method and determines whether authentication information accompanying authorization in OAuth authentication has been acquired (step S16; No→step S18).
[0047] When it is determined that the authentication method is the OAuth authentication method and authentication information associated with authorization in the OAuth authentication has been acquired, the control unit 11 reads the registered connection information (provider information and account) from the connection information storage area 216 (step S18; Yes→step S20).
[0048] Next, the control unit 11 determines whether the registered connection information is consistent with the connection information input to the test screen. If it is determined that the registered connection information is consistent with the connection information input to the test screen, the control unit 11 performs connection confirmation to the SMTP server (step S22; yes → step S30). If it is determined that the connection to the SMTP server is successful, the control unit 11 determines whether the authentication method is OAuth authentication (step S32; yes → step S34).
[0049] When it is determined that the authentication method is OAuth authentication, the control unit 11 acquires a token (step S34: Yes → step S36). When the token is acquired, the control unit 11 implements OAuth authentication (step S38). Then, the control unit 11 determines whether the OAuth authentication is successful (step S40). In addition, when no time has passed since the acquisition of the token based on the registered connection information and the same token can be used (within the validity period), the processing of step S36 can also be omitted. In this case, it can also be configured to measure the elapsed time from the acquisition of the token based on the registered connection information, and acquire the token when the specified elapsed time has passed.
[0050] When it is determined that the authentication based on the OAuth authentication method has succeeded, the control unit 11 determines that the connection test has succeeded and ends the process (step S40; Yes→step S42).
[0051] Furthermore, in step S16, when it is determined that the authentication method is other than OAuth authentication and the status related to OAuth authentication is unauthorized, the control unit 11 determines whether POP before SMTP is valid (step S16; Yes→step S24).
[0052] When it is determined that POP before SMTP is valid, the control unit 11 uses the connection information input in the test screen to confirm the connection to the POP server (step S24; yes → step S26). When it is determined that the connection to the POP server is successful, the control unit 11 confirms the connection to the SMTP server (step S28; yes → step S30). In addition, when it is determined that POP before SMTP is not valid, the control unit 11 omits the processing of steps S26 and S28 and confirms the connection to the SMTP server (step S24; no → step S30). In addition, the description of the processing after step S30 is as described above, so it is omitted here.
[0053] In addition, in step S34, if it is determined that the authentication method is not OAuth authentication, the control unit 11 determines whether the authentication method is SMTP authentication (step S34; No → step S44). If it is determined that the authentication method is SMTP authentication, the control unit 11 performs SMTP authentication (step S44; Yes → step S46). Then, the control unit 11 determines whether the SMTP authentication is successful (step S40).
[0054] When determining that the authentication based on the SMTP authentication method has succeeded, the control unit 11 determines that the connection test has succeeded and ends the processing (step S40; Yes→step S42).
[0055] On the other hand, when it is determined that the authentication method is not the SMTP authentication method, the control unit 11 determines that the connection test is successful without authentication, and ends the processing (step S44; No→step S42).
[0056] In addition, when there is a problem with the connection information input into the test screen (step S14; No), when it is determined that the authentication method is the OAuth authentication method and the authentication information associated with the authorization of the OAuth authentication is not obtained (step S18; No), when it is determined that the registered connection information is inconsistent with the connection information input into the test screen (step S22; No), when it is determined that the connection with the POP server has failed (step S28; No), when it is determined that the connection with the SMTP server has failed (step S32; No), or when it is determined that the authentication based on the OAuth authentication method has failed (step S40; No), the control unit 11 regards the connection test as a failure and ends the processing.
[0057] [1.4 Operation Example] Next, an operation example according to the first embodiment will be described. Figure 6 It is a diagram for explaining an example of the display configuration of the SMTP setting screen W100. Figure 6The test screen W100 illustrated in FIG. 1 is a display configuration example of the test screen W100 displayed by the control unit 11 when OAuth authentication is selected as the authentication method via the authentication method selection pull-down menu P10 .
[0058] The test screen W100 includes a connection information input area R10 and a connection test execution area R20. The connection information input area R10 is an area for accepting input of connection information. The connection information input area R10 can display different items according to the authentication method selected through the authentication method selection pull-down menu P10. Figure 6 In the test screen W100 shown, in response to the selection of OAuth authentication, a provider input box Bx10 , an account name input box Bx12 , and a token acquisition status display area R12 as display items are displayed as input items for connection information.
[0059] The provider input box Bx10 is an input box for accepting input of provider information for specifying a service provider that is the subject of the authorization process and the authentication process. In the provider input box Bx10, for example, information for specifying the cloud 30 on the network NW such as the name, domain name, and URL (Uniform Resource Locator) of the cloud 30 as a service provider can be input.
[0060] The account name input box Bx12 is an input box for accepting input of an account of the service provider input in the provider input box Bx10.
[0061] The token acquisition status display area R12 is an area that displays the acquisition status of the token issued from the service provider in conjunction with the authorization in OAuth authentication. In the token acquisition status display area R12, for example, "Not acquired", "Acquired", "Acquisition in progress", "Invalid", "-(Unconfirmed)", etc. can be displayed according to the token acquisition status. In addition, in the token acquisition status display area R12, Figure 6 The conditions for executing OAuth authentication are displayed as shown in the example in . The user can easily understand the conditions for executing OAuth authentication by confirming the display content displayed as the conditions for executing OAuth authentication (In order to make OAuth2.0 authentication effective, a token must be obtained. Please use the system settings of the main operation panel to obtain a token.).
[0062] The connection test execution area R20 includes an execution button B10 for accepting an execution instruction of the connection test, an execution result display area R22, and a registration button B12. The execution button B10 is a button for accepting an execution instruction of the connection test. When the user's selection of the execution button B10 is accepted, the control unit 11 executes the connection test. The execution result display area R22 is an area for displaying the execution result of the connection test and information notified to the user. The registration button B12 is a button for accepting a registration instruction of the connection information input via the connection information input area R10 when the connection test is successful. In addition, the registration button B12 can also be displayed at the moment when the executed connection test is successful. When the control unit 11 accepts the selection of the registration button B12, the connection information input via the connection information input area R10 is stored in the connection information storage area 216 as the first connection information that the connection has been successfully connected.
[0063] Figure 7 This is a diagram for explaining a case where the user inputs connection information via the connection information input region R10 of the test screen W100 . Figure 7 It indicates that OAuth authentication is selected as the authentication method through the authentication method selection drop-down menu P10, and the name "aabbcc" of the cloud 30 of the service provider that is the object of the authorization and authentication processing is entered in the provider input box Bx10, and the account "admin@aabbcc.jp" used for the connection is in the middle of being entered (admin@...).
[0064] Figure 8 1 is a diagram for explaining an example of the display configuration of the test screen W100 when the connection test is successful. Figure 8 The example of action shown in the example is equivalent to Figure 5 An example of the operation of the processing related to step S42.
[0065] Figure 8 This is an example in which the connection test that was executed successfully by accepting the selection instruction of the execution button B10 is displayed in the execution result display area R22 (the connection test was successful. When registering the input connection information, please select the "register button (U)".). At this time, "acquired" indicating that the token has been acquired is displayed in the token acquisition status display area R12. When the control unit 11 accepts the user's selection of the register button B12, the connection information input through the connection information input area R10 is stored in the connection information storage area 216 as the first connection information that the connection is successfully completed.
[0066] Fig. 9 FIG. 2 is a diagram for explaining an example of the display configuration of the test screen W100 when the connection test fails. Fig. 9 The operation example described in the above is equivalent to the control unit 11 Figure 4In step S22 of , when it is determined that the registered connection information is inconsistent with the connection information input to the test screen W100 (step S22: No), processing is performed.
[0067] When the registered connection information is inconsistent with the connection information input in the test screen W100 (provider input box Bx10, account name input box Bx12), the control unit 11 will display the content to the effect that the connection information is inconsistent and the connection test cannot be continued (Due to inconsistent connection information, the connection test cannot be continued. Please confirm the connection information) as an error display in the display area R22 such as the execution results.
[0068] By checking the content displayed in the execution result display area R22 , the user can understand that the connection test cannot be continued because the assumed connection information is incorrect.
[0069] and Fig. 9 Likewise, Fig.10 FIG. 2 is a diagram for explaining another display configuration example of the test screen W100 when the connection test fails. Fig.10 The operation example described in the above is equivalent to the control unit 11 Figure 4 Processing when it is determined in step S18 that a token serving as authentication information accompanying authorization in OAuth authentication has not been acquired (step S18: No).
[0070] When the token associated with the authorization in the OAuth authentication is not obtained, since the token is not obtained, the control unit 11 will display the content to the effect that the connection test cannot be continued because the token has not been obtained (The token was not obtained. The connection test cannot be continued, so the processing is terminated.) as an error display in the display area R22 such as the execution results.
[0071] By checking the content displayed in the execution result display area R22 , the user can understand that the connection test cannot be continued because the token has not been acquired.
[0072] In this way, when the connection test fails, by displaying the reason related to the connection test failure (unfinished item, incomplete, etc.) as an error, the user can easily recognize which item to specifically input (or modify).
[0073] Furthermore, during the input of the connection information via the connection information input area R10 of the test screen W100, since the input is not completed and the connection test has not yet succeeded, the display control can also be performed in a manner in which the execute (J) button and the register button (U) are displayed in grayscale and the user cannot select the button. In this case, by setting the execute (J) button to be valid (selectable state) at the time point when the input of the required connection information is completed, and setting the register button (U) to be valid when the connection test is successful, it is possible to prevent the user from selecting the execute (J) button and the register button (U) at the wrong time in advance. In addition, in the case of a failed connection test, the execute (J) button and the register button (U) of the test screen W100 can also be displayed in grayscale to restrict the user from selecting the button.
[0074] Fig.11 This is an example of a display configuration of a test screen W114 displayed by the control unit 11 when OAuth authentication such as SMTP authentication, POP authentication, etc. is selected as the authentication method via the authentication method selection pull-down menu P10. Fig.11 In this section, we will explain how to enter the connection information related to SMTP authentication. Figure 6 Components having the same configuration as the test screen W100 illustrated in FIG. 1 are denoted by the same reference numerals and their description may be omitted.
[0075] The test screen W114 includes a connection information input area R14 and a connection test execution area R20. Fig.11 The illustrated connection information input region R14 includes a provider input box Bx10 , a user name input box Bx14 , a password input box Bx16 , and a password change check box T10 .
[0076] The provider input box Bx10 is an input box for accepting input of provider information for specifying a service provider to be subject to authentication processing. In the provider input box Bx10, for example, information for specifying the cloud 30 on the network NW such as the name, domain name, and URL of the cloud 30 as a service provider can be input.
[0077] The user name input box Bx14 is an input box for accepting input of a user name for the service provider input in the provider input box Bx10. The password input box Bx16 is an input box for accepting input of a password set corresponding to the user name input in the user name input box Bx14. The user name input in the user name input box Bx14 and the password input in the password input box Bx16 are associated with each other and used as connection information for the service provider. The password change check box T10 is a check box for accepting an instruction to change the password. When the password change check box T10 is checked, the control unit 11 accepts a change in the password.
[0078] In the first embodiment, when an authentication method other than OAuth authentication such as SMTP authentication or POP authentication is selected as the authentication method via the authentication method selection pull-down menu P10, the control unit 11 performs a connection test (equivalent to a test result) based on the connection information input into the connection information input area R14. Figure 4 Step S16; processing after “Yes”).
[0079] When the connection test is successfully executed after receiving the selection instruction of the execution button B10, the control unit 11 can display the meaning that the connection test is successful (the connection test is successful. When registering the input connection information, please select [Register (U)].) in the display area R22 of the execution results. When the control unit 11 accepts the user's selection of the registration button B12, the connection information input through the connection information input area R14 is stored in the connection information management table 2161 as the connection information of the successful connection.
[0080] Fig.12 This is a diagram for explaining the correspondence between the status on the test screen W100 and the registration status of the authentication method when the connection test button (execution button B10) is selected regarding the execution of the connection test according to the first embodiment.
[0081] In the first embodiment, the control unit 11 determines to execute the connection test under the following conditions (1) and (2). (1) When the connection information input / selected via the test screen W100 is an authentication method other than OAuth authentication (SMTP: no authentication / SMTP authentication, POP3: plain text authentication / POP authentication), when the registration status of the authentication method is that even if it is OAuth authentication, the status related to OAuth authentication is unauthorized (token not obtained), and when the registration status of the authentication method is connection information related to an authentication method other than OAuth authentication, the control unit 11 uses the connection information accepted via the test screen W100 to perform a connection test (within the dotted box in the figure). (2) Only when the registration status of the authentication method is 0Auth authentication, a token as authentication information accompanying authentication has been acquired, and the connection information input / selected via the test screen W100 is connection information related to 0Auth authentication, the control unit 11 compares the connection information input / selected via the test screen W100 with the registered connection information. Then, when the connection information input / selected via the test screen W100 is the same as the registered connection information, the control unit 11 performs a connection test (in the bold box in the figure).
[0082] In the case other than the conditions shown in (1) and (2) above, the control unit 11 determines that the connection test is an error. In this case, the control unit 11 is preferably configured to update the connection information input area in the test screen W100 from the connection information input area R14 (the input area for connection information related to SMTP authentication, etc.) to the connection information input area R10 (the input area for connection information related to OAuth authentication), and prompt the user to continue the connection test.
[0083] As described above, according to the first embodiment, only when the registration state of the authentication method is OAuth authentication, and a token as authentication information accompanying authorization has been acquired, and the connection information input / selected via the test screen is connection information related to OAuth authentication, the connection information input / selected via the test screen is compared with the registered connection information, and when the connection information is consistent, it is determined that the connection test can be performed, so that the inconsistency between the connection information of the successful connection test and the connection information input on the test screen can be prevented. In addition, when the authentication method is an authentication method other than OAuth authentication that does not require prior authorization, the connection test can be performed based on the connection information input on the test screen, so there is no concern that the convenience of the connection test corresponding to the existing authentication method will be reduced.
[0084] [2 Second Embodiment] The second embodiment is a method of notifying the user of the error content when the connection test is determined to be an error based on the acquisition status of the token as authentication information (not acquired, in the process of acquisition, invalid) in the first embodiment.
[0085] In the second embodiment, for example, Figures 13 to 15 The content of the illustrated message screen is stored in the storage unit 21. When the control unit 11 determines that the connection test is wrong, it displays the message screen on the test screen according to the token acquisition status (not acquired, acquisition in progress, invalid). The other structures and processing procedures are roughly the same as those of the first embodiment, so the description is omitted here.
[0086] [2.1 Action Example] Fig.13 This is a diagram for explaining an example of the display configuration of a message screen M10 displayed by the control unit 11 when a connection test error is determined because a token serving as authentication information has not been acquired. Fig.13 The test screen W120 is shown in Fig.10 The illustrated example shows an example in which a message screen M10 is displayed superimposed on the test screen W100 .
[0087] The message screen M10 is an example of a content that indicates that a token as authentication information has not been acquired, and prompts to move the screen to a system setting screen for acquiring a token. In this case, a move button B14 that accepts a selection to move the screen to the system setting screen (token acquisition screen) and an end button B16 that accepts a selection to end the process without moving the screen are set, so that the user can easily perform operations such as acquiring a token. In addition, it is also possible to configure the screen to not move to the system setting screen (token acquisition screen), but to provide a unit for acquiring a token (such as a token acquisition button, etc.), and the process related to token acquisition is completed on the message screen M10.
[0088] Fig.14 This is a diagram for explaining an example of a display configuration of a message screen M12 displayed by the control unit 11 when the connection test is determined to be an error due to the fact that the token as authentication information is being acquired. Fig.14 The test screen W130 is shown in Fig.10 The illustrated example shows an example in which a message screen M12 is displayed superimposed on the test screen W100 .
[0089] The message screen M12 is an example of displaying a message indicating that a token as authentication information has not yet been acquired (acquisition in progress), and prompting the user to wait until the token acquisition is completed. Since the message screen M12 displays a message indicating that the connection test error is caused by the token not being acquired (acquisition in progress), the user can easily understand the cause of the connection test error. In addition, a button for accepting a selection to move to a screen for confirming the acquisition status of the token may also be displayed on the message screen M12.
[0090] Fig.15 1 is a diagram for explaining an example of a display configuration of a message screen M14 displayed by the control unit 11 when the connection test is determined to be an error because the token serving as authentication information is invalid (for example, expired). Fig.15 The test screen W140 is shown in Fig.10 The illustrated example shows an example in which a message screen M14 is displayed superimposed on the test screen W100 .
[0091] The message screen M14 is an example of a content that indicates that the token as authentication information is invalid and prompts to move the screen to the authorization screen for reacquiring the token. In this case, by providing a move button B18 for accepting a selection to move the screen to the authorization screen and an end button B20 for accepting the end of the process without moving the screen, the user can easily perform operations such as authorization processing and reacquiring the token. In addition, instead of moving the screen to the authorization screen (token acquisition screen), a unit for reacquiring authorization and the token (for example, a reacquisition button, etc.) can be provided, and the process related to reacquiring the token is completed on the message screen M14.
[0092] Furthermore, when the connection test is determined to be an error because the token serving as the authentication information is invalid (for example, expired), the input of the connection information may be restricted.
[0093] Fig.16 1 is a diagram for explaining an example of a display configuration of a message screen M16 displayed by the control unit 11 when the connection test is determined to be an error because the token serving as authentication information is invalid (for example, expired). Fig.16 The test screen W150 shown in the example is Fig.10 2 is an example in which a message screen M16 is displayed superimposed on the test screen W100 illustrated in FIG. 2 , and input of connection information to the provider input box Bx10 and the account name input box Bx12 is restricted.
[0094] The message screen M16 is an example showing that the token as authentication information is invalid and restricting the input of each item (provider input box Bx10 and account name input box Bx12) that accepts the input of connection information. In this way, when the token is invalid, by restricting the input of connection information, it is possible to prevent the user from inputting wrong connection information. In addition, a delete button B14 for accepting a token deletion instruction may also be provided in the test screen W150. The user can delete the invalid token by selecting the delete button B14.
[0095] As described above, according to the second embodiment, when the connection test is determined to be an error based on the acquisition status of the token as authentication information (not acquired, acquisition in progress, invalid), the user is notified of the error content, so the user can easily understand the cause of the error. In addition, according to the second embodiment, a unit and a prompt for eliminating the error can also be provided, so the user can eliminate the error based on understanding the error content.
[0096] [3 Modifications] Regarding input / selection of connection information via the test screen, when the registration status of the authentication method is OAuth authentication and a token accompanying authorization has been acquired, input / selection of connection information via the test screen may be restricted.
[0097] For example, Fig.17 This is a diagram for explaining a display configuration example of a test screen W160 for limiting input / selection of connection information via the test screen when the registration status of the authentication method is OAuth authentication and a token accompanying authorization has been acquired. Fig.17 This is an example of limiting the input of connection information by dimming the provider input box Bx10 and the account name input box Bx12 in order to clearly indicate to the user that the connection information cannot be input via the test screen W160. In addition, the input of connection information can also be limited by graying out the currently set provider and account name. In addition, the [Delete (O) button] B22 is a button for accepting a deletion instruction for the current connection information. In this way, when the registration status of the authentication method is OAuth authentication and a token accompanying authorization has been obtained, by limiting the input of connection information, it is possible to prevent the user from entering incorrect connection information in advance.
[0098] As an authentication method, the present disclosure can be applied to token-based authentication methods such as GNAP (Grant Negotiation and Authorization Protocol) in addition to OAuth authentication. The present disclosure is not limited to the above-mentioned embodiments, and various changes can be made. That is, the embodiments obtained by combining appropriately changed technical means within the scope of the main purpose of the present disclosure are also included in the technical scope of the present disclosure.
[0099] In addition, for the sake of convenience of explanation, the above-mentioned embodiments have parts described separately, but it goes without saying that they can also be combined and executed within the scope of technical possibility.
[0100] In addition, in the embodiments, the program running in each device is a program that controls the CPU and the like (a program that enables the computer to function) to realize the functions of the above-mentioned embodiments. Furthermore, the information processed by these devices is temporarily stored in a temporary storage device (e.g., RAM) while being processed, and is then stored in various ROM (Read Only Memory), HDD, SSD storage devices and read, modified, and written by the CPU as needed.
[0101] Here, the recording medium for storing the program may be any one of a semiconductor medium (e.g., a ROM, a nonvolatile memory card, etc.), an optical recording medium / magneto-optical recording medium (e.g., a DVD (Digital Versatile Disc), an MO (Magneto Optical Disc), an MD (Mini Disc), a CD (Compact Disc), a BD (Blu-ray (registered trademark) Disc), etc.), a magnetic recording medium (e.g., a magnetic tape, a floppy disk, etc.). In addition, by executing the downloaded program, not only the functions of the above-mentioned embodiments can be realized, but also the functions of the present disclosure can be realized through joint processing by an operating system or other application programs based on the instructions of the program.
[0102] Furthermore, when the program is distributed to the market, it may be stored in a portable recording medium and distributed, or transferred to a server computer connected via a network such as the Internet. In this case, the storage device of the server computer is of course also included in the present invention.
[0103] In addition, each functional module or each feature of the device used in the above-mentioned embodiments can be installed and executed by a circuit, such as an integrated circuit or multiple integrated circuits. Circuits designed in a manner to implement the functions described in this specification may include: a general-purpose processor, a digital signal processor (DSP), an integrated circuit for a specific purpose (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic, discrete hardware components, or a combination thereof. The general-purpose processor may be a microprocessor, or it may be an existing type of processor, controller, microcontroller or state machine. The aforementioned circuit may be composed of digital circuits or analog circuits. In addition, with the advancement of semiconductor technology, when integrated circuit technology that replaces current integrated circuits has emerged, one or more of the methods disclosed in the present invention may also use new integrated circuits based on the technology. Description of Reference Numerals
[0104] 10Compound machine 11Control Unit 13 Input section 131 Display unit 132 Operation Department 15Ministry of Communications 17Image Processing Unit 19 Image input unit 21 Storage 211 Control Program 212 Authorization / Authentication Procedure 213 Applications 214 Browser Program 215 Connection Information Manager 216 Connection information storage area 30 Cloud
Claims
1. An information processing device, characterized in that: include: An input unit that receives input of connection information; a control unit that controls connection to a service providing device based on the received connection information, When the authentication method in the service providing device is an authentication method requiring prior authorization, the control unit determines whether connection is possible based on the received connection information according to an acquisition status of authentication information accompanied by authorization.
2. The information processing device according to claim 1, wherein: comprising a storage unit, which stores the connection information of the successful connection as the first connection information, When the authentication information is in the acquisition state, the control unit determines whether the connection is possible by comparing the first connection information stored in the storage unit with the received connection information.
3. The information processing device according to claim 2, wherein: The control unit determines that the connection is possible when the first connection information and the received connection information match, and determines that the connection is impossible when the first connection information and the received connection information do not match.
4. The information processing device according to claim 1, wherein: The control unit determines that the connection is impossible when the authentication information has not been acquired.
5. The information processing device according to claim 1, wherein: When the authentication information has not been acquired, the control unit notifies that the authentication information has not been acquired, is in the process of being acquired, or is invalid.
6. The information processing device according to claim 1, wherein: The control unit restricts acceptance of input of the connection information when the authentication information has not been acquired.
7. The information processing device according to claim 1, wherein: The control unit determines whether the connection is possible using the received connection information when the authentication method is an authentication method that does not require prior authorization or when prior authorization is not granted.
8. The information processing device according to claim 1, wherein: The control unit determines the acquisition status of the authentication information based on the acquisition status of the token.
9. A connection determination method, which is a method for accepting an input of connection information and determining whether a connection to a service providing device can be made based on the accepted connection information, characterized in that: When the authentication method in the service providing device is an authentication method requiring prior authorization, it is determined whether connection is possible based on the received connection information according to the acquisition status of the authentication information accompanying the authorization.
