Intermediation device, management intermediation method and program,

A terminal management system with periodic and interrupt-based communication reduces power consumption in battery-powered printers by allowing immediate responses when necessary, addressing the issue of constant monitoring-induced power drain.

JP7571463B2Active Publication Date: 2024-10-23BROTHER KOGYO KK
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2020179586
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-10-27
Publication Date
2024-10-23
Estimated Expiration
2040-10-27

AI Technical Summary

Technical Problem

Constant monitoring of printer status by a print server increases power consumption, particularly in battery-powered printers, compromising their operational efficiency.

Method used

Implementing a terminal management system with intermediary devices that utilize periodic communication processes and interrupt-based communication to manage terminal devices, allowing for reduced power consumption while enabling immediate response when needed.

Benefits of technology

The system enables quick acquisition of terminal device information at arbitrary timings while minimizing power consumption, extending battery life and reducing operational costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007571463000001
    Figure 0007571463000001
  • Figure 0007571463000002
    Figure 0007571463000002
  • Figure 0007571463000003
    Figure 0007571463000003
Patent Text Reader

Abstract

To quickly acquire information on a terminal device in arbitrary timing, while suppressing power consumption at the terminal device.SOLUTION: A mediation device executes first polling. The first polling is processing in which terminal communication processing is cyclically executed at intervals. In the terminal communication processing, a response is received from a terminal device by transmitting request notification to the terminal device. The mediation device, when receiving interruption from the terminal management device during execution of the first polling (S310), stops the first polling currently being executed to execute the terminal communication processing (S340).SELECTED DRAWING: Figure 7
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to a technique for managing a terminal device. [Background technology]

[0002] Patent Document 1 discloses a print server that constantly monitors the status of a printer. This print server notifies an information processing device of the printer status when the printer status changes or at predetermined time intervals. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Japanese Patent Application Publication No. 07-248889 Summary of the Invention [Problem to be solved by the invention]

[0004] In order for the print server to monitor the status of a printer, it is necessary for the printer to send status information. The printer requires power to send status information to the print server. Therefore, if the printer is constantly monitored by the print server, the power consumption of the printer increases. In particular, for a relatively small printer that is configured to operate on battery power, the impact of constant monitoring on power consumption is not small.

[0005] If, instead of monitoring constantly, status information is obtained from the printer at relatively long intervals (e.g., 30 minutes), the power consumption of the printer associated with monitoring can be reduced. However, the longer the interval, the less immediate the status information is obtained in exchange for reduced power consumption. In other words, even if you want to know the latest status information in the middle of an interval, you must wait until the interval has elapsed.

[0006] In view of the above problems, the present disclosure has an object to quickly obtain information about a terminal device at any timing while suppressing power consumption of the terminal device. [Means for solving the problem]

[0007] One aspect of the present disclosure is a program used in a terminal management system. The terminal management system includes a terminal management device, an intermediary device, and a terminal device. The intermediary device is capable of communicating with the terminal management device. The terminal device is capable of communicating with the intermediary device. The terminal management device is capable of managing the terminal device via the intermediary device.

[0008] The program causes a computer included in the intermediary device to execute periodic processing. The periodic processing includes periodically executing a terminal communication processing at intervals. The terminal communication processing includes a response request processing and a response receiving processing. The response request processing is a processing for transmitting a request notification that requests a response from the terminal device. The response is transmitted from the terminal device in response to reception of the request notification by the terminal device. The response receiving processing is a processing for receiving the response.

[0009] The program further causes the computer to execute an interrupt reception process and an interrupt handling process. The interrupt reception process is a process for receiving an interrupt from a terminal management device. The interrupt handling process is a process for stopping a currently executing periodic process and executing a terminal communication process in response to an interrupt being received by the interrupt reception process.

[0010] When such a program is executed on the intermediary device, the terminal device basically only needs to transmit a response to the request notification that is received periodically at intervals. This reduces the power consumption required for transmitting the response. On the other hand, when the intermediary device receives an interrupt from the terminal management device, it exceptionally stops the currently running periodic processing and transmits the request notification. This allows the intermediary device to instantly receive a response from the terminal device.

[0011] Therefore, according to this program, it is possible to quickly obtain a response from the terminal device at any timing while suppressing power consumption in the terminal device. In another aspect of the present disclosure, an intermediary device configured to execute the program may be provided. In yet another aspect of the present disclosure, a management intermediation method for use in the intermediary device on which the program is executed may be provided. [Brief description of the drawings]

[0012] [Figure 1] 1 is an explanatory diagram illustrating a schematic configuration of a terminal management system according to an embodiment; [Diagram 2] FIG. 2 is an explanatory diagram illustrating a schematic configuration of a terminal device according to an embodiment. [Diagram 3] FIG. 2 is an explanatory diagram illustrating four functions in the terminal management system of the embodiment. [Figure 4] 6 is a time chart showing an example of execution of first polling in the embodiment. [Diagram 5] 11 is a flowchart of a first polling process according to the embodiment. [Figure 6] 11 is a flowchart of a search process according to the embodiment. [Figure 7] 11 is a flowchart of a first interrupt process according to the embodiment. [Figure 8] 11 is a flowchart of a second polling process according to the embodiment. [Figure 9] 11 is a flowchart of a second interrupt process according to the embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0013] Hereinafter, exemplary embodiments of the present disclosure will be described with reference to the drawings. [1. Embodiment] (1-1) Overview of the terminal management system 1 includes a centralized management device 5, a terminal management device 30, and at least one managed system. Each managed system includes an intermediary device.

[0014] In this embodiment, the terminal management system 1 includes, for example, two managed systems. Specifically, the terminal management system 1 includes a first managed system 110 and a second managed system 120 as shown in FIG.

[0015] The first managed system 110 includes a first intermediary device 10. The first managed system 110 further includes one or more terminal devices. In this embodiment, the first managed system 110 includes, for example, three terminal devices 41, 42, and 43. In this embodiment, each of the terminal devices 41 to 43 cannot directly communicate with either the centralized management device 5 or the terminal management device 30, but can communicate with the first intermediary device 10.

[0016] The second managed system 120 includes a second intermediary device 20. The second managed system 120 further includes one or more terminal devices. In this embodiment, the second managed system 120 includes, for example, two terminal devices 44 and 45. In this embodiment, each of the terminal devices 44 and 45 cannot directly communicate with either the centralized management device 5 or the terminal management device 30, but can communicate with the second intermediary device 20.

[0017] Each of the terminal devices 41 to 45 may have any configuration. Each of the terminal devices 41 to 45 may be easily portable, or may be designed to be used in a stationary position and not easily portable.

[0018] Each of the terminal devices 41-45 in this embodiment is, for example, a small terminal device that can be easily carried around. More specifically, each of the terminal devices 41-45 in this embodiment has, for example, a printer function. The printer function is a function of recording an image based on image data on a recording paper (recording medium). At least one of the terminal devices 41-45 may further have a scanning function. The scanning function is a function of reading an image recorded on a document and generating image data showing the read image.

[0019] The centralized management device 5 and the terminal management device 30 are connected to a global network 200 and can communicate with each other through the global network 200. The global network 200 may be any network, and in this embodiment, it is, for example, the Internet configured so that communication is performed according to the so-called TCP / IP protocol. Each of the centralized management device 5 and the terminal management device 30 may be connected to the global network 200 via a router (not shown) equipped with a firewall function.

[0020] The first managed system 110 includes a first local network (not shown). The first local network may be a so-called intranet. The first intermediary device 10 and each of the terminal devices 41 to 43 are connected to the first local network. The first intermediary device 10 and each of the terminal devices 41 to 43 are capable of communicating with each other via the first local network.

[0021] The first local network may be a wired network, a wireless network, or a mixed wired and wireless network. In this embodiment, the first local network performs communication according to a communication protocol including, for example, the TCP / IP protocol. More specifically, the first local network in this embodiment is, for example, a so-called wireless LAN based on the IEEE802.11 standard.

[0022] The first managed system 110 further includes a first relay device 111. The first relay device 111 is connected to the global network 200 and the first local network, and relays communication between the global network 200 and the first local network. The first intermediation device 10 is capable of communicating with the terminal management device 30 via the first relay device 111.

[0023] The first relay device 111 may have a function of a so-called broadband router. The first relay device 111 may also have a firewall for restricting access from the global network 200 to the first managed system 110.

[0024] The second managed system 120 is basically configured in the same manner as the first managed system 110. That is, the second intermediary device 20 is basically configured in the same manner as the first intermediary device 10. The second managed system 120 also includes a second local network (not shown). The second local network may be the same type of network as the first local network, or may be a different type of network from the first local network. The second managed system 120 further includes a second relay device 121. The second relay device 121 has the same functions as the first relay device 111. The second intermediary device 20 can communicate with the terminal management device 30 via the second relay device 121.

[0025] In the following description, when the term "terminal device" is used simply, it refers to each of the terminal devices 41 to 45. When the term "managed system" is used simply, it refers to each of the first managed system 110 and the second managed system 120. When the term "intermediary device" is used simply, it refers to each of the first intermediary device 10 and the second intermediary device 20.

[0026] The terminal management system 1 includes a part of a so-called mobile terminal management system (MDM system). That is, the centralized management device 5 is owned, for example, by a first company that provides the service of the MDM system. On the other hand, the terminal management device 30, the first intermediation device 10, and the second intermediation device 20 are owned, for example, by a second company that wishes to manage the terminal devices 41 to 45 using the MDM system. The first intermediation device 10 may be provided, for example, in a first branch office owned by the second company, and the second intermediation device 20 may be provided, for example, in a second branch office owned by the second company.

[0027] The centralized management device 5 can manage various mobile terminals (not shown) to be managed in the MDM system by communicating with the mobile terminals. Managing the mobile terminals by the centralized management device 5 communicating with the mobile terminals is one of the basic functions of the MDM system.

[0028] The centralized management device 5 of this embodiment can further manage terminal devices that do not have a function of directly communicating with the centralized management device 5. That is, the administrator of the terminal devices can manage the terminal devices in the managed system by accessing the managed system from the centralized management device 5 through the terminal management device 30 (specifically, accessing the intermediate device).

[0029] The administrator can manage the terminal devices by, for example, using a Web browser to access a management site in the centralized management device 5. Specifically, for example, the administrator can access the management site to check the status of the terminal devices. Also, for example, the administrator can request an action to the terminal devices through the management site.

[0030] The administrator can also manage the terminal devices in the same manner as above by directly accessing the terminal management device 30 without going through the centralized management device 5. For example, the administrator can manage the terminal devices via a user I / F 33 (to be described later) provided in the terminal management device 30, or by accessing a terminal management site in the terminal management device 30 using a Web browser. Note that "I / F" is an abbreviation for "interface."

[0031] (1-2) Configuration of terminal management device As shown in FIG. 1, the terminal management device 30 includes a control unit 31, a storage unit 32, a user I / F 33, and a communication I / F .

[0032] The control unit 31 has, for example, a CPU. The storage unit 32 has, for example, a semiconductor memory such as a ROM, a RAM, an NVRAM, a flash memory, or an SSD. That is, the terminal management device 30 has a computer including a CPU and a semiconductor memory. The storage unit 32 may have a memory other than the semiconductor memory, such as a hard disk drive. The storage unit 32 stores various programs and data, including an operating system, a Web server, a terminal management program, and a management database (hereinafter referred to as a "management DB").

[0033] The control unit 31 realizes various functions by executing programs stored in the storage unit 32. Note that the various functions realized by the control unit 31 are not limited to being realized by executing programs, and some or all of the functions may be realized using one or more pieces of hardware.

[0034] The management DB includes management information for each terminal device registered as a management target (hereinafter referred to as a "registered terminal"). The management information includes, for example, the IP address, serial number, model name, affiliation information, status information, firmware version information, etc. of the registered terminal. The model name indicates the model of the terminal device.

[0035] The affiliation information is information that identifies the intermediate device with which the registered terminal is associated. The terminal management device 30 registers each of the registered terminals by distinguishing them based on which intermediate device the terminal is managed through. In this embodiment, the terminal devices 41 to 43 are each associated with the first intermediate device 10, and the terminal devices 44 and 45 are each associated with the second intermediate device 20.

[0036] The serial number is a unique number given to each terminal device to identify the terminal device. The serial number may be, for example, a MAC address or a specific number. The status information may include any information indicating the status of the terminal device. The status information may include at least one of various setting values ​​set in the terminal device, the remaining amount of a battery 56 described later, information indicating whether the remaining amount of the battery is less than a first threshold value, the remaining amount of recording paper, information indicating whether the recording paper is depleted, a print count value, information indicating whether the print count value has reached a second threshold value, information indicating the open / close state of a cover (not shown), location information indicating the location where the terminal device is located, and a user name of the terminal device. The location information and the user name may be manually input by an administrator to the terminal device. The various setting values ​​may include, for example, a font, font size, density, image quality, recording paper size, print history, and remaining amount of coloring agent used in the printer function.

[0037] The user I / F 33 includes an input device, such as a keyboard or a mouse, for accepting various inputs from the administrator. The user I / F 33 further includes a display device, such as a liquid crystal panel or an LED display device, for displaying various information to the administrator.

[0038] The communication I / F 34 is an interface for communicating with the centralized management device 5 and the relay devices 10, 20, etc. The communication I / F 34 may be, for example, a wired LAN, a wireless LAN, or other various communication interfaces. In this embodiment, the communication I / F 34 is connected to a global network 200.

[0039] (1-3) Configuration of the intermediary device In this embodiment, since the first intermediary device 10 and the second intermediary device 20 have the same configuration, the following describes the first intermediary device 10. As shown in FIG. 1, the first intermediary device 10 includes a control unit 11, a storage unit 12, a user I / F 13, and a communication I / F 14.

[0040] The control unit 11 has, for example, a CPU. The storage unit 12 has, for example, a semiconductor memory such as a ROM, a RAM, an NVRAM, a flash memory, or an SSD. That is, the first intermediation device 10 has a computer including a CPU and a semiconductor memory. The storage unit 12 may have a memory other than the semiconductor memory, such as a hard disk drive. The storage unit 12 stores various programs and data, including an OS 15, an intermediation program 16, and a registered terminal list.

[0041] The control unit 11 realizes various functions by executing a program stored in a non-transitive substantial recording medium. In this embodiment, the storage unit 12 corresponds to the non-transitive substantial recording medium storing the program. Note that the various functions realized by the control unit 11 are not limited to being realized by executing a program, and some or all of the functions may be realized using one or more pieces of hardware.

[0042] The registered terminal list includes information that identifies the registered terminals associated with the first intermediary device 10. In this embodiment, the registered terminal list includes, for example, the serial numbers of the associated registered terminals.

[0043] The intermediation program 16 includes various processes for intermediating the management of the terminal devices by the centralized management device 5 or the terminal management device 30. The intermediation program 16 includes the processes shown in FIGS.

[0044] The intermediation program 16 may be provided pre-installed in the first intermediation device 10. The intermediation program 16 may be provided stored in a storage medium such as a CD-ROM, a DVD-ROM, a USB memory, or a flash memory, and installed in the first intermediation device 10 by reading the intermediation program 16 from the storage medium. The intermediation program 16 may be installed in the first intermediation device 10 by being downloaded to the first intermediation device 10 via a communication line of the Internet.

[0045] In the following description, the entity that executes a program (for example, the control unit 11 in the first intermediation device 10) may be described simply by the program name. For example, the description "the intermediation program 16" may specifically mean "the control unit 11 that executes the intermediation program 16."

[0046] The user I / F 13 includes an input device, such as a keyboard, a mouse, etc., for accepting various inputs from the administrator. The user I / F 13 further includes, for example, a liquid crystal panel, an LED display device, etc.

[0047] The communication I / F 14 is an interface for communicating with the terminal management device 30 and each of the terminal devices 41 to 43. The communication I / F 14 may include, for example, a wired LAN, a wireless LAN, Bluetooth, a USB, and other various communication interfaces. The first intermediate device 10 communicates with each device connected to the global network 200, including the terminal management device 30, through a firewall provided in the first relay device 111.

[0048] (1-4) Terminal device configuration Next, there will be described the configuration of each of the terminal devices 41 to 45. In this embodiment, since each of the terminal devices 41 to 45 has the same configuration, the following will describe the terminal device 41 with reference to FIG.

[0049] The terminal device 41 includes a control unit 51, a storage unit 52, a printing unit 53, a communication I / F 55, a battery 56, and a power supply circuit 57. The terminal device 41 may further include a reading unit .

[0050] The control unit 51 includes, for example, a CPU. The storage unit 52 includes, for example, a semiconductor memory such as a ROM, a RAM, an NVRAM, a flash memory, or an SSD. That is, the terminal device 41 includes a computer including a CPU and a semiconductor memory. The storage unit 52 stores various programs, data, and the like.

[0051] The control unit 51 realizes various functions by executing a program stored in a non-transitional substantial recording medium. In this embodiment, the storage unit 52 corresponds to the non-transitional substantial recording medium storing the program. Note that the various functions realized by the control unit 51 are not limited to being realized by executing a program, and some or all of the functions may be realized using one or more pieces of hardware.

[0052] The storage unit 52 stores the IP address, serial number, model name, etc. of the terminal device 41. The storage unit 52 further stores a program for a self-check process shown in FIG.

[0053] The printing unit 53 realizes the printer function described above. The reading unit 54 realizes the scan function described above. The communication I / F 55 is an interface for communicating with the terminal management device 30 and the first intermediation device 10. The communication I / F 55 may include at least one of an interface for communicating via a wireless LAN, an interface for communicating via a wired LAN, an interface for communicating via Bluetooth (a registered trademark of Bluetooth SIG, Inc.), and an interface for communicating via a Universal Serial Bus (USB). The terminal device 41 may communicate with the first intermediation device 10 using any interface.

[0054] The power supply circuit 57 generates and outputs at least one type of power supply voltage from the power of the battery 56. Each unit in the terminal device 41 operates on one of the at least one type of power supply voltage generated by the power supply circuit 57. The battery 56 may be a primary battery or a repeatedly rechargeable secondary battery. The terminal device 41 may be configured to operate by receiving power from a power source other than the battery 56.

[0055] (1-5) Management function The terminal management system 1 of this embodiment mainly has four types of management functions, which are shown in FIG. 3. Specifically, the terminal management system 1 has a terminal registration function, a regular monitoring function, a self-check monitoring function, and an action instruction function. These four types of management functions will be specifically described below. In addition, in the following four types of functions, the processing performed by the intermediary device is basically realized by the control unit 11 executing the intermediary program 16. Also, the processing performed by the terminal management device 30 is basically realized by the control unit 31 executing the above-mentioned terminal management program. Also, the processing performed by the terminal device is basically realized by the execution of a program installed in the terminal device.

[0056] (1-5-1) Terminal registration function The terminal registration function is a function in which the intermediary device searches for terminal devices present in the managed system including itself, transmits terminal information on the searched terminal device to the terminal management device 30, and requests the terminal management device 30 to register the terminal device as a management terminal. An example of the execution procedure of the terminal registration function will be described below with reference to FIG. 3.

[0057] (1-5-1-a) First polling by the intermediary device As shown by "A1" in FIG. 3, the intermediary device performs a first polling for the purpose of searching for a terminal device. Specifically, the intermediary device periodically broadcasts a search command to search for a terminal device. The search command requests that the terminal device transmit terminal information when the terminal device receives the search command. The requested terminal information includes at least information that can identify the terminal device. Specifically, the terminal information may include, for example, a serial number, a model name, and an IP address. The terminal information may also include status information.

[0058] "Pattern 1" in FIG. 4 shows an example of the first polling. That is, in the first polling, a search for a terminal device is periodically performed at intervals (i.e., a waiting period). In this embodiment, the first polling is performed at regular intervals (i.e., at a regular cycle). The interval may be of any length, for example 30 minutes in this embodiment.

[0059] (1-5-1-b) Response by terminal device During the search period of the first polling, the terminal device that receives the broadcasted search command transmits the terminal information to the intermediary device, as shown by "A2" in Fig. 3. This allows the intermediary device to know the terminal devices that exist in the managed system to which it belongs.

[0060] (1-5-1-c) Request for registration to terminal management device The relay device that has acquired the terminal information in response to the first polling transmits a registration request including the terminal information to the terminal management device 30, as indicated by "A3" in Fig. 3. As a result, the unregistered terminal device is newly registered in the management DB in the terminal management device 30.

[0061] The intermediary device may transmit the terminal information of all terminal devices that responded to the first polling to the terminal management device 30, or may transmit only the terminal information of unregistered terminal devices to the terminal management device 30. The determination of whether or not a terminal device is unregistered may be performed in any manner. For example, information on registered terminals may be obtained from the terminal management device 30 and the determination may be made based on that information. Also, for example, the determination may be made by referring to the above-mentioned registered terminal list.

[0062] So far, the basic flow of the terminal registration function has been explained, but in this embodiment, in addition to the terminal search by the first polling, a terminal search can be executed instantly at any timing to register an unregistered terminal. In other words, by issuing a first interrupt to the first polling, the first polling can be stopped and a terminal search can be executed. This first interrupt will be described in detail later.

[0063] (1-5-2) Periodic monitoring function The regular monitoring function is a function in which the intermediary device periodically acquires status information from the registered terminal and transmits it to the terminal management device 30. When the terminal management device 30 receives the status information, it updates the management DB based on the status information. This allows the administrator to check the latest status of the registered terminal by accessing either the centralized management device 5 or the terminal management device 30 and referring to the management DB.

[0064] An example of a procedure for executing the regular monitoring function will be described below with reference to FIG. (1-5-2-a) Periodic polling by intermediary device The intermediary device performs a second polling of each registered terminal belonging to it, as shown by "B1" in Figure 3. The second polling includes an instruction to request status information.

[0065] The second polling in this embodiment is so-called SNMP polling, which is performed according to, for example, the Simple Network Management Protocol (SNMP). There are three versions of SNMP: version 1 (SNMPv1), version 2 (SNMPv2), and version 3 (SNMPv3). The second polling may be performed according to any version of SNMP, but in this embodiment, it is performed according to SNMPv3, which has the highest security level. The same applies to the SNMP request indicated by "C3" in FIG. 3. SNMPv3 has a password authentication function for each user and an access control function that can define the range of the MIB (Management Information Base) that can be accessed by each user.

[0066] The second polling may be performed at any timing. For example, the second polling may be performed at a fixed cycle (for example, every 30 minutes). Also, the intermediary device does not need to poll all registered terminals every time. That is, for example, each time the timing for performing polling arrives, the terminal devices to be polled may be switched one by one or a predetermined number of terminal devices may be switched in sequence.

[0067] (1-5-2-b) Status information transmission from terminal device The terminal device stores an MIB used in the SNMP protocol in the storage unit 52. When the terminal device receives the second polling designated for itself, it transmits some or all of the status information stored in the MIB to the intermediate device, as shown by "B2" in Fig. 3.

[0068] (1-5-2-c) Status information notification to terminal management device When the intermediary device receives the status information from the terminal device, it transmits the status information to the terminal management device 30, as shown by "B3" in Fig. 3. When the terminal management device 30 receives the status information, it updates the "management database" based on the status information.

[0069] So far, the basic flow of the regular monitoring function has been explained, but in this embodiment, in addition to obtaining status information by the second polling, it is possible to obtain status information instantly at any timing. In other words, by issuing a second interrupt to the second polling, it is possible to stop the second polling and obtain status information. This second interrupt will be described in detail later.

[0070] (1-5-3) Self-check monitoring function The self-check monitoring function is a function in which the terminal device itself monitors its status and notifies the intermediary device when it detects a status change. Status changes to be detected include at least one of a number of events, such as a certain level of decrease in the remaining battery charge, the remaining battery charge falling below a first threshold, the paper running out, the print count reaching a second threshold, the cover changing from a closed state to an open state, a change in location, and a change in user name. A certain level of decrease in the remaining battery charge means, more specifically, each time the remaining battery charge decreases by a certain percentage from a specified initial value (e.g., the remaining battery charge when fully charged). In other words, if the specified percentage is, for example, 10%, it is determined that a status change has occurred each time the remaining battery charge decreases by 10% from the specified initial value, such as 90%, 80%, 70%, and so on.

[0071] An example of a procedure for executing the self-check monitoring function will be described below with reference to FIG. (1-5-3-a) Self-check on terminal equipment The terminal device has a self-check function. The self-check function is a function that periodically (for example, at a fixed interval) checks its own status (see "C1" in FIG. 3). The self-check function further includes determining whether a status change has occurred based on the check result.

[0072] (1-5-3-b) Sending status information based on detection of status change When the terminal device detects a status change, it notifies the intermediary device of self-check information, as indicated by "C2" in FIG. 3. The self-check information includes information that allows at least the latest status after the change to be recognized. Specifically, the self-check information includes, for example, at least one of information indicating the detected status change and information indicating the status in which the status change occurred. The self-check information may further include information indicating a status different from the status in which the status change was detected. In other words, the self-check information may be the same type as the status information transmitted by the terminal device in the periodic monitoring function described above.

[0073] (1-5-3-c) Transmission of status information from the intermediary device to the terminal management device When the intermediary device receives the self-check information from the terminal device, it transmits the self-check information to the terminal management device 30, as indicated by "C3" in FIG.

[0074] When the terminal management device 30 receives the self-check information, it updates the "management database" based on the self-check information, allowing the administrator to check the latest status of each registered terminal.

[0075] (1-5-4) Action instruction function The action instruction function is a function for making an instruction target terminal device (hereinafter, referred to as an "action target terminal") execute an action by requesting one or more types of action to the action target terminal.

[0076] The one or more types of actions may include, for example, at least one of an instruction to update various setting values, an instruction to update firmware, an instruction to download a file, a request to send status information, etc. The action instruction function may also include an action instruction to the intermediary device. For example, one of the actions may be to request the intermediary device to broadcast a search for terminal devices existing around the intermediary device (in other words, terminal devices existing in the same managed system as the intermediary device).

[0077] An example of a procedure for executing the action instruction function will be described below with reference to FIG. (1-5-4-a) Registering an action to a terminal management device The administrator can register an action to the terminal management device 30 directly or via the centralized management device 5 to the terminal management device 30 by designating one or more of the terminal devices 41 to 45 as action target terminals.

[0078] An action table is stored in the storage unit 32 of the terminal management device 30. The action table includes information indicating registered actions. An action registered in the action table may be deleted from the action table in response to the execution of the action.

[0079] The terminal management device 30 of this embodiment does not proactively access the relay device. The main reason is that access to the inside of the managed system is blocked by the firewall in each of the relay devices 111 and 121. Therefore, the terminal management device 30 does not request a registered action by itself.

[0080] (1-5-4-b) Action confirmation polling from the intermediary device 3, the intermediation program 16 periodically transmits an action confirmation polling to the terminal management device 30. The action confirmation polling is a polling for confirming whether or not an action has been registered in the terminal management device 30.

[0081] The action confirmation polling includes, for example, identification information (e.g., serial numbers) that identifies all registered terminals that belong to the managed system to which the intermediary device belongs. Note that a single action confirmation polling does not need to include the identification information of all registered terminals. For example, action confirmation polling may be performed sequentially individually for one or more registered terminals. The action confirmation polling may be transmitted at any timing. The action confirmation polling may be transmitted periodically (e.g., every hour), for example.

[0082] (1-5-4-c) Action information provided by terminal management device In response to receiving an action confirmation polling from the intermediary device, the terminal management device 30 checks whether or not there is an action corresponding to the registered device indicated by the identification information included in the action confirmation polling. When the terminal management device 30 receives the action confirmation polling and a corresponding action is registered, the terminal management device 30 associates the action information indicating the action with the corresponding registered terminal (i.e., the action target terminal) as shown by "D2" in Fig. 3 and transmits it to the intermediary device.

[0083] The action information and the registered terminal may be associated in any manner as long as it is possible to identify which registered terminal the action information is for. In this embodiment, for example, the IP address of the registered terminal is added to the action information.

[0084] (1-5-4-d) Action instructions based on action information When the intermediary device acquires action information from the terminal management device 30, as shown by "D3" in Fig. 3, it instructs the action target terminal linked to the action information to perform the action. That is, it instructs the terminal to execute the action indicated by the action information. In this embodiment, as described above, the action information includes the IP address of the corresponding action target terminal. Therefore, the intermediary device accesses the action target terminal based on the IP address and instructs the terminal to execute the action indicated by the action information.

[0085] (1-5-4-e) Action execution by terminal device When the action target terminal receives an action instruction from the intermediary device, it executes the action indicated by the action instruction. After executing the action, it transmits an action completion notification indicating that the action has been executed successfully to the intermediary device, as indicated by "D4" in Fig. 3. The action completion notification may include information indicating the execution result of the executed action. Specifically, for example, it may include status information of the action target terminal after the action has been executed.

[0086] When the intermediary device receives an action completion notification from the terminal device, it notifies the terminal management device 30 that the action has been executed successfully. This notification may also include information indicating the result of the action execution. This allows the administrator to obtain information regarding the fact that the action has been executed and the result of the execution by accessing either the centralized management device 5 or the terminal management device 30.

[0087] (1-6) Details of device registration function (1-6-1) Example of terminal registration function An example of the execution of the terminal registration function will be described with reference to FIG. 4. An example of the execution of the terminal registration function can be mainly classified into three types of patterns as illustrated in FIG. 4. Pattern 1 is a pattern in which the first polling is executed without the first interruption, as described above. Pattern 2 is a pattern in which the first interruption is executed during an interval in the first polling. Pattern 3 is a pattern in which the first interruption is executed during a terminal device search period in the first polling. Note that time t0 in FIG. 4 indicates the start timing of the first polling. The first polling starts with a terminal search. In other words, when the first polling starts, a terminal search is executed first.

[0088] Pattern 2 will be described in detail with reference to Fig. 4. After the start of the first polling, when the intermediate device receives the first interrupt at time t1 during the interval, it resets (i.e. initializes) the first polling. In other words, it stops the first polling currently being executed and starts the first polling from the beginning. As a result, if the first interrupt had not been received, the interval would have continued until time t2, but because the first interrupt has been received, a search for terminal devices (i.e. broadcast) is performed at time t1.

[0089] In this embodiment, the first interrupt is transmitted from, for example, the terminal management device 30. The administrator can instruct the terminal management device 30 to send a first interrupt at any timing via the centralized management device 5, or directly to the terminal management device 30. Therefore, when there is a terminal device that the administrator wants to register immediately, the administrator can instruct the first interrupt to register the terminal device quickly without waiting for the end of the interval.

[0090] Next, pattern 3 will be specifically described with reference to Fig. 4. After the start of the first polling, when the mediation device receives the first interrupt at time t3 during the search period, the mediation device continues the currently running search without stopping it. Then, when the currently running search ends, the first polling is reset.

[0091] In this manner, in this embodiment, if the first interrupt is received during the interval period, the first polling is immediately reset to execute a search immediately, whereas if the first interrupt is received while a search is in progress, the first polling is reset after the ongoing search is continued to completion.

[0092] (1-6-2) First polling process The first polling for searching for a terminal device is realized by the control unit 11 of the intermediate device executing the first polling process of Fig. 5. When the control unit 11 is started up, it starts the first polling process.

[0093] When the control unit 11 starts the first polling process, in S110, the control unit 11 executes a search process. This search process is a process for searching for a terminal device and transmitting the search result to the terminal management device 30. The period indicated by "search" in Fig. 3 corresponds to the execution period of the search process.

[0094] Details of the search process are as shown in Fig. 6. In S210, the control unit 11 determines whether or not a priority terminal exists. The search process is basically performed by broadcasting without specifying a destination, but for example, if there is a terminal device that the administrator wants to register as soon as possible as a priority, the administrator can notify the terminal management device 30 of the information of the terminal device (e.g., serial number, IP address, the managed system in which it is located, etc.) and designate the terminal device as a priority terminal. When the terminal management device 30 receives the designation of a priority terminal, it transmits a notification indicating that the terminal device has been designated as a priority terminal, including information about the priority terminal, to the relay device of the managed system in which the priority terminal is located. When the relay device receives the notification that the priority terminal has been designated as a priority terminal, it saves the information included in the notification in the storage unit 12. Then, it refers to the saved information when the search process is executed (particularly when S210 and S240 are executed).

[0095] If it is determined in S210 that there is no priority terminal, the process proceeds to S250. If it is determined that there is a priority terminal, the process proceeds to S220. In S220, a designated terminal search is performed. Specifically, for one priority terminal, a unicast is performed with the priority terminal as the destination, and terminal information is acquired from the priority terminal. In S230, the terminal information acquired in S220 is transmitted to the terminal management device 30. In S240, it is determined whether there is another priority terminal for which the designated terminal search in S220 has not been performed. If there is no other priority terminal, the process proceeds to S250. If there are still other priority terminals, the process proceeds to S220. In other words, the processes of S220 to S230 are executed sequentially for all priority terminals, and the process proceeds to S250.

[0096] In S250, the terminal device is searched for by performing the above-mentioned broadcast, and the terminal information transmitted from the terminal device that received the search command is acquired. In S260, the search result by broadcasting in S250, i.e., the acquired terminal information, is transmitted to the terminal management device 30. When the process of S260 ends, the process proceeds to S120 (see FIG. 5).

[0097] In S120, the interval is started. In S130, it is determined whether the interval has elapsed, that is, whether the end of the interval has arrived. The determination in S130 is repeated until the interval has elapsed, and when the interval has elapsed, the process proceeds to S110.

[0098] (1-6-3) First interrupt process The first interrupt process for responding to the first interrupt from the terminal management device 30 will be described with reference to Fig. 7. When the control unit 11 of the intermediary device receives the first interrupt from the terminal management device 30, it executes the first interrupt process shown in Fig. 7. Note that the process of S310 in Fig. 7, i.e., the process of receiving the first interrupt, is not strictly speaking a part of the first interrupt process but is a process that triggers the start of the first interrupt process, but is shown in Fig. 7 for convenience of explanation.

[0099] When the control unit 11 starts the first interrupt process by receiving the first interrupt (see S310), it determines in S320 whether or not the search process is being executed in the first polling process. If the search process is not being executed, that is, if it is during the interval period, it proceeds to S340. If the search process is being executed, it proceeds to S330.

[0100] In S330, the currently executing search process is continued and the process waits until it is completed. Then, when the currently executing search process is completed, the process proceeds to S340. In S340, the currently executing first polling process is reset. In other words, the currently executing first polling process is stopped and the first polling process is started from the beginning. This causes the search process (S110) to start immediately.

[0101] (1-7) Details of periodic monitoring function Execution examples of the regular monitoring function can also be classified into three types of patterns, similar to the three patterns for the terminal registration function shown in Fig. 4. In Fig. 4, if the "search" period is replaced with the request and acquisition of status information in the second polling process (hereinafter abbreviated as "status acquisition") and the "first interrupt" is replaced with the "second interrupt," Fig. 4 can be regarded as a diagram showing an execution example of the regular monitoring function.

[0102] That is, when the intermediate device receives a second interrupt during the second polling interval, it resets the second polling. If the administrator wishes to immediately check the status of a terminal device, the administrator can instruct a second interrupt to quickly check the status of the terminal device without waiting for the end of the interval.

[0103] On the other hand, if the intermediate device receives the second interrupt during the period of status acquisition in the second polling, the intermediate device continues the currently ongoing status acquisition without stopping it, and resets the second polling when the currently ongoing status acquisition ends.

[0104] (1-7-1) Second polling process The second polling for acquiring the status is realized by the control unit 11 of the intermediate device executing the second polling process of Fig. 8. When the control unit 11 is started, it starts the second polling process in parallel with the above-mentioned first polling process.

[0105] When the control unit 11 starts the second polling process, it executes a status acquisition process in S410. Specifically, the control unit 11 acquires status information from each registered terminal by requesting the status information by unicasting to a destination specified for each registered terminal in the managed system to which the intermediary device belongs.

[0106] As in the processes of S210 to S240 in the first polling process, a priority terminal can be designated, and if there is a priority terminal, the status information of the priority terminal may be acquired and transmitted to the terminal management device 30 on a priority basis.

[0107] Furthermore, the status acquisition process is not limited to unicasting with a destination specified for each registered terminal, and may involve sequential access to all IP addresses defined by the subnetwork to request status information.

[0108] When the status acquisition process ends, the process proceeds to S420. In S420, an interval is started. In S430, it is determined whether the interval has elapsed. The determination in S430 is repeated until the interval has elapsed, and when the interval has elapsed, the process proceeds to S410.

[0109] (1-7-2) Second interrupt processing The second interrupt process for handling the second interrupt from the terminal management device 30 will be described with reference to Fig. 9. When the control unit 11 of the intermediary device receives the second interrupt from the terminal management device 30 (see S510), the control unit 11 executes the second interrupt process shown in Fig. 9.

[0110] When the control unit 11 starts the second interrupt process by receiving the second interrupt (see S510), it determines in S520 whether the status acquisition process in the second polling process is being executed. If the status acquisition process is not being executed, that is, if it is during the interval period, it proceeds to S540. If the status acquisition process is being executed, it proceeds to S530.

[0111] In S530, the currently executing status acquisition process is continued and the process waits until it is completed. Then, when the currently executing status acquisition process is completed, the process proceeds to S540. In S540, the currently executing second polling process is reset. In other words, the currently executing second polling process is stopped and the second polling process is started from the beginning. This causes the status acquisition process (S410) to start immediately.

[0112] (1-8) Effects of the embodiment According to the embodiment described above, the following advantages (a) to (c) are obtained. (a) In the intermediary device of this embodiment, the intermediary program 16 is executed to realize the various functions and processes described above.

[0113] Specifically, in the terminal registration function, the terminal device is basically searched for by the first polling. Therefore, the terminal device basically only needs to transmit terminal information in response to a search command that is periodically received at intervals. Therefore, the power consumption required for transmitting the terminal information can be reduced. The terminal device of this embodiment operates using the power of the battery 56. Therefore, the information request to the terminal device is made at relatively long intervals, which contributes to making the battery last longer.

[0114] On the other hand, when the intermediate device receives the first interrupt from the terminal management device 30, the intermediate device exceptionally stops the first polling currently being executed and executes a search, thereby enabling the intermediate device to instantly receive terminal information from the terminal device.

[0115] In the periodic monitoring function, the status information is basically acquired by the second polling. Therefore, the terminal device basically only needs to transmit the status information in response to a request received periodically at an interval. This reduces the power consumption required for transmitting the status information. On the other hand, when the intermediary device receives a second interrupt from the terminal management device 30, the intermediary device exceptionally stops the second polling currently being executed and requests the status information. This allows the intermediary device to receive the status information from the terminal device instantly.

[0116] Therefore, according to this embodiment, it is possible to quickly obtain information about the terminal device at any timing while suppressing power consumption in the terminal device. (b) If the intermediate device receives the first interrupt during the interval period of the first polling, it resets the first polling without waiting for the end of the interval. On the other hand, if the intermediate device receives the first interrupt during the search period of the first polling, it does not reset the first polling immediately, but continues the ongoing search. Then, it resets the first polling when the search ends.

[0117] In other words, instead of resetting the first polling uniformly when the first interrupt is received, whether to reset immediately or continue the ongoing process to completion is switched depending on the timing of receiving the first interrupt. By continuing the search in response to the first interrupt during a search, the occurrence of a terminal device that remains unsearched despite being in the managed system is prevented.

[0118] Therefore, the other terminal information can be obtained appropriately and quickly from the terminal device in response to the timing of receiving the first interrupt. The same applies to the second polling. (c) When a mediation device is designated as a priority terminal, the mediation device prioritizes searches or status information requests for the priority terminal, so that the administrator can quickly register a specific terminal device or quickly obtain status information from a specific terminal device as needed.

[0119] In this embodiment, the intermediary program 16 corresponds to an example of a program in the present disclosure. The control unit 11 and the memory unit 12 of the intermediary device correspond to an example of a computer in the present disclosure. The search command in the first polling and the request for status information in the second polling both correspond to an example of a request notification in the present disclosure. The terminal information from the terminal device in response to the first polling and the status information from the terminal device in response to the second polling both correspond to an example of a response to a request notification in the present disclosure. At least one of the serial number and the IP address of the terminal device corresponds to an example of terminal identification information in the present disclosure.

[0120] The first polling process in FIG. 5 and the second polling process in FIG. 8 both correspond to an example of periodic processing in the present disclosure. S110 and S410 both correspond to an example of terminal communication processing in the present disclosure. S220 and S250 both correspond to an example of response request processing and response reception processing in the present disclosure. S310 and S510 both correspond to an example of interrupt reception processing in the present disclosure. The processes of S320 to S340 and S520 to S540 both correspond to an example of interrupt handling processing in the present disclosure. The process of S340 executed by a negative determination in S320 and the process of S540 executed by a negative determination in S520 both correspond to an example of first initialization processing in the present disclosure. S330 and S530 both correspond to an example of continuation processing in the present disclosure. The process of S340 executed via S330 by a positive determination in S320 and the process of S540 executed via S530 by a positive determination in S520 both correspond to an example of second initialization processing in the present disclosure. Both S230 and S260 correspond to an example of the transmission process in this disclosure.

[0121] 2. Other embodiments Although the embodiments of the present disclosure have been described above, the present disclosure is not limited to the above-described embodiments and can be implemented in various modified forms.

[0122] (2-1) For example, if a first interrupt is received during a search period in the first polling, the ongoing search may be immediately stopped and the first polling may be reset. In the second polling as well, if a second interrupt is received during the status acquisition period, the status acquisition process being executed may be immediately stopped and the second polling may be reset.

[0123] (2-2) The application of the present disclosure is not limited to application to an MDM system. That is, the present disclosure is also applicable to a terminal management system that does not include a centralized management device 5 and is unrelated to an MDM system.

[0124] (2-3) Multiple functions possessed by one component in the above embodiments may be realized by multiple components, or one function possessed by one component may be realized by multiple components. Also, multiple functions possessed by multiple components may be realized by one component, or one function realized by multiple components may be realized by one component. Also, part of the configuration of the above embodiments may be omitted. Also, at least part of the configuration of the above embodiments may be added to or substituted for the configuration of another of the above embodiments. [Explanation of symbols]

[0125] 1...terminal management system, 10...first intermediary device, 11, 31, 51...control unit, 12, 32, 52...memory unit, 14, 34, 55...communication I / F, 16...intermediation program, 20...second intermediary device, 30...terminal management device, 41-45...terminal device, 56...battery.

Claims

1. A program used in a terminal management system, the terminal management system includes a terminal management device, an intermediary device capable of communicating with the terminal management device, and a terminal device capable of communicating with the intermediary device; the terminal management device is configured to be able to manage the terminal device via the intermediate device, The program is executed on a computer included in the intermediate device. Periodic processing including periodically executing terminal communication processing at intervals; Run the command, The terminal communication process includes: A response request process for transmitting a request notification requesting a response from the terminal device; a response receiving process for receiving the response transmitted from the terminal device in response to the request notification being received by the terminal device; Including, The program further includes: an interrupt reception process for receiving an interrupt from the terminal management device; an interrupt handling process for stopping the currently executed periodic process and executing the terminal communication process in response to receiving the interrupt by the interrupt reception process; Run the command, the terminal device has terminal identification information for identifying the terminal device, The request notification requests transmission of the terminal identification information, The response request process includes: a broadcast process for transmitting the request notification by broadcast without specifying a destination; a unicast process executed prior to the broadcast process, the unicast process transmitting the request notification to the terminal device by unicast with the terminal device specified as a destination; Including, the program.

2. The program according to claim 1, The interrupt handling process includes: a first initialization process for stopping the currently executing periodic process and executing the periodic process from the beginning, without waiting for an end of the interval, in response to the interrupt being received by the interrupt reception process during a period corresponding to the interval; Including, the program.

3. The program according to claim 1 or 2, The interrupt handling process includes: a continuation process for continuing the currently-executing terminal communication process without stopping the currently-executing terminal communication process in response to receiving the interrupt by the interrupt reception process during the execution of the terminal communication process; Including, The interrupt handling process stops the currently executed periodic process in response to the termination of the terminal communication process continued by the continuing process. program.

4. The program according to claim 3, The interrupt handling process includes: a second initialization process for executing the periodic process from the beginning in response to the termination of the terminal communication process continued by the continuing process; Including, the program.

5. The program according to any one of claims 1 to 4, The request notification requests the terminal device to transmit information indicating a status of the terminal device. program.

6. A program according to any one of claims 1 to 5, The program further includes: a transmission process of transmitting information based on the response received by the response reception process to the terminal management device; A program to execute.

7. The program according to any one of claims 1 to 6, The terminal device is configured to include a battery and to transmit the response using power from the battery. program.

8. An intermediary device for use in a terminal management system, comprising: the terminal management system includes the relay device, a terminal management device capable of communicating with the relay device, and a terminal device capable of communicating with the relay device; the terminal management device is configured to be able to manage the terminal device via the intermediate device, The intermediary device is A communication unit configured to communicate with the terminal device; A control unit; Equipped with The control unit is Executing a periodic process including periodically executing a terminal communication process at intervals; The terminal communication process includes: a response request process for transmitting a request notification via the communication unit to request a response from the terminal device; a response receiving process of receiving, via the communication unit, the response transmitted from the terminal device in response to the request notification being received by the terminal device; Including, The control unit further includes: an interrupt reception process for receiving an interrupt from the terminal management device via the communication unit; an interrupt handling process for stopping the currently executed periodic process and executing the terminal communication process in response to receiving the interrupt by the interrupt reception process; Run the terminal device has terminal identification information for identifying the terminal device, The request notification requests transmission of the terminal identification information, The response request process includes: a broadcast process for transmitting the request notification by broadcast without specifying a destination; a unicast process executed prior to the broadcast process, the unicast process transmitting the request notification to the terminal device by unicast with the terminal device specified as a destination; 23. An intermediary device comprising:

9. A management intermediation method for use in an intermediary device in a terminal management system, comprising: the terminal management system includes the relay device, a terminal management device capable of communicating with the relay device, and a terminal device capable of communicating with the relay device; the terminal management device is configured to be able to manage the terminal device via the intermediate device, The management intermediation method includes: Executing the terminal communication process periodically at intervals; having The terminal communication process includes: transmitting a request notification requesting a response from the terminal device; receiving the response transmitted from the terminal device in response to the request notification being received by the terminal device; Including, The management intermediation method further includes: receiving an interrupt from the terminal management device; executing the terminal communication process in response to receiving the interrupt; having the terminal device has terminal identification information for identifying the terminal device, The request notification requests transmission of the terminal identification information, Sending the request notification comprises: transmitting the request notification by broadcast without specifying a destination; transmitting the request notification to the terminal device by unicast, the unicast specifying the terminal device as a destination, prior to transmitting the request notification by broadcast; Administrative mediation methods, including:

Citation Information

Patent Citations

  • Device for monitoring combustor

    JP1993064268A

  • Printing system

    JP1995248889A

  • Mobile printer system, and control method of mobile printer system

    JP2006004160A

  • Monitoring system, monitoring device and program therefor, and terminal device and program therefor

    JP2012199651A

  • Information processor, and the control method and program thereof

    JP2014078083A