Processor, image processing device, and import data processing method
The processing device manages OAuth authentication information by comparing and managing tokens, ensuring appropriate integration and compliance during device cloning, addressing productivity and ethical challenges in authentication token handling.
Patent Information
- Application Number
- JP2023057720
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-31
- Publication Date
- 2024-10-15
AI Technical Summary
Existing device cloning technologies face challenges in appropriately handling authentication information, particularly when importing data that includes OAuth authentication tokens, leading to productivity losses due to reauthorization requirements and ethical concerns regarding token reuse.
A processing device with an authentication unit that compares and manages first and second authentication information, maintaining or replacing tokens based on matching, ensuring appropriate use of OAuth authentication information without unauthorized reuse.
Enables seamless integration of OAuth authentication information while avoiding unauthorized token use, maintaining productivity and ethical compliance during device cloning processes.
Smart Images

Figure 2024145395000001_ABST
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a processing device and the like. [Background technology]
[0002] There is a known technology that allows a device to be cloned to have the same device settings as another device by importing device settings exported from the other device as import data, or to restore device settings by importing device settings exported from one's own device (hereinafter, this may be referred to as device cloning).
[0003] For example, in the case of a multifunction peripheral including a configuration as a processing device, the exported data includes setting information for executing jobs in each mode such as copy, print, scan, fax, or email transmission / reception, history information, user information of the user who uses the multifunction peripheral, and authentication information for (cloud) services such as email transmission services, etc. Then, by reflecting the export data in the target multifunction peripheral as import data, it is possible to collectively rewrite the existing device settings held by the multifunction peripheral, including the authentication information.
[0004] Regarding importing device settings including authentication information, Patent Document 1 describes that when an export file exported from another information processing device using a cloud service that requires OAuth2.0 (hereinafter simply referred to as OAuth authentication) as an authentication method is imported into an information processing device using the same cloud service, data read from the export file is stored with a token included, and authentication is performed using the token when using the same cloud service. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] JP 2019-161445 A Summary of the Invention [Problem to be solved by the invention]
[0006] An object of the present disclosure is to provide a processing device and the like that is capable of appropriately managing authentication information when importing import data that includes authentication information. [Means for solving the problem]
[0007] In order to solve the above problem, a processing device according to the present disclosure includes an authentication unit capable of applying first authentication information and authenticating with a service using second authentication information, a memory unit that stores device settings including the first authentication information and the second authentication information, and a control unit that verifies import data imported to the device and reflects the import data to the device settings stored in the memory unit, wherein the control unit, when it is determined that the import data includes third authentication information as a result of verifying the import data, compares the third authentication information with the first authentication information, and when it is determined that the third authentication information and the first authentication information are the same authentication information, maintains the second authentication information, and when it is determined that the third authentication information and the first authentication information are not the same authentication information, reflects the third authentication information in the device settings instead of the first authentication information, and deletes the second authentication information from the memory unit.
[0008] Further, an image processing device according to the present disclosure includes an authentication unit that applies first authentication information and is capable of authenticating with a service using second authentication information, a storage unit that stores device settings including the first authentication information and the second authentication information, and a control unit that verifies import data imported to the device and is capable of reflecting the import data to the device settings stored in the storage unit, wherein the control unit, when it is determined that the import data includes third authentication information as a result of verifying the import data, compares the third authentication information with the first authentication information, and when it is determined that the third authentication information and the first authentication information are the same authentication information, maintains the second authentication information, and when it is determined that the third authentication information and the first authentication information are not the same authentication information, reflects the third authentication information in the device settings instead of the first authentication information and deletes the second authentication information from the storage unit, and is characterized in that the image processing device includes an image transmission process based on the authentication result in the service.
[0009] Further, the present disclosure provides a method for processing import data, which includes storing device settings including first authentication information and second authentication information in a storage device, verifying the import data imported to the device, and if it is determined as a result of the verification of the import data that the import data includes third authentication information, comparing the third authentication information with the first authentication information, and if it is determined that the third authentication information and the first authentication information are the same authentication information, maintaining the second authentication information, and if it is determined that the third authentication information and the first authentication information are not the same authentication information, reflecting the third authentication information in place of the first authentication information in the device settings, and deleting the second authentication information from the storage device. Effect of the Invention
[0010] According to the present disclosure, it is possible to provide a processing device etc. capable of appropriately managing authentication information when importing import data including authentication information. [Brief description of the drawings]
[0011] [Figure 1] 2 is a diagram illustrating a connection configuration between a multifunction peripheral, another multifunction peripheral, an authentication service, and a mail server. [Diagram 2] FIG. 2 is a functional configuration diagram of the multifunction peripheral. [Diagram 3] FIG. 13 is a functional configuration diagram of another multifunction peripheral. [Figure 4] 1 is a diagram illustrating SMTP setting items in a multifunction device that supports the OAuth authentication method and SMTP setting items in a multifunction device that does not support the OAuth authentication method. [Diagram 5] 4 is a flowchart illustrating a process flow according to the first embodiment. [Figure 6] 4 is a flowchart illustrating a process flow according to the first embodiment. [Figure 7] 4 is a flowchart illustrating a process flow according to the first embodiment. [Figure 8] FIG. 11 is a diagram illustrating an example of the configuration of export data. [Figure 9] FIG. 11 is a diagram illustrating an example of the configuration of export data. [Figure 10] FIG. 11 is a diagram illustrating an example of the configuration of export data. [Figure 11] FIG. 11 is a diagram illustrating an example of the configuration of export data. [Figure 12] FIG. 11 is a diagram illustrating an example of the configuration of export data. [Figure 13] FIG. 11 is a diagram illustrating an example of the configuration of export data. [Figure 14] FIG. 11 is a diagram illustrating an example of the configuration of export data. [Figure 15] FIG. 11 is a diagram illustrating an example of the configuration of export data. [Figure 16] FIG. 11 is a diagram illustrating an example of the configuration of export data. [Figure 17] FIG. 11 is a diagram illustrating an example of operation. [Figure 18] FIG. 11 is a diagram illustrating an example of operation. [Figure 19] FIG. 11 is a diagram illustrating an example of operation. [Figure 20] 10 is a flowchart illustrating a process flow according to the second embodiment. [Figure 21] 13 is a flowchart illustrating a process flow according to the third embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0012] Hereinafter, embodiments of the present disclosure will be described with reference to the drawings. Note that the following embodiments are merely examples for explaining the present disclosure, and the technical content of the description described in the claims is not limited to the following description.
[0013] In a multifunction device, to execute an email sending / receiving job, authentication with a mail server such as an SMTP (Simple Mail Transfer Protocol) server is required. Recently, more secure authentication methods, such as OAuth authentication, which requires prior authorization, are becoming mainstream.
[0014] OAuth authentication is a technology in which authorization for the use of resources is granted to an authentication service, and a token obtained as a result of the authorization is used to perform authentication with, for example, a mail server.
[0015] Here, if the authentication method of the authentication information included in the import data based on device cloning is the OAuth authentication method, when the authentication information (token) related to the OAuth authentication is rewritten, a re-authorization process for the OAuth authentication service by an authorized user (administrator user) is required. In this case, until re-authorization is obtained from the OAuth authentication service, it is not possible to execute an email sending / receiving job via the email server, which leads to a decrease in productivity. On the other hand, it is not preferable from an ethical point of view to configure the authentication information (token) to be diverted between multiple devices without obtaining re-authorization from the OAuth authentication service.
[0016] In the present disclosure, when authentication information related to OAuth authentication is imported into a device compatible with the OAuth authentication method, if the authentication information to be imported is identical to first authentication information as an existing device setting of the import destination, rewriting of the existing first authentication information is omitted and a token as second authentication information is maintained, and if the authentication information to be imported is different from the existing first authentication information, the first authentication information is rewritten with the authentication information to be imported and the token as the existing device setting is deleted, thereby realizing a processing device etc. that can appropriately reflect authentication information related to OAuth authentication in the device setting of the import destination without unauthorized use of the token in the following embodiments.
[0017] [1 First embodiment] [1.1 Overall structure] FIG. 1 is a diagram illustrating an example of a connection configuration between a multifunction device 10 as an image processing device that implements a processing device according to this embodiment, another multifunction device 30 capable of exporting device settings to the outside, an authentication service 50, and a mail server 70.
[0018] The multifunction device 10 according to the first embodiment is an image processing device capable of executing jobs related to each mode, such as copy, print, scan, fax, or email transmission / reception, in a single housing. In this disclosure, the multifunction device 10 will be described as one form of an image processing device, but there is no particular limitation on the form as long as the image processing device is equipped with a processing device according to the present disclosure and has an image processing function, and the image processing device may be a copier, printer, fax, or other image processing device other than the multifunction device 10. In addition, the multifunction device 10 is an image processing device capable of reflecting export data exported from the multifunction device 30 as import data in the device settings of the own device.
[0019] The multifunction device 10 is connected to the multifunction device 30, the authentication service 50, and the mail server 70 via a network NW1. The multifunction device 10 is configured to be able to communicate with the multifunction device 30, the authentication service 50, and the mail server 70 using a communication protocol such as HTTP (Hypertext transfer protocol). There are no particular limitations on the network NW1 as long as it is a network line such as a LAN (Local area network), a WAN (Wide area network), the Internet, a telephone line, or a fax line. The multifunction device 10 can send and receive mail via the mail server 70 based on a token acquired from the authentication service 50.
[0020] The multifunction device 30 is an image processing device having the same or substantially the same device configuration and functional configuration as the multifunction device 10. The multifunction device 30 can export authentication information for an authentication service 50 as first device setting information in addition to setting information for executing jobs in each mode such as copy, print, scan, fax, or email transmission / reception, history information, and user information of a user who uses the multifunction device. Note that the multifunction device 30 will be described as being compatible with the OAuth authentication method as an authentication method and having a configuration capable of exporting the first device setting information including authentication information related to the OAuth authentication.
[0021] The authentication service 50 can be configured as an authentication server that performs resource usage authorization by implementing, for example, an authorization code flow based on OAuth 2.0 authentication. There are no limitations on the configuration of the authentication service 50 as long as it generates an authorization code, a token, etc. depending on whether authorization has been successful.
[0022] The mail server 70 supports authentication methods such as the SMTP authentication method and the OAuth authentication method, and is capable of providing services related to sending and receiving emails depending on the success or failure of the authentication result based on the acquired authentication information such as a user name (user ID), password, or token.
[0023] [1.2 Functional configuration] [1.2.1 About the multifunction device 10] The functional configuration of the multifunction device 10 according to the first embodiment will be described. Fig. 2 is a functional configuration diagram of the multifunction device 10. The multifunction device 10 includes an image processing unit 21 and an image input unit 23 in addition to the configuration of the processing device 1 indicated by the dotted line frame in the figure.
[0024] The control unit 11 controls the entire multifunction device 10. The control unit 11 is configured, for example, with one or more arithmetic units (CPUs (Central Processing Units) and the like). The control unit 11 realizes its functions by reading and executing various programs stored in the storage unit 19.
[0025] The display unit 13 displays various types of information to a user, etc. The display unit 13 can be configured, for example, by an LCD (Liquid crystal display) or an organic EL (Electro-luminescence) display, etc.
[0026] The operation input unit 15 accepts information input by a user or the like. The operation input unit 15 can be configured with various input devices such as operation keys such as hard keys and software keys, and buttons. The operation input unit 15 can be configured as a touch panel that allows input via the display unit 13. In this case, the input method of the touch panel can be a general method such as a resistive film method, an infrared method, an electromagnetic induction method, or a capacitive method.
[0027] The communication unit 17 includes a wired / wireless interface or both for communicating with other devices (the multifunction device 30, the authentication service 50, the mail server 70) via a network NW1 such as a LAN, a WAN, the Internet, a telephone line, a fax line, etc. The communication unit 17 may also include an interface related to (short-distance) wireless communication technology such as Bluetooth (registered trademark), NFC (Near field communication), Wi-Fi (registered trademark), ZigBee (registered trademark), Irda, wireless USB, etc.
[0028] The storage unit 19 stores various programs and various data necessary for the operation of the multifunction device 10. The storage unit 19 can be configured with a storage device such as a random access memory (RAM), a hard disk drive (HDD), a solid state drive (SSD), or a read only memory (ROM).
[0029] In this embodiment, the storage unit 19 stores a control program 191 , an authentication program 192 , an import data verification program 193 , and a device setting management program 194 , and reserves a device setting storage area 195 .
[0030] The control program 191 is a program that is read by the control unit 11 when performing overall control of the multifunction device 10. The control unit 11 that reads the control program 191 performs the functions of the processing device 1 according to the present disclosure by controlling the driving of the display unit 13, the operation input unit 15, the communication unit 17, etc., and further controls the driving of the image processing unit 21 and the image input unit 23 to set, execute, post-process, etc., each job such as copying, printing, scanning, faxing, or sending and receiving emails.
[0031] The authentication program 192 is a program that the control unit 11 reads out when performing authentication processing with the authentication service 50. The control unit 11 that reads out the authentication program 192 functions as an authentication unit, and can perform authentication processing (SMTP authentication method, POP authentication method, etc.) that performs authentication using a combination of a user name (user ID) and a password, in addition to authentication methods such as OAuth2.0 authentication.
[0032] The import data verification program 193 is a program that is read by the control unit 11 when export data exported from the multifunction device 30 or the like is imported as import data. After reading the import data verification program 193, the control unit 11 verifies the import data and determines whether or not the import data can be reflected in the device settings stored in the device setting storage area 195. The process of verifying the import data by the control unit 11 after reading the import data verification program 193 will be described later.
[0033] The device setting management program 194 is a program that the control unit 11 reads out when managing the device settings of the multifunction device 10, such as setting information for executing jobs in each mode, such as copy, print, scan, fax, or email sending / receiving, history information, user information of the user who uses the multifunction device, and authentication information for the authentication service 50. The control unit 11 that reads out the device setting management program 194 manages the device settings by, for example, rewriting, updating, deleting, etc. the existing device settings managed in the device setting storage area 195 based on the verification result of the import data.
[0034] The device setting storage area 195 is a storage area for storing device settings of the multifunction device 10. The device setting storage area 195 includes an authentication information storage area 1951 for storing authentication information for the authentication service 50 and the mail server 70 as device settings. When the OAuth authentication method is set as the authentication method for the multifunction device 10, the authentication information storage area 1951 stores the authentication method (OAuth authentication), account name, server information (server ID of the mail server 70), etc. as first authentication information, and a token as second authentication information. That is, the multifunction device 10 can apply the first authentication information such as the account name and server information, and perform authentication for the authentication service using the token as the second authentication information. Furthermore, when the SMTP authentication method is set as the authentication method, the authentication information storage area 1951 stores the authentication method (SMTP authentication), account name, password, server information (server address of the mail server 70), etc. as authentication information. The authentication information storage area 1951 may store authentication information related to login authentication of the multifunction peripheral 10.
[0035] The image processing unit 21 forms an image based on image data on a recording medium such as paper. The image processing unit 21 feeds paper from a paper feed tray (not shown), forms an image on the paper based on image data, and then discharges the paper to a paper discharge unit (not shown). The image processing unit 21 can be configured, for example, by a laser printer using an electrophotographic method. In this case, the image processing unit 21 forms an image using toner supplied from a toner cartridge (not shown) corresponding to a toner color (for example, cyan, magenta, yellow, black). The image processing unit 21 may also include a form in which the image data input from the image input unit 23 is subjected to, for example, shading correction, density correction, etc., to generate output image data for image transmission.
[0036] The image input unit 23 generates image data by scanning an original. The image input unit 23 can be configured as a scanner device having an image sensor such as a charge coupled device (CCD) or a contact image sensor (CIS), an automatic document feeder (ADF), or a flatbed for placing and reading an original. There is no particular limitation on the configuration of the image input unit 23 as long as it is capable of generating image data by reading a reflected light image from an original image with an image sensor. The image input unit 23 can also be configured as an interface capable of acquiring image data stored in a portable storage medium such as a universal serial bus (USB) memory, or image data transmitted from an external device (not shown).
[0037] [1.2.2 About the multifunction device 30] 3 is a functional configuration diagram of multifunction device 30. Multifunction device 30 includes a control unit 31, a display unit 33, an operation input unit 35, a communication unit 37, a storage unit 39, an image processing unit 41, and an image input unit 43. Since multifunction device 30 can have the same or substantially the same device configuration and functional configuration as multifunction device 10, only the reference numerals are changed for the same configuration as multifunction device 10, and the description thereof will be omitted.
[0038] The storage unit 39 of the multifunction device 30 stores a control program 391 , an authentication program 392 , an export program 393 , and a device setting management program 394 , and reserves a device setting storage area 395 .
[0039] The export program 393 is a program that the control unit 11 of the multifunction device 30 reads out when exporting the device settings of the multifunction device 30 stored in the device setting storage area 395 as export data. The control unit 31 of the multifunction device 30 reads out authentication information according to the following (1) to (3) from the device setting storage area 395 (authentication information storage area 3951) based on the authentication method set for the multifunction device 30 in addition to setting information for executing a job under each mode such as copy, print, scan, fax, or email transmission / reception, history information, and user information of the user who uses the multifunction device, and exports it in, for example, XML (Extensible markup language) format. Note that, as described later, in this embodiment, the setting values of the device settings are expressed by tags expressed in XML format. In this embodiment, the set of tags exported in XML format is common, but the setting values of each device setting expressed by tags can be read out as specific setting values, no setting values, or blanks for unused setting items according to each authentication method. (1) In the case where the OAuth authentication method is set as the authentication method in the multifunction device 30, third authentication information including the authentication method (OAuth authentication), the account name, and the server information (the server ID of the mail server 70). (2) In the case where the SMTP authentication method is set as the authentication method in the multifunction device 30, the fourth authentication information such as the authentication method (SMTP authentication), account name, password, server information (server address of the mail server 70), etc. (3) In the case where neither the OAuth authentication method nor the SMTP authentication method is set as the authentication method in the multifunction device 30 (no authentication), authentication information such as server information (the server address of the mail server 70) is included.
[0040] Here, the SMTP setting items in a multifunction device that supports the OAuth authentication method (SMTP settings for models that support SMTP) and the SMTP setting items in a multifunction device that does not support the OAuth authentication method (SMTP settings for models that do not support OAuth) will be explained using Fig. 4. In Fig. 4, tag names written in XML format, which is the data format of the export data, are shown in parentheses, and the data (setting value) represented by the tag name is shown in square brackets. The value after "·" is a legend.
[0041] Figure 4 shows examples of SMTP setting items, including existing authentication method (authentication), new authentication method (Security), account name (Username), provider information (Provider), Other: SMTP settings used during OAuth authentication, and Other: SMTP settings not used during OAuth authentication.
[0042] The existing authentication method (authentication) is a setting item that sets whether or not SMTP authentication is enabled as the existing authentication method. If SMTP authentication is "enabled" as the existing authentication method, the setting value is set to [true]. On the other hand, if SMTP authentication is "disabled", that is, if the existing authentication method is "no authentication", the setting value is set to [false].
[0043] The new authentication method (Security) is a setting item (new tag) provided in the SMTP settings of a multifunction device that supports the OAuth authentication method, and one of the setting values "no authentication [none]," "SMTP authentication [auth]," or "OAuth authentication [oauth]" is set based on the authentication settings of the multifunction device.
[0044] The account name (Username) is a setting item that sets the [user's account name].
[0045] The provider information (Provider) is a setting item (tag) provided in the SMTP settings of a multifunction device that supports the OAuth authentication method, and is a setting item for setting [ID of the OAuth authentication server to be used].
[0046] Others: The SMTP settings used during OAuth authentication indicate the SMTP setting items used during OAuth authentication, and include setting items such as the port number (port) and the server address (primary-address).
[0047] Others: SMTP settings not used during OAuth authentication indicate SMTP setting items not used during OAuth authentication, and include setting items such as password (password) and POP before SMTP settings (pop-before-smtp).
[0048] The example in Fig. 4 is merely an example, and the SMTP setting items according to the present disclosure are not limited to those shown in Fig. 4. In addition to the SMTP setting items in Fig. 4, POP settings also correspond in the same way (not shown).
[0049] [1.2.3 Authentication service 50 and mail server 70] The authentication service 50 can use a known configuration capable of implementing an authorization code flow based on the OAuth authentication method. Therefore, a description of the functional configuration of the authentication service 50 is omitted. The mail server 70 can use a known configuration capable of providing a service related to sending and receiving mail depending on the success or failure of authentication results based on acquired authentication information such as a user name (user ID), password, or token, which is compatible with the OAuth authentication method or the SMTP authentication method. Therefore, a description of the functional configuration of the mail server 70 is omitted.
[0050] [1.3 Processing flow] Next, the flow of processing according to this embodiment will be described. First, normal import processing in the multifunction device 10 will be described with reference to the flowchart in Fig. 5. The control unit 11 of the multifunction device 10 executes the following processing by reading the import data verification program 193 and the device setting management program 194.
[0051] In this disclosure, tags (device settings) in XML format are expressed in the following format, for example. <authentication> <data> <value> false< / value> < / data> < / authentication> In this disclosure, when there is no need to distinguish between them, the setting values of device settings expressed by each tag may be referred to as data.
[0052] First, the control unit 11 reads the export data exported from the multifunction device 30 as import data (step S10).
[0053] Next, the control unit 11 detects a tag from the read import data (step S13).
[0054] The control unit 11 judges whether the read tag is a known tag or not (step S15). Here, the known tag is a tag that the control unit 11 that reads the import data verification program 193 holds for the purpose of verifying the import data. When the tag detected from the import data matches the tag that the control unit 11 holds, the control unit 11 can judge the tag to be a known tag.
[0055] If the control unit 11 determines that the read tag is a known tag, it reads the data of the tag (step S15; Yes→step S17). Next, the control unit 11 reflects the read data (read data) in the device settings (step S19).
[0056] The control unit 11 judges whether or not the reading of all the import data has been completed (step S21). If it is judged that the reading of all the import data has been completed, the control unit 11 ends the process (step S21; Yes→End). On the other hand, if it is judged that the reading of all the import data has not been completed, the control unit 11 returns the process to step S13 (step S21; No→step S13).
[0057] Incidentally, in step S15, if it is determined that the read tag is not a known tag, the control unit 11 skips reading the import data up to the next tag (step S15; No→step S23). Then, the control unit 11 determines whether or not the reading of all the import data has been completed (step S21). If it is determined that the reading of all the import data has been completed, the control unit 11 ends the process (step S21; Yes→End). On the other hand, if it is determined that the reading of all the import data has not been completed, the control unit 11 returns the process to step S13 (step S21; No→step S13).
[0058] Next, the process of importing export data exported from the multifunction device 30 that supports the OAuth authentication method will be described with reference to the flowchart in Fig. 6. The control unit 11 of the multifunction device 10 executes the following process by reading the import data verification program 193 and the device setting management program 194. Note that the same processes as those described in Fig. 5 are given the same step numbers and their description will be omitted.
[0059] In step S15, if the control unit 11 determines that the read tag is a known tag, it determines whether the import data is an existing SMTP setting tag (step S15; Yes→step S25). If the control unit 11 determines that the import data is not an existing SMTP setting tag, it determines whether the import data is a new OAuth setting tag (step S25; No→step S27).
[0060] When the control unit 11 determines that the import data is a new OAuth setting tag, it holds the data (OAuth data) that has been read as OAuth settings (step S27; Yes→step S29). Then, the control unit 11 imports the held OAuth data (step S30).
[0061] After the import of the OAuth data is completed, the control unit 11 judges whether or not the reading of all the import data is completed (step S21). If it is judged that the reading of all the import data is completed, the control unit 11 ends the process (step S21; Yes→End). On the other hand, if it is judged that the reading of all the import data is not completed, the control unit 11 returns the process to step S13 (step S21; No→step S13).
[0062] On the other hand, if the control unit 11 determines that the import data is not a new OAuth setting tag, it executes the processes from step S17 to step S21 (step S27; No->step S17->step S19->step S21).
[0063] Meanwhile, in step S25, if it is determined that the import data is an existing SMTP setting tag, that is, if it is determined that the import data includes SMTP authentication information as fourth authentication information that is not the OAuth authentication method, the control unit 11 determines whether data that has been read as OAuth settings (OAuth data) is held (step S25; Yes→step S32).
[0064] When it is determined that the OAuth data is held, the control unit 11 determines whether or not the reading of all the import data has been completed (step S32; Yes→step S21). When it is determined that the reading of all the import data has been completed, the control unit 11 ends the process (step S21; Yes→end). On the other hand, when it is determined that the reading of all the import data has not been completed, the control unit 11 returns the process to step S13 (step S21; No→step S13).
[0065] On the other hand, if it is determined that the OAuth data is not held, the control unit 11 reads the data of the existing SMTP setting tag (step S32; No→step S34). Then, the control unit 11 reflects the data read in step S34 in the device settings (step S36). After reflecting the read data, the control unit 11 determines whether or not the reading of all the import data has been completed (step S21). If it is determined that the reading of all the import data has been completed, the control unit 11 ends the process (step S21; Yes→End). On the other hand, if it is determined that the reading of all the import data has not been completed, the control unit 11 returns the process to step S13 (step S21; No→step S13).
[0066] Next, the import process of OAuth data in step S30 in Fig. 6 will be described with reference to the flowchart in Fig. 7. Note that, also in the process described in Fig. 7, the control unit 11 executes the following process by reading the import data verification program 193 and the device setting management program 194.
[0067] When the import process of the OAuth data is started, the control unit 11 judges whether or not the read data includes the OAuth settings (step S301). If it is judged that the read data includes the OAuth settings, the control unit 11 judges whether or not the authentication method, the account name, and the server information included in the read data match the authentication method, the account name, and the server information of the device settings held by the multifunction device 10 (step S301; Yes→step S303).
[0068] If the control unit 11 determines that the authentication method, account name, and server information included in the read data match the authentication method, account name, and server information in the device settings held by the multifunction device 10, it excludes the matching data from the read data (step S303; Yes->step S305).Then, the control unit 11 reflects the OAuth data in the device settings of the multifunction device 10 (step S307), and ends the process.
[0069] On the other hand, if it is determined that the authentication method, account name, and server information included in the read data do not match the authentication method, account, and server information of the device settings held by the multifunction device 10, the control unit 11 deletes the token held as the second authentication information (step S303; No -> step S309).Then, the control unit 11 reflects the OAuth data in the device settings of the multifunction device 10 (step 307), and ends the process.
[0070] [1.4 About the structure of export data] Next, specific configuration examples of the export data according to the present disclosure will be described with reference to FIGS.
[0071] 8 is a diagram for explaining an outline of export data exported by a multifunction device (e.g., multifunction device 30) that supports the OAuth authentication method when the authentication method is set to OAuth authentication. In the export data in XML format, <smtp-config>< / smtp-config> This is an excerpt of the configuration items (child tags) contained in the tag.
[0072] Shown in box E10 <authentication>< / authentication> The tag indicates whether the SMTP setting is valid as the existing authentication method. In the example shown in FIG. 8, the authentication method is the OAuth authentication method, so <authentication>< / authentication> The setting value is set to [false].
[0073] Shown in box E12 <security>< / security> The tag is a new tag related to a newly added setting item, and indicates that the authentication method of the multifunction device is set to the OAuth authentication method ([oauth]).
[0074] Also, the account name <username>< / username> Represents tag setting value and provider information <provider>< / provider> The tag setting values are set as shown in the example of FIG. 8, but these setting values are encrypted using the "encrypted2" method.
[0075] Note that the password <password>< / password> Although the tag is blank, the blank string is encrypted, so the XML data is not blank.
[0076] Fig. 9 is a diagram showing, in table form, the main setting items of the export data exemplified in Fig. 8. The setting items shown in Fig. 9 represent setting items that are recognized as tags when the export data exemplified in Fig. 8 is imported into a multifunction device (e.g., multifunction device 10) that supports the OAuth authentication method, and setting values that are set for the tags.
[0077] On the other hand, the setting items shown in FIG. 10 represent the setting items recognized as tags and the setting values set for the tags when the export data shown in FIG. 8 is imported into a multifunction device that does not support the OAuth authentication method. Multifunction devices that do not support the OAuth authentication method cannot support the OAuth authentication method. Therefore, when the export data is imported, <security>< / security> Tags, representing provider information <provider>< / provider> The tag is not recognized.
[0078] 11 is a diagram for explaining an outline of export data exported by a multifunction device (e.g., multifunction device 30) that supports the OAuth authentication method when the authentication method is set to SMTP authentication. <smtp-config>< / smtp-config> This is an excerpt of the configuration items (child tags) contained in the tag.
[0079] Shown in box E10 <authentication>< / authentication> The tag indicates whether the SMTP setting is valid as the existing authentication method. In the example shown in FIG. 11, the authentication method is the SMTP authentication method, so <authentication>< / authentication> The tag's value is set to [true].
[0080] Shown in box E12 <security>< / security>The tag is a new tag related to a newly added setting item, and indicates that the authentication method of the multifunction device is set to the SMTP authentication method ([auth]).
[0081] Also, the account name <username>< / username> Represents the tag setting value and password <password>< / password> The tag setting values are set as shown in the example of FIG. 11, but these setting values are encrypted using the "encrypted2" method.
[0082] In addition, the provider information is <provider>< / provider> Although the setting value of the tag is blank, the blank character string is encrypted, so the value is not blank in the XML data.
[0083] Fig. 12 is a diagram showing, in table form, the main setting items of the export data exemplified in Fig. 11. The setting items shown in Fig. 12 represent setting items that are recognized as tags when the export data exemplified in Fig. 11 is imported into a multifunction device (e.g., multifunction device 10) that supports the OAuth authentication method, and setting values that are set for the tags.
[0084] On the other hand, the setting items shown in FIG. 13 represent the setting items recognized as tags and the setting values set for the tags when the export data shown in FIG. 11 is imported into a multifunction device that does not support the OAuth authentication method. Multifunction devices that do not support the OAuth authentication method cannot support the OAuth authentication method. Therefore, when the export data is imported, <security>< / security> Tags, representing provider information <provider>< / provider> The tag is not recognized.
[0085] 14 is a diagram for explaining an outline of export data exported by a multifunction device (e.g., multifunction device 30) that supports the OAuth authentication method when the authentication method is set to no authentication. <smtp-config>< / smtp-config> This is an excerpt of the configuration items (child tags) contained in the tag.
[0086] Shown in box E10 <authentication>< / authentication> The tag indicates whether the SMTP setting as the existing authentication method is valid or not. In the condition illustrated in FIG. 14, the authentication method is no authentication, so <authentication>< / authentication> The setting value is set to [false].
[0087] Shown in box E12 <security>< / security> The tag is a new tag related to a newly added setting item, and indicates that the authentication method of the multifunction device is set to no authentication ([none]).
[0088] Also, the account name <username>< / username> The tag setting values are set as shown in the example of FIG. 14, but these setting values are encrypted using the "encrypted2" method.
[0089] Note that the password <password>< / password> Although the tag is blank, the blank string is encrypted, so the XML data is not blank.
[0090] 15 is a diagram for explaining export data exported by a multifunction device that does not support the OAuth authentication method and is set as the authentication method by SMTP authentication. <smtp-config>< / smtp-config> This is an excerpt of the configuration items (child tags) contained in the tag.
[0091] Shown in box E10 <authentication>< / authentication> The tag indicates whether the SMTP setting is valid as the existing authentication method. In the example shown in FIG. 15, the authentication method is the SMTP authentication method, so <authentication>< / authentication> The tag's value is set to [true].
[0092] As shown in the frame E12 illustrated in FIG. 8, FIG. 11, and FIG. <security>< / security> Since the multifunction peripheral does not support the OAuth authentication method, no tag is provided in the example of FIG.
[0093] 16 is a diagram for explaining an outline of export data exported by a multifunction device that does not support the OAuth authentication method and is set as the authentication method without authentication. <smtp-config>< / smtp-config> This is an excerpt of the configuration items (child tags) contained in the tag.
[0094] Shown in box E10 <authentication>< / authentication> The tag indicates whether the SMTP setting as the existing authentication method is valid or not. In the condition illustrated in FIG. 16, the authentication method is no authentication, so <authentication>< / authentication> The tag's value is set to [false].
[0095] As shown in the frame E12 illustrated in FIG. 8, FIG. 11, and FIG. <security>< / security> Since the multifunction peripheral does not support the OAuth authentication method, the tag is not provided in the example of FIG.
[0096] [1.5 Example of operation] Next, an operation example according to this embodiment will be described. Fig. 17 is a diagram for explaining an operation example relating to the import process of the OAuth data explained in the flowchart of Fig. 7. Fig. 17 is a diagram for explaining an example of the configuration of a notification screen W10 that, when it is determined that the authentication method, account name, and server information included in the OAuth data (read data) match the authentication method, account name, and server information of the device settings held by the multifunction device 10, excludes the matching data from the read data and notifies that related settings have been skipped.
[0097] The notification screen W10 includes a message screen M10 with the notification content "The import data was verified, and since the authentication information was the same, the related settings were skipped." By checking the display content of the message screen M10, the user can understand that the related settings were skipped in the import process.
[0098] FIG. 18 is a diagram illustrating an example of the configuration of a notification screen W20 that deletes the token and notifies the user that the imported data has been reflected in the device settings when it is determined that the authentication method, account name, and server information included in the OAuth data (read data) do not match the authentication method, account name, and server information in the device settings held by the multifunction device 10.
[0099] The notification screen W20 includes a reflected information notification area R10, an OK button B10, an Undo button B12, and a Partial Edit button B14.
[0100] The reflection information notification area R10 is an area for notifying the device settings in which the import data is reflected. Fig. 18 shows an example of device settings in which the import data is reflected, including authentication method, security, provider, and account name. At this time, as shown in Fig. 18, by also notifying the user that the token has been deleted, the user can understand that re-authorization by the (administrator) user is required. In this case, for example, a notification screen or notification area (not shown) may be provided separately to notify the user that re-authorization by the (administrator) user is required.
[0101] The OK button B10 is a button for accepting acceptance of the reflection result of the import data. When the OK button B10 is selected by the user, the control unit 11 determines that the reflection of the import data to the device settings is accepted, and ends the display of the notification screen W20. The Undo button B12 is a button for accepting the selection of returning the device settings to the state before the import data is reflected. When the Undo button B12 is selected by the user, the control unit 11 returns the device settings to the state before the import data is imported. The Partial Edit button B14 is a button for accepting an instruction to edit the device settings after the import data is reflected. When the Partial Edit button B14 is selected by the user, the control unit 11 makes the device settings notified in the reflection information notification area R10 editable, and accepts an editing instruction from the user. The control unit 11 edits the device settings based on the accepted editing instruction.
[0102] 19 is a diagram for explaining an example of the configuration of the authorization processing screen W30 that displays the reflection result of the import data. The authorization processing screen W30 can be displayed as one of the system setting screens that accepts the system settings of the multifunction device 10.
[0103] The authorization processing screen W30 includes a selection item display area R12, a detailed setting area R14, and a close button B18.
[0104] The selection item display area R12 is an area that displays setting items that can be set by the user in a selectable manner. Fig. 19 shows an example in which home screen settings, copy settings, printer settings, and network settings are displayed as items that can be selected by the user.
[0105] The detailed setting area R14 is an area that displays setting items that accept input of setting values, etc. for the items selected in the selection item display area R12. Note that the example in Fig. 19 shows an example in which a setting screen related to SMTP authentication settings is displayed in the detailed setting area R14.
[0106] The detailed setting region R14 includes an authentication method pull-down menu PM10, a provider pull-down menu PM12, an account name input box Bx10 for receiving input of an account name for the provider, and a connect button B16.
[0107] The authentication method pull-down menu PM10 is a pull-down menu that accepts the selection of an authentication method. In the example of Fig. 19, the OAuth authentication method is displayed as a selectable authentication method.
[0108] The provider pull-down menu PM12 is a pull-down menu that accepts the selection of an authentication service 50 as an authentication destination required for OAuth authentication. When a user selects a down arrow at the end of the menu, the provider pull-down menu PM12 displays selectable provider names. The example in FIG. 19 shows that "abcdefg" is displayed as a selectable provider.
[0109] The account name input box Bx10 is an input box that accepts input of an account name for the provider "abcdefg." In the example of Fig. 19, "aaa@bbb.ccc.ddd" is displayed in an inputtable state as the account name for the provider "abcdefg."
[0110] The connect button B16 is a button for accepting an instruction to start authorization processing for the provider "abcdefg." When the control unit 11 accepts an instruction to select the connect button B16 by the user, the control unit 11 starts authorization processing with the provider "abcdefg."
[0111] The close button B18 is a button for accepting an instruction to end the display of the authorization processing screen W30. When the user selects the close button B18, the control unit 11 ends the display of the authorization processing screen W30.
[0112] As described above, according to the present embodiment, when authentication information related to OAuth authentication is imported into a device compatible with the OAuth authentication method, if the authentication information to be imported is identical to the first authentication information as the existing device setting of the import destination, rewriting of the existing first authentication information is omitted and a token as the second authentication information is maintained, and if the authentication information to be imported is different from the existing first authentication information, the first authentication information is rewritten with the authentication information to be imported and the token is deleted, thereby making it possible to provide a processing device or the like that can appropriately reflect the authentication information related to OAuth authentication in the device setting of the import destination without unauthorized use of the token.
[0113] [2 Second embodiment] As a second embodiment, a mode will be described in which, when the authentication information to be imported is identical to the first authentication information as the existing device setting of the import destination, only the first authentication information is rewritten and rewriting of the second authentication information is restricted.
[0114] The functional configuration according to the second embodiment can be the same as that of the first embodiment, and therefore a description thereof will be omitted here.
[0115] [2.1 Processing flow] The OAuth data import process in the second embodiment can be explained using a flowchart in which Fig. 7 is replaced with Fig. 20. Other processes can be the same as those in the first embodiment, and therefore explanations thereof will be omitted here. Also, in Fig. 20, processes that can be performed in the same way as in Fig. 7 are given the same step numbers, and explanations thereof will be omitted.
[0116] 20, if the control unit 11 determines that the authentication method, account name, and server information included in the read data match the authentication method, account name, and server information in the device settings held by the multifunction device 10, it excludes the token from the read data to restrict rewriting of the second authentication information (step S303; Yes->step S501).Then, the control unit 11 reflects the OAuth data in the device settings of the multifunction device 10 (step S307), and ends the process.
[0117] According to the second embodiment, when the authentication information to be imported is identical to the first authentication information as the existing device setting of the import destination, it is possible to rewrite only the first authentication information and restrict rewriting of the token as the second authentication information, thereby obtaining the same effect as the first embodiment.
[0118] [3 Third embodiment] As a third embodiment, a form will be described in which, when the authentication information to be imported is different from the first authentication information as the existing device setting of the import destination, the token as the second authentication information is maintained without being deleted, and the first authentication information is rewritten with the authentication information to be imported.
[0119] The functional configuration according to the third embodiment can be the same as that of the first embodiment, and therefore a description thereof will be omitted here.
[0120] [3.1 Processing flow] The OAuth data import process in the third embodiment can be explained using a flowchart in which Fig. 7 is replaced with Fig. 21. Other processes can be the same as those in the first embodiment, and therefore explanations thereof will be omitted here. Also, in Fig. 21, processes that can be performed in the same way as in Fig. 7 are given the same step numbers, and explanations thereof will be omitted.
[0121] 21, if the control unit 11 determines that the authentication method, account name, and server information included in the read data do not match the authentication method, account name, and server information of the device settings held by the multifunction device 10, the control unit 11 maintains the token related to the existing device settings without deleting it (step S303; No->step S601). Then, the control unit 11 reflects the OAuth data in the device settings of the multifunction device 10 (step S307). Note that if the control unit 11 maintains the token without deleting it, it notifies the user that the administrator user needs to reacquire the token, and ends the process (step S603).
[0122] According to the third embodiment, when the authentication information to be imported is different from the first authentication information as the existing device setting of the import destination, the token as the second authentication information is maintained. In this case, the maintained token does not match the token corresponding to the rewritten first authentication information, so that the token is not misused. Then, the administrator user is notified that the token needs to be reacquired, so that the authentication information related to the OAuth authentication can be appropriately reflected in the device setting of the import destination without misusing the token.
[0123] [4 Variations] The present disclosure is not limited to the above-described embodiments, and various modifications are possible. In other words, the technical scope of the present disclosure also includes embodiments obtained by combining technical means that are appropriately modified within the scope of the gist of the present disclosure.
[0124] Although the above-described embodiments are described separately for convenience of explanation, they may be combined and executed within a technically feasible range.
[0125] In addition, the programs that run on each device in the embodiments are programs that control the CPU and the like (programs that make a computer function) so as to realize the functions of the above-mentioned embodiments. Information handled by these devices is temporarily stored in a temporary storage device (e.g., RAM) during processing, and is then stored in various storage devices such as ROMs (Read Only Memories) and HDDs, and is read, modified, and written by the CPU as necessary.
[0126] Here, the recording medium for storing the program may be any of semiconductor media (e.g., ROM, non-volatile memory cards, etc.), optical recording media, magneto-optical recording media (e.g., DVD (Digital Versatile Disc), MO (Magneto Optical Disc), MD (Mini Disc), CD (Compact Disc), BD (Blu-ray (registered trademark) Disc, etc.)), magnetic recording media (e.g., magnetic tape, flexible disk, etc.), etc. Furthermore, not only are the functions of the above-mentioned embodiments realized by executing the loaded program, but the functions of the present disclosure may also be realized by processing in cooperation with an operating system or other application programs, etc., based on instructions from the program.
[0127] In addition, when distributing the program on the market, the program can 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 included in the present disclosure.
[0128] Also, each functional block or feature of the device used in the above-mentioned embodiment can be implemented and executed by an electric circuit, for example, an integrated circuit or a plurality of integrated circuits. The electric circuit designed to realize the functions described herein may include a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic device, discrete gate or trongistor logic, discrete hardware components, or a combination thereof. The general-purpose processor may be a microprocessor, or a conventional processor, controller, microcontroller, or state machine. The electric circuit described above may be composed of a digital circuit or an analog circuit. Also, when an integrated circuit technology that replaces the current integrated circuit appears due to the progress of semiconductor technology, one or more aspects of the present disclosure can use a new integrated circuit according to the technology. [Explanation of symbols]
[0129] 1 Display device 10, 30 multifunction devices 11, 31 Control section 13, 33 Display section 15, 35 Operation input section 17, 37 Communications Department 19, 39 Memory section 21, 41 Image processing unit 23, 43 Image input unit 191, 391 Control program 192, 392 Certification Program 193 Import Data Validation Program 393 Export Program 194, 394 Device setting management program 195, 395 Device settings storage area 1951, 3951 Authentication information storage area 50 Authentication Services 70 Mail Server
Claims
1. an authentication unit capable of applying the first authentication information and authenticating with a service using the second authentication information; a storage unit that stores device settings including the first authentication information and the second authentication information; a control unit that verifies import data imported into the device and is capable of reflecting the import data in the device settings stored in the storage unit; When it is determined that the import data includes third authentication information as a result of the verification of the import data, the control unit compares the third authentication information with the first authentication information; maintain the second authentication information when it is determined that the third authentication information and the first authentication information are identical; A processing device characterized in that, when it is determined that the third authentication information and the first authentication information are not the same authentication information, the processing device reflects the third authentication information in place of the first authentication information in the device settings and deletes the second authentication information from the memory unit.
2. The import data represents the setting values of the device settings in association with tags, The control unit is 2. The processing device according to claim 1, further comprising: a processor for processing the imported data based on the detected tag.
3. The control unit is The processing device according to claim 2, characterized in that if the tag represents a setting value regarding an authentication method for authenticating with the service using the second authentication information, it is determined that the import data includes the third authentication information.
4. The processing device according to claim 3 , wherein the authentication method is an OAuth authentication method.
5. The control unit is The processing device according to claim 3, characterized in that if the tag represents a setting value relating to an authentication method other than the authentication method, it is determined that the import data includes fourth authentication information, and the fourth authentication information is reflected in the device settings.
6. 6. The processing device according to claim 5, wherein the other authentication method is an authentication method using a user name and a password.
7. the import data includes first device setting information; The control unit is replacing the device settings with a first device setting based on the first device setting information; The third authentication information is maintain the second authentication information when it is determined that the third authentication information and the first authentication information are identical; The processing device according to claim 1, characterized in that, when it is determined that the third authentication information and the first authentication information are not the same authentication information, the third authentication information is reflected in the device settings instead of the first authentication information, and the second authentication information is deleted from the memory unit.
8. an authentication unit capable of applying the first authentication information and authenticating with a service using the second authentication information; a storage unit that stores device settings including the first authentication information and the second authentication information; a control unit that verifies import data imported into the device and is capable of reflecting the import data in the device settings stored in the storage unit; When it is determined that the import data includes third authentication information as a result of the verification of the import data, the control unit compares the third authentication information with the first authentication information; maintain the second authentication information when it is determined that the third authentication information and the first authentication information are identical; a processing device that, when it is determined that the third authentication information and the first authentication information are not the same authentication information, reflects the third authentication information in place of the first authentication information in the device setting and deletes the second authentication information from the storage unit; and an image processing unit that performs a process of transmitting an image based on a result of authentication in the service.
9. storing a device setting in a storage device, the device setting including the first authentication information and the second authentication information; Validate the imported data against the device; When it is determined that the import data includes third authentication information as a result of the verification of the import data, the third authentication information is compared with the first authentication information; maintain the second authentication information when it is determined that the third authentication information and the first authentication information are identical; A method for processing import data, characterized in that when it is determined that the third authentication information and the first authentication information are not the same authentication information, the third authentication information is reflected in the device settings instead of the first authentication information, and the second authentication information is deleted from the storage device.
Citation Information
Patent Citations
Distribution device, image forming device, system, control method, and computer program
JP2014021726A
Image forming apparatus, control method of image forming apparatus, and program
JP2015180990A
Application program and information processing device
JP2019161445A
Information processing device and information processing system, method for changing configuration, and program
JP2019191823A
Authenticating Devices Via Tokens and Verification Computing Devices
US20200092283A1
