Processing apparatus, image processing apparatus, and method for processing imported data

By judging the consistency of the authentication information of the imported data with the existing device settings during the device cloning process, it solves the problem of reauthorization of the token imported by the OAuth authentication device and realizes safe and efficient authentication information processing.

CN118734283APending Publication Date: 2024-10-01SHARP KK
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410287581.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-03-31
Filing Date
2024-03-13
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

During the device cloning process, when data is imported using an OAuth-authenticated device, rewriting the token requires re-authorization processing, resulting in reduced productivity and possible improper misappropriation of authentication information. Existing technology cannot effectively solve this problem.

Method used

In the imported data, determine whether the imported authentication information is the same as the authentication information set on the existing device. If they are the same, the token will be maintained. If they are different, the token will be replaced and the original token will be deleted to ensure proper reflection and security of the OAuth authentication information. sex.

Benefits of technology

It effectively avoids the improper use of tokens, improves the security and productivity of OAuth authentication-related data import, and ensures the legality and validity of authentication information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118734283A_ABST
    Figure CN118734283A_ABST
Patent Text Reader

Abstract

The invention provides a processing device and the like which can appropriately use authentication information in the import of import data including the authentication information. The processing device includes: an authentication unit that applies first authentication information and enables authentication 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 can reflect import data set to the device stored in the storage unit, the control unit comparing the third authentication information with the first authentication information when the verification result of the import data determines that the import data includes the third authentication information, and if the verification result of the import data indicates that the third authentication information is included in the import data, the control unit determines that the third authentication information is included in the import data. The second authentication information is maintained when it is determined that the authentication information is the same, and the third authentication information is reflected in the device setting in place of the first authentication information when it is determined that the authentication information is not the same, and the second authentication information is deleted from the storage unit.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to a processing device and the like. Background Art

[0002] A technique is known for copying a device having the same device settings as another device by importing the device settings exported from the other device as import data, or for restoring the device settings by importing the device settings exported from the own device (hereinafter sometimes referred to as device cloning).

[0003] For example, in the case of a multifunction machine as a processing device, the exported data includes authentication information for (cloud) services such as mail sending services, in addition to setting information for executing jobs in various modes such as copying, printing, scanning, faxing, or mailing, history information, and user information of users using the multifunction machine. Furthermore, by reflecting the exported data as imported data in the target multifunction machine, the existing device settings held by the multifunction machine can be rewritten together with the authentication information.

[0004] Regarding the import of device settings containing authentication information, Patent Document 1 describes that in an information processing device that uses a cloud service that requires OAuth2.0 (hereinafter referred to as OAuth authentication) as an authentication method, when importing an export file exported from another information processing device that uses the same cloud service, the data read from the export file is stored in a state containing a token, and the token is used for authentication when using the same cloud service. Prior art literature Patent Literature

[0005] Patent Document 1: Japanese Patent Application Publication No. 2019-161445 Summary of the invention Technical Problems to be Solved by the Invention

[0006] An object of the present disclosure is to provide a processing device and the like that can appropriately utilize authentication information when importing import data including authentication information. Solutions for solving problems

[0007] In order to solve the above-mentioned problem, the processing device involved in the present disclosure is characterized in that it includes: an authentication unit, which applies first authentication information and can use second authentication information to authenticate with a service; a storage unit, which stores device settings including the first authentication information and the second authentication information; and a control unit, which verifies import data imported into the device and can reflect the import data for the device settings stored in the storage unit, and the control unit compares the third authentication information with the first authentication information when the verification result of the import data determines that the import data contains third authentication information, maintains the second authentication information when it is determined that the third authentication information and the first authentication information are the same authentication information, and reflects the third authentication information in the device settings instead of the first authentication information when it is determined that the third authentication information and the first authentication information are not the same authentication information, and deletes the second authentication information from the storage unit.

[0008] In addition, the image processing device involved in the present disclosure is characterized in that it includes a processing device and an image processing unit, the processing device includes: an authentication unit, which applies first authentication information and can use second authentication information to authenticate with a service; a storage unit, which stores device settings including the first authentication information and the second authentication information; and a control unit, which verifies import data imported into the device and can reflect the import data for the device settings stored in the storage unit, when the verification result of the import data determines that the import data contains third authentication information, the control unit compares the third authentication information with the first authentication information, 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 the image processing unit performs image sending processing based on the authentication result in the service.

[0009] In addition, in the present disclosure, the method for processing imported data is characterized in that a device setting including the first authentication information and the second authentication information is stored in a storage device, the imported data imported into the device is verified, and when the verification result of the imported data determines that the imported data contains third authentication information, the third authentication information is compared 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, the second authentication information is maintained, and 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 setting instead of the first authentication information, and the second authentication information is deleted from the storage device. Effects of the Invention

[0010] According to the present disclosure, it is possible to provide a processing device or the like that can appropriately utilize authentication information when importing import data including authentication information. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] Figure 1 This diagram explains how a multifunction device, another multifunction device, an authentication service, and a mail server are connected. Figure 2 This is a functional configuration diagram of a multifunction device. Figure 3 This is a functional configuration diagram of other multifunction devices. Figure 4 The diagram is a diagram for explaining 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. Figure 5 This is a flowchart illustrating the flow of processing according to the first embodiment. Figure 6 This is a flowchart illustrating the flow of processing according to the first embodiment. Figure 7 This is a flowchart illustrating the flow of processing according to the first embodiment. Figure 8 This is a diagram for explaining an example of the structure of export data. Fig. 9 This is a diagram for explaining an example of the structure of export data. Fig.10 This is a diagram for explaining an example of the structure of export data. Fig.11 This is a diagram for explaining an example of the structure of export data. Fig.12 This is a diagram for explaining an example of the structure of export data. Fig.13 This is a diagram for explaining an example of the structure of export data. Fig.14 This is a diagram for explaining an example of the structure of export data. Fig.15 This is a diagram for explaining an example of the structure of export data. Fig.16 This is a diagram for explaining an example of the structure of export data. Fig.17 This is a diagram for explaining an operation example. Fig.18 This is a diagram for explaining an operation example. Fig.19 This is a diagram for explaining an operation example. Fig. 20 This is a flowchart illustrating the flow of processing according to the second embodiment. Fig.21 This is a flowchart illustrating the flow of processing according to the third embodiment. DETAILED DESCRIPTION

[0012] 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.

[0013] In a multifunction peripheral, when executing a mail sending and receiving job, it is necessary to authenticate a mail server such as an SMTP (Simple Mail Transfer Protocol) server. Recently, an authentication method that requires prior authorization, such as OAuth authentication, has become mainstream as a more secure authentication method.

[0014] OAuth authentication is a technology that authorizes an authentication service to grant the right to use resources and uses a token obtained as a result of the authorization to authenticate with, for example, a mail server.

[0015] Here, in the case where the authentication method of the authentication information contained in the imported data based on device cloning is the OAuth authentication method, if the authentication information (token) related to the OAuth authentication is rewritten, it is necessary for the authorized user (administrator user) to reauthorize the OAuth authentication service. In this case, the mail sending and receiving operation via the mail server cannot be performed before reauthorization is obtained from the OAuth authentication service, which becomes a major cause of reduced productivity. On the other hand, from an ethical point of view, it is not preferred to adopt a structure that can misappropriate authentication information (token) between multiple devices without obtaining reauthorization from the OAuth authentication service.

[0016] In the present disclosure, the following processing device is implemented in the following embodiment: when importing authentication information related to OAuth authentication into a device corresponding to the OAuth authentication method, when the authentication information to be imported is the same as the first authentication information set in the existing device as the import target, the rewriting of the existing first authentication information is omitted and the token as the second authentication information is maintained; when the authentication information to be imported is different from the existing first authentication information, the authentication information of the imported first authentication information is rewritten, and the token set as the existing device is deleted, thereby enabling the authentication information related to OAuth authentication to be appropriately reflected in the device setting of the import target without improperly misappropriating the token.

[0017] [1. First embodiment] [1.1 Overall composition] Figure 1 The diagram is a diagram for explaining an example of a connection method among a multifunction machine 10 as an image processing apparatus in which the processing apparatus according to the present embodiment is installed, another multifunction machine 30 capable of exporting apparatus settings to the outside, an authentication service 50, and a mail server 70.

[0018] The multifunction machine 10 according to the first embodiment is an image processing device capable of realizing operations related to various modes such as copying, printing, scanning, faxing, or mailing in a single housing. In addition, in the present disclosure, the multifunction machine 10 is described as one form of an image processing device, but as long as it is an image processing device equipped with the processing device according to the present disclosure and having an image processing function, its form is not particularly limited, and it may be an image processing device such as a copier, printer, fax machine, etc. other than the multifunction machine 10. In addition, the multifunction machine 10 is an image processing device capable of reflecting the exported data exported from the multifunction machine 30 as imported data in the device settings of the machine.

[0019] The multifunction device 10 is connected to the multifunction device 30, the authentication service 50, and the mail server 70 via the 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 via a communication protocol such as HTTP (Hypertext transfer protocol). In addition, the network NW1 is not particularly limited 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, a fax line, etc. In addition, the multifunction device 10 can send and receive mails via the mail server 70 based on the token obtained from the authentication service 50.

[0020] The multifunction machine 30 is an image processing device having the same or substantially the same device configuration and functional configuration as the multifunction machine 10. The multifunction machine 30 can also export authentication information for the authentication service 50 as first device setting information, based on setting information for executing jobs in various modes such as copying, printing, scanning, faxing, or mail transmission and reception, history information, and user information of users using the multifunction machine. In addition, the multifunction machine 30 is described as a device that corresponds to the OAuth authentication method as an authentication method and can export the first device setting information including authentication information related to the OAuth authentication.

[0021] The authentication service 50 may be configured as an authentication server that authorizes resource use by implementing an authorization code flow based on OAuth2.0 authentication. The authentication service 50 may have any structure as long as it generates an authorization code, a token, etc. based on the success or failure of authorization.

[0022] The mail server 70 is a server that supports SMTP authentication and OAuth authentication as authentication methods and can provide services related to mail transmission and reception according to the success or failure of authentication results based on acquired authentication information such as user name (user ID), password or token.

[0023] [1.2 Functional structure] [1.2.1 Regarding the multifunction device 10] The functional configuration of the multifunction peripheral 10 according to the first embodiment will be described. Figure 2 2 is a functional configuration diagram of the multifunction peripheral 10. The multifunction peripheral 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 frame in the figure.

[0024] 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 19 .

[0025] The display unit 13 displays various information to the user and is composed of, for example, an LCD (Liquid crystal display) or an organic EL (Electro-luminescence) display.

[0026] The operation input unit 15 receives information input by a user or the like. The operation input unit 15 may be composed of various input devices such as operation keys such as hard keys and software keys, buttons, etc. In addition, the operation input unit 15 may be configured as a touch panel that can perform input via the display unit 13. In this case, as an input method of the touch panel, for example, a common method such as a resistive film method, an infrared method, an electromagnetic induction method, a capacitive method, etc. may be used.

[0027] The communication unit 17 includes either a wired or wireless interface or both interfaces for communicating with other devices (the multifunction machine 30, the authentication server 50, and the mail server 70) via a network NW1 such as a LAN, a WAN, the Internet, a telephone line, a fax line, etc. In addition, the communication unit 17 may also include an interface related to (short-range) wireless communication technology such as Bluetooth (registered trademark), NFC (Near field communication), Wi-Fi (registered trademark), ZigBee (registered trademark), Irda, and wireless USB.

[0028] The storage unit 19 stores various programs and various data required for the operation of the multifunction device 10. The storage unit 19 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).

[0029] In the present 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 secures a device setting storage area 195 .

[0030] The control program 191 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 191 controls the display unit 13, the operation input unit 15, the communication unit 17, etc. to perform the functions of the processing device 1 involved in the present disclosure, and further controls the image processing unit 21 and the image input unit 23 to set, execute, and perform post-processing of various jobs such as copying, printing, scanning, faxing, or sending and receiving mails.

[0031] The authentication program 192 is a program read by the control unit 11 when performing authentication processing with the authentication service 50. The control unit 11 that has read the authentication program 192 functions as an authentication unit, and can perform authentication processing (SMTP authentication method, POP authentication method, etc.) such as authentication by 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 read by the control unit 11 when importing the export data exported from the multifunction device 30 or the like as the import data. The control unit 11 that has read the import data verification program 193 verifies the import data and determines whether the import data can be reflected in the device settings stored in the device setting storage area 195. The import data verification process performed by the control unit 11 that has read the import data verification program 193 will be described later.

[0033] The device setting management program 194 is a program read by the control unit 11 when managing the device settings of the multifunction machine 10, such as setting information for executing jobs in various modes such as copying, printing, scanning, faxing, or mail transmission and reception, history information, user information of users using the multifunction machine, authentication information for the authentication service 50, etc. The control unit 11 that has read the device setting management program 194 manages the device settings by rewriting, updating, deleting, etc., of the existing device settings managed in the device setting storage area 195, for example, based on the verification result of the imported data.

[0034] The device setting storage area 195 is a storage area for storing the device setting of the multifunction machine 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 the device setting. When the OAuth authentication method is set as the authentication method for the multifunction machine 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 the first authentication information, and the token as the second authentication information. That is, the multifunction machine 10 can use the first authentication information such as the account name and server information, and use the token as the second authentication information to perform authentication for the authentication service. In addition, 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 the authentication information. In addition, the authentication information storage area 1951 can also store authentication information related to the login authentication of the multifunction machine 10.

[0035] The image processing unit 21 forms an image based on the image data on a paper or the like as a recording medium. The image processing unit 21 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 processing unit 21 may be composed of, for example, a laser printer using an electronic photography method. In this case, the image processing unit 21 forms an image using a toner supplied from a toner box (not shown) corresponding to the toner color (for example, cyan, magenta, yellow, black). In addition, the image processing unit 21 may also include a method of performing, for example, shading correction, concentration correction, etc. on the image data input from the image input unit 23 to generate output image data for sending a graphic (image).

[0036] The image input unit 23 generates image data by scanning the original document. The image input unit 23 can be configured as 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 the original document, etc. There is no particular limitation on the configuration of the image input unit 23 as long as it can generate image data by reading the reflected light image from the original document image through the image sensor. In addition, the image input unit 23 can also be configured as an interface that can, for example, obtain image data stored in a removable storage medium such as a USB (Universal serial bus) memory, or image data sent from an external device not shown in the figure.

[0037] [1.2.2 About the multifunction device 30] Figure 3 1 is a functional configuration diagram of the multifunction machine 30. The multifunction machine 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 the multifunction machine 30 may have the same or substantially the same device configuration and functional structure as the multifunction machine 10, only the symbols are changed for the same configurations as the multifunction machine 10, and the description thereof is omitted.

[0038] The storage unit 39 of the multifunction peripheral 30 stores a control program 391 , an authentication program 392 , a derivation program 393 , and a device setting management program 394 , and secures a device setting storage area 395 .

[0039] The export program 393 is a program that the control unit 11 of the multifunction machine 30 reads when exporting the device settings of the multifunction machine 30 stored in the device settings storage area 395 as export data. The control unit 31 of the multifunction machine 30 reads out the authentication information corresponding to the following (1) to (3) from the device settings storage area 395 (authentication information storage area 3951) based on the authentication method set for the multifunction machine 30, based on the setting information for executing jobs in each mode such as copying, printing, scanning, faxing or mail transmission and reception, historical information, user information of users using the multifunction machine, and the like, and exports it in, for example, XML (Extensible markup language) format. In addition, as described later, in this embodiment, the setting value of the device setting is expressed by a tag expressed in XML format. In this embodiment, the group of tags exported in XML format is common, but according to each authentication method, for a specific setting value, a setting item with no setting value or unused, the setting value of each device setting expressed by a tag can be read as a blank column. (1) In the multifunction peripheral 30 , when the OAuth authentication method is set as the authentication method, the third authentication information includes the authentication method (OAuth authentication), the account name, and the server information (the server ID of the mail server 70 ). (2) When the SMTP authentication method is set as the authentication method in the multifunction peripheral 30, fourth authentication information such as the authentication method (SMTP authentication), account name, password, and server information (server address of the mail server 70). (3) When neither the OAuth authentication method nor the SMTP authentication method is set as the authentication method in the multifunction peripheral 30 (no authentication), authentication information such as server information (server address of the mail server 70 ).

[0040] Here, use Figure 4 This section explains the SMTP setting items for multifunction devices that support the OAuth authentication method (SMTP settings for OAuth-supported models) and the SMTP setting items for multifunction devices that do not support the OAuth authentication method (SMTP settings for OAuth-non-supported models). Figure 4 In the figure, the tag name written in the XML format, which is the data format of the exported data, is shown in the parentheses, and the data (set value) shown by the tag name is shown in the square brackets. In addition, the value after "·" is an example.

[0041] Figure 4As SMTP setting items, this is an example of existing authentication method (authentication), new authentication method (Security), account name (Username), provider information (Provider), Others: SMTP settings used in OAuth authentication, and Others: SMTP settings not used in OAuth authentication.

[0042] The current authentication method (authentication) is a setting item for setting whether SMTP authentication as the current authentication method is valid. When SMTP authentication as the current authentication method is "valid", the setting value is set to [true (true)]. On the other hand, when SMTP authentication is "invalid", that is, when the current authentication method is "no authentication", the setting value is set to [false (false)].

[0043] The new authentication method (Security) is a setting item (new label) set in the SMTP setting of the multifunction device corresponding to the OAuth authentication method, and the setting value is set to any one of "No authentication [none]", "SMTP authentication [auth]", and "OAuth authentication [oauth]" based on the authentication setting of the multifunction device.

[0044] Username is a setting item for setting the user's account name.

[0045] The provider information (Provider) is a setting item (tag) set in the SMTP setting of a multifunction device supporting the OAuth authentication method, and is a setting item for setting [ID of the OAuth authentication server to be used].

[0046] Others: SMTP settings used in OAuth authentication Indicates the SMTP setting items used in OAuth authentication, including setting items such as the port number (port) and server address (primary-address).

[0047] Others: SMTP settings not used during OAuth authentication Indicates SMTP setting items not used during OAuth authentication, including settings such as password and POP before SMTP settings (pop-before-smtp).

[0048] Figure 4 The example in is only an example, and the SMTP setting items according to the present disclosure are not limited to Figure 4 In addition, Figure 4 In addition to the SMTP setting items in , the POP setting also has the same correspondence (not shown).

[0049] [1.2.3 About the authentication service 50 and the mail server 70] The authentication service 50 can use an existing structure that can implement the authorization code flow based on the OAuth authentication method. Therefore, the description of the functional structure of the authentication service 50 is omitted. In addition, the mail server 70 corresponds to the OAuth authentication method and the SMTP authentication method, and can use an existing structure that can provide services related to mail sending and receiving based on the success or failure of the authentication result based on the authentication information such as the user name (user ID), password or token obtained. Therefore, the description of the functional structure of the mail server 70 is omitted.

[0050] [1.3 Processing Flow] Next, the process flow involved in this embodiment is described. First, use Figure 5 The flowchart of FIG. 1 illustrates a normal import process in the multifunction peripheral 10. The control unit 11 of the multifunction peripheral 10 reads the import data verification program 193 and the device setting management program 194 to execute the following process.

[0051] In addition, in the present disclosure, a tag (device setting) expressed in XML format is expressed in the following manner, for example. In the present disclosure, when there is no need to distinguish, a setting value (value) of a device setting indicated by each tag may be referred to as data (data).

[0052] First, the control unit 11 reads the export data exported from the multifunction peripheral 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 determines whether the read tag is a known tag (step S15). Here, the known tag refers to the tag that the control unit 11 that has read the imported data verification program 193 holds in order to verify the imported data. The control unit 11 can determine that the tag is a known tag if it is consistent with the tag held by the tag detected from the imported data.

[0055] When it is determined that the read tag is a known tag, the control unit 11 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 setting (step S19).

[0056] The control unit 11 determines whether the reading of the imported data has been completed (step S21). If it is determined that the reading of the imported data has been completed, the control unit 11 ends the processing (step S21; yes → end). On the other hand, if it is determined that the reading of the imported data has not been completed, the control unit 11 returns the processing to step S13 (step S21; no → step S13).

[0057] However, in step S15, if it is determined that the read tag is not a known tag, the control unit 11 skips reading the imported data until the next tag (step S15; No → step S23). Then, the control unit 11 determines whether the reading of the imported data has been completed (step S21). If it is determined that the reading of the imported data has been completed, the control unit 11 ends the processing (step S21; Yes → End). On the other hand, if it is determined that the reading of the imported data has not been completed, the control unit 11 returns the processing to step S13 (step S21; No → step S13).

[0058] Next, use Figure 6 The flowchart of FIG. 1 illustrates the process of importing the export data exported from the multifunction machine 30 corresponding to the OAuth authentication method. The control unit 11 of the multifunction machine 10 reads the import data verification program 193 and the device setting management program 194 to execute the following process. Figure 5 The same processing as that described in the above is marked with the same step number and its description is omitted.

[0059] In step S15, if it is determined that the read tag is a known tag, the control unit 11 determines whether the imported data is an existing SMTP setting tag (step S15; yes → step S25). If it is determined that the imported data is not an existing SMTP setting tag, the control unit 11 determines whether the imported data is a new OAuth setting tag (step S25; no → step S27).

[0060] When the control unit 11 determines that the imported data is a new OAuth setting tag, it stores the read data (OAuth data) as OAuth settings (step S27; Yes→step S29). Then, the control unit 11 imports the stored OAuth data (step S30).

[0061] After the import of the OAuth data is completed, the control unit 11 determines whether the reading of the imported data has been completed (step S21). If it is determined that the reading of the imported 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 the imported data has not been completed, the control unit 11 returns the process to step S13 (step S21; no → step S13).

[0062] On the other hand, when the control unit 11 determines that the imported 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] In addition, in step S25, when it is determined that the imported data is an existing SMTP setting tag, that is, when it is determined that the imported data contains SMTP authentication information which is the fourth authentication information that is not an OAuth authentication method, the control unit 11 determines whether the read data (OAuth data) is maintained as an OAuth setting (step S25; yes → step S32).

[0064] If it is determined that the OAuth data is retained, the control unit 11 determines whether the reading of the imported data has been completed (step S32; yes → step S21). If it is determined that the reading of the imported 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 the imported 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, when it is determined that the OAuth data is not retained, 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 the reading of the imported data has been completed (step S21). When it is determined that the reading of the imported data has been completed, the control unit 11 ends the processing (step S21; Yes → End). On the other hand, when it is determined that the reading of the imported data has not been completed, the control unit 11 returns the processing to step S13 (step S21; No → step S13).

[0066] Next, use Figure 7 Flowchart Description Figure 6 The import processing of OAuth data in step S30. Figure 7 In addition to the processing described in , the control unit 11 also reads the import data verification program 193 and the device setting management program 194 to execute the following processing.

[0067] When the import process of OAuth data starts, the control unit 11 determines whether the read data includes OAuth settings (step S301). When it is determined that the read data includes OAuth settings, the control unit 11 determines whether the authentication method, account name, and server information included in the read data are consistent with the authentication method, account name, and server information of the device settings maintained by the multifunction device 10 (step S301; yes → step S303).

[0068] When the control unit 11 determines that the authentication method, account name, and server information included in the read data are consistent with the authentication method, account name, and server information of the device settings maintained by the multifunction device 10, the consistent data is excluded from the read data (step S303; yes → step S305). Then, the control unit 11 reflects the OAuth data to the device settings of the multifunction device 10 (step S307), and the processing ends.

[0069] On the other hand, if it is determined that the authentication method, account name, and server information included in the read data are inconsistent with the authentication method, account, and server information of the device settings held by the multifunction device 10, the control unit 11 deletes the token as the second authentication information held (step S303; No → step S309). Then, the control unit 11 reflects the OAuth data to the device settings of the multifunction device 10 (step 307), and ends the process.

[0070] [1.4 Regarding the structure of exported data] Next, use Figures 8 to 16 A specific configuration example of the derived data according to the present disclosure will be described.

[0071] Figure 8 This is a diagram for explaining the outline of export data exported by a multifunction peripheral (for example, the multifunction peripheral 30 ) that supports the OAuth authentication method when the authentication method is set to OAuth authentication. Figure 8 In the exported data in XML format, an excerpt is <smtp-config>< / smtp-config> This is a diagram of the setting items (sub-tags) included in a tag.

[0072] The box E10 shows <authentication>< / authentication> The tag indicates whether the SMTP setting as the current authentication method is valid. Figure 8 Under the conditions shown in the example, since the authentication method is OAuth authentication method, <authentication> <authentication>The setting value is set to [false].

[0073] Box E12 <security>< / security> The tag is a new tag related to the newly added setting item, and indicates that the authentication method of the multifunction device is set to the OAuth authentication method (oauth).

[0074] In addition, the account name <username>< / username> The setting value of the tag and the provider information <provider>< / provider> The setting value of the tag is as follows Figure 8 However, these setting values ​​are encrypted using the "encrypted2" method.

[0075] In addition, the password <password>< / password> The tag is empty, but since the empty string is encrypted, it will not be empty as XML data.

[0076] Fig. 9 It is expressed in tabular form Figure 8 This is a diagram showing main setting items of the exported data. Fig. 9 The setting items shown are Figure 8 When the export data exemplified in FIG. 1 is imported into a multifunction device (eg, the multifunction device 10 ) that supports the OAuth authentication method, the setting items identified as tags and the setting values ​​set for the tags are described.

[0077] on the other hand, Fig.10 The setting items shown are Figure 8 When the exported data illustrated in the example is imported into a multifunction device that does not support the OAuth authentication method, the setting items that are recognized as tags and the setting values ​​set for the tags are identified. In a multifunction device that does not support the OAuth authentication method, it is not possible to support the OAuth authentication method. Therefore, when the exported data is imported, the <security>< / security> Label, indicating provider information <provider>< / provider> Tag not recognized.

[0078] Fig.11 The diagram is a diagram schematically showing a multifunction peripheral (eg, the multifunction peripheral 30 ) that supports the OAuth authentication method and the export data that is exported by the multifunction peripheral when the authentication method is set to SMTP authentication. Fig.11 In the exported data in XML format, an excerpt is <smtp-config>< / smtp-config> This is a diagram of the setting items (sub-tags) included in a tag.

[0079] The box E10 shows <authentication>< / authentication> The tag indicates whether the SMTP setting as the current authentication method is valid. Fig.11 Under the conditions shown in the example, since the authentication method is SMTP authentication, <authentication>< / authentication> The setting value of the tag is set to [true].

[0080] Box E12 <security>< / security> The tag is a new tag related to the newly added setting item, and indicates that the authentication method of the multifunction device is set to the SMTP authentication method ([auth]).

[0081] In addition, the account name <username>< / username> The tag's setting value and the password <password>< / password> The setting value of the tag is as follows Fig.11 However, these setting values ​​are encrypted using the "encrypted2" method.

[0082] In addition, the provider information <provider>< / provider> The tag setting value is empty, but since the empty string is encrypted, it will not be empty as XML data.

[0083] Fig.12 It is expressed in tabular form Fig.11 This is a diagram showing main setting items of the exported data. Fig.12 The setting items shown are Fig.11 The exemplified export data includes setting items identified as tags and setting values ​​set for the tags when imported into a multifunction device (eg, the multifunction device 10 ) that supports the OAuth authentication method.

[0084] on the other hand, Fig.13 The setting items shown are Fig.11 When the exported data illustrated in the example is imported into a multifunction device that does not support the OAuth authentication method, the setting items that are recognized as tags and the setting values ​​set for the tags are identified. In a multifunction device that does not support the OAuth authentication method, it is not possible to support the OAuth authentication method. Therefore, when the exported data is imported, the <security>< / security> Label, indicating provider information <provider>< / provider> Tag not recognized.

[0085] Fig.14 The diagram is a diagram schematically illustrating export data that is exported by a multifunction device (for example, the multifunction device 30 ) that supports the OAuth authentication method when the authentication method is set to no authentication. Fig.14 In the exported data in XML format, an excerpt is <smtp-config>< / smtp-config> This is a diagram of the setting items (sub-tags) included in a tag.

[0086] The box E10 shows <authentication>< / authentication> The tag indicates whether the SMTP setting as the current authentication method is valid. Fig.14 Under the conditions shown, since the authentication method is no authentication, <authentication>< / authentication> The setting value is set to [false].

[0087] Box E12 <security>< / security> The label is a new label related to the newly added setting item, and indicates that the authentication method of the multifunction device is set to no authentication (none).

[0088] In addition, the account name <username>< / username> The setting value of the tag is as follows Fig.14 , but these setting values ​​are encrypted using the "encrypted2" method.

[0089] In addition, the password <password>< / password> The tag is empty, but since the empty string is encrypted, it will not be empty as XML data.

[0090] Fig.15 This is a diagram for explaining export data exported by a multifunction device that does not support the OAuth authentication method when the authentication method is set to SMTP authentication. Fig.15 In the exported data in XML format, an excerpt is <smtp-config>< / smtp-config> This is a diagram of the setting items (sub-tags) included in a tag.

[0091] The box E10 shows <authentication>< / authentication> The tag indicates whether the SMTP setting as the current authentication method is valid. Fig.15 Under the conditions shown in the example, since the authentication method is SMTP authentication, <authentication>< / authentication> The setting value of the tag is set to [true].

[0092] Figure 8 , Fig.11 as well as Fig.14 The illustrated frame E12 <security>< / security> Tags Since the multifunction device does not support OAuth authentication, Fig.15 Not set in the example.

[0093] Fig.16 This is a diagram schematically illustrating export data that is exported by a multifunction machine that does not support the OAuth authentication method when the authentication method is set to no authentication. Fig.16 In the exported data in XML format, an excerpt is <smtp-config>< / smtp-config> This is a diagram of the setting items (sub-tags) included in a tag.

[0094] The box E10 shows <authentication>< / authentication> The tag indicates whether the SMTP setting as the current authentication method is valid. Fig.16 Under the conditions shown, since the authentication method is no authentication, <authentication>< / authentication> The tag's setting value is set to [false].

[0095] Figure 8 , Fig.11 as well as Fig.14 The illustrated frame E12 <security>< / security> Tags Since the multifunction device does not support OAuth authentication, Fig.16 Not set in the example.

[0096] [1.5 Action Example] Next, an operation example according to this embodiment will be described. Fig.17 It is explained in Figure 7 FIG. 2 is a diagram of an example of an operation related to the import processing of OAuth data described in the flowchart of FIG. Fig.17 This is a diagram illustrating an example of a configuration in which, when it is determined that the authentication method, account name, and server information contained in the OAuth data (read-in data) are consistent with the authentication method, account name, and server information of the device settings maintained by the multifunction peripheral 10, the consistent data is excluded from the read-in data, and a notification screen W10 is displayed to skip the relevant settings.

[0097] The notification screen W10 includes a message screen M10 with the notification content "The imported data was verified, but the related settings were skipped because the authentication information was the same." The user can understand that the related settings were skipped during the import process by confirming the display content of the message screen M10.

[0098] Fig.18 This is a diagram illustrating an example of a configuration in which, when it is determined that the authentication method, account name, and server information contained in the OAuth data (read-in data) are inconsistent with the authentication method, account name, and server information of the device settings maintained by the multifunction peripheral 10, the token is deleted and a notification screen W20 is displayed to notify that the imported data has been reflected in the device settings.

[0099] The notification screen W20 includes a reflection information notification area R10 , an OK button B10 , a restore button B12 , and a partial edit button B14 .

[0100] The reflection information notification area R10 is an area for notifying that the device settings in which the imported data are reflected are reflected. Fig.18 This is an example of the device settings that reflect the imported data, including authentication method, security, provider, and account name. Fig.18 As shown, by notifying the meaning that the token has been deleted, the user can understand that it is necessary to be re-authorized by the (administrator) user. In this case, for example, a notification screen or a notification area (not shown) can also be set separately to notify the user that it is necessary to be re-authorized by the (administrator) user.

[0101] The OK button B10 is a button for accepting permission for the reflection result of the imported data. When the user selects the OK button B10, the control unit 11 determines that the reflection of the imported data for the device settings is permitted, and ends the display of the notification screen W20. The restore button B12 is a button for accepting a selection to restore the device settings to the state before the imported data was reflected. When the user selects the restore button B12, the control unit 11 returns the device settings to the state before the imported data was imported. The partial edit button B14 is a button for accepting an edit instruction for the device settings after the imported data is reflected. When the user selects the partial edit button B14, the control unit 11 sets the device settings notified in the reflection information notification area R10 to an editable state, and accepts the user's editing instruction. The control unit 11 edits the device settings based on the accepted editing instruction.

[0102] Fig.19 1 is a diagram for explaining a configuration example of an authorization processing screen W30 for displaying the reflection result of the imported data. The authorization processing screen W30 can be displayed as one screen of a system setting screen for accepting system setting of the multifunction peripheral 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 region R12 is a region that displays setting items that can be selected by the user. Fig.19 This is 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 for displaying setting items for accepting input of setting values ​​and the like for the items selected in the selection item display area R12. Fig.19 In the example of , a setting screen related to SMTP authentication setting 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 accepting input of an account name for the provider, and a connect button B16 .

[0107] The authentication method drop-down menu PM10 is a drop-down menu for accepting selections of authentication methods. Fig.19 In the example of , the case where the OAuth authentication method is displayed as an authentication method that can be selected is shown.

[0108] The provider drop-down menu PM12 is a drop-down menu that accepts selection of the authentication service 50 as the authentication target required for OAuth authentication. When the user selects the downward arrow provided at the end of the menu, the provider drop-down menu PM12 displays selectable provider names. Fig.19 In the example of , "abcdefg" is displayed as a provider that can be selected.

[0109] The account name input box Bx10 is an input box for accepting input of an account name for the provider "abcdefg". Fig.19 In the example of , it is shown that "aaa@bbb.ccc.ddd" is displayed as an inputtable account name of the provider "abcdefg".

[0110] The connection button B16 is a button for accepting an instruction to start the authorization process for the provider "abcdefg". When accepting the user's instruction to select the connection button B16, the control unit 11 starts the authorization process 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, the following processing device etc. can be provided: when importing authentication information related to OAuth authentication into a device corresponding to the OAuth authentication method, if the authentication information to be imported is the same as the first authentication information set in the existing device as the import target, the rewriting of the existing first authentication information is omitted and the token as the second authentication information is maintained; if the authentication information to be imported is different from the existing first authentication information, the authentication information imported by the first authentication information is rewritten and the token is deleted, thereby enabling the authentication information related to OAuth authentication to be appropriately reflected in the device settings of the import target without improperly misappropriating the token.

[0113] [2 Second Embodiment] As a second embodiment, when the imported authentication information is the same as the first authentication information set in the existing device as the import destination, only the first authentication information is rewritten and the rewriting of the second authentication information is restricted.

[0114] Since the functional configuration of the second embodiment is the same as that of the first embodiment, the description thereof will be omitted here.

[0115] [2.1 Processing Flow] The import process of OAuth data in the second embodiment can be performed by Figure 7 Replace with Fig. 20 Since the other processes are the same as those in the first embodiment, the description is omitted here. Fig. 20 For those who can Figure 7 The same step numbers are used to denote processes that are performed in the same manner, and descriptions thereof are omitted.

[0116] exist Fig. 20 In step S303, when the control unit 11 determines that the authentication method, account name, and server information included in the read data are consistent with the authentication method, account name, and server information of the device settings maintained by the multifunction device 10, the control unit 11 excludes the token from the read data, thereby restricting the rewriting of the second authentication information (step S303; yes → step S501). Then, the control unit 11 reflects the OAuth data to the device settings of the multifunction device 10 (step S307), and ends the processing.

[0117] According to the second embodiment, when the imported authentication information is the same as the first authentication information set in the existing device as the import target, only the first authentication information can be rewritten and rewriting of the token as the second authentication information can be restricted, thereby achieving the same effect as the first embodiment.

[0118] [3. Third Embodiment] As a third embodiment, when the imported authentication information is different from the first authentication information set in the existing device as the import destination, the token as the second authentication information is not deleted but maintained, and the first authentication information is overwritten with the imported authentication information.

[0119] Since the functional configuration of the third embodiment is the same as that of the first embodiment, the description thereof will be omitted here.

[0120] [3.1 Processing Flow] The import process of OAuth data in the third embodiment can be performed by Figure 7 Replace with Fig.21 Since the other processes are the same as those in the first embodiment, the description is omitted here. Fig.21 For those who can Figure 7 The same step numbers are used to denote processes that are performed in the same manner, and descriptions thereof are omitted.

[0121] exist Fig.21 In step S303, if the control unit 11 determines that the authentication method, account name, and server information included in the read data are inconsistent with the authentication method, account name, and server information of the device settings maintained by the multifunction machine 10, the control unit 11 maintains the token of 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 machine 10 (step S307). In addition, if the control unit 11 maintains the token without deleting it, it notifies the user that the administrator user needs to obtain the token again, and ends the processing (step S603).

[0122] According to the third embodiment, when the imported authentication information is different from the first authentication information set in the existing device as the import target, the token as the second authentication information is maintained. In this case, since the maintained token is inconsistent with the token corresponding to the rewritten first authentication information, the token will not be improperly misappropriated. In addition, since the administrator user is notified that the token needs to be acquired again, the token will not be improperly misappropriated, and the authentication information related to OAuth authentication can be appropriately reflected in the device setting of the import target.

[0123] [4 Modifications] The present disclosure is not limited to the above-mentioned embodiments, and various modifications are possible. That is, embodiments obtained by combining appropriately modified technical means within the scope not departing from the gist of the present disclosure are also included in the technical scope of the present disclosure.

[0124] 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.

[0125] In addition, the programs running in the various devices of the embodiments are programs that control the CPU and the like (programs that enable 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.

[0126] 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.

[0127] Furthermore, when the program is distributed to the market, it 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 also included in the present invention.

[0128] 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

[0129] 1 Display device 10, 30 compound machine 11, 31 control unit 13, 33 display unit 15, 35 Operation input unit 17.37 Ministry of Communications 19.39 Storage Department 21, 41 Image processing unit 23, 43 Image input unit 191, 391 control program 192, 392 certification procedures 193 Import Data Validation Program 393 Export Program 194, 394 device configuration management program 195, 395 device setting storage area 1951, 3951 authentication information storage area 50 Certification Services 70Mail Server< / authentication> < / authentication>

Claims

1. A processing device, It is characterized in that include: an authentication unit, which applies the first authentication information and can use the second authentication information to authenticate with the service; a storage unit storing device settings including the first authentication information and the second authentication information; as well as a control unit that verifies the import data imported into the device and can reflect the import data set for the device stored in the storage unit, The control unit compares the third authentication information with the first authentication information when the imported data verification result determines that the imported data includes third authentication information. If it is determined that the third authentication information and the first authentication information are the same authentication information, maintaining the second authentication information, If 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 setting instead of the first authentication information, and the second authentication information is deleted from the storage unit.

2. The processing device according to claim 1, It is characterized in that The import data is data that expresses the setting value set by the device in association with the tag. The control unit verifies the imported data based on the detected tag.

3. The processing device according to claim 2, It is characterized in that The control unit determines that the import data includes the third authentication information when the tag indicates a setting value related to an authentication method for performing authentication with the service using the second authentication information.

4. The processing device according to claim 3, It is characterized in that The authentication method is OAuth authentication method.

5. The processing device according to claim 3, It is characterized in that When the tag indicates a setting value related to an authentication method different from the authentication method, the control unit determines that the import data includes fourth authentication information, and reflects the fourth authentication information in the device setting.

6. The processing device according to claim 5, It is characterized in that The other authentication method is an authentication method using a user name and a password.

7. The processing device according to claim 1, It is characterized in that The import data includes first device setting information, the control unit replaces the device setting with a first device setting based on the first device setting information, The control unit, with respect to the third authentication information, If it is determined that the third authentication information and the first authentication information are the same authentication information, maintaining the second authentication information, If it is determined that the third authentication information and the first authentication information are not identical authentication information, the third authentication information is reflected in the device setting instead of the first authentication information, and the second authentication information is deleted from the storage unit.

8. An image processing device, It is characterized in that comprising a processing device and an image processing unit, The processing device comprises: an authentication unit, which applies the first authentication information and can use the second authentication information to authenticate with the service; a storage unit storing device settings including the first authentication information and the second authentication information; and a control unit that verifies the import data imported into the device and can reflect the import data set for the device stored in the storage unit, When the control unit determines as a result of the verification of the imported data that the imported data includes third authentication information, the control unit compares the third authentication information with the first authentication information. If it is determined that the third authentication information and the first authentication information are the same authentication information, maintaining the second authentication information, 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 setting instead of the first authentication information, and the second authentication information is deleted from the storage unit. The image processing unit performs image transmission processing based on the authentication result in the service.

9. A method for processing imported data, It is characterized in that include: storing the device settings including the first authentication information and the second authentication information in a storage device, Verify the imported data for the device import, When the verification result of the imported data determines that the imported data contains third authentication information, comparing the third authentication information with the first authentication information, If it is determined that the third authentication information and the first authentication information are the same authentication information, maintaining the second authentication information, If 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 setting instead of the first authentication information, and the second authentication information is deleted from the storage device.