Image processing device, control method, and program
The image processing device simplifies proxy exception settings for cloud print services by automatically registering connection destinations as exceptions, reducing server load and user complexity in configuring bypasses for specific functions.
Patent Information
- Application Number
- JP2020128508
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-07-29
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2040-07-29
AI Technical Summary
Cloud print services experience increased communication load and potential delays or failures when image processing devices like printers communicate through a proxy server, and users without specialized knowledge find it difficult to configure settings to bypass the proxy for specific functions.
An image processing device is provided with a mechanism to automatically register connection destinations as proxy exceptions for predetermined functions, allowing communication to bypass the proxy server when necessary, through a cloud print registration process that includes setting proxy exception addresses.
This solution reduces communication load on the proxy server, prevents delays and failures, and simplifies the configuration process for users by enabling easy and error-free proxy exception settings without requiring advanced network knowledge.
Smart Images

Figure 0007554592000002 
Figure 0007554592000009 
Figure 0007554592000007
Abstract
Description
[Technical field]
[0001] The present invention relates to an image processing apparatus that communicates via a proxy server. [Background technology]
[0002] In conventional printing services, users can print by directly sending print jobs from client terminals such as PCs to printing devices. In recent years, however, cloud printing services that use cloud services provided on the Internet have been proposed.
[0003] When using cloud printing, a user registers a printing device in advance in a cloud print registration service. Then, when performing cloud printing, the user logs into the cloud print service from a client terminal and transmits the cloud device ID of the registered printing device and print data to the cloud print service. When printing, the printing device transmits a print job request including the cloud device ID to the cloud print service. The cloud print service identifies a printing device managed by the cloud device ID, and transmits a print job including the print data that was transmitted to the printing device to the printing device. The printing device executes the received print job.
[0004] Incidentally, in a company or the like, communication from the company's intranet to the Internet is generally configured to go through a proxy server. In a cloud print service, too, a printing device is usually placed on the intranet, and the cloud print service is a service on the Internet.
[0005] Also, an information processing device that communicates via a proxy server is known (Patent Document 1). Patent Document 1 discloses a technique for setting an IP address and port number of a proxy server, a proxy exception list, and the like as settings for proxy access. [Prior art documents] [Patent documents]
[0006] [Patent Document 1] JP 2018-146997 A Summary of the Invention [Problem to be solved by the invention]
[0007] However, the cloud print service has a large communication load because print data is exchanged with the cloud server. Therefore, if the communication between an image processing device such as a printing device and the cloud print service is configured to go through a proxy server, the load on the communication proxy server increases, and printing may take a long time or fail. To address this issue, it is possible to prevent access to the cloud print service from going through the proxy server. To achieve this, a user such as an administrator may operate the device by adding an endpoint (a connection destination, e.g., a URL) for accessing the cloud print service to the proxy exception settings, which are the communication settings of the printing device.
[0008] However, the endpoint, for example, URL, of the cloud print service is notified for the first time by the cloud print registration service when an image processing device such as a printing device is registered to the cloud print service. In other words, the URL to be added to the proxy exception setting is not determined in advance, so the user does not know in advance what URL to add to the proxy exception setting. For this reason, it is difficult for a user who does not have specialized knowledge about network settings to set up cloud printing to be performed without going through a proxy server. Furthermore, the URL notified by the cloud print registration service is a connection destination used internally in the image processing device. Therefore, it is also difficult for an end user to confirm the URL indicating the connection destination.
[0009] The present invention has been made in consideration of at least one of the above problems. One aspect of the present invention aims to provide a mechanism that allows easy setting so that communication via a proxy server is maintained in principle, while connection destinations corresponding to specific functions are exceptionally not routed via a proxy server. [Means for solving the problem]
[0010] In order to achieve the above object, according to one aspect of the present invention, there is provided an image processing apparatus that communicates with an external apparatus on an external network via a proxy server, comprising: The external network Cloud Print Service on Communicate with Cloud Print function Connect to When the setting that allows communication without going through the proxy server is enabled, Cloud Print a registration means for registering a connection destination corresponding to the function as an exception address that is permitted to communicate without going through the proxy server; a communication control means for controlling communication with an external destination to be performed via or without the proxy server based on whether the destination is registered as an exception address when the communication with the external destination is performed; 、 A printing means for printing an image on the sheet; An image processing apparatus comprising: Effect of the Invention
[0011] According to one aspect of the present invention, it becomes possible to easily configure a system that maintains communication via a proxy server in principle, while making exceptions by not passing through a proxy server for connection destinations corresponding to specified functions. [Brief description of the drawings]
[0012] [Figure 1] FIG. 1 is a diagram illustrating a configuration of a cloud print system according to an embodiment. [Diagram 2] 1 is a diagram showing a hardware configuration of a printing apparatus according to an embodiment of the present invention; [Diagram 3] 1 is a diagram showing a software configuration of a printing device according to an embodiment of the present invention; [Figure 4] FIG. 1 is an explanatory diagram of an operation panel of a printing apparatus according to an embodiment; [Diagram 5] Cloud Print processing sequence diagram [Figure 6] Operation flow diagram of a printing device for registering a cloud printer [Figure 7] FIG. 1 is a UI diagram for performing cloud printer settings on a printing device according to the first embodiment. [Figure 8] Cloud Print Registration Service Operation Flow Diagram for Registering Cloud Printers [Figure 9] A flowchart when an exception setting in the cloud printer setting is changed in the printing device according to the first embodiment. [Figure 10] 1 is a flowchart showing a process for registering a printer to a cloud print service in a printing device according to a first embodiment. [Figure 11] 1 is a flowchart showing a process for performing printing using a cloud print service on a printing device according to a first embodiment. [Figure 12] FIG. 11 is a UI diagram for configuring proxy settings for a printing device in a printing device according to a second embodiment. [Figure 13] A flowchart when the exception setting of the proxy setting of the printing device is changed in the printing device according to the second embodiment. [Figure 14] FIG. 13 is a diagram showing a list of endpoint information used by the printing device in the first and second embodiments. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0013] Hereinafter, the embodiments will be described in detail with reference to the attached drawings. Note that the following embodiments do not limit the invention according to the claims. Although the embodiments describe a number of features, not all of these features are essential to the invention, and the features may be combined in any manner. Furthermore, in the attached drawings, the same reference numbers are used for the same or similar configurations, and duplicated descriptions are omitted.
[0014] System Configuration 1 is a block diagram showing the configuration of a cloud print system. A local network (also called a client network) 1 is connected to the Internet 108 by a router 106, and a cloud print server 109 is connected to the Internet 108. Devices on a network external to the local network 1 are also called external devices. The cloud print server 109 includes a cloud print registration service 102 and a cloud print service 103, and provides the respective services. Note that the cloud print registration service 102 and the cloud print service 103 may be provided by separate servers.
[0015] The local network 1 is configured as a local area network. A printing device 101 and a client terminal 100 are connected to a router 106 via a firewall 105. A proxy server 104 is also connected to the firewall 105. In principle, the local network 1 is configured so that communication with the outside (i.e., the Internet 108) is performed via the proxy server 104. In this embodiment, the printing device 101 is illustrated as an example of an image processing device. The printing device 101 may be a multifunction device having a copying function, a scanning function, etc., or a single-function printing device that provides only a printing function. A printing device is also called a printer or an image forming device. Alternatively, it may be called an information processing device focusing on an information processing function. The functions described as the functions of the printing device 101 in this embodiment and embodiment 2 may be provided by an information processing device such as a general-purpose computer, and the information processing device and a subordinate printing device may cooperate to print print data acquired by the information processing device. That is, this embodiment can also be applied to a print control device such as a print server that relays print data between a cloud print server and a printing device having an actual print resource.
[0016] 2 is a block diagram showing the hardware configuration of the printing device 101. A control unit 201 including a CPU (Central Processing Unit) 202 controls the overall operation of the printing device 101. The CPU 202 loads a control program stored in a ROM 204 or HDD 214 onto a RAM 203, reads out and executes the loaded program, and performs various types of control such as communication control. The CPU 202 is also called a processor, processing device, or processing unit. A ROM (Read Only Memory) 204 may be a programmable ROM to which data can be additionally written.
[0017] The RAM (Random Access Memory) 203 is used as a temporary storage area such as a main memory or work area for the CPU 202. The HDD (Hard Disk Drive) 214 is a non-volatile storage area for storing data, various programs, or various information tables. In this manner, the hardware such as the CPU 201, ROM 204, RAM 203, and storage 114 constitutes a so-called computer.
[0018] In the printing device 101 of this embodiment, one CPU 202 executes each process shown in the flowcharts described later using one memory (RAM 203), but other configurations are also possible. For example, each process shown in the flowcharts described later can be executed by cooperating with multiple processors, memories, and storages. Also, some processes (e.g., conversion process of a print image) can be executed using a hardware circuit.
[0019] A printer interface (I / F) 206 serves as an interface that outputs an image signal to a printer 207 (printer engine). Based on the image signal and print control signal received from the control unit 201, the printer 207 forms an image on a sheet such as paper transported from a paper feed cassette (not shown). The sheet on which the image has been formed is discharged to a paper discharge tray (not shown). The printing method may be an electrophotographic method in which toner is transferred to and fixed on paper, or an inkjet method in which ink is ejected onto paper to print.
[0020] The scanner I / F 208 also serves as an interface for inputting a read image signal from a scanner 209 (scanner engine). The scanner 208 is a scanner device that reads an original placed on an original placement table (not shown) and generates an image signal. When an instruction to perform copy processing is given in the printing apparatus 101, the CPU 202 processes the image signal input from the scanner I / F 208 and generates a recording image signal and a print control signal. Then, the CPU 202 outputs the generated recording image signal and print control signal to the printer via the printer I / F 206. The printer performs the above-mentioned print processing based on the recording image signal and the print control signal. When an instruction to transmit scan data to an external device is given in the printing apparatus 101, the CPU 202 transmits a file generated based on the image signal to the external device. The file to be transmitted is assumed to be an image file, but is not limited to this. For example, the file may be a file in a format corresponding to PDF, or a document file generated based on an image (for example, a file in a Word (registered trademark) format).
[0021] The operation panel I / F 210 connects an operation panel 211 to the control unit 201. The operation panel 211 includes a liquid crystal display unit having a touch panel function, a keyboard, and the like.
[0022] The network I / F 212 transmits information to external terminals such as the client terminal 100 and the cloud print service 102, or receives various information from these external devices. In this example, it may be a local area network (LAN) I / F. Each block in the control unit 201 is connected to a system bus 205.
[0023] The client terminal 100 may be a general-purpose computer, a tablet terminal, a smartphone, etc. For example, a tablet terminal or a smartphone has a configuration in which the printer I / F 206 and the printer 207, the scanner I / F 208 and the scanner 209 are omitted from the configuration in Fig. 2. Also, a personal computer may have a configuration further including an operation unit such as a keyboard and a display instead of an operation panel.
[0024] Fig. 3 is a diagram for explaining the software configuration of the printing device 101. Each functional unit shown in Fig. 3 is realized by the CPU 202 of the printing device 101 executing a control program.
[0025] The operation control unit 300 controls the operation panel 211. It displays an operation menu on the operation panel 211, waits for an instruction input from a user, notifies other functional units of the received instruction, and displays the result of the instruction on the operation panel 211.
[0026] A cloud print registration control unit 301 controls cloud print registration processing. A cloud print control unit 302 controls processing for transferring print data 134 received from the cloud print service 103 to an image processing unit 306 together with a print instruction.
[0027] A WebUI control unit 303 controls a WebUI through which a user operates the device settings using HTTP from a PC etc. A proxy communication control unit 304 controls proxy communication.
[0028] The storage unit 305 stores designated data in the ROM 204 or the HDD 214 in response to an instruction from another functional unit, or reads out stored data. An example of data managed by the storage unit 305 is registered cloud printer information.
[0029] An image processing unit 306 performs processing for rendering the print job into image data for printing. A print processing unit 307 performs processing for transmitting the image data rendered by the image processing unit 306 to a printer 307 via a printer I / F 205 as an image signal and printing the image data.
[0030] The software of the client terminal 100 includes an operating system, device drivers, and applications. The applications include programs for causing a computer to function as the client terminal 100 shown in FIG.
[0031] FIG. 4 is a diagram for explaining the operation panel 211 of the printing device 101. The display panel 405 is a touch panel using an LCD or the like. The button 401 is a button that is pressed when making a copy using the printing device 100, and pressing the button 401 displays a copy operation screen on the display panel 405. The button 402 is a button that is pressed when making a FAX using the printing device 101, and pressing the button 402 displays a FAX operation screen on the display panel 405. The button 403 is a button that is pressed when making a scan using the printing device 101, and pressing the button 403 displays a scan operation screen on the display panel 405. The numeric keypad 408 is used to input numbers and the like. The OK key 407 is used when deciding the display contents of the display panel 405, and the like. The directional keys 406 are used when selecting a menu displayed on the display panel 405, and the like. The buttons 409 and 410 are used when making a black and white copy and a color copy, respectively. The stop button 411 is used when stopping the process. A menu button 412 is used to display a menu screen for configuring the printing device 101. A status check button 413 is used to check the status of the printing device 101, such as a list of print jobs being received by the printing device 101.
[0032] Here, in the cloud print system having the above-mentioned configuration, the operation of the printing device 101 at the time of cloud print registration will be described using two embodiments.
[0033] (Embodiment 1) The first embodiment relates to a communication setting method in which the cloud print settings of the printing device 101 have a proxy exception setting, and by enabling the setting, the communication destination used in the cloud print service can be automatically added as a proxy exception. Fig. 5 shows the processing sequence from registering the printing device to printing in the cloud print system.
[0034] ● Cloud print processing sequence FIG. 5 is a diagram illustrating the processing sequence of cloud print. It is assumed that the printing device 101 supports a cloud print function and a WebUI function for operating the printing device 101. It is assumed that the client terminal 100 supports a cloud print client function and a WebUI client for operating the WebUI. Note that FIG. 5 does not necessarily show all messages, and some messages have been omitted to avoid complicating the explanation. In addition, when the WebUI function cannot be used, the operation panel 211 of the printing device 101 may be used instead of using the WebUI client. Furthermore, although not shown in FIG. 5, a proxy server 104 may be interposed between the client terminal 100 and the printing device 101 and the cloud print registration service 102 and the cloud print service 103.
[0035] First, the user uses the WebUI client of the client terminal 100 to send a cloud print registration request 111 to the printing device 101 via the WebUI. An example of a screen displayed on the client terminal 101 when sending a registration request is shown in a screen 601 in FIG. 6. The cloud print registration request 111 is sent by touching a registration button 606 on the screen 601. Hereinafter, in this embodiment, buttons displayed on the screen and labels presenting information are also referred to as objects or display objects. When the printing device 101 receives the cloud print registration request 111, the printing device 101 sends a cloud print registration request 112 to the cloud print registration service 102. The cloud print registration request 112 includes a device ID 135 for the cloud print registration service 102 to identify the printing device 101. The device ID 135 is generated by the printing device 101. When the cloud print registration service 102 receives the cloud print registration request 112, the cloud print registration service 102 sends a cloud print registration response 113 including a confirmation URL 130 and a user code 136 for cloud print registration to the printing device 101. When the printing device 101 receives the cloud print registration response 113, it transmits registration confirmation URL display screen information 114 including the cloud print service URL to the client terminal 100 via the WebUI function.
[0036] When the client terminal 100 receives the registration confirmation URL display screen information 114, it displays a confirmation URL display screen including the confirmation URL 130 and the user code 136 on the WebUI client. An example is shown in screen 611 of FIG. 6. A registration confirmation URL 612 (130) and a user code 613 are displayed on the screen. Of these, the registration confirmation URL 612 is displayed with a link. The user operates the WebUI client of the client terminal 100 and touches the registration confirmation URL 612 to access the registration confirmation URL 130 of the cloud print registration service 102. In response, the client terminal 101 receives and displays a user code input screen. An example is shown in screen 801 of FIG. 8. When the user code is entered and an OK button 803 is touched, the client terminal 100 transmits a cloud print registration approval request 115 including the cloud account 131 and the user code 136 to the cloud print registration service 102.
[0037] If the user has not logged in, the cloud print registration service 102 transmits screen information for logging in to the client terminal 100. In the client terminal 100, the user inputs the user ID and password of the user's cloud account 131 on the screen displayed based on the received screen information, and performs login 140. An example is shown in screen 811 in Fig. 8. If there is a corresponding account, the user is authenticated by the cloud print registration service 102, and the registration approval request is accepted.
[0038] When the cloud print registration service 102 receives a cloud print registration approval request 115 from an authenticated user, or when the sender user is authenticated, it transmits a cloud print registration approval response 116 to the client terminal 100. An example of a screen displayed by the client terminal 100 that has received the cloud print registration approval response 116 is shown in screen 821 of Fig. 8. Also, a screen displayed when an OK button 822 is touched at that time is shown in screen 831 of Fig. 8.
[0039] The printing device 101 transmits a cloud print registration confirmation request 117 to the cloud print registration service 102. This transmission may be performed, for example, in response to an operation of the printing device 100 by a user who has performed cloud print registration on the client terminal 100. Alternatively, it may be performed in response to a message from the client terminal 100. Alternatively, after receiving the cloud print service registration response 113, the cloud print registration service 102 may transmit the request periodically until a cloud print service registration confirmation response 118 is received. When the cloud print registration service 102 receives the cloud print registration confirmation request 117, if the printing device 101 that sent the request has already been registered, the cloud print registration confirmation response 118 transmits the cloud print registration confirmation response 118 to the printing device 101. The cloud print registration confirmation response 118 includes a cloud device ID 132 and a cloud print service URL 137. Here, the cloud print service URL 137 may not be a URL prepared in advance, but may be a URL generated by the cloud print registration service 102 in response to the registration request.
[0040] At this stage, the printing device 101 is registered with the cloud print service 103 and is ready to use cloud print.
[0041] A user who wishes to perform cloud printing logs in to the cloud print service 103 using a client terminal 100 with a cloud account 131 (see FIG. 14). 1) Then, a print request 119 including a cloud device ID 132 and print data 134 is sent to the cloud print service 103. As a result, the print data to be subjected to cloud printing by the printing device 101 is stored by the cloud print service 103.
[0042] The printing device 101 transmits a print job request 120 including a cloud device ID 132 to the cloud print service 103. This transmission may be performed, for example, in response to an operation of the printing device 100 by a user who has registered print data to be printed by the printing device 101 in the cloud print service 103, or a user who has been notified of the registration. The cloud print service 103 that receives the print job request 120 identifies the printing device 100 managed on the cloud from the cloud device ID 132 transmitted in the print job request 120. Then, the cloud print service 103 transmits to the printing device 101 a print job response 121 including print data 134 transmitted to the printing device 100 and the cloud account 131 that transmitted the print data 134.
[0043] The printing device 101 prints the received print data 134 as a print job for the cloud account 131 .
[0044] By following the above procedure, the printing device can be registered in the cloud print service and the cloud print function can be provided. As described above, the proxy server 104 may be interposed between the client terminal 100 and printing device 101 and the cloud print registration service 102 and cloud print service 103. In this embodiment, the proxy settings can be easily changed when or after the printing device is registered in the cloud print service. The setting method or setting change method will be described below.
[0045] ● Example of the operation screen when registering cloud print Fig. 6 is a diagram showing an operation screen of the printing device 101 for performing the cloud print registration process. The timing of display was mentioned in Fig. 1, but the contents will be explained in more detail here. The operation screen of Fig. 6 may be a UI displayed on the display panel 211, or a WebUI that is operated by accessing a Web server running inside the printing device 101 from a PC or the like. Note that the following explanation will be given assuming that the UI is a WebUI.
[0046] A screen 601 is a screen for setting and registering cloud print. It is provided by the web server function of the printing device 101 by accessing the URL (Universal Resource Locator) of the WebUI provided by the printing device 101 from the web browser of the client terminal 100. Cloud print setting 602 indicates the enable / disable setting of the cloud print function. Printer name 603 indicates the printer name registered in the cloud print service. Endpoint 604 indicates the endpoint of the cloud print registration service 102. Pressing an edit button 605 transitions to a screen for changing the settings of cloud print usage 602, printer name 603, and endpoint 604 of the cloud print registration service. Registration status 607 indicates the registration status of cloud print. If it is not registered, "Not registered" is displayed, and if it is registered, "Registered" is displayed. Proxy setting 608 indicates whether or not cloud print communication is to be set as an exception setting without going through a proxy. If it is an exception setting, it is on, and if it is the default setting, it is off.
[0047] When a registration button 606 is pressed on the screen 601, the printing device transmits a cloud print registration request 112 to the cloud print registration service 102 and receives a response thereto, a cloud print registration response 113. Upon receiving the cloud print registration response 113, the operation screen transitions to a screen 611.
[0048] A screen 611 displays the verification URL 130 and the user code 136 for registering for cloud print. A Verification URL 612 indicates the verification URL 130. A User Code 613 indicates the user code 136.
[0049] Here, the user accesses the displayed confirmation URL 130, logs in with the user's cloud account 131, and then enters the user code 136 to complete the registration. After this, the operation screen transitions to screen 701 in Fig. 7. Also, when the user presses the cancel registration button 614, the printing device 101 interrupts the registration process.
[0050] A screen 701 in FIG. 7 is a screen for performing cloud print settings and / or registration in a state where the printing device 101 in the first embodiment has been registered to the cloud print service. Screen 601 is a screen that is displayed in a state where there is no printing device registered yet, whereas screen 701 in FIG. 7 is a screen that is displayed in a state where there is already a registered printing device, in that respect screen 601 and screen 701 are different. Cloud print settings 702 indicate a setting for enabling or disabling the cloud print function. Printer name 703 indicates the name and model number of a printing device to be registered as cloud print. Endpoint 704 indicates the endpoint of the cloud print registration service 102. Proxy settings 708 indicate whether or not the communication destination of the cloud print service is to be a proxy exception target. If it is an exception, it is set to on, and if it is not an exception, it is set to off. Registration status 807 indicates the registration status of the printing device, and in screen 701 it is set to registered.
[0051] Pressing (or touching) the edit button 705 on the screen 701 transitions to a cloud print settings change screen 711. Pressing the cancel registration button 706 starts canceling the cloud print registration. The screen 711 is a screen for changing the cloud print settings of the printing device 101 in the first embodiment.
[0052] The enable / disable state of cloud printing can be changed by checking either on or off in cloud print setting 712. By switching cloud print setting 712 between On / Off, the enable / disable state of cloud printing is switched.
[0053] The name of the printer registered as cloud print can be changed in the printer name 713. The endpoint 714 can be changed in the endpoint of the cloud print registration service 102.
[0054] In the proxy settings 718, the setting of whether or not to treat the communication destination of the cloud print service as a proxy exception target can be changed by checking either ON or OFF. For example, before sending the cloud print registration request 111 in Fig. 5, the edit button 605 on the screen 601 can be touched to turn on the proxy settings 618, which are set to OFF by default. Even after registration is complete, the settings can be changed in the same way from the screen 701 by accessing the registration URL provided by the printing device 101 to display the screen 701.
[0055] By changing the proxy settings in this way, the connection destination, i.e., the endpoint, corresponding to a specific function, in this case the cloud print service, can be registered as a proxy exception setting, which allows communication between a printing device to be registered with the cloud print service or between a registered printing device and an endpoint to be performed without going through a proxy server.
[0056] 8 shows a screen for operating the cloud print registration service 102 in order for the client terminal 100 to complete the cloud print registration. When using the operation panel 211 instead of the web UI, the screen of FIG.
[0057] Screen 801 is a diagram showing a screen displayed when confirmation URL 130 is accessed by a web browser or the like of client terminal 100. Screen 801 is displayed in response to reception of screen information 114 for cloud print registration confirmation. Field 802 is an input field for the user to input user code 136. When the user inputs user code 136 in field 802 and presses OK button 803, cloud print registration approval request 115 is transmitted, and when a user's confirmation request in response thereto is received, the screen transitions to screen 811.
[0058] Screen 811 is a screen for inputting user information for registering a printer. The user inputs a pre-registered cloud account 131 in a user name input field 812, and a password in a password input field 813. Then, by pressing a login button 814, login 140 is sent. If login and printer registration are successful, a cloud print registration approval response 116 is received and the screen transitions to screen 821.
[0059] Screen 821 is the screen that appears when logging in to the cloud print service. That is, it is the screen that appears after receiving the cloud print registration approval response 116. The login name is displayed in login name 823, and the name of the tenant to which the logged-in user belongs in tenant name 824. Here, a message is displayed indicating that cloud print registration has been completed, and pressing the OK button 822 transitions to screen 831.
[0060] Screen 831 is a screen that allows a list of cloud services related to the logged-in user's information. List 832 displays a list of cloud printers that the user can use. As an example, screen 831 shows that two cloud printers, MFP101 and SFP102, are available. The status of each cloud printer can also be referenced, such as idle or processing.
[0061] ● Proxy setting change process Fig. 9 is a flowchart when the proxy settings of the cloud printer settings are changed in the printing device 101 in the first embodiment. Each operation (step) shown in the flowchart in Fig. 9 is realized by the CPU 202 executing a control program stored in the ROM 204 or HDD 214. In addition, in cases where it is necessary to clarify the subject of processing, the software module executed by the CPU 202 described in Fig. 3 will be described as the subject. Similarly, the flowcharts in Figs. 10, 11, and 13 described below are also realized by the CPU 202 executing a control program stored in the ROM 203 or storage 214.
[0062] Also, the flowchart in FIG. 9 is assumed to be executed when, for example, a user operation to change the proxy setting 718 from OFF to ON on the cloud print setting screen 711 shown in FIG. 7 is received.
[0063] In response to the operation of changing the settings, in S901, the storage unit 305 reads out the endpoint of the cloud print registration service 102 and the endpoint of the cloud print service 103 stored in the HDD 214. The operation of changing the settings is performed from the user interface of the client terminal 100 or the operation panel 211. In S902, the two read out endpoint information are stored (registered) in the HDD 214 as exception addresses of the proxy settings. At this time, the changed value of the proxy settings may also be changed from a value indicating OFF to a value indicating ON and stored. Specifically, the storage unit 305 additionally registers the exception address in the list of exception addresses stored in the HDD 215. In this embodiment, the exception address indicates an address (URL) that is permitted to communicate without going through a proxy server. The list in which the exception address is registered is referred to as appropriate in the flowchart described later. Hereinafter, additional registration in the list of exception addresses in the HDD 214 is also simply referred to as saving the exception address in the HDD 214.
[0064] Conversely, if the proxy settings are changed from on to off, the proxy settings value is replaced with the changed value and saved, and the endpoint information for the setting that was saved as an exception address for the proxy settings is deleted from the list of exception addresses.
[0065] In this way, the proxy settings can be changed from the client terminal 100 or the operation panel 211. For a cloud print service for which the proxy exception setting is set to ON, the transmission of print job requests to the cloud print service and the reception of print jobs from the cloud print service are performed thereafter without going through the proxy server 104. On the other hand, for a cloud print service for which the proxy exception setting is set to OFF, the transmission of print job requests to the cloud print service and the reception of print jobs from the cloud print service are performed thereafter via the proxy server 104.
[0066] In the above example, the procedure has been described in which the endpoint of the cloud print service is registered, and then the proxy exception setting is selected, thereby registering the endpoint of the cloud print service as a proxy exception setting. However, this order may be reversed. That is, when the endpoint of the cloud print service is registered, it may be determined whether the proxy exception setting is selected, and if selected, the endpoint of the cloud print service may be registered as a proxy exception setting.
[0067] ●Printer registration process Fig. 10 is a flowchart showing the process of registering a printer for the cloud print service in the printing device 101 according to embodiment 1. Fig. 10 corresponds to the processing procedure by the printing device 101 from the transmission of the cloud print request 112 to the reception of the cloud print registration confirmation response 118 in Fig. 5.
[0068] In response to a user operation, in S1000, the storage unit 305 reads out the device ID, the endpoint of the cloud print registration service 102, and the proxy exception setting stored in the HDD 214. The user operation is performed on the operation panel 211 or the client terminal 100, but since there is no change to the setting process in the printing device 101, the user interface will not be specifically mentioned in this description.
[0069] In S1001, the cloud print registration control unit 301 generates a cloud print registration request 112 using the read device ID.
[0070] In S1002, the cloud print registration control unit 301 determines whether the endpoint of the cloud print registration service 102 is included in the proxy exception setting.
[0071] The result of the judgment YES If so, in S1003, the cloud print registration control unit 301 directly sends the cloud print registration request 112 to the endpoint of the cloud print registration service 102. Then, in S1004, the cloud print registration control unit 301 directly receives the cloud print registration response 113 from the endpoint of the cloud print registration service 102. Note that in Fig. 10, the "endpoint" is omitted for simplicity of explanation. Similar cases may occur in other steps.
[0072] The result of the judgment NO If so, in S1005, the proxy communication control 304 transmits a cloud print registration request 112 addressed to the endpoint of the cloud print registration service 102 to the proxy server 104. Then, in S1006, the proxy communication control unit 304 receives a cloud print registration response 113 transmitted by the endpoint of the cloud print registration service 102 from the proxy server 104.
[0073] In S1007, the cloud print registration control unit 301 analyzes the cloud print registration request response and determines whether the registration request has been successful. If the result of the determination is NO, the process ends.
[0074] If the result of the determination in S1007 is YES, in S1008, the cloud print registration control unit 301 stores the confirmation URL 130 and the user code 136 included in the cloud print registration response 113 in the RAM 203. After that, a cloud print registration approval request / response procedure is performed between the client terminal 100 and the cloud print registration service 102, and the registration of the printer is completed.
[0075] Subsequently, the printing apparatus 101 executes a procedure for confirming the cloud print registration. Steps S1009 to S1015 are repeated until the registration confirmation is completed.
[0076] In step S1010, the cloud print registration control unit 301 determines whether the endpoint of the cloud print registration service 102 is included in the proxy exception setting. YES If so, in S1011, the cloud print registration control unit 301 directly transmits a cloud print registration confirmation request 117 to the endpoint of the cloud print registration service 102. Then, in S1012, the cloud print registration control unit 301 directly receives a cloud print registration confirmation request response 118 from the endpoint of the cloud print registration service 102.
[0077] On the other hand, the result of the decision in S1010 is NO If so, in S1013, the proxy communication control unit 304 transmits a cloud print registration confirmation request 117 addressed to the endpoint of the cloud print registration service 102 to the proxy server 104. Then, in S1014, the proxy communication control unit 304 receives a cloud print registration confirmation response 118 transmitted by the endpoint of the cloud print registration service 102 from the proxy server 104.
[0078] In S1015, the cloud print registration control unit 301 analyzes the cloud print registration confirmation response 118 and determines whether the registration confirmation was successful. If it was not successful, the process is repeated from S1009. If it was successful, in S1016, the cloud print registration control unit 301 stores the cloud device ID 132 and the cloud print service URL 137 included in the cloud print registration confirmation response 118 in the HDD 214.
[0079] In S1017, the cloud print registration control unit 301 determines whether the proxy exception setting for the cloud print is ON. If it is ON, in S1017, the storage unit 305 stores the cloud print service URL 137 in the HDD 214 as an exception address in the proxy setting.
[0080] According to the above procedure, communication with an endpoint registered as a proxy exception setting is performed without going through the proxy server 104.
[0081] ● Cloud Print execution Fig. 11 is a flowchart showing the process when printing is performed by the cloud print service on the printing device in Example 1. This process corresponds to the process executed by the printing device 101 from the transmission of the print job request 120 to the reception of the print job response 121 and the execution of printing in Fig. 5.
[0082] In step S1100, the storage unit 305 reads out the cloud device ID, the endpoint of the cloud print service, and the list of proxy exception settings stored in the HDD 214. In step S1101, the cloud print control unit 302 generates a print job request 120.
[0083] In step S1102, the cloud print control unit 302 determines whether the endpoint of the cloud print service is included in the list of proxy exception settings. YESIf so, in step S1103, the cloud print control unit 302 directly sends the print job request 120 to the endpoint of the cloud print service. Then, in step S1104, the cloud print control unit 302 directly receives the print job response 121 from the endpoint of the cloud print service.
[0084] The result of the decision in S1102 is NO If so, in S1105, the proxy communication control unit 304 transmits the print job request 120 addressed to the endpoint of the cloud print service to the proxy server. Then, in S1106, the proxy communication control unit 304 receives the print job response 121 transmitted by the endpoint of the cloud print service from the proxy server.
[0085] In S1107, the cloud print control unit 302 extracts the print data 134 from the print job response 121. In S1108, the print processing unit 307 prints the received print data 134.
[0086] The above procedure allows communication with an endpoint registered in the proxy exception settings, particularly communication including print jobs, to be performed without going through the proxy server 104. This reduces the communication load on the proxy server 104 and prevents communication delays and failures. Furthermore, the proxy exception settings can be made by simply operating a check box on the setting screen as described in FIG. 7, for example, and are extremely easy to operate and convenient. Therefore, the settings can be made easily and without error even if the user performing the operation does not have special knowledge about network settings or knowledge about the endpoints that are the targets of the proxy exception settings.
[0087] (Embodiment 2) In the second embodiment, the proxy settings of the printing device 101 have a setting that controls whether or not to include a function or application in the proxy exception settings. By enabling the proxy exception settings, the communication destination of the application can be automatically added as a proxy exception. Fig. 12 is a UI diagram of the printing device 101 in the second embodiment for setting the proxy settings of the printing device 101.
[0088] When the user presses a setting / registration button 1201 on the home screen 1200, the operation control unit 300 displays a setting / registration screen 1210. On the setting / registration screen 1210, it is possible to perform various settings of the printing device 101. In this embodiment, it is possible to perform IPv4 settings, IPv6 settings, RAW print settings, LPD print settings, HTTP proxy settings, etc. On the setting / registration screen 1210, the user presses an HTTP proxy setting button 1211.
[0089] When the HTTP proxy setting button 1211 is pressed, the operation control unit 300 displays an HTTP proxy setting screen 1220. On the HTTP proxy setting screen 1220, the operation control unit 300 displays a selection button 1221 for selecting whether or not to use a proxy, a proxy server address 1222, a proxy server port number 1223, and a selection button 1224 for selecting whether or not to use proxy authentication. Furthermore, on the HTTP proxy setting screen 1220, the operation control unit 300 displays a button 1225 for setting a proxy exception setting.
[0090] When the proxy exception setting button 1225 is pressed, the operation control unit 300 displays an HTTP proxy exception setting screen 1230. The address of the target to be set as a proxy exception can be set in the proxy exception address 1231. The proxy communication control unit 604 of the printing device 101 performs communication according to the HTTP proxy settings set here.
[0091] The proxy exception function selection button 1232 allows you to set the functions that are the targets of the proxy exception settings. Here, you can set the proxy exception settings for the functions Cloud Print and uniFLOW online. When the proxy exception setting is turned on, all communication for that function is performed without going through the proxy. In other words, communication is performed in the same way as if the endpoint of the target function was registered as a proxy exception address.
[0092] By changing the proxy settings for a function selected from the list in this way, the connection destination, i.e., the endpoint, corresponding to the selected function, for example, a cloud print service, can be registered as a proxy exception setting, which allows communication between a printing device to be registered with the cloud print service or between a registered printing device and an endpoint to be performed without going through a proxy server.
[0093] 13 is a flowchart when cloud print is changed from OFF to ON by using the proxy exception function button 1232 on the proxy exception setting screen 1230 of the printing device in the second embodiment. This process is executed by the CPU 202. In S1301, the storage unit 305 reads out the endpoint of the cloud print registration service 102 and the endpoint of the cloud print registration service 102 stored in the HDD 214. In S1302, the storage unit 305 stores the two endpoint information read out in the HDD 214 as exception addresses in the proxy settings. This makes it possible to easily perform the proxy exception setting.
[0094] In FIG. 13, similarly to FIG. 9, even if a cloud print service is registered with the proxy exception setting turned on, the proxy exception setting may be applied to the registered cloud print service.
[0095] The flowchart showing the process of registering a printer for the cloud print service in the printing device 101 in the second embodiment is omitted because it is the same as the flowchart explained in Fig. 10. Also, the flowchart showing the process of printing for the cloud print service in the printing device 101 in the second embodiment is omitted because it is the same as the flowchart explained in Fig. 11.
[0096] FIG. 14 is a list of endpoint information used by the printing device 101 in the first and second embodiments.
[0097] The endpoint of the cloud print registration service is the endpoint of the cloud print registration service 102 described in Fig. 5. This is a fixedly determined URL.
[0098] The endpoint of the cloud print service is the endpoint of the cloud print service 103 described in Fig. 5. This is a URL obtained from the cloud print registration service 102 when registering the cloud print.
[0099] The endpoint of the cloud print event notification service is an endpoint used by the printing apparatus 101 to acquire events such as job reception and job cancellation. This is a URL acquired from the cloud print registration service 102 during cloud print registration.
[0100] The endpoint of the cloud print authentication service is an endpoint used by the printing device 101 to obtain authentication information (such as token information of Oauth2.0) for accessing various cloud print services. This is a URL obtained from the cloud print registration service 102 during cloud print registration.
[0101] The URL that is determined when registration is complete may include a character string generated based on random numbers, etc. In this embodiment, in addition to the cloud print service 102 and the cloud print registration service 103, the endpoints of the cloud print event notification service and the cloud print authentication service may also be added to the proxy exception settings collectively. In this way, the endpoints related to the cloud print service can be registered as proxy exception settings collectively, which can improve convenience.
[0102] As described above, according to the first and second embodiments, communication with an endpoint registered as a proxy exception setting, particularly communication including a print job, can be performed without going through the proxy server 104. This reduces communication congestion in the proxy server 104 and prevents communication delays and failures due to congestion. Furthermore, the proxy exception setting can be performed simply by selecting an option on the registration screen of the cloud print service or the network setting screen, and is very easy to operate. Therefore, even if the user performing the operation does not have special knowledge about network settings or knowledge about the endpoint to be the target of the proxy exception setting, the setting can be performed easily and without error.
[0103] [Variations] In the case of a multifunction device equipped with a scanner such as the printing device 101, it may be registered as a cloud scanner with a cloud platform that provides a cloud print service. In the present embodiment, the cloud scan service is a service that transmits scan data obtained by reading an original with a scanner to a cloud storage provided by the cloud platform. When the printing device 101 is registered with the cloud platform as a cloud scanner, the same problem occurs as when the printing device 101 is registered with the cloud print service described above. In consideration of this problem, when the printing device 101 is also registered as a cloud scanner for the scan service, the endpoint (URL) required for communication with the cloud scan service may also be configured to be registered in a proxy exception setting all at once. The endpoint registered for scanning in this modified example is assumed to be an endpoint for accessing cloud storage for accessing the cloud scan service of the cloud platform. It can also be applied to the second embodiment. In this case, the screen of FIG. 12 is configured to have an item for whether or not to set the endpoint (URL) used for communication with the cloud scan service as an exception address. The process when the operation of setting as an exception address is performed is the same as that of the cloud print service described using FIGS. 12 and 13, so the description will be omitted. Note that the function for communicating with the cloud scan service provided on an external network is called a cloud scan function.
[0104] [Other Examples] The present invention can also be realized by a process in which a program for implementing one or more of the functions of the above-described embodiments is supplied to a system or device via a network or a storage medium, and one or more processors in a computer of the system or device read and execute the program. The present invention can also be realized by a circuit (e.g., ASIC) that implements one or more of the functions.
[0105] The invention is not limited to the above-described embodiments, and various modifications and variations are possible without departing from the spirit and scope of the invention. Accordingly, the following claims are appended to apprise the public of the scope of the invention. [Explanation of symbols]
[0106] 100 client terminal, 101 printing device, 102 cloud print registration service, 103 cloud print service, 104 proxy server
Claims
1. An image processing apparatus that communicates with an external device on an external network via a proxy server, a registration means for registering a connection destination corresponding to the cloud print function as an exception address that allows communication without going through the proxy server when a setting that allows communication without going through the proxy server is enabled for a connection destination of the cloud print function that communicates with a cloud print service on the external network; a communication control means for controlling communication with an external destination to be performed via or without the proxy server, based on whether the destination is registered as an exception address, when the communication with the external destination is performed; A printing means for printing an image on the sheet; 13. An image processing device comprising:
2. The image processing device according to claim 1, characterized in that when the registration means receives an operation to register the image processing device to the cloud print service and a setting that allows communication without going through the proxy server for the cloud print function is enabled, the registration means registers multiple connection destinations to be used for communication with the cloud print service being registered as the exception addresses when the registration means receives an operation to register the image processing device to the cloud print service and a setting that allows communication without going through the proxy server for the cloud print function is enabled.
3. 3. The image processing apparatus according to claim 1, further comprising a display unit that displays a setting screen for setting whether or not to permit communication without going through the proxy server regarding the cloud print function.
4. The image processing device according to claim 3, characterized in that the setting screen is a setting screen for the cloud print service, and the setting screen includes at least a first object that sets whether or not to allow communication regarding the cloud print function without going through the proxy server, and a second object that sets the printer name to be registered in the cloud print service.
5. The image processing device according to claim 3, characterized in that the setting screen is a setting screen for making settings related to a proxy server, and the setting screen includes at least a first object for setting whether or not to allow communication regarding the cloud print function without going through the proxy server, and a second object for inputting an exception address based on user operation.
6. An image processing device according to any one of claims 1 to 5, characterized in that the connection destinations corresponding to the cloud print service include at least a connection destination used to register the image processing device to the cloud print service and a connection destination used to obtain print data.
7. The image reading device further includes a reading means for reading the document and obtaining an image thereof. The registration means registers a connection destination corresponding to the cloud scan function that communicates with a cloud print service on the external network as an address that allows communication without going through the proxy server when a setting for communication via the proxy server is enabled for the connection destination of the cloud scan function that communicates with the cloud print service on the external network.
2. The image processing device according to claim 1,
8. A program for causing a computer to function as the image processing device according to any one of claims 1 to 7.
9. 1. A method for controlling an image processing apparatus having a printing unit that communicates with an external device on an external network via a proxy server and prints an image on a sheet, comprising: a registration step in which, when a setting for allowing communication without going through the proxy server is enabled for a connection destination of a cloud print function that communicates with a cloud print service on the external network, a registration step in which a registration means of the image processing device registers the connection destination corresponding to the cloud print function as an exception address that allows communication without going through the proxy server; a communication control step of controlling, when a communication control means of the image processing device communicates with an external destination, the communication with the destination to be performed via or without the proxy server, based on whether or not the destination is registered in the exception address; A control method comprising the steps of:
Citation Information
Patent Citations
Communication system, management server, and program
JP2017016422A
Information processing apparatus, information processing method, and program
JP2017056720A
Information processing apparatus, information processing system, information processing method, and information processing program
JP2018146997A
System, method, and computer program for device registration to fleet service using gateway feature
JP2019036299A
Printer, information processing system, information processing method and program
JP2020040301A
