Monitoring apparatus, network device, monitoring apparatus control method, network device control method and program
The monitoring device's proxy function addresses device registration failures in customer environments by relaying communications and performing registration processes, ensuring successful device management.
Patent Information
- Application Number
- JP2022035093
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2022-03-08
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2042-03-08
AI Technical Summary
Device registration failures occur when devices with self-monitoring functions are installed in customer environments where external connections are prohibited, preventing direct access to a management server.
A monitoring device with a proxy function relays communication between the device and the management service, acquiring identification and proxy settings, and performs registration processes on behalf of the device when direct registration fails, using a proxy server to facilitate device registration.
Enables successful device registration in customer environments with restricted network access by utilizing a monitoring device's proxy function to relay communications and perform registration processes.
Smart Images

Figure 0007571072000001 
Figure 0007571072000002 
Figure 0007571072000003
Abstract
Description
[Technical field]
[0001] The present invention relates to device registration in a device management system. [Background technology]
[0002] There is a device management system that manages and analyzes data collected from devices such as multifunction peripherals. A device management system may be configured with a monitoring device that collects device information and a management server that manages the information collected by the monitoring device. As a mechanism for a monitoring device to manage a device, for example, there is a mechanism in which the monitoring device acquires data from the device by regular polling and manages the device. There is also a mechanism in which the monitoring device manages the device by utilizing a proxy function. Patent Document 1 discloses a mechanism for making a device having a self-monitoring function capable of collecting operation information required for a service within the device and transmitting it to a management server use the proxy function of the monitoring device. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2018-136876 A Summary of the Invention [Problem to be solved by the invention]
[0004] Normally, when installing a device with self-monitoring capabilities at a customer site, the worker who installs the device operates the device to register the device directly to the management server. However, in a customer environment that uses a monitoring device, i.e., in a customer environment that prohibits individual devices from connecting to external devices, the device cannot directly access the management server, so device registration fails and the device registration process cannot be completed.
[0005] An object of the present invention is to enable device registration via a monitoring device even if a device registration process to a device management service fails in a customer environment that uses the monitoring device. [Means for solving the problem]
[0006] In order to solve the above problems, a monitoring device of the present invention is a monitoring device having a proxy function for relaying communication between a device management service and a network device, and receiving an event based on a failure of device registration to the device management service from the network device. a receiving means for receiving an event from the network device, an acquiring means for acquiring identification information and a proxy setting of the network device corresponding to the received event, and if the network device is to be managed based on the identification information and the proxy setting of the network device acquired by the acquiring means, A setting unit that performs proxy setting for the network device using access information for a proxy function of the monitoring apparatus, and a registration unit that issues a device registration instruction for the network device to the device management service. do A network device of the present invention has a function of collecting data of the network device itself via a network and transmitting the data to a device management service, and includes a notification means for notifying the network of an event based on a failure of device registration when device registration to the device management service fails, a setting means for setting a proxy based on an instruction corresponding to the event from a monitoring device having a proxy function for relaying communication between the device management service and the network device, and an execution means for executing a process instructed by the monitoring device using the proxy function when the proxy setting has been performed. A display means for displaying the results of the executed processing; has. Effect of the Invention
[0007] According to the present invention, even if the device registration process to the device management service fails in the customer environment using the monitoring device, the device can be registered via the monitoring device. [Brief description of the drawings]
[0008] [Figure 1] FIG. 2 is a diagram illustrating the overall configuration of the system. [Diagram 2]FIG. 2 illustrates an example of a hardware configuration of an image forming apparatus. [Diagram 3] FIG. 2 illustrates an example of a hardware configuration of a monitoring device and a management server. [Figure 4] FIG. 2 illustrates an example of a software configuration of an image forming apparatus. [Diagram 5] FIG. 2 illustrates an example of a software configuration of a monitoring device. [Figure 6] 10 is a flowchart illustrating an example of a device registration process of the image forming apparatus. [Figure 7] FIG. 11 is a diagram illustrating an example of a processing result display of the image forming apparatus. [Figure 8] 10 is a flowchart illustrating an example of a device registration process of the monitoring apparatus. [Figure 9] FIG. 13 illustrates an example of a device management table. [Figure 10] FIG. 2 is a diagram showing an example of a device management screen of the monitoring apparatus 102. [Figure 11] 13 is a flowchart illustrating an example of a device registration process of an image forming apparatus according to a second embodiment. [Figure 12] 13 is a flowchart illustrating an example of a device registration process of an image forming apparatus according to a second embodiment. [Figure 13] 13 is a flowchart illustrating an example of a device registration process of the monitoring device according to the second embodiment. [Figure 14] 13 is a flowchart illustrating an example of a device registration process of the monitoring device according to the second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] Example 1 FIG. 1 is a diagram for explaining the configuration of the entire system. The system of this embodiment is a device management system for managing network devices. The device management system includes a network device to be managed, a monitoring device that collects data from the network device, and a device management service that manages the data collected by the monitoring device. In this embodiment, the network device is an image forming device 103, but is not limited to this. The network device may be any device that can communicate, such as an image processing device such as a scanner, a 3D printer, a notebook computer, a smartphone, or a smart home appliance. In this embodiment, the device management service for managing the device is provided by a management server 101, but is not limited to this. The device management service may be realized by one or more information processing devices, a virtual machine (cloud service) using resources provided by a data center including the information processing devices, or a combination of these.
[0010] The management server 101 provides a device management service that centrally manages data of the monitoring device 102 and the image forming device 103. The management server 101 is connected to the monitoring device 102 via a WAN 104. The management server 101 is also connected to the image forming device 103 via the WAN 104 and a LAN 105. Note that a firewall (not shown) is provided between the WAN 104 and the monitoring device 102 and between the WAN 104 and the LAN 105. Note that, in this embodiment, an example in which the image forming device 103 is a target of the device management service will be described, but the monitoring device 102 may be a target of the device management service in addition to the image forming device 103.
[0011] The monitoring device 102 monitors the image forming device 103 that is the target of the device management service, and acquires various data from the image forming device 103. The monitoring device 102 is connected to the image forming device 103 via a LAN 105, and is connected to the management server 101 via a WAN 104. Even if a firewall is provided between the WAN 104 and the monitoring device 102, the monitoring device 102 can communicate with the management server 101 that provides the device management service. The monitoring device 102 has a proxy function, and relays communication between the image forming device 103 and the device management service. Note that the monitoring device 102 may be an image forming device different from the image forming device 103 that has the same function as the image forming device 103 that is the target of monitoring by the monitoring device 102.
[0012] The image forming apparatus 103 is an image forming apparatus having a communication function such as an LBP or an MFP (multi-function peripheral). The image forming apparatus 103, which is a target of the device management service, is monitored by a monitoring apparatus 102 connected via a LAN 105. The image forming apparatus 103 has a self-monitoring function of detecting and collecting data used in the device management service within the image forming apparatus 103 and transmitting the data to the device management service. Note that, in the present embodiment, an example in which the WAN 104 and the LAN 105 are used as the network has been described, but the network may be configured to be capable of transmitting and receiving data, and any communication method is acceptable. For example, the network may be configured as a communication network such as a LAN or a WAN, as well as a cellular network such as LTE or 5G, a wireless network, a telephone line, a dedicated digital line, or a combination of these.
[0013] 2 is a diagram showing an example of a hardware configuration of the image forming apparatus 103. The image forming apparatus 103 includes a CPU 201, a ROM 202, a RAM 203, a HDC 204, a HDD 205, a reader I / F 207, a printer I / F 208, an operation unit I / F 209, a switch I / F 210, and an NWI / F 216. The CPU 201, the ROM 202, the RAM 203, the HDC 204, the reader I / F 207, the printer I / F 208, the operation unit I / F 209, the switch I / F 210, and the NWI / F 216 are connected via a system bus 206.
[0014] A CPU (Central Processing Unit) 201 performs overall control of the entire image forming apparatus 103. The CPU 201 performs overall control of each device connected to a system bus 206 by executing software for controlling the image forming apparatus 103 stored in a ROM 202 or a HDD 205. A ROM (Read Only Memory) 202 is a memory dedicated to reading data, and stores, for example, a basic control program for the image forming apparatus 103. A RAM (Random Access Memory) 203 is a memory from which data can be read and written. The RAM 203 functions, for example, as a work area for the CPU 201.
[0015] A hard disk controller (HDC) 204 controls the HDD 205. The HDD 205 is an example of a storage device, and stores various programs, data, etc. In the present embodiment, an example will be described in which the image forming apparatus 103 includes the HDD 205 as a storage device, but this is not limiting, and other storage devices such as an SSD or a disk drive that loads an external medium may be used.
[0016] The reader I / F 207 is an interface that connects the reader unit 212 and the system bus 206, and controls the reader unit 212. The reader unit 212 reads an original as an image and generates image data. The generated image data is used for various processes such as outputting the image data to the printer unit 213, storing the image data in the HDD 205, and transmitting the image data to a host computer connected to a network 217 via a network I / F 216, in response to an instruction from a user.
[0017] The printer I / F 208 is an interface that connects the printer unit 213 and the system bus 206, and controls the printer unit 213. The printer unit 213 prints the document read by the reader unit 212 and image data stored in the HDD 205 onto a recording medium (e.g., onto paper). The printer unit 213 also receives a print job from a host computer connected to a network 217 via a network I / F unit 216, and prints the image data based on the print job.
[0018] The operation unit I / F 209 is an interface that connects the operation unit 214 and the system bus 206, and controls the operation unit 214. The operation unit I / F 209 controls display on the operation unit 214 and user input from the operation unit 214. The operation unit 214 displays to the user and accepts operations from the user. The operation unit 214 may be configured, for example, with a display and buttons for operation, or may be configured with a touch panel. By associating input coordinates and display coordinates on the touch panel, it is possible to configure a GUI that makes it appear as if the user can directly operate a screen displayed on the touch panel.
[0019] The switch I / F 210 is an interface that connects the switch unit 215 and the system bus 206, and controls the switch unit 215. The switch unit 215 has a switch for controlling the power ON / OFF state of the image forming apparatus 103, etc. The NW (Network) I / F 216 is a communication interface that connects the image forming apparatus 103 and the network (LAN 105). The CPU 201 communicates with other information devices on the network via the NWI / F 216 and the network.
[0020] 3 is a diagram showing an example of the hardware configuration of the monitoring device 102 and the management server 101. The monitoring device 102 and the management server 101 have the same hardware configuration as a general information processing device, and include a CPU 303, a memory 304, a storage device 302, an operation I / F 305, and a communication I / F 301.
[0021] The CPU 303 of the monitoring device 102 controls the monitoring device 102, and the CPU 303 of the management server 101 controls the management server 101. The CPU 303 loads a program from the storage device 302 into the memory 304 and executes it to realize various controls. The storage device 302 stores an operating system (OS), programs, management data, data collected from external systems and devices, and the like. The memory 304 functions as a work area for the CPU 303. The operation I / F 305 outputs various data and execution results of programs to a connected output device such as a display, and receives input from a connected input device. The communication I / F 301 is a network interface for communicating with external systems and devices. The communication I / F 301 of the monitoring device 102 is connected to, for example, the WAN 104 and the LAN 105. The communication I / F 301 of the management server 101 is connected to, for example, the WAN 104.
[0022] FIG. 4 is a diagram showing an example of a software configuration (functional configuration) of the image forming apparatus 103. The image forming apparatus 103 includes a communication unit 401, an event notification unit 402, a management unit 403, a monitoring unit 404, and a display unit 405. The communication unit 401 communicates with external devices such as the management server 101 and the monitoring apparatus 102. The event notification unit 402 notifies the external device of an event. For example, when the registration process to the management server 101 fails, the event notification unit 402 performs an event notification by multicast communication to search for the monitoring apparatus 102 existing in the same network. The management unit 403 manages data in the image forming apparatus 103 and performs necessary processes. The management unit 403 includes a proxy setting unit 406, a process execution unit 407, and an instruction unit 408. The proxy setting unit 406 manages proxy settings for using the proxy function of the monitoring apparatus 102. The process execution unit 407 executes processes instructed by the monitoring apparatus 102 and the management server 101. An instruction unit 408 instructs the monitoring device 102 to continue or interrupt processing. A monitoring unit 404 performs monitoring processing to monitor the operating status of the image forming device 103 having a self-monitoring function and the occurrence of events such as errors. The monitoring unit 404 performs monitoring processing when, for example, the registration processing is successful. A display unit 405 controls display on a display device of the operation unit 214.
[0023] 5 is a diagram showing an example of the software configuration (functional configuration) of the monitoring device 102. The monitoring device 102 has a proxy server 501, a data management unit 502, an event receiving unit 503, and a device management unit 504. The proxy server 501 collects communications from the image forming device 103 having a self-monitoring function, and relays communications between the image forming device 103 and a device management service. The data management unit 502 manages device information required for monitoring the device. For example, the data management unit 502 manages status information indicating whether or not a device is under its own management. The event receiving unit 503 receives an event notified from the image forming device 103.
[0024] The device management unit 504 sets proxy server information held by the image forming apparatus 103 having a self-monitoring function, instructs registration, and the like. The device management unit 504 has a device information acquisition unit 505, a proxy setting acquisition unit 506, a determination unit 507, a proxy setting unit 508, a registration instruction unit 509, and a test instruction unit 510. The device information acquisition unit 505 acquires device information such as a serial number from the image forming apparatus 103. The proxy setting acquisition unit 506 acquires information related to proxy settings from the image forming apparatus 103. The determination unit 507 determines whether the image forming apparatus 103 is a subject of management of the device management service, whether the image forming apparatus 103 is a device that should use its own proxy function, and the like. The proxy setting unit 508 performs proxy setting using access information to the proxy function in order to have the image forming apparatus 103 use the proxy server 501. The registration instruction unit 509 performs processing for registering the image forming apparatus 103 that uses the proxy server 501 in the device management service. A test instruction unit 510 instructs the image forming apparatus 103 that has failed to be registered with the device management service at this time to perform a communication test with the device management service using the proxy server 501 .
[0025] Fig. 6 is a flowchart showing an example of device registration processing of the image forming apparatus 103 in the embodiment 1. Each process shown in the flowchart in Fig. 6 is realized by the CPU 201 of the image forming apparatus 103 reading a control program stored in the ROM 202 or HDD 205 into the RAM 203 and executing it. Fig. 7 is a diagram showing an example of a processing result display screen of the image forming apparatus 103 in the embodiment 1.
[0026] In S601, the communication unit 401 sends an instruction to the management server 101 that provides a device management service to perform a device registration process for registering the image forming apparatus 103 as a management target of the device management service. When the communication unit 401 receives a registration instruction together with an input of a first device registration key from a device installer via a UI screen of the image forming apparatus 103, for example, the communication unit 401 sends an instruction for device registration together with the first device registration key to the management server 101. The first device registration key is not a registration key for linking the management server 101 and the image forming apparatus 103, but a registration key for enabling temporary registration to the management server 101. The first device registration key may be, for example, an ID linked to a customer, or an ID linked to an organization above the customer (for example, a sales company that manages the customer). The management server 101 performs authentication using the first device registration key, and if the authentication is successful, returns credential information for issuing a token required for future communication to the image forming apparatus 103.
[0027] In S602, the management unit 403 determines whether the device registration process in the management server 101 has been successful. For example, the management unit 403 determines that the device registration process has been successful when a response containing credential information is received from the management server 101. If it is determined that the registration process has been successful, the process proceeds to S615. On the other hand, if it is determined that the registration process has failed, the process proceeds to S603.
[0028] If the device registration process in the management server 10 is successful, in S615, the monitoring unit 404 starts monitoring processing of its own device. After the monitoring processing starts, the communication unit 401 transmits information about the image forming device 103 monitored by the monitoring unit 404 to the management server 101. The communication unit 401 makes a token issuance request to the management server 101 together with the credential information returned in S601, and adds the issued token information to information to be transmitted to the management server 101.
[0029] If the device registration process in the management server 10 has failed, in S603 the management unit 403 notifies the user that the registration process has failed and that the monitoring device 102 is currently being searched for. For example, the management unit 403 displays a message on the UI screen of the operation unit 214 indicating that the registration process has failed and that the monitoring device 102 is currently being searched for. Fig. 7(A) is a diagram showing an example of the UI screen displayed in S603. A search in progress screen 701 is a screen indicating that the device registration process in the management server 101 has failed and that the monitoring device 102 is currently being searched for.
[0030] In S604, the event notification unit 402 notifies the monitoring device 102 of an event based on the failure of the device registration process in the device management service by multicast communication. In S605, the communication unit 401 waits for a request from the monitoring device 102, which is a response to the search event in S604, until a predetermined timeout time. If the communication unit 401 receives a request from the monitoring device 102, the process proceeds to S606. On the other hand, if the communication unit 401 does not receive a request from the monitoring device 102, the process proceeds to S614. In S614, the management unit 403 displays a message indicating that the search has failed on the UI screen of the operation unit 214. FIG. 7D is a diagram showing an example of a UI screen when the search for the monitoring device 102 has failed. The search failure screen 704 indicates that the search for the monitoring device has failed.
[0031] In S606, the management unit 403 saves the proxy setting information included in the request received from the monitoring device 102. In S607, the communication unit 401 receives an instruction from the monitoring device 102. In S608, the management unit 403 determines whether the instruction received from the monitoring device 102 is a registration process. If the instruction is a registration process, the process proceeds to S609. On the other hand, if the instruction is a communication test instruction, the process proceeds to S612.
[0032] If the instruction received from the monitoring device 102 is a registration process, in S609, the communication unit 401 performs a device registration process for registering the image forming device 103 as a target for management of the device management service to the management server 101 that provides the device management service. The device registration process is performed via the proxy server 501 of the monitoring device 102. That is, the monitoring device 102 performs the device registration process from the image forming device 103 to the device management service on behalf of the image forming device 103. When instructing the management server 101 to register the device via the proxy server 501 of the monitoring device 102, the communication unit 401 performs the device registration process by using a second device registration key notified from the monitoring device 102. Details of the second device registration key will be described later in the description of FIG. 8.
[0033] In S610, the management unit 403 displays the result of the device registration process in S609 on the UI screen of the operation unit 214. FIG. 7(B) is a diagram showing an example of the UI screen when the registration process to the management server 101 is successful. A success screen 702 indicates that the device registration process to the management server 101 is successful. In S611, the management unit 403 determines whether or not the device registration process is successful. If the device registration process is successful, the process proceeds to S615. On the other hand, if the device registration process is unsuccessful, this process ends.
[0034] If the instruction received from the monitoring device 102 is a communication test instruction, in S612, the communication unit 401 performs device registration processing for the management server 101 via the proxy server 501 of the monitoring device 102, using the first device registration key. In S613, the management unit 403 displays the result of the device registration processing in S612 on a UI screen. Fig. 7(C) is a diagram showing an example of a UI screen when the registration processing to the management server 101 has failed. A registration failure screen 703 indicates that the device registration processing to the management server 101 has failed.
[0035] Fig. 8 is a flowchart showing an example of a device registration process of the monitoring device 102 in the embodiment 1. Each process shown in the flowchart in Fig. 8 is realized by the CPU 303 of the monitoring device 102 reading out a control program stored in the storage device 302 into the memory 304 and executing it.
[0036] In S801, the event receiving unit 503 receives an event from the image forming apparatus 103. The event received by the event receiving unit 503 here is the event notified by the event notification unit 402 of the image forming apparatus 103 by multicast communication in S604. In S802, the device management unit 504 acquires device information such as a proxy setting and a device identifier (serial number) from the image forming apparatus 103 that transmitted the event received in S801.
[0037] In S803 and S804, the device management unit 504 determines whether the image forming apparatus 103 is a device to be monitored by the monitoring apparatus 102. First, in S803, the device management unit 504 determines whether the image forming apparatus 103 is a device that can be monitored by the monitoring apparatus 102 based on the proxy setting. Specifically, the device management unit 504 determines whether the image forming apparatus 103 is a device to be monitored by the monitoring apparatus 102 by determining whether the proxy setting of the image forming apparatus 103 acquired in S802 is empty. If the device management unit 504 determines that the proxy setting of the image forming apparatus 103 is empty, the process proceeds to S804. On the other hand, if the device management unit 504 determines that the proxy setting of the image forming apparatus 103 is not empty, the process ends. If the proxy setting is not empty, it is because it is presumed that the image forming apparatus 103 is already being monitored by another monitoring apparatus. In S803, the device management unit 504 may determine whether or not the proxy information of the proxy server 501 is set in the proxy settings of the image forming apparatus 103. In this case, the process proceeds to S804 if the proxy information of the proxy server 501 is not set in the proxy settings of the image forming apparatus 103. On the other hand, if the proxy information of the proxy server 501 is set, this process ends.
[0038] Next, in S804, the device management unit 504 determines whether the image forming apparatus 103 is a device to be managed by the monitoring apparatus 102. The device management unit 504 determines whether the image forming apparatus 103 is a device to be managed by the monitoring apparatus 102 based on the device information acquired from the image forming apparatus 103 in S802 and the device management information held by the data management unit 502. If it is determined that the image forming apparatus 103 is a device to be managed, the process proceeds to S805. On the other hand, if it is determined that the image forming apparatus 103 is a device not to be managed, the process proceeds to S810.
[0039] Here, the device management information held by the monitoring device 102 will be described. The device management information is various information about devices managed in order to monitor the devices that are the subject of the device management service, and is generated by the management server 101. The monitoring device 102 periodically acquires the device management information from the management server 101 that provides the device management service. FIG. 9 is a diagram showing an example of a device management table that manages the device management information. The device management table includes, for example, a device ID 901, a device name 902, an IP address 903, a MAC address 904, a management status 905, and a registration status 906. However, the device management information is not limited to these.
[0040] The device ID 901 is information for identifying a device. The device name 902 is the name of the device. The IP address 903 is information about the IP address set in the device. The MAC address 904 is information about the MAC address set in the device. The management status 905 is information indicating whether the device is a managed device. The registration status 906 is information indicating whether the device has been registered in the management server 101 as a managed device of the device management service.
[0041] The management status 905 may or may not be included in the device management information acquired from the management server 101. If the device management information acquired from the management server 101 does not include information on the management status 905, the monitoring apparatus 102 manages, for example, the devices present in the information acquired from the management server 101 using the management status 905. On the other hand, devices not present in the information acquired from the management server 101, i.e., devices that have only been searched for by the monitoring apparatus 102, are not managed using the management status 905.
[0042] In this embodiment, an example has been described in which the monitoring device 102 determines whether the device that notified the event in S804 is a management target based on device management information that is periodically acquired from the management server 101 and stored in advance in the monitoring device 102. However, the device management information that is periodically acquired from the management server 101 and stored in the monitoring device 102 may not be the latest. Therefore, when determining whether the device is a management target, the latest information on the management target device may be acquired from the management server 101.
[0043] Returning to the description of the flowchart in Fig. 8, in S805, the device management unit 504 notifies the image forming apparatus 103 of the proxy information of the proxy server 501. As a result, the device management unit 504 performs proxy setting for the image forming apparatus 103 using access information to its own proxy function. Note that, in this embodiment, an example has been described in which it is determined in S804 whether the image forming apparatus 103 is a managed device, and an instruction for proxy setting is issued in S805 only if the image forming apparatus 103 is a managed device, but the order of the processes in S804 and S805 may be reversed.
[0044] In S806, the device management unit 504 acquires a second device registration key from the management server 101. The second device registration key is a device registration key that links the monitoring apparatus 102 and the image forming apparatus 103. In S807, the device management unit 504 instructs the device management service to perform device registration processing to register the image forming apparatus 103 that uses its own proxy function. Specifically, the device management unit 504 first assigns a second device registration key to the image forming apparatus 103 and instructs the device management service to register the device. The image forming apparatus 103 that has received the device registration instruction instructs the device management service of the management server 101 to register the image forming apparatus 103 via the proxy function of the monitoring apparatus 102. The monitoring apparatus 102 that has received an instruction from the image forming apparatus 103 to perform device registration processing using the proxy server 501 instructs the device management service to register the image forming apparatus 103.
[0045] In S808, the device management unit 504 determines whether the registration process in S807 was successful. If it is determined that the registration process was successful, the process proceeds to S809. On the other hand, if it is determined that the registration process failed, the process proceeds to S811. In S809, the data management unit 502 updates the registration status 906 of the device management information (device management table, FIG. 9) to "registered".
[0046] In S810, the device management unit 504 instructs the image forming apparatus 103 to perform a communication test with the device management service via the proxy function of the monitoring apparatus 102. If a proxy setting has not been configured to allow the image forming apparatus 103 to use the proxy server 501, the proxy setting is configured and then a communication test is instructed. By performing a communication test and checking the communication status, when the device management service manages the image forming apparatus 103 as a management target, it is possible to quickly perform device registration processing for the image forming apparatus 103 for which the communication test was successful. In S811, the device management unit 504 displays a processing result according to the success or failure of the device registration determined in S808 on the UI screen of the operation unit via the operation I / F 305.
[0047] FIG. 10 is a diagram showing an example of a device management screen of the monitoring apparatus 102 in this embodiment. FIG. 10(A) is a diagram showing an example of a management target device list screen. The management target device list screen 1000a displays device information of devices that are managed by the device management service, that is, devices whose management status 905 is "managed". The management target device list screen 1000a displays, for example, a device ID 1001, a device name 1002, an IP address 1003, a MAC address 1004, and a registration status 1005. The device ID 1001 to the registration status 1005 are information corresponding to the device ID 901 to the MAC address 904 and the registration status 906, respectively. A device installer or a user can check the result of an instruction to register a device to the device management service by referring to the registration status 1005.
[0048] FIG. 10B is a diagram showing an example of a non-management device list screen. The non-management device list screen 1000b displays device information of devices that are not managed by the device management service, that is, devices whose management status 905 is "not managed". The non-management device list screen 1000b displays, for example, a device ID 1001, a device name 1002, an IP address 1003, a MAC address 1004, and a capability status 1006. The device ID 1001 to the MAC address 1004 are information corresponding to the device IDs 901 to 904, respectively. The capability status 1006 displays information indicating whether the device has been registered in the management server 101. A device installer or a user can check the result of a communication test instruction issued to the device by referring to the capability status 1006.
[0049] The attributes and methods displayed on the device management screen are not limited to these. In order to display detailed information on each processing result (for example, detailed information on an error when processing fails), a detailed information screen for that device may be output by clicking on a cell of any of the above attribute information.
[0050] As described above, even if the device installer fails to register the device, the device can be registered to the device management service via the monitoring device by notifying the device of an event to the monitoring device having a proxy function. This makes it possible to successfully register the device in the customer environment that uses the monitoring device.
[0051] Example 2 In the first embodiment, an example was described in which the image forming device 103 performs processing according to an instruction received from the monitoring device 102 when there is one monitoring device 102 corresponding to the image forming device 103. However, when there are multiple monitoring devices, the image forming device 103 does not need to execute instructions received from all monitoring devices. For example, when an instruction comes from a monitoring device that manages the image forming device 103, it is sufficient to execute only the instruction from that monitoring device, and it is not necessary to execute instructions from other monitoring devices that do not manage the image forming device 103. There is a possibility that unnecessary processing based on an instruction from a monitoring device that does not manage the image forming device 103 may temporarily put a load on the device. Therefore, in the second embodiment, a mechanism for appropriately executing processing when there are multiple monitoring devices will be described. Below, only the differences from the first embodiment will be described.
[0052] 11 and 12 are flowcharts showing an example of device registration processing of the image forming apparatus 103 in the second embodiment. Note that the same processes as those in the first embodiment (FIG. 6) are denoted by the same reference numerals, and description thereof will be omitted. Each process shown in the flowcharts of FIG. 11 and FIG. 12 is realized by the CPU 201 of the image forming apparatus 103 reading a control program stored in the ROM 202 or HDD 205 into the RAM 203 and executing it. When the image forming apparatus 103 transmits an event based on a failure in device registration to the device management service by multicast and receives a response (request) to the event from a monitoring device, the image forming apparatus 103 performs processing of S1101. The response (request) to the event may be received from multiple monitoring devices.
[0053] In S1101, the management unit 403 determines whether or not a monitoring device that manages itself is included among the monitoring devices that transmitted the request received in S605. The management unit 403 determines whether or not a monitoring device that manages itself (the image forming device 103) is included based on information included in the request. If it is determined that a monitoring device that manages the image forming device 103 is included among the request senders, the process proceeds to S1102. On the other hand, if a monitoring device that manages the image forming device 103 is not included among the request senders, the process proceeds to S1105.
[0054] In S1102, the communication unit 401 sends a processing continuation instruction as a response to the monitoring device that manages itself (the image forming device 103). In S1103, the management unit 403 determines whether or not there is a monitoring device that does not manage itself among the monitoring devices that transmitted the request received in S605. If there is a monitoring device that does not manage the image forming device 103 among the request senders, the process proceeds to S1104. On the other hand, if there is no monitoring device that does not manage the image forming device 103 among the request senders, the process proceeds to S1109. In S1104, the communication unit 401 sends a processing interruption instruction as a response to all monitoring devices that do not manage the image forming device 103.
[0055] If there is no monitoring device that manages the image forming apparatus 103 among the request senders, in S1105 the management unit 403 determines whether there are multiple monitoring devices among the request senders that do not manage the image forming apparatus 103. If there are multiple monitoring devices among the request senders that do not manage the image forming apparatus 103, that is, if there are multiple requests from monitoring devices that do not manage the image forming apparatus 103, the process proceeds to S1106. On the other hand, if there are not multiple monitoring devices among the request senders that do not manage the image forming apparatus 103, the process proceeds to S1108.
[0056] In S1106, the communication unit 401 selects one of the multiple monitoring devices that are the senders of requests that do not manage the image forming device 103, and sends a processing continuation instruction as a response. In S1107, the communication unit 401 sends a processing interruption instruction as a response to all the remaining monitoring devices that are the senders of requests that were not selected in S1106.
[0057] If the request source that does not manage the image forming apparatus 103 is one device, in S1108, the communication unit 401 sends a processing continuation instruction as a response to the monitoring device that sent the request. In S1109, the communication unit 401 receives the proxy setting from the monitoring device that sent the processing continuation instruction. Then, the process proceeds to S606, where the management unit 403 performs proxy setting based on the proxy setting received in S1109.
[0058] With the above process, when there are multiple monitoring devices, it is possible to use only the proxy function of the monitoring device that manages the device, and reduce the processing of the monitoring device that does not manage the device. Even if there are only monitoring devices that do not manage the device, it is possible to use the proxy function of the device and reduce the processing of the other monitoring devices by receiving the proxy setting of any one monitoring device and terminating the processing with the other monitoring devices.
[0059] 13 and 14 are flowcharts showing an example of device registration processing of the monitoring device 102 in the second embodiment. Note that the same processes as those in the first embodiment (FIG. 8) are denoted by the same reference numerals and description thereof will be omitted. Each process shown in the flowcharts of FIG. 13 and FIG. 14 is realized by the CPU 303 of the monitoring device 102 reading out a control program stored in the storage device 302 into the memory 304 and executing it.
[0060] If it is determined in S803 and S804 that the image forming apparatus 103 that is the sender of the event based on the failure of device registration in the device management service is a target for management by the monitoring apparatus 102, the process of S1201 is performed. In S1201, the device management unit 504 sends a processing request to the image forming apparatus 103 that is the sender of the event, as a response to the event, together with information indicating that the image forming apparatus 103 is a target for management by the device management unit 504.
[0061] In S1202, the device management unit 504 receives a response from the image forming apparatus 103 to the response of S1201. In S1203, the device management unit 504 determines whether the response from the image forming apparatus 103 is an instruction to continue processing. If it is determined that the response from the image forming apparatus 103 is an instruction to continue processing, the process proceeds to S805. In S805, the device management unit 504 issues a proxy setting instruction to the image forming apparatus 103. On the other hand, if it is determined that the response from the image forming apparatus 103 is an instruction to interrupt processing, this process ends.
[0062] If the image forming apparatus 103 that sent the event is not a managed apparatus, in S1204, the device management unit 504 sends a processing request to the image forming apparatus 103 as a response to the event, together with information indicating that the image forming apparatus 103 is not a managed apparatus. In S1205, the device management unit 504 receives a response from the image forming apparatus 103 to the response of S1204.
[0063] In S1206, the device management unit 504 determines whether the response from the image forming apparatus 103 is an instruction to continue processing. If the response from the image forming apparatus 103 is an instruction to continue processing, the process proceeds to S1207. If the response from the image forming apparatus 103 is an instruction to interrupt processing, the process ends. In S1207, the device management unit 504 issues a proxy setting instruction to the image forming apparatus 103.
[0064] In this way, if the image forming apparatus 103 is a management target and an instruction to continue processing is received from the image forming apparatus 103 in S1202, a proxy setting is made for the image forming apparatus 103, and processing is performed to register the image forming apparatus 103 in the device management service. If the image forming apparatus 103 is a management target but an instruction to continue processing is received from the image forming apparatus 103 in S1205, a proxy setting is made for the image forming apparatus 103. On the other hand, if an instruction to interrupt processing is received from the image forming apparatus 103, processing is terminated and a proxy setting is not made for the image forming apparatus 103. By the above processing, in an environment where multiple monitoring apparatuses exist, unnecessary processing can be avoided by selecting a monitoring apparatus to perform processing on the device side based on information indicating whether or not the monitoring apparatus is a management target notified by the monitoring apparatus.
[0065] As described above, according to the present embodiment, even a device that is not a target of management can receive the proxy setting of any one of the monitoring devices. Furthermore, in an environment where multiple monitoring devices exist, unnecessary processing of the monitoring devices can be suppressed.
[0066] (Other embodiments) 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.
[0067] Although the preferred embodiments of the present invention have been described above, the present invention is not limited to these embodiments, and various modifications and changes are possible within the scope of the gist of the present invention.
Claims
1. A monitoring device having a proxy function for relaying communication between a device management service and a network device, A receiving means for receiving an event based on a failure of device registration to the device management service from a network device; an acquisition means for acquiring identification information and a proxy setting of the network device corresponding to the received event; a setting means for performing a proxy setting for the network device using access information for a proxy function of the monitoring apparatus when the network device should be a management target based on the identification information and proxy setting of the network device acquired by the acquisition means; a registration unit for issuing a device registration instruction for the network device to the device management service.
2. The monitoring device described in Claim 1, characterized in that in addition to the identification information and proxy settings of the network device acquired by the acquisition means, device management information acquired from the device management service is used to determine whether or not the network device should be managed.
3. When the network device is a management target and a further processing continuation instruction is received from the network device, The setting means performs the proxy setting for the network device, 3. The monitoring apparatus according to claim 1, wherein the registration unit issues the device registration instruction for the network device for which the proxy setting has been performed.
4. 4. The monitoring apparatus according to claim 3, wherein if the instruction received from the network device is not an instruction to continue processing, the proxy setting is not performed for the network device.
5. A monitoring device as described in any one of claims 1 to 4, characterized in that when the network device is not managed and an instruction to continue processing is further received from the network device, the setting means performs the proxy setting for the network device.
6. 6. The monitoring apparatus according to claim 5, further comprising a test instruction means for instructing the network device outside the management target, for which the proxy setting has been made, to perform a communication test with the device management service via the proxy function.
7. 7. The monitoring device according to claim 1, wherein the monitoring device has a proxy function for relaying communication between a device management service and a network device, and is a different network device from the network device.
8. A method for controlling a monitoring device having a proxy function for relaying communication between a device management service and a network device, comprising the steps of: receiving an event from a network device based on a failure of the device to register with the device management service; acquiring identification information and a proxy setting of the network device corresponding to the received event; a setting step of performing a proxy setting for the network device using access information for a proxy function of the monitoring device when the network device should be managed based on the identification information and proxy setting of the network device acquired in the acquisition step; a registration step of issuing a device registration instruction for the network device to the device management service.
9. A program for controlling a monitoring device having a proxy function for relaying communication between a device management service and a network device, receiving an event from a network device based on a failure of the device to register with the device management service; acquiring identification information and a proxy setting of the network device corresponding to the received event; a setting step of performing a proxy setting for the network device using access information for a proxy function of the monitoring device when the network device should be managed based on the identification information and proxy setting of the network device acquired in the acquisition step; a registration step of issuing a device registration instruction for the network device to the device management service.
10. A network device having a function of collecting data of the network device itself and transmitting the data to a device management service via a network, a notification means for notifying the network of an event based on a failure of device registration to the device management service when the device registration to the device management service fails; a setting unit that performs proxy setting based on an instruction corresponding to the event from a monitoring device having a proxy function for relaying communication between the device management service and the network device; an execution unit that executes a process instructed by the monitoring device by using the proxy function when the proxy setting is performed; a display means for displaying a result of the processing by the execution means; A network device comprising:
11. The network device according to claim 10, characterized in that the setting means receives a request from a monitoring device that manages the network device, transmits an instruction to continue processing to the monitoring device, and then performs the proxy setting based on the instruction from the monitoring device.
12. The network device according to claim 10, characterized in that when there is no monitoring device that manages the network device, the proxy setting is performed based on the instruction received by sending an instruction to continue processing in response to a request from one monitoring device.
13. 13. The network device according to claim 10, wherein the notification unit notifies the event to the network by multicast.
14. A method for controlling a network device having a function of collecting data of the network device and transmitting the data to a device management service via a network, comprising the steps of: When the device registration to the device management service fails, notifying the network of an event based on the failure of the device registration; performing a proxy setting based on an instruction corresponding to the event from a monitoring device having a proxy function for relaying communication between the device management service and the network device; a step of executing a process instructed by the monitoring device using the proxy function when the proxy setting is performed; displaying the results of the processing performed; 13. A method for controlling a network device, comprising:
15. A program for controlling a network device having a function of collecting data of the network device and transmitting the data to a device management service via a network, When the device registration to the device management service fails, notifying the network of an event based on the failure of the device registration; performing a proxy setting based on an instruction corresponding to the event from a monitoring device having a proxy function for relaying communication between the device management service and the network device; a step of executing a process instructed by the monitoring device using the proxy function when the proxy setting is performed; and displaying a result of the executed processing.
Citation Information
Patent Citations
Monitoring device, method and program
JP2018136876A
Method, apparatus and system for connecting devices to a network
US20150081859A1
