JP7326887B2 - Program, communication system, and communication method - Google Patents

Program, communication system, and communication method Download PDF

Info

Publication number
JP7326887B2
JP7326887B2 JP2019104843A JP2019104843A JP7326887B2 JP 7326887 B2 JP7326887 B2 JP 7326887B2 JP 2019104843 A JP2019104843 A JP 2019104843A JP 2019104843 A JP2019104843 A JP 2019104843A JP 7326887 B2 JP7326887 B2 JP 7326887B2
Authority
JP
Japan
Prior art keywords
command
communication interface
program
power
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2019104843A
Other languages
Japanese (ja)
Other versions
JP2020198000A (en
Inventor
那央人 白神
健二 玉置
孝志 西崎
恵理子 ▲高▼橋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2019104843A priority Critical patent/JP7326887B2/en
Publication of JP2020198000A publication Critical patent/JP2020198000A/en
Application granted granted Critical
Publication of JP7326887B2 publication Critical patent/JP7326887B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Power Sources (AREA)

Description

本発明は、デバイスの電源のオフとオンを管理する技術に関する。 The present invention relates to technology for managing power off and on of a device.

インターネット上の管理サーバが、モバイルデバイスと通信を行って、モバイルデバイスの管理を行うモバイルデバイス管理システム(以下、MDMシステムと称する)が知られている(例えば、特許文献1参照)。モバイルデバイスは、例えば、携帯電話やタブレットやノート型のパーソナルコンピュータなど、インターネットに接続して管理サーバと通信可能な端末である。 A mobile device management system (hereinafter referred to as an MDM system) in which a management server on the Internet communicates with a mobile device to manage the mobile device is known (see Patent Document 1, for example). The mobile device is, for example, a terminal such as a mobile phone, a tablet, or a notebook personal computer that can connect to the Internet and communicate with the management server.

特表2017-536598号公報Japanese Patent Publication No. 2017-536598

MDMシステムにより、プリンタ等のデバイスが有する電源のオン/オフを管理したいという要望がある。しかし、特許文献1では、デバイスの電源を制御することについて、十分な開示がされていない。 There is a demand for managing the power on/off of devices such as printers using an MDM system. However, Japanese Patent Laid-Open No. 2002-100002 does not sufficiently disclose control of the power supply of the device.

本発明は、前記の事情に鑑みてなされたものであり、その目的は、デバイスの電源を制御する手段を提供することにある。 SUMMARY OF THE INVENTION It is an object of the present invention to provide means for controlling the power supply of a device.

本明細書では様々な開示を行う。開示例の一例であるプログラムは、通信インタフェイスを有する情報処理装置のコンピュータによって実行されるプログラムである。前記プログラムは、デバイスのステータス情報を、前記通信インタフェイスを通じて取得するステータス取得処理と、前記デバイスの前記ステータス情報、並びに前記デバイスの電源のオフ及びオンを指定可能な指定用オブジェクトを含む画面データを生成して、当該画面データを前記通信インタフェイスを通じて端末装置に送信する画面データ送信処理と、前記指定用オブジェクトにオフ及びオンが指定されたことを示すオン/オフ情報を前記通信インタフェイスを通じて取得するオン/オフ取得処理と、前記オン/オフ取得処理で取得した前記オン/オフ情報に基づいて、前記電源をオフにする第1コマンドと、前記電源をオンにする第2コマンドを生成するコマンド生成処理と、前記第1コマンド及び前記第2コマンドを前記通信インタフェイスを通じて送信するコマンド送信処理と、を前記コンピュータに実行させる。 Various disclosures are made herein. A program, which is an example of the disclosed example, is a program executed by a computer of an information processing device having a communication interface. The program acquires status information of the device through the communication interface, and screen data including the status information of the device and a designation object capable of designating power off and on of the device. A screen data transmission process for generating and transmitting the screen data to the terminal device through the communication interface, and acquiring on/off information indicating that off and on are designated for the designation object through the communication interface. and a command for generating a first command for turning off the power and a second command for turning on the power based on the on/off information obtained by the on/off obtaining process. The computer is caused to execute a generation process and a command transmission process of transmitting the first command and the second command through the communication interface.

本プログラム、通信システム、及び通信方法によれば、デバイスの電源を制御すること可能となる。 According to this program, communication system, and communication method, it is possible to control the power of the device.

図1は、本開示の一実施形態に係る通信システム100の構成を示すブロック図である。FIG. 1 is a block diagram showing the configuration of a communication system 100 according to one embodiment of the present disclosure. 図2(A)は、プリンタ14の詳細な構成を示し、図2(B)は、端末装置11の詳細な構成を示す模式図である。2A shows the detailed configuration of the printer 14, and FIG. 2B is a schematic diagram showing the detailed configuration of the terminal device 11. As shown in FIG. 図3(A)は、図1の管理サーバ15のデータベース510のデータ構造を示し、図3(B)は、図1の外部仲介装置12のデータベース210のデータ構造を示す模式図である。3A shows the data structure of the database 510 of the management server 15 of FIG. 1, and FIG. 3B is a schematic diagram showing the data structure of the database 210 of the external intermediary device 12 of FIG. 図4は、図1の内部仲介装置13のデータベース310のデータ構造を示す模式図である。FIG. 4 is a schematic diagram showing the data structure of the database 310 of the internal mediation device 13 of FIG. 図5は、通信システム100におけるデバイス登録処理の手順を示すフローチャートである。FIG. 5 is a flowchart showing the procedure of device registration processing in the communication system 100. As shown in FIG. 図6は、通信システム100におけるステータス登録処理の手順を示すフローチャートである。FIG. 6 is a flowchart showing the procedure of status registration processing in the communication system 100. As shown in FIG. 図7は、通信システム100におけるプリンタ14の電力制御の第1部分の手順を示すフローチャートである。FIG. 7 is a flow chart illustrating the first part of the procedure for power control of printer 14 in communication system 100 . 図8は、通信システム100におけるプリンタ14の電力制御の第2部分の手順を示すフローチャートである。FIG. 8 is a flowchart illustrating a second portion of the procedure for power control of printer 14 in communication system 100 . 図9は、通信システム100におけるプリンタ14の電力制御の第3部分の手順を示すフローチャートである。FIG. 9 is a flow chart illustrating the third part of the procedure for power control of printer 14 in communication system 100 . 図10は、端末装置11のディスプレイ67の画面を示す模式図であり、(A)は、初期画面67Aを示し、(B)は、各種設定画面67Bを示す。10A and 10B are schematic diagrams showing screens of the display 67 of the terminal device 11, where (A) shows an initial screen 67A and (B) shows various setting screens 67B. 図11は、端末装置11のディスプレイ67の画面を示す模式図であり、(A)は、詳細設定画面67Cを示し、(B)は、時刻設定画面67Dを示す。11A and 11B are schematic diagrams showing the screen of the display 67 of the terminal device 11, where (A) shows the detail setting screen 67C and (B) shows the time setting screen 67D. 図12は、変形例に係るプリンタ14の電力制御の処理手順を示すフローチャートであり、(A)は、前半部分を示し、(B)は、後半部分を示す。FIG. 12 is a flowchart showing the power control processing procedure of the printer 14 according to the modification, where (A) shows the first half and (B) shows the second half.

以下、図面を参照して本開示の実施形態について説明する。なお、以下に説明される実施形態は本開示の一例にすぎず、本開示の要旨を変更しない範囲で、各実施形態を適宜変更できることは言うまでもない。例えば、後述する各処理の実行順序は、本開示の要旨を変更しない範囲で、適宜変更することができる。 Embodiments of the present disclosure will be described below with reference to the drawings. Note that the embodiments described below are merely examples of the present disclosure, and it goes without saying that each embodiment can be modified as appropriate without changing the gist of the present disclosure. For example, the execution order of each process described later can be changed as appropriate without changing the gist of the present disclosure.

[通信システム100の構成]
図1において、通信システム100は、管理サーバ15、外部仲介装置12、内部仲介装置13、複数台のプリンタ14、複数台の携帯端末装置95、及び端末装置11を備える。
[Configuration of communication system 100]
In FIG. 1 , the communication system 100 includes a management server 15 , an external mediation device 12 , an internal mediation device 13 , multiple printers 14 , multiple mobile terminal devices 95 , and a terminal device 11 .

通信システム100において、管理サーバ15は、所謂モバイルデバイス管理システム(以下、MDMシステムと称する)により、スマートフォンやタブレット等の携帯端末装置95を管理する。なお、MDMシステムによる携帯端末装置95は本開示の要部ではないため、携帯端末装置95に関する説明は簡素化する。管理サーバ15は、更に、外部仲介装置12及び内部仲介装置13を通じて各プリンタ14を管理する。詳細には、端末装置11のオペレータは、端末装置11が記憶するブラウザ64を操作し、管理サーバ15に記憶されたプリンタ14の各種情報を閲覧する。オペレータは、端末装置11を通じて、プリンタ14が有する電源回路46のオン/オフに関する設定を管理サーバ15に対して行う。管理サーバ15は、設定に従って外部仲介装置12及び内部仲介装置13を通じてプリンタ14の電源回路46のオン/オフを管理する。 In the communication system 100, the management server 15 manages mobile terminal devices 95 such as smartphones and tablets using a so-called mobile device management system (hereinafter referred to as an MDM system). Note that the mobile terminal device 95 based on the MDM system is not a main part of the present disclosure, so the description of the mobile terminal device 95 will be simplified. The management server 15 also manages each printer 14 through the external mediation device 12 and the internal mediation device 13 . Specifically, the operator of the terminal device 11 operates the browser 64 stored in the terminal device 11 to view various information about the printer 14 stored in the management server 15 . The operator makes settings for the management server 15 through the terminal device 11 regarding on/off of the power supply circuit 46 of the printer 14 . The management server 15 manages on/off of the power supply circuit 46 of the printer 14 through the external mediation device 12 and the internal mediation device 13 according to the settings.

管理サーバ15は、インターネット16に接続されるサーバ装置である。管理サーバ15は、例えば、MDMプロバイダにより管理される。MDMプロバイダは、MDMシステムによりスマートフォンやタブレット、プリンタ等のモバイルデバイスを管理するサービスを提供する会社である。 The management server 15 is a server device connected to the Internet 16 . The management server 15 is managed by, for example, an MDM provider. An MDM provider is a company that provides a service for managing mobile devices such as smartphones, tablets, and printers using an MDM system.

外部仲介装置12は、ファイアウォール18を介してインターネット16に接続されるサーバ装置である。外部仲介装置12は、MDMカスタマにより管理される。MDMカスタマは、MDMプロバイダによるサービスの提供を受ける会社である。 The external intermediary device 12 is a server device connected to the Internet 16 via a firewall 18 . The external intermediary device 12 is managed by the MDM customer. An MDM customer is a company served by an MDM provider.

管理サーバ15及び外部仲介装置12は、インターネット16及びファイアウォール18を通じて相互に通信可能である。具体的には、管理サーバ15及び外部仲介装置12は、予め割り当てられているグローバルIPアドレスを用い、インターネットプロトコルに従って相互に通信する。 The management server 15 and the external intermediary device 12 can communicate with each other through the Internet 16 and firewall 18 . Specifically, the management server 15 and the external intermediary device 12 communicate with each other according to the Internet protocol using a pre-assigned global IP address.

内部仲介装置13は、ファイアウォール19を介してインターネット16に接続されるサーバ装置又はパーソナルコンピュータである。内部仲介装置13は、例えば、MDMカスタマの支店や営業所(以下、単に、支店と称する)毎に設置される。 The internal intermediary device 13 is a server device or personal computer connected to the Internet 16 via a firewall 19 . The internal mediation device 13 is installed, for example, at each MDM customer's branch office or business office (hereinafter simply referred to as a branch office).

内部仲介装置13及び外部仲介装置12は、インターネット16及びファイアウォール18、19等を通じて相互に通信可能である。内部仲介装置13及び外部仲介装置12は、予め割り当てられているグローバルIPアドレスを用い、インターネットプロトコルに従って相互に通信する。 The internal mediation device 13 and the external mediation device 12 can communicate with each other through the Internet 16, firewalls 18, 19, and the like. The internal mediating device 13 and the external mediating device 12 communicate with each other according to the Internet protocol using pre-assigned global IP addresses.

なお、ファイアウォール18、19は、例えば、予め定められているファイアウォールポリシーに基づきパケットフィルタリングを行う。これにより、内部仲介装置13及び外部仲介装置12への不正アクセスが防止される。 Note that the firewalls 18 and 19 perform packet filtering based on, for example, a predetermined firewall policy. This prevents unauthorized access to the internal mediation device 13 and the external mediation device 12 .

また、内部仲介装置13は、支店毎に構築されるローカルエリアネットワーク(以下、LANと称する)17にも接続される。LAN17には、複数のプリンタ14が接続される。各支店に属する者は、プリンタ14を利用可能である。各プリンタ14は、LAN17に接続される。なお、プリンタ14の台数は、少なくとも1台でよい。 The internal intermediation device 13 is also connected to a local area network (hereinafter referred to as LAN) 17 constructed for each branch. A plurality of printers 14 are connected to the LAN 17 . A printer 14 is available to persons belonging to each branch office. Each printer 14 is connected to LAN 17 . Note that the number of printers 14 may be at least one.

LAN17は、イントラネットであり、有線LAN、無線LAN又はWANである。LAN17は、有線LAN、無線LAN及びWANの少なくとも2つの組み合わせでもよい。内部仲介装置13及び各プリンタ14とは、TCP/IPの通信プロトコルに従って相互に通信可能である。具体的には、内部仲介装置13及びプリンタ14は、プライベートIPアドレスやMACアドレスを用いて相互に通信する。 The LAN 17 is an intranet, and is a wired LAN, wireless LAN, or WAN. LAN 17 may be a combination of at least two of a wired LAN, a wireless LAN and a WAN. The internal mediation device 13 and each printer 14 can communicate with each other according to the TCP/IP communication protocol. Specifically, the internal mediation device 13 and the printer 14 communicate with each other using private IP addresses and MAC addresses.

より詳細には、LAN17は、ルータやブリッジ等のゲートウェイ装置(図示せず)を有している。ゲートウェイ装置は、予め割り当てられているグローバルIPアドレスを有する。内部仲介装置13は、ゲートウェイ装置及びファイアウォール19を通じてインターネット16に接続される。なお、ファイアウォール19は、ゲートウェイ装置に組み込まれていてもよい。 More specifically, the LAN 17 has gateway devices (not shown) such as routers and bridges. The gateway device has a pre-assigned global IP address. The internal intermediary device 13 is connected to the Internet 16 through a gateway device and firewall 19 . Note that the firewall 19 may be incorporated in the gateway device.

上記ネットワーク構成により、プリンタ14は管理サーバ15と直接通信する構成を備えていない。通信システム100では、管理サーバ15がプリンタ14を管理するために、管理サーバ15、外部仲介装置12、及び内部仲介装置13には、第1プログラム54、第2プログラム24、及びエージェントソフト34がそれぞれインストールされている。 Due to the above network configuration, the printer 14 does not have a configuration for direct communication with the management server 15 . In the communication system 100, the first program 54, the second program 24, and the agent software 34 are installed in the management server 15, the external mediation device 12, and the internal mediation device 13, respectively, so that the management server 15 manages the printer 14. installed.

[管理サーバ15の構成]
管理サーバ15は、CPU51と、メモリ52と、通信I/F(インタフェイスの略称)55と、ユーザI/F56と、ディスプレイ511と、通信バス57とを備える。CPU51、メモリ52、通信I/F55、ユーザI/F56、及びディスプレイ511は、通信バス57と接続されている。
[Configuration of management server 15]
The management server 15 includes a CPU 51 , a memory 52 , a communication I/F (abbreviation for interface) 55 , a user I/F 56 , a display 511 and a communication bus 57 . The CPU 51 , memory 52 , communication I/F 55 , user I/F 56 and display 511 are connected to communication bus 57 .

管理サーバ15は、情報処理装置の第一例である。CPU51は、コンピュータの第一例である。CPU51及びメモリ52は、コントローラ、第1コントローラの第一例である。通信I/F55は、第1通信インタフェイスの一例である。 The management server 15 is a first example of an information processing device. The CPU 51 is a first example of a computer. The CPU 51 and memory 52 are a first example of a controller, a first controller. Communication I/F 55 is an example of a first communication interface.

メモリ52は、ROM、RAM、EEPROM、HDD、USBメモリ等の記憶媒体、及びCPU51が備えるバッファ等である。メモリ52は、コンピュータが読み取り可能なストレージ媒体であってもよい。コンピュータが読み取り可能なストレージ媒体とは、non-transitoryな媒体である。non-transitoryな媒体には、上記の例の他に、CD-ROM、DVD-ROM等の記録媒体も含まれる。また、non-transitoryな媒体は、tangibleな媒体でもある。一方、インターネット16上のサーバ(図示せず)などからダウンロードされるプログラムを搬送する電気信号は、コンピュータが読み取り可能な媒体の一種であるコンピュータが読み取り可能な信号媒体であるが、non-transitoryなコンピュータが読み取り可能なストレージ媒体には含まれない。この点については、後述の外部仲介装置12のメモリ22、内部仲介装置13のメモリ32、及びプリンタ14のメモリ42(図2参照)についても同様である。 The memory 52 is a storage medium such as a ROM, a RAM, an EEPROM, an HDD, a USB memory, a buffer provided in the CPU 51, or the like. Memory 52 may be a computer-readable storage medium. A computer-readable storage medium is a non-transitory medium. In addition to the above examples, non-transitory media include recording media such as CD-ROMs and DVD-ROMs. A non-transitory medium is also a tangible medium. On the other hand, an electrical signal carrying a program downloaded from a server (not shown) on the Internet 16 is a computer-readable signal medium, which is a kind of computer-readable medium. It is not included in any computer-readable storage medium. This also applies to the memory 22 of the external mediation device 12, the memory 32 of the internal mediation device 13, and the memory 42 of the printer 14 (see FIG. 2), which will be described later.

メモリ52は、プログラム記憶領域58及びデータ記憶領域59を有している。プログラム記憶領域58は、OS53や第1プログラム54等のプログラムを記憶している。 The memory 52 has a program storage area 58 and a data storage area 59 . The program storage area 58 stores programs such as the OS 53 and the first program 54 .

OS53は、管理サーバ15の基本プログラムである。OS53は、例えば、MacOS(登録商標)、Windows(登録商標)、Linux(登録商標)、Android(登録商標)OS等のオペレーティングシステムである。 OS 53 is a basic program of management server 15 . The OS 53 is, for example, an operating system such as MacOS (registered trademark), Windows (registered trademark), Linux (registered trademark), and Android (registered trademark) OS.

第1プログラム54は、OS53と協働して、通信I/F55を通じた管理サーバ15及び外部仲介装置12の間の通信を制御するプログラムである。第1プログラム54は、プログラムの一部又は第一例である。 The first program 54 is a program that cooperates with the OS 53 to control communication between the management server 15 and the external intermediary device 12 through the communication I/F 55 . The first program 54 is a part or first example of a program.

第1プログラム54は、単一のプログラムであってもよいし、複数のプログラムモジュールの集合体であってもよい。この点については、第2プログラム24、エージェントソフト34、及び、制御プログラム44にも同様に当てはまる。 The first program 54 may be a single program or an aggregate of multiple program modules. This point similarly applies to the second program 24 , the agent software 34 and the control program 44 .

データ記憶領域59は、プログラムの実行に必要なデータを記憶する。また、データ記憶領域59は、図3(A)に示されるデータベース510を記憶する。 The data storage area 59 stores data necessary for program execution. The data storage area 59 also stores a database 510 shown in FIG. 3(A).

データベース510は、複数のレコードを有する。各レコードは、複数の項目を記録可能な複数のフィールドを有する。複数の項目は、項目「デバイスID」、「GID」、「ステータス情報」、「可否情報」、「アクション」である。 Database 510 has a plurality of records. Each record has multiple fields that can record multiple items. The plurality of items are items “device ID”, “GID”, “status information”, “possibility information”, and “action”.

項目「デバイスID」のフィールドには、プリンタ14を識別する識別情報が記録される。デバイスIDは、例えば、プリンタ14のMACアドレス、IPアドレス又はシリアル番号などである。各レコードは、デバイスIDによって区別される。すなわち、1台のプリンタ14に対して1つのレコードが生成される。以下、各レコードに対応するプリンタ14を、対象のプリンタ14と称する。 Identification information for identifying the printer 14 is recorded in the field of the item “device ID”. The device ID is, for example, the MAC address, IP address or serial number of the printer 14 . Each record is distinguished by a device ID. That is, one record is generated for one printer 14 . The printer 14 corresponding to each record is hereinafter referred to as the target printer 14 .

項目「GID」のフィールドには、対象のプリンタ14が通信可能な内部仲介装置13を示す識別情報が記録される。対象のプリンタ14は、同一レコードに記録されるデバイスIDが示すプリンタ14である。なお、「GID」は、数字や文字、その他、内部仲介装置13を識別可能なものであれば、どのようなものがGIDとして用いられてもよい。この点についてはデバイスIDも同様である。 In the field of the item "GID", identification information indicating the internal intermediary device 13 with which the target printer 14 can communicate is recorded. The target printer 14 is the printer 14 indicated by the device ID recorded in the same record. The “GID” may be numbers, letters, or any other GID as long as it can identify the internal mediation device 13 . In this regard, the device ID is similar.

項目「ステータス情報」のフィールドには、対象のプリンタ14の状態を示すステータス情報が記録される。状態は、例えば、「オンライン」、「オフライン」、「紙詰まり」及び「用紙無し」のいずれかである。「オンライン」は、対象のプリンタ14がLAN17に接続されていることを示す。「オフライン」は、対象のプリンタ14がLAN17に接続されていないことを示す。「紙詰まり」は、対象のプリンタ14で用紙が詰まっていることを示す。「用紙無し」は、対象のプリンタ14に用紙が無いことを示す。 Status information indicating the status of the target printer 14 is recorded in the item "status information" field. The status is, for example, one of "online", "offline", "paper jam" and "out of paper". “Online” indicates that the target printer 14 is connected to the LAN 17 . “Offline” indicates that the target printer 14 is not connected to the LAN 17 . "Paper Jam" indicates that the target printer 14 is jammed with paper. "No paper" indicates that the target printer 14 is out of paper.

項目「可否情報」のフィールドには、対象のプリンタ14が内部の電源回路46のオン及びオフを制御可能か否かを示す可否情報が記録される。 In the field of the item “availability information”, availability information indicating whether or not the target printer 14 can control on/off of the internal power supply circuit 46 is recorded.

項目「アクション」のフィールドには、対象のプリンタ14が備える電源回路46のオフ及びオンを制御することと、オンにする時刻を示すオン/オフ情報が記録される。 In the field of the item "action", on/off information indicating turning off/on control of the power supply circuit 46 provided in the target printer 14 and turning on time is recorded.

なお、データベース510には、プリンタ14に関する項目だけでなく、MDMシステムにより管理される携帯端末装置95に関する項目を記憶することができる。1台の携帯端末装置95に対して1つのレコードが生成される。各レコードにおいて、項目「デバイスID」のフィールドには、携帯端末装置95を識別する識別情報(MACアドレス、IPアドレス又はシリアル番号など)が記録される。項目「ステータス情報」のフィールドには、携帯端末装置95の状態を示すステータス情報が記録される。状態は、例えば、「オンライン」、及び「オフライン」のいずれかである。 The database 510 can store not only items related to the printer 14 but also items related to the mobile terminal device 95 managed by the MDM system. One record is generated for one mobile terminal device 95 . In each record, identification information (MAC address, IP address, serial number, etc.) for identifying the mobile terminal device 95 is recorded in the item “device ID” field. Status information indicating the state of the mobile terminal device 95 is recorded in the field of the item “status information”. The status is, for example, either "online" or "offline".

図1において、通信I/F55は、インターネット16及びファイアウォール18を通じて、各種情報又は各種データを外部仲介装置12と通信する。通信I/F55は、有線LAN I/Fや無線LAN I/Fである。 In FIG. 1 , the communication I/F 55 communicates various information or various data with the external intermediary device 12 through the Internet 16 and the firewall 18 . A communication I/F 55 is a wired LAN I/F or a wireless LAN I/F.

ユーザI/F56は、キーボードやマウスである。ユーザI/F56は、オペレータによる入力を受け付ける。ディスプレイ511は、CPU51から受信した各種画面データに基づく画像を表示する。 A user I/F 56 is a keyboard and a mouse. A user I/F 56 accepts input by an operator. The display 511 displays images based on various screen data received from the CPU 51 .

[外部仲介装置12の構成]
外部仲介装置12は、通信バス27により相互に通信可能なCPU21、メモリ22、通信I/F25、ユーザI/F26、及びディスプレイ211を備える。
[Configuration of External Intermediary Device 12]
The external intermediary device 12 includes a CPU 21 , a memory 22 , a communication I/F 25 , a user I/F 26 and a display 211 that can communicate with each other via a communication bus 27 .

外部仲介装置12は、情報処理装置の第二例である。CPU21は、コンピュータ及びコントローラの第二例である。CPU21及びメモリ22は、コントローラの第二例であり、第2コントローラの一例である。通信I/Fは、第2通信インタフェイスの一例である。 The external intermediary device 12 is a second example of an information processing device. The CPU 21 is a second example of a computer and controller. The CPU 21 and the memory 22 are a second example of a controller and an example of a second controller. Communication I/F is an example of a second communication interface.

メモリ22は、メモリ52と同様の記憶媒体、及びCPU21が備えるバッファである。メモリ22は、プログラム記憶領域28及びデータ記憶領域29を有している。プログラム記憶領域28は、OS23や第2プログラム24等のプログラムを記憶している。 The memory 22 is a storage medium similar to the memory 52 and a buffer included in the CPU 21 . The memory 22 has a program storage area 28 and a data storage area 29 . The program storage area 28 stores programs such as the OS 23 and the second program 24 .

OS23は、外部仲介装置12の基本プログラムである。第2プログラム24は、OS23と協働して、外部仲介装置12と、管理サーバ15又は内部仲介装置13の間の通信を制御するプログラムである。第2プログラム24は、プログラムの一部又はプログラムの第二例である。 The OS 23 is the basic program of the external intermediary device 12 . The second program 24 is a program that cooperates with the OS 23 to control communication between the external mediation device 12 and the management server 15 or the internal mediation device 13 . The second program 24 is a part of a program or a second example of a program.

データ記憶領域29は、プログラムの実行に必要なデータを記憶する。また、データ記憶領域29は、図3(B)に示されるデータベース210を記憶する。データベース210は、データベース510と同様のデータ構造を有している。 The data storage area 29 stores data necessary for program execution. The data storage area 29 also stores a database 210 shown in FIG. 3(B). Database 210 has a data structure similar to database 510 .

図1において、通信I/F25は、通信インタフェイスであり、ファイアウォール18及びインターネット16を通じて、管理サーバ15又は内部仲介装置13と各種情報又は各種データを通信する。 In FIG. 1, the communication I/F 25 is a communication interface that communicates various information or data with the management server 15 or the internal mediation device 13 through the firewall 18 and the Internet 16 .

ユーザI/F26は、外部仲介装置12のオペレータによる入力を受け付ける。ディスプレイ211は、CPU51から受信する各種画面データに基づく画像を表示する。 User I/F 26 receives input from the operator of external mediation device 12 . The display 211 displays images based on various screen data received from the CPU 51 .

[内部仲介装置13の構成]
内部仲介装置13は、通信バス37により相互に通信可能なCPU31、メモリ32、通信I/F35、ユーザI/F36、及びディスプレイ311を備える。
[Configuration of internal mediation device 13]
The internal mediation device 13 includes a CPU 31 , a memory 32 , a communication I/F 35 , a user I/F 36 and a display 311 that can communicate with each other via a communication bus 37 .

内部仲介装置13は、情報処理装置の第三例である。CPU31は、コンピュータの第三例である。CPU31及びメモリ32は、コントローラの第三例であり、第4コントローラの一例である。通信I/Fは、第4通信インタフェイスの一例である。 The internal mediation device 13 is a third example of an information processing device. The CPU 31 is a third example of a computer. The CPU 31 and memory 32 are a third example of a controller and an example of a fourth controller. Communication I/F is an example of a fourth communication interface.

メモリ32は、メモリ52と同様の記憶媒体、及びCPU31が備えるバッファである。メモリ32は、プログラム記憶領域38及びデータ記憶領域39を有している。プログラム記憶領域38は、OS33及びエージェントソフト34等のプログラムを記憶している。 The memory 32 is a storage medium similar to the memory 52 and a buffer included in the CPU 31 . The memory 32 has a program storage area 38 and a data storage area 39 . The program storage area 38 stores programs such as the OS 33 and agent software 34 .

OS33は、オペレーティングシステムであり、内部仲介装置13の基本プログラムである。エージェントソフト34は、OS33と協働して、通信I/F35を通じた内部仲介装置13及び外部仲介装置12の間の通信を制御するプログラムである。エージェントソフト34は更に、内部仲介装置13、及び、内部仲介装置13が属するLAN17に接続される各プリンタ14の間の通信を制御するプログラムである。エージェントソフト34は、プログラムの一部又はプログラムの第三例である。 The OS 33 is an operating system and a basic program of the internal mediation device 13 . The agent software 34 is a program that cooperates with the OS 33 to control communication between the internal mediation device 13 and the external mediation device 12 through the communication I/F 35 . The agent software 34 is also a program for controlling communication between the internal mediation device 13 and each printer 14 connected to the LAN 17 to which the internal mediation device 13 belongs. Agent software 34 is part of a program or a third example of a program.

データ記憶領域39は、プログラムの実行に必要なデータを記憶する。また、データ記憶領域39は、図4に示されるデータベース310を記憶する。 The data storage area 39 stores data necessary for program execution. The data storage area 39 also stores the database 310 shown in FIG.

図4において、データベース310は、内部仲介装置13とLAN17を通じて通信可能な各プリンタ14についての複数のレコードを有する。データベース310は、各レコードが項目「GID」のフィールドを含まなくともよい。 In FIG. 4, database 310 has multiple records for each printer 14 that can communicate with internal mediation device 13 through LAN 17 . Database 310 may not include a field for the item "GID" in each record.

図1において、通信I/F35は、通信インタフェイスであり、ファイアウォール19及びインターネット16を通じて外部仲介装置12と各種情報又は各種データを通信する。通信I/Fは更に、LAN17に接続されている各プリンタ14と、各種情報又は各種データを通信する。 In FIG. 1, the communication I/F 35 is a communication interface, and communicates various information or various data with the external mediation device 12 through the firewall 19 and the Internet 16 . The communication I/F further communicates various information or data with each printer 14 connected to the LAN 17 .

ユーザI/F36は、キーボードやマウスであり、内部仲介装置13のオペレータによる入力を受け付ける。ディスプレイ311は、CPU31により生成される各種画面データに基づく画像を表示する。 A user I/F 36 is a keyboard and mouse, and receives input from the operator of the internal mediation device 13 . The display 311 displays images based on various screen data generated by the CPU 31 .

[プリンタ14の構成]
図2(A)に示されるように、各プリンタ14は、携帯可能なサイズを有し、通信バス48により相互に通信可能に接続されたCPU41、メモリ42、通信I/F45、電源回路46、及び画像記録エンジン47を備える。
[Configuration of Printer 14]
As shown in FIG. 2A, each printer 14 has a portable size and includes a CPU 41, a memory 42, a communication I/F 45, a power supply circuit 46, and a CPU 41, which are communicably connected to each other via a communication bus 48. and an image recording engine 47 .

プリンタ14は、デバイスの一例である。CPU41及びメモリ42は、第3コントローラの一例である。通信I/F45は、第3通信インタフェイスの一例である。 Printer 14 is an example of a device. The CPU 41 and memory 42 are an example of a third controller. Communication I/F 45 is an example of a third communication interface.

メモリ42は、プログラム記憶領域49及びデータ記憶領域410を有している。プログラム記憶領域49は、OS43や制御プログラム44等のプログラムを記憶している。データ記憶領域410は、プログラムの実行に必要なデータを記憶する。また、データ記憶領域410は、デバイスIDを記憶する。 The memory 42 has a program storage area 49 and a data storage area 410 . The program storage area 49 stores programs such as the OS 43 and the control program 44 . The data storage area 410 stores data necessary for program execution. The data storage area 410 also stores device IDs.

OS43は、プリンタ14の基本プログラムである。制御プログラム44は、OS43と協働して、画像記録エンジン47に画像記録を実行させる。制御プログラム44は更に、通信I/F45を通じた内部仲介装置13との通信を制御するプログラムでもある。制御プログラム44は、単一のプログラム、又は複数のプログラムモジュールの集合体である。 OS 43 is the basic program of printer 14 . The control program 44 cooperates with the OS 43 to cause the image recording engine 47 to perform image recording. The control program 44 is also a program that controls communication with the internal mediation device 13 through the communication I/F 45 . The control program 44 is a single program or a collection of multiple program modules.

通信I/F45は、LAN17を通じて内部仲介装置13と、各種情報又は各種データを通信する。 The communication I/F 45 communicates various information or various data with the internal mediation device 13 via the LAN 17 .

電源回路46には、プリンタ14に備えられたバッテリ(不図示)が出力する電圧を、画像記録エンジン47の動作に適した電圧(例えば24V)に変換して画像記録エンジン47に供給する。CPU41は、電源回路46から画像記録エンジン47への電圧供給をオン及びオフすることができる。電圧供給のオン又は、オフが可能な場合、データ記憶領域39は、電源制御が可であることを示す「可否情報」を記憶する。一方、電圧供給のオン又は、オフが不能な場合、データ記憶領域39は、電源制御が不可であることを示す「可否情報」を記憶する。なお、電源回路46は、電源の一例である。 The power supply circuit 46 converts the voltage output by the battery (not shown) provided in the printer 14 into a voltage (for example, 24 V) suitable for the operation of the image recording engine 47 and supplies it to the image recording engine 47 . The CPU 41 can turn on and off the voltage supply from the power supply circuit 46 to the image recording engine 47 . If the voltage supply can be turned on or off, the data storage area 39 stores "possibility information" indicating that power supply control is possible. On the other hand, when the voltage supply cannot be turned on or off, the data storage area 39 stores "possibility information" indicating that power supply control is impossible. Note that the power supply circuit 46 is an example of a power supply.

画像記録エンジン47は、CPU41の制御下で、電源回路46が供給した電圧で動作して画像記録を実行する。具体的に、画像記録エンジン47は、インクジェット記録技術、熱転写技術、又は電子写真技術等により、シートに画像を記録する。 Under the control of the CPU 41, the image recording engine 47 operates with the voltage supplied by the power supply circuit 46 and executes image recording. Specifically, the image recording engine 47 records an image on a sheet by inkjet recording technology, thermal transfer technology, electrophotographic technology, or the like.

[端末装置11の構成]
図2(B)に示されるように、端末装置11は、通信バス68により相互に通信可能なCPU61、メモリ62、通信I/F65、ユーザI/F66、及びディスプレイ67を備える。
[Configuration of terminal device 11]
As shown in FIG. 2B, the terminal device 11 includes a CPU 61, a memory 62, a communication I/F 65, a user I/F 66, and a display 67 that can communicate with each other via a communication bus 68. FIG.

メモリ62は、メモリ52と同様の記憶媒体、及びCPU61が備えるバッファである。メモリ62は、プログラム記憶領域69及びデータ記憶領域610を有している。プログラム記憶領域69は、OS63及びブラウザ64等のプログラムを記憶している。 The memory 62 is a storage medium similar to the memory 52 and a buffer provided by the CPU 61 . The memory 62 has a program storage area 69 and a data storage area 610 . The program storage area 69 stores programs such as the OS 63 and browser 64 .

OS63は、オペレーティングシステムであり、端末装置11の基本プログラムである。ブラウザ64は、OS63と協働して、通信I/F65を通じた管理サーバ15との通信を制御するプログラムである。ブラウザ64は更に、インターネット16上の管理サーバ15にHTML形式の画面データの送信を要求し、管理サーバ15から画面データを受信する。ブラウザ64は、受信した画面データに基づく画像をディスプレイ67に表示させる(図10、図11を参照)。画面データは、各種オブジェクトを含む。「オブジェクト」とは、オペレータがユーザI/F66を操作することによって選択可能な画像である。 The OS 63 is an operating system and a basic program of the terminal device 11 . The browser 64 is a program which cooperates with OS63 and controls communication with the management server 15 through communication I/F65. The browser 64 further requests the management server 15 on the Internet 16 to transmit screen data in HTML format, and receives the screen data from the management server 15 . The browser 64 causes the display 67 to display an image based on the received screen data (see FIGS. 10 and 11). Screen data includes various objects. An “object” is an image that can be selected by the operator operating the user I/F 66 .

図1において、通信I/F65は、通信インタフェイスであり、インターネット16を通じて管理サーバ15と、各種情報又は各種データを通信する。 In FIG. 1, the communication I/F 65 is a communication interface, and communicates various information or various data with the management server 15 via the Internet 16 .

ユーザI/F66は、キーボードやマウスであり、端末装置11のオペレータによる入力操作を受け付ける。ディスプレイ67は、CPU61により生成される各種画面データに基づく画像を表示する。 A user I/F 66 is a keyboard and a mouse, and receives input operations by the operator of the terminal device 11 . The display 67 displays images based on various screen data generated by the CPU 61 .

[文言の定義]
本明細書では、基本的に、プログラムに記述された命令に従ったCPUの処理を説明する。すなわち、以下の説明における「判断」、「抽出」、「選択」、「算出」、「決定」、「特定」、「取得」、「受付」、「制御」、「設定」等の処理は、CPUの処理を表している。CPUによる処理は、OSなどのコントローラを介したハードウェア制御も含む。なお、「取得」は要求を必須とはしない概念で用いる。すなわち、CPUが要求することなくデータを受信するという処理も、「CPUがデータを取得する」という概念に含まれる。また、本明細書中の「データ」とは、コンピュータに読取可能なビット列で表される。そして、実質的な意味内容が同じでフォーマットが異なるデータは、同一のデータとして扱われるものとする。本明細書中の「情報」についても同様である。「命令」「応答」「要求」等の処理は、「命令」「応答」「要求」等を示す情報を通信することにより行われる。また、「命令」「応答」「要求」等の文言を、「命令」「応答」「要求」等を示す情報そのものという意味で記載してもよい。
[Definition of wording]
This specification basically describes the processing of the CPU according to the instructions written in the program. That is, the processes such as "judgment", "extraction", "selection", "calculation", "determination", "specification", "acquisition", "acceptance", "control", "setting", etc. in the following description are It represents the processing of the CPU. Processing by the CPU also includes hardware control via a controller such as an OS. Note that "acquisition" is used as a concept that does not require a request. That is, the concept of "the CPU acquires data" includes the process of receiving data without the CPU requesting it. Also, "data" in this specification is represented by a computer-readable bit string. Data having substantially the same meaning and content but different formats are treated as the same data. The same applies to "information" in this specification. Processing such as "command", "response", "request", etc. is performed by communicating information indicating "command", "response", "request", etc. Also, words such as "command", "response", "request", etc. may be described in the sense of information itself indicating "command", "response", "request", etc.

また、プログラムに記述された命令に従ったCPUの処理を、省略した文言で記載することがある。例えば、「CPU51が行う」「プログラム54が行う」「管理サーバ15が行う」のように記載することがある。CPU21、31等についても同様である。また、通信I/F、ユーザI/Fを通じてプログラムが情報の入出力を行うことを、省略した文言で記載することがある。例えば、「CPU51が受信する」、「プログラム54が送信する」、「管理サーバ15が取得する」のように記載することがある。 Also, the processing of the CPU according to the instructions written in the program may be described in abbreviated terms. For example, "performed by the CPU 51", "performed by the program 54", and "performed by the management server 15" may be described. The same applies to the CPUs 21, 31 and the like. In addition, abbreviated terms may be used to indicate that the program inputs and outputs information through the communication I/F and the user I/F. For example, it may be described as "received by the CPU 51", "transmitted by the program 54", and "obtained by the management server 15".

また、CPUによる、情報Aは事柄Bであることを示しているか否かを判断する処理を、「情報Aから、事柄Bであるか否かを判断する」のように概念的に記載することがある。CPUによる、情報Aが事柄Bであることを示しているか、事柄Cであるかを示しているかを判断する処理を、「情報Aから、事柄Bであるか事柄Cであるかを判断する」のように概念的に記載することがある。 Also, the process of judging by the CPU whether or not the information A indicates that the matter B is conceptually described as "judging whether or not the information A is the matter B". There is The process of judging whether information A indicates matter B or matter C by the CPU is referred to as "determining whether information A is matter B or matter C." It may be described conceptually as

また、本明細書中の「データ」と「情報」とは、コンピュータによって取り扱い可能なビット或いはビット列である点において共通する。「データ」とは、各ビットが示す意味内容をコンピュータが考慮することなく取り扱えるものを指す。これに対して、「情報」とは、各ビットが示す意味内容によってコンピュータの動作が分岐するものを指す。さらに、「指示」は、送信先の装置に対して次の動作を促すための制御信号であって、情報を含んでいることもあるし、それ自体が情報としての性質を有していることもある。 Also, "data" and "information" in this specification are common in that they are bits or bit strings that can be handled by a computer. "Data" refers to anything that can be handled by a computer without considering the semantic content indicated by each bit. On the other hand, "information" indicates that the operation of the computer branches depending on the meaning indicated by each bit. Furthermore, the "instruction" is a control signal for prompting the destination device to perform the next operation, and may contain information, and itself has the property of information. There is also

また、「データ」及び「情報」は、形式(例えば、テキスト形式、バイナリ形式、フラグ形式等)がコンピュータ毎に変更されたとしても、同一の意味内容と認識される限り、同一のデータ及び情報として取り扱われる。例えば、「2つ」であることを示す情報が、あるコンピュータではASCIIコードで”0x32”というテキスト形式の情報として保持され、別のコンピュータでは二進数表記で”10”というバイナリ形式の情報として保持されてもよい。 In addition, "data" and "information" are the same data and information as long as they are recognized as having the same meaning and content, even if the format (for example, text format, binary format, flag format, etc.) is changed for each computer. treated as For example, information indicating "two" is stored as text format information "0x32" in ASCII code on one computer, and stored as binary format information "10" in binary notation on another computer. may be

但し、上記の「データ」及び「情報」の区別は厳密なものではなく、例外的な取り扱いも許容される。例えば、データが一時的に情報として扱われてもよいし、情報が一時的にデータとして扱われてもよい。また、ある装置ではデータとして扱われるものが、他の装置では情報として扱われてもよい。さらには、データの中から情報が取り出されてもよいし、情報の中からデータが取り出されてもよい。 However, the above distinction between "data" and "information" is not strict, and exceptional handling is permitted. For example, data may be temporarily treated as information, or information may be temporarily treated as data. Also, what is handled as data in one device may be handled as information in another device. Furthermore, information may be extracted from data, and data may be extracted from information.

また、本明細書中の「に応じて」は、当該文字列の前に記載された条件が満たされた場合に、当該文字列の後に記載された処理が実行されることを示す。なお、処理が実行されるタイミングは、条件が満たされた後であればよく、当該条件が満たされた直後である必要は必ずしもない。 In addition, "depending on" in this specification indicates that the processing described after the character string is executed when the condition described before the character string is satisfied. Note that the timing at which the process is executed may be after the condition is satisfied, and does not necessarily have to be immediately after the condition is satisfied.

[通信システム100における通信]
以下、図5から図9を参照して、第1プログラム54、第2プログラム24、エージェントソフト34、制御プログラム44及びブラウザ64に基づく処理について説明する。
[Communication in communication system 100]
Processing based on the first program 54, the second program 24, the agent software 34, the control program 44 and the browser 64 will be described below with reference to FIGS.

[デバイス登録処理]
図5を参照して、プリンタ14のデバイスIDをデータベース510、210に登録する処理(以下、デバイス登録処理と称する)について説明する。デバイス登録処理が完了することで、管理サーバ15はプリンタ14の管理を開始することが可能となる。
[Device registration process]
Processing for registering the device ID of the printer 14 in the databases 510 and 210 (hereinafter referred to as device registration processing) will be described with reference to FIG. By completing the device registration process, the management server 15 can start managing the printer 14 .

まず、内部仲介装置13において、エージェントソフト34は、LAN17に接続されている全てのプリンタ14に要求RQ11を送信する(S11)。要求RQ11は、プリンタ14にデバイスID及び可否情報の返信を指示するコマンドである。 First, in the internal intermediary device 13, the agent software 34 transmits a request RQ11 to all the printers 14 connected to the LAN 17 (S11). The request RQ11 is a command that instructs the printer 14 to return the device ID and the availability information.

エージェントソフト34は、例えば、自身の初回起動時に初期設定が実行されたことに応じて、内部仲介装置13の担当者が入力した登録指示に従ってS11を実行する。登録指示は、管理対象のプリンタ14を通信システム100に登録するための指示である。エージェントソフト34は、他にも、第1プログラム54又は第2プログラム24から送信された登録指示を受信したことに応じて、S11を実行してもよい。なお、登録指示は、すでに稼働している通信システム100にデバイスIDを追加して登録することを示す指示であってもよい。「担当者」とは、例えば、各支店等においてプリンタ14の管理を行う者であって、端末装置11を操作するオペレータとは相違する者である。なお、外部仲介装置12は、各種情報及び各種データを、内部仲介装置13から受信した各要求(具体的には、HTTPリクエスト)に対する応答(具体的には、HTTPレスポンス)に含めて内部仲介装置13に送信する。 For example, the agent software 34 executes S11 according to the registration instruction input by the person in charge of the internal mediation device 13 in response to the initial setting being executed when the agent software 34 is first activated. The registration instruction is an instruction for registering the managed printer 14 in the communication system 100 . Alternatively, the agent software 34 may execute S11 in response to receiving a registration instruction transmitted from the first program 54 or the second program 24. FIG. Note that the registration instruction may be an instruction to add and register the device ID in the already operating communication system 100 . The “person in charge” is, for example, a person who manages the printer 14 at each branch office and is different from the operator who operates the terminal device 11 . The external intermediary device 12 includes various information and various data in responses (specifically, HTTP responses) to requests (specifically, HTTP requests) received from the internal intermediary device 13. Send to 13.

LAN17に接続された各プリンタ14は、要求RQ11を受信する(S11)。各プリンタ14において、制御プログラム44は、プリンタ14が有するデバイスID及び可否情報をデータ記憶領域410から取得し、これらを含む応答RS11を生成する(S12)。制御プログラム44は、生成した応答RS11を内部仲介装置13に送信する(S13)。 Each printer 14 connected to the LAN 17 receives the request RQ11 (S11). In each printer 14, the control program 44 acquires the device ID and availability information of the printer 14 from the data storage area 410, and generates a response RS11 including these (S12). The control program 44 transmits the generated response RS11 to the internal mediation device 13 (S13).

エージェントソフト34は、各プリンタ14の応答RS11を受信したことに応じて、DB更新処理を実行する(S14)。S14で、エージェントソフト34は、各応答RS11に含まれるデバイスID毎にレコードをデータベース310に作成する。エージェントソフト34は、作成したレコードにおいて、デバイスID及び可否情報のフィールドに、応答RS11に含まれるデバイスID及び可否情報をそれぞれ記録する(図4参照)。 Upon receiving the response RS11 from each printer 14, the agent software 34 executes DB update processing (S14). At S14, the agent software 34 creates a record in the database 310 for each device ID included in each response RS11. The agent software 34 records the device ID and availability information included in the response RS11 in the device ID and availability information fields of the created record, respectively (see FIG. 4).

次に、エージェントソフト34は、送信指示が入力されたか否かを判断する(S15)。具体的には、エージェントソフト34は、各応答RS11を受信したことに応じて、各応答RS11内のデバイスIDをディスプレイ211に表示させる。担当者は、ディスプレイ311の画面を参照して、管理対象のプリンタ14のデバイスIDを認識する。担当者は、管理対象のプリンタ14のデバイスIDをユーザI/F36を用いて選択した後、送信指示を内部仲介装置13に入力する。一方、担当者は、表示中の全デバイスIDが管理対象のプリンタ14でないと判断した場合、ユーザI/F35を操作して終了指示を内部仲介装置13に入力する。 Next, the agent software 34 determines whether or not a transmission instruction has been input (S15). Specifically, the agent software 34 causes the display 211 to display the device ID in each response RS11 in response to receiving each response RS11. The person in charge refers to the screen of the display 311 and recognizes the device ID of the printer 14 to be managed. After selecting the device ID of the printer 14 to be managed using the user I/F 36 , the person in charge inputs a transmission instruction to the internal intermediary device 13 . On the other hand, if the person in charge determines that all the device IDs being displayed are not the printers 14 to be managed, he or she operates the user I/F 35 to input a termination instruction to the internal intermediary device 13 .

エージェントソフト34は、終了指示が入力されたと判断すると(S15:No)、デバイス登録処理を終了する。一方、エージェントソフト34は、送信指示が入力されたと判断すると(S15:Yes)、選択されたデバイスID及び可否情報と、メモリ32内のGIDとを含む要求RQ12を外部仲介装置12に送信する(S16)。 When the agent software 34 determines that an end instruction has been input (S15: No), it ends the device registration process. On the other hand, when the agent software 34 determines that a transmission instruction has been input (S15: Yes), the agent software 34 transmits a request RQ12 including the selected device ID and availability information, and the GID in the memory 32 to the external intermediary device 12 ( S16).

なお、複数のデバイスIDが選択された場合、選択されたデバイスID、可否情報及びGIDを1組含む要求RQ12が、選択されたデバイスIDの個数分繰り返し送信されてもよい。他にも、選択された全デバイスIDと、各デバイスIDに対応する可否情報と、GIDとを含む1つの要求RQ12が外部仲介装置12に送信されてもよい。この点に関しては、他の要求についても同様に当てはまる。 Note that when a plurality of device IDs are selected, the request RQ12 including one set of the selected device ID, availability information, and GID may be repeatedly transmitted for the number of selected device IDs. Alternatively, one request RQ12 including all selected device IDs, availability information corresponding to each device ID, and a GID may be sent to the external mediation device 12 . In this regard, the same applies to other requirements as well.

外部仲介装置12において、第2プログラム24は、要求RQ12を受信したことに応じて、DB更新処理を実行する(S17)。S17では、第2プログラム24は、受信した要求RQ12内のデバイスID,可否情報及びGIDがデータベース210に既に登録されているか否かを判断する。第2プログラム24は、未登録と判断すると、未登録のデバイスID毎にレコードをデータベース210に作成する。第2プログラム24は、作成したレコードにおいて、デバイスID、GID及び可否情報のフィールドに、要求RQ12内のデバイスID、GID及び可否情報をそれぞれ記録する(図3(B)参照)。 In the external mediation device 12, the second program 24 executes DB update processing in response to receiving the request RQ12 (S17). At S<b>17 , the second program 24 determines whether or not the device ID, availability information and GID in the received request RQ<b>12 are already registered in the database 210 . When the second program 24 determines that the device is unregistered, it creates a record in the database 210 for each unregistered device ID. The second program 24 records the device ID, GID, and availability information in the request RQ12 in the device ID, GID, and availability information fields of the created record, respectively (see FIG. 3B).

なお、図5には示されていないが、第2プログラム24は、要求RQ12を受信したことを示す応答を内部仲介装置13に送信する。これに限らず、第2プログラム24は、データベース210に登録したデバイスIDを含む応答を、要求RQ12の応答として内部仲介装置13に送信してもよい。エージェントソフト34は、要求RQ12に対する応答に含まれるデバイスIDをディスプレイ311に表示させる。これにより、担当者は、外部仲介装置12側のデータベース210にデバイスIDが登録されたことを確認できる。 Although not shown in FIG. 5, the second program 24 sends a response to the internal mediation device 13 indicating that it has received the request RQ12. Alternatively, the second program 24 may send a response including the device ID registered in the database 210 to the internal mediation device 13 as a response to the request RQ12. The agent software 34 causes the display 311 to display the device ID included in the response to the request RQ12. This allows the person in charge to confirm that the device ID has been registered in the database 210 on the external mediation device 12 side.

また、S17で追加されたレコードにおいて、ステータス情報のフィールドには、プリンタ14の管理が始まっていないことを示す「待機状態」(図示せず)が登録される。図3(B)の例では、デバイスID「008」のプリンタ14を示すレコードが新たに追加されたレコードである。レコードに「待機状態」(図示せず)が登録されている場合、レコードに対応するプリンタ14は管理サーバ15のデータベース510には未登録であり、通信システム100の管理対象外である。なお、プリンタ14が管理対象となると、対応するレコードの「ステータス情報」が「待機状態」から「管理状態」(図示せず)に変更される。 In the record added in S17, "standby state" (not shown) indicating that management of the printer 14 has not started is registered in the status information field. In the example of FIG. 3B, the record indicating the printer 14 with the device ID "008" is the newly added record. If “standby state” (not shown) is registered in the record, the printer 14 corresponding to the record is not registered in the database 510 of the management server 15 and is out of the management target of the communication system 100 . Note that when the printer 14 becomes a management target, the "status information" of the corresponding record is changed from "waiting state" to "management state" (not shown).

また、第2プログラム24は、S17で、要求RQ12内のデバイスID等が登録済みであると判断すると、その旨を示す応答を内部仲介装置13に送信する。 Also, when the second program 24 determines in S17 that the device ID and the like in the request RQ12 have been registered, it transmits a response to that effect to the internal mediation device 13 .

次に、第2プログラム24は、要求RQ13を生成し、生成した要求RQ13を管理サーバ15に送信する(S19)。要求RQ13は、データベース210に追加された各デバイスID、デバイスIDに対応する可否情報、及びGIDを含む。要求RQ13は、管理サーバ15にデータベース510の更新を指示するコマンドである。 Next, the second program 24 generates a request RQ13 and transmits the generated request RQ13 to the management server 15 (S19). The request RQ13 includes each device ID added to the database 210, availability information corresponding to the device ID, and a GID. The request RQ13 is a command that instructs the management server 15 to update the database 510 .

管理サーバ15において、第1プログラム54は、要求RQ13を受信したことに応じて、DB更新処理を実行する(S20)。S20において、第1プログラム54は、受信した要求RQ13内のデバイスID毎にレコードをデータベース510に作成する。第1プログラム54は、作成した各レコードにおいて、デバイスID、GID及び可否情報のフィールドに、要求RQ13内のデバイスID、GID及び可否情報をそれぞれ登録する(図3(A)参照)。 In the management server 15, the first program 54 executes DB update processing in response to receiving the request RQ13 (S20). At S20, the first program 54 creates a record in the database 510 for each device ID in the received request RQ13. The first program 54 registers the device ID, GID, and availability information in the request RQ13 in the device ID, GID, and availability information fields of each created record (see FIG. 3A).

次に、第1プログラム54は、開始通知処理を実行する(S21)。S21で、第1プログラム54は、要求RQ13内のデバイスID等を登録が完了しプリンタ14の管理を開始したことを示す応答RS13を生成する。第1プログラム54は、応答RS13をインターネット16を通じて外部仲介装置12に送信する(S22)。 Next, the first program 54 executes start notification processing (S21). In S21, the first program 54 generates a response RS13 indicating that registration of the device ID, etc. in the request RQ13 has been completed and management of the printer 14 has started. The first program 54 transmits the response RS13 to the external mediation device 12 through the Internet 16 (S22).

外部仲介装置12において、第2プログラム24は、応答RS13を受信したことに応答して、管理開始処理を実行する(S23)。具体的には、S23で、第2プログラム24は、図3(B)のデータベース210において、ステータス情報のフィールドを「待機状態」から「管理中」(図示せず)に変更する。 In the external mediation device 12, the second program 24 executes management start processing in response to receiving the response RS13 (S23). Specifically, in S23, the second program 24 changes the status information field from "standby" to "under management" (not shown) in the database 210 of FIG. 3(B).

次に、第2プログラム24は、内部仲介装置13が定期的に送信する要求に対して、データベース210においてステータス情報のフィールドが「管理中」であるデバイスIDと、デバイスIDに対応するGUIを含む応答RS12を生成し、内部仲介装置13に送信する(S24)。 Next, the second program 24 includes a device ID whose status information field is "under management" in the database 210 and a GUI corresponding to the device ID in response to a request periodically transmitted by the internal mediation device 13. A response RS12 is generated and transmitted to the internal mediation device 13 (S24).

[ステータス登録処理]
図6を参照して、データベース510、210にプリンタ14のステータス情報を登録する処理(以下、ステータス登録処理と称する)について説明する。ステータス登録処理は、データベース310、210にステータス情報を登録する処理(図6(A)参照)と、データベース510へステータス情報を登録する処理(図6(B)参照)とに分けて実行される。
[Status registration process]
Processing for registering the status information of the printer 14 in the databases 510 and 210 (hereinafter referred to as status registration processing) will be described with reference to FIG. The status registration process is divided into a process of registering status information in databases 310 and 210 (see FIG. 6A) and a process of registering status information in database 510 (see FIG. 6B). .

図6において、内部仲介装置13のエージェントソフト34は、定期的なステータス取得タイミングを待機する(S31:No)。ステータス取得タイミングは、例えば、60分毎である。しかし、これに限らず、ステータス取得タイミングは、12時間毎や24時間毎等でもよい。ステータス取得タイミングは、プリンタ14のバッテリにおける電力消費等を考慮して適切に定められる。 In FIG. 6, the agent software 34 of the internal intermediary device 13 waits for a periodical status acquisition timing (S31: No). The status acquisition timing is, for example, every 60 minutes. However, the status acquisition timing is not limited to this, and may be every 12 hours, every 24 hours, or the like. The status acquisition timing is appropriately determined in consideration of the power consumption of the battery of the printer 14 and the like.

エージェントソフト34は、ステータス取得タイミングになったと判断すると(図6(A)のS31:Yes)、LAN17に接続されているプリンタ14に要求RQ32を送信する(S32)。なお、要求RQ32は、プリンタ14にステータス情報の返信を指示するコマンドである。なお、要求RQ32は、1つのデバイスIDを含んでいてもよい。この場合、デバイスIDで特定されるプリンタ14のみが要求RQ32に応答する。また、この場合、エージェントソフト34は、デバイスIDを変更しつつ要求RQ32を繰り返し送信する。また、要求RQ32はブロードキャストコマンドであってもよい。この場合、LAN17に接続されている全てのプリンタ14が要求RQ32に応答する。 When the agent software 34 determines that it is time to acquire the status (S31 in FIG. 6A: Yes), it transmits a request RQ32 to the printer 14 connected to the LAN 17 (S32). Note that the request RQ32 is a command for instructing the printer 14 to return status information. Note that the request RQ32 may contain one device ID. In this case, only the printer 14 identified by the device ID will respond to the request RQ32. Also, in this case, the agent software 34 repeatedly transmits the request RQ32 while changing the device ID. Also, the request RQ32 may be a broadcast command. In this case, all printers 14 connected to LAN 17 respond to request RQ32.

各プリンタ14において、制御プログラム44は、要求RQ32を受信したことに応じて、応答生成処理を実行する(S33)。S33では、制御プログラム44は、ステータス情報として「オンライン」、「紙詰まり」及び「用紙無し」のうち、少なくともいずれか1つを含む応答RS32を生成する。なお、各プリンタ14は、シートがプリンタ14内で詰まっていること及びシートがプリンタ14内に無いことを検出するセンサを備える。制御プログラム44は、これらセンサの出力信号に基づき、「紙詰まり」又は「用紙無し」を含む応答RS32を生成する。制御プログラム44は、ステータス情報が「紙詰まり」や「用紙無し」で無い場合には、応答RS32に「オンライン」のステータス情報を含める。なお、要求RQ32にデバイスIDが含まれる場合、応答RS32は、プリンタ14のデバイスIDを必ずしも含む必要はない。 In each printer 14, the control program 44 executes response generation processing in response to receiving the request RQ32 (S33). In S33, the control program 44 generates a response RS32 including at least one of "online", "paper jam" and "out of paper" as status information. It should be noted that each printer 14 has a sensor that detects when a sheet is jammed within the printer 14 and when there is no sheet within the printer 14 . The control program 44 generates a response RS32 containing "paper jam" or "no paper" based on the output signals of these sensors. The control program 44 includes the status information of "online" in the response RS32 when the status information is not "paper jam" or "no paper". Note that if the request RQ32 includes the device ID, the response RS32 does not necessarily include the device ID of the printer 14. FIG.

制御プログラム44は、応答RS32を内部仲介装置13にLAN17を通じて送信する(S34)。なお、制御プログラム44は、プリンタ14の主電源がオフである場合、プリンタ14がLAN17に接続されていない場合には、要求RQ32に対する応答RS32を送信できない。 The control program 44 transmits the response RS32 to the internal mediation device 13 through the LAN 17 (S34). It should be noted that the control program 44 cannot send the response RS32 to the request RQ32 when the main power supply of the printer 14 is off or when the printer 14 is not connected to the LAN 17 .

内部仲介装置13において、エージェントソフト34は、要求RQ32の送信から所定時間が経過後にDB更新処理を実行する(S35)。エージェントソフト34は、所定時間が経過するまでの間にプリンタ14から受信した各応答RS32から、ステータス情報を取得する。エージェントソフト34は、取得したステータス情報を、データベース310において、応答RS32の送信元であるプリンタ14に対応するフィールドであり且つステータス情報のフィールドに登録する。一方、エージェントソフト34は、データベース310において、応答RS32を送信しなかったプリンタ14に対応するフィールドであり且つステータス情報のフィールドには「オフライン」のステータス情報を登録する。 In the internal intermediary device 13, the agent software 34 executes DB update processing after a predetermined time has passed since the request RQ32 was sent (S35). The agent software 34 obtains status information from each response RS 32 received from the printer 14 until the predetermined time has passed. The agent software 34 registers the acquired status information in the status information field in the database 310, which is the field corresponding to the printer 14 that is the sender of the response RS32. On the other hand, the agent software 34 registers "offline" status information in the status information field corresponding to the printer 14 that did not send the response RS32 in the database 310 .

次に、エージェントソフト34は、外部仲介装置12への要求の送信タイミングになったか否かを判断する(S36)。エージェントソフト34は、送信タイミングになっていないと判断すると(S36:No)、処理をS31に戻す。一方、エージェントソフト34は、送信タイミングになったと判断すると(S36:Yes)、要求生成処理を実行する(S37)。S37で、エージェントソフト34は、データベース310(図4参照)の各レコードからデバイスID及びステータス情報の組みを取得する。S37では更に、エージェントソフト34は、自身のGIDと、デバイスID及びステータス情報の組みを含む要求RQ33を生成する。要求RQ33は、要求RQ33に含まれるステータス情報をデータベース210に登録することを要求するコマンドである。 Next, the agent software 34 determines whether or not it is time to send a request to the external intermediary device 12 (S36). When the agent software 34 determines that the transmission timing has not come (S36: No), the process returns to S31. On the other hand, when the agent software 34 determines that the transmission timing has come (S36: Yes), it executes request generation processing (S37). At S37, the agent software 34 acquires a set of device ID and status information from each record of the database 310 (see FIG. 4). Further at S37, the agent software 34 generates a request RQ33 containing a set of its own GID, device ID and status information. Request RQ33 is a command requesting that the status information included in request RQ33 be registered in database 210 .

次に、エージェントソフト34は、S37で生成した要求RQ33を外部仲介装置12に送信する(S38)。 Next, the agent software 34 transmits the request RQ33 generated in S37 to the external intermediary device 12 (S38).

外部仲介装置12において、第2プログラム24は、要求RQ33を受信したことに応じて、ステータス取得処理及びDB更新処理を実行する(S39)。第2プログラム24は、ステータス取得処理で、受信した要求RQ33のそれぞれから、GIDと、デバイスID及びステータス情報の組みを取得する。第2プログラム24は、DB更新処理において、データベース210から、取得したGID及びデバイスIDと一致するレコードを特定し、特定したレコードにおけるフィールドであり且つステータス情報のフィールドにステータス情報を登録する。 In the external intermediary device 12, the second program 24 executes status acquisition processing and DB update processing in response to receiving the request RQ33 (S39). In the status acquisition process, the second program 24 acquires a set of GID, device ID, and status information from each received request RQ33. In the DB update process, the second program 24 identifies a record that matches the acquired GID and device ID from the database 210, and registers the status information in the field of the identified record and in the status information field.

次に、第2プログラム24は、ステータス情報をデータベース210に登録したことを示す応答RS33を生成し、内部仲介装置13に送信する(S310)。 Next, the second program 24 generates a response RS33 indicating that the status information has been registered in the database 210, and transmits it to the internal mediation device 13 (S310).

図6において、管理サーバ15の第1プログラム54は、定期的なステータス取得タイミングを待機する(S41:No)。ステータス取得タイミングは、例えば、30分毎である。しかし、これに限らず、ステータス取得タイミングは、1時間毎や2時間毎等でもよい。ステータス取得タイミングは、管理サーバ15及び外部仲介装置12がバッテリ駆動でないことから、S31のステータス取得タイミングよりも短い時間間隔でよい。 In FIG. 6, the first program 54 of the management server 15 waits for a periodical status acquisition timing (S41: No). The status acquisition timing is, for example, every 30 minutes. However, the status acquisition timing is not limited to this, and may be every hour, every two hours, or the like. Since the management server 15 and the external intermediary device 12 are not battery-powered, the status acquisition timing may be a shorter time interval than the status acquisition timing in S31.

第1プログラム54は、ステータス取得タイミングになったと判断すると(図6(B)のS41:Yes)、外部仲介装置12に要求RQ41を送信する(S42)。要求RQ41は、外部仲介装置12にステータス情報の返信を指示するコマンドである。 When the first program 54 determines that it is time to acquire the status (S41 in FIG. 6B: Yes), it transmits a request RQ41 to the external intermediary device 12 (S42). The request RQ41 is a command that instructs the external intermediary device 12 to return status information.

外部仲介装置12において、第2プログラム24は、要求RQ41を受信したことに応じて、応答生成処理を実行する(S43)。具体的に、第2プログラム24は、データベース210の各レコードから、GID、デバイスID及びステータス情報の組みを取得する。第2プログラム24は更に、応答RS41を生成する。 In the external intermediary device 12, the second program 24 executes response generation processing in response to receiving the request RQ41 (S43). Specifically, the second program 24 acquires a set of GID, device ID, and status information from each record in the database 210 . The second program 24 also generates a response RS41.

応答RS41は、1組のGID、デバイスID及びステータス情報だけ含んでいてもよいし、全組みのGID、デバイスID及びステータス情報を含んでもよい。応答RS41に1組だけを含める場合には、第2プログラム24は、GID、デバイスID及びステータス情報の組数分の応答RS41を生成する。なお、この点に関しては、他の応答についても同様に当てはまる。 Response RS41 may contain only one set of GID, device ID and status information, or may contain the entire set of GID, device ID and status information. If only one set is included in the response RS41, the second program 24 generates response RS41 for the number of sets of GID, device ID and status information. Note that this point applies to other responses as well.

第2プログラム24は、S43で生成した応答RS41を管理サーバ15に送信する(S44)。 The second program 24 transmits the response RS41 generated in S43 to the management server 15 (S44).

管理サーバ15において、第1プログラム54は、応答RS41を受信したことに応じて、ステータス取得処理及びDB更新処理を実行する(S45)。第1プログラム54は、ステータス取得処理で、受信した応答RS41のそれぞれから、GIDと、デバイスID及びステータス情報の組みを取得する。第1プログラム54は、DB更新処理において、データベース510から、取得したGID及びデバイスIDと一致するレコードを特定し、ステータス情報のフィールドにステータス情報を登録する。ここで、ステータス情報のフィールドは、具体的には、特定したレコードにおけるフィールドである。 In the management server 15, the first program 54 executes status acquisition processing and DB update processing in response to receiving the response RS41 (S45). In the status acquisition process, the first program 54 acquires a set of GID, device ID, and status information from each response RS 41 received. In the DB update process, the first program 54 identifies a record that matches the acquired GID and device ID from the database 510, and registers the status information in the status information field. Here, the status information field is specifically a field in the specified record.

ステータス登録処理により、外部仲介装置12のデータベース210と、管理サーバ15のデータベース510とには、各内部仲介装置13と通信可能な各プリンタ14のステータス情報が登録される。 Status information of each printer 14 that can communicate with each internal mediation device 13 is registered in the database 210 of the external mediation device 12 and the database 510 of the management server 15 by the status registration process.

[プリンタ14の電力制御]
図7から図9を参照して、プリンタ14の電力制御について説明する。
[Power Control of Printer 14]
Power control of the printer 14 will be described with reference to FIGS. 7 to 9. FIG.

図7において、端末装置11は、オペレータにより操作される。オペレータは、MDMカスタマの各支店で使用される各プリンタ14を管理する者である。オペレータは、CPU61がブラウザ64を実行中にディスプレイ67の表示画像を参照しつつ、ユーザI/F65を操作して、管理サーバ15に予め割り当てられているURLを指定する。 In FIG. 7, the terminal device 11 is operated by an operator. The operator is the person who manages each printer 14 used at each branch of the MDM customer. The operator operates the user I/F 65 while referring to the displayed image on the display 67 while the CPU 61 is executing the browser 64 to specify the URL assigned in advance to the management server 15 .

ブラウザ64は、指定されたURLを受け付ける(S51)。URLは、各プリンタ14の管理画面を示す画面データ(HTMLデータ)を特定する情報である。その後、ブラウザ64は、要求RQ51を生成する。要求RQ51は、指定されたURLを含み、URLで特定される画面データの送信を指示するコマンドである。次に、ブラウザ64は、要求RQ51を管理サーバ15に送信する(S52)。 The browser 64 accepts the designated URL (S51). The URL is information specifying screen data (HTML data) indicating the management screen of each printer 14 . The browser 64 then generates a request RQ51. The request RQ51 is a command including a specified URL and instructing transmission of screen data specified by the URL. Next, the browser 64 sends a request RQ51 to the management server 15 (S52).

管理サーバ15において、第1プログラム54は、要求RQ51で指定された画面データを、要求RQ51に対する応答RS51として端末装置11に送信する(S53)。 In the management server 15, the first program 54 transmits the screen data specified by the request RQ51 to the terminal device 11 as a response RS51 to the request RQ51 (S53).

端末装置11において、ブラウザ64は、応答RS51を受信したことに応じて、画面データに基づく初期画面67Aを、図10(A)に示すようにディスプレイ67に表示する(S54)。図10(A)において、初期画面67Aは、複数のレコード81を含む。各レコードは、デバイスID、可否情報、ステータス情報及びアクションのフィールド82等を含む。なお、オペレータが理解し易いように、初期画面67Aは、デバイスIDに対応づけられたデバイスの型番及びデバイス名のフィールド82を含むことも可能である。デバイスの型番はプリンタ14の型番を示し、デバイス名は、プリンタ14に任意に割り当てられた名前である。初期画面67Aは、更に、各デバイスIDに関連づけられた指定用オブジェクト83を含む。指定用オブジェクト83は、初期画面67Aにおいて、各レコード81に示されたデバイスID、デバイスの型番、デバイス名を囲むエリアに配置される。なお、各指定用オブジェクト83は、図10(A)において破線で1つのみ仮想的に示されている。 In the terminal device 11, in response to receiving the response RS51, the browser 64 displays an initial screen 67A based on the screen data on the display 67 as shown in FIG. 10A (S54). In FIG. 10A, the initial screen 67A includes a plurality of records 81. In FIG. Each record includes a device ID, availability information, status information, action fields 82, and the like. For ease of understanding by the operator, the initial screen 67A can also include fields 82 for the model number and device name of the device associated with the device ID. The device model number indicates the model number of the printer 14 , and the device name is a name arbitrarily assigned to the printer 14 . The initial screen 67A further includes a designation object 83 associated with each device ID. The designation object 83 is arranged in an area surrounding the device ID, device model number, and device name shown in each record 81 on the initial screen 67A. Note that only one designation object 83 is virtually shown by a broken line in FIG. 10(A).

図10(A)において、初期画面67Aは更に、複数のフィルタリング条件を含む。画面は、フィルタリング条件を指定可能な指定用オブジェクトを更に含む。指定用オブジェクトは、各フィルタリング条件の横に並べられたチェックボックスである。指定用オブジェクトをオペレータが操作したことに応じて、ブラウザ64は、対応するフィルタリング条件に合致するレコードを表示する。 In FIG. 10A, the initial screen 67A further includes multiple filtering conditions. The screen further includes specification objects that can specify filtering conditions. The specification object is a check box arranged next to each filtering condition. In response to the operator's manipulation of the designation object, the browser 64 displays records that match the corresponding filtering conditions.

指定用オブジェクト83の1つをオペレータが操作したことをブラウザ64が受け付けると、ブラウザ64は、プリンタ14に対する各種設定画面67B(図10(B)参照)をディスプレイ67に表示する。図10(B)において、各種設定画面67Bは、指定用オブジェクト85に対応するデバイスIDを有するプリンタ14に関する情報84と、電源オンオフ設定に関する指定用オブジェクト85とを含む。指定用オブジェクト85をオペレータが操作したことに応じて、ブラウザ64は、電源オン/オフの詳細設定画面67C(図11(A)参照)を表示する。 When the browser 64 accepts that the operator has operated one of the designation objects 83 , the browser 64 displays on the display 67 a various setting screen 67 B (see FIG. 10B) for the printer 14 . In FIG. 10B, the various setting screen 67B includes information 84 regarding the printer 14 having the device ID corresponding to the designation object 85 and a designation object 85 regarding power on/off setting. In response to the operator's operation of the designation object 85, the browser 64 displays a power on/off detailed setting screen 67C (see FIG. 11A).

図11(A)において、詳細設定画面67Cは、複数の項目として「電源オフモード」及び「電源オンモード」と、2個の指定用オブジェクト91、92を含む。指定用オブジェクト91は、詳細設定画面67Cにおいて項目「電源オフモード」の横に配置される。指定用オブジェクト91をオペレータが操作したことを受け付けると、電源オフモードを設定可能になる。指定用オブジェクト92は、詳細設定画面67Cにおいて項目「電源オンモード」の横に配置される。指定用オブジェクト92をオペレータが操作したことを受け付けると、電源オンモードを設定可能になるとともに、図11(B)に示す時刻設定画面67Dが表示される。図11(B)において、時刻設定画面67Dは、電源をオンする時刻を指定可能な指定用オブジェクト93を含む。 In FIG. 11A, the detailed setting screen 67C includes "power off mode" and "power on mode" and two designation objects 91 and 92 as a plurality of items. The designation object 91 is arranged next to the item "power off mode" on the detailed setting screen 67C. When it is accepted that the operator has operated the designation object 91, the power off mode can be set. The designation object 92 is arranged next to the item "power on mode" on the detailed setting screen 67C. When it is accepted that the operator has operated the designation object 92, the power-on mode can be set, and the time setting screen 67D shown in FIG. 11B is displayed. In FIG. 11B, the time setting screen 67D includes a designation object 93 that can designate the time to turn on the power.

オペレータは、ディスプレイ67に表示された初期画面67A(図10(A)参照)を参照して、ユーザI/F66により各種制御の対象となるプリンタ14のデバイスIDを選択する。オペレータは、ディスプレイ67に表示された各種設定画面67B(図10(B)参照)を参照して、選択したプリンタ14用の指定用オブジェクト85を選択する。オペレータは、ディスプレイ67に表示された詳細設定画面67C及び時刻設定画面67D(図11(A)、(B)参照)を参照して、選択したプリンタ14に対する電源オフモードのオン、電源オンモードのオン、及び電源をオンにする時刻(以下、オン時刻と称する)をユーザI/F66で設定する。 The operator refers to the initial screen 67A (see FIG. 10A) displayed on the display 67 and selects the device ID of the printer 14 to be controlled using the user I/F 66 . The operator refers to various setting screens 67B (see FIG. 10B) displayed on the display 67 and selects the designation object 85 for the selected printer 14 . The operator refers to the detailed setting screen 67C and the time setting screen 67D (see FIGS. 11A and 11B) displayed on the display 67 to turn the selected printer 14 on and off. The user I/F 66 is used to set the time to turn on the power and the time to turn on the power (hereinafter referred to as "on time").

図7において、端末装置11のブラウザ64は、デバイスIDと、デバイスIDに対応するGIDと、オン/オフ情報と、オン時刻と、を受け付ける(S55)。オン/オフ情報は、指定用オブジェクト91、92によりプリンタ14の電源のオフ及びオンが指定されたことを示す情報である。S55で更に、ブラウザ64は、要求RQ52(具体的にはHTTPリクエスト)を生成する。要求RQ52は、デバイスID、GID及びオン時刻を含み、第1コマンド及び第2コマンドを生成することを要求するコマンドである。第1コマンドは、デバイスIDを有するプリンタ14の電源回路46をオフにするコマンドであり、第2コマンドは、当該電源回路46をオンにするコマンドである。 7, the browser 64 of the terminal device 11 receives the device ID, the GID corresponding to the device ID, the ON/OFF information, and the ON time (S55). The on/off information is information indicating that the power of the printer 14 has been specified by the specifying objects 91 and 92 . Further in S55, the browser 64 generates a request RQ52 (specifically, an HTTP request). The request RQ52 is a command requesting generation of the first command and the second command, including the device ID, GID and ON time. The first command is a command to turn off the power supply circuit 46 of the printer 14 having the device ID, and the second command is a command to turn on the power supply circuit 46 .

次に、ブラウザ64は、S55で生成した要求RQ52を管理サーバ15に送信する(S56)。 Next, the browser 64 transmits the request RQ52 generated in S55 to the management server 15 (S56).

管理サーバ15において、第1プログラム54は、要求RQ52、即ち、オン/オフ情報を取得する(S57)。その後、第1プログラム54は、要求RQ52を取得したことを示す応答RS52を生成し端末装置11に送信する(S58)。次に、第1プログラム54は、第1コマンド及び第2コマンドを生成して(S59)、要求RQ53を外部仲介装置12に送信する(S510)。要求RQ53は、デバイスID、GID、オン時刻、第1コマンド及び第2コマンドを含み、これらを外部仲介装置12に送信することを指示するコマンドである。 In the management server 15, the first program 54 acquires the request RQ52, that is, the ON/OFF information (S57). After that, the first program 54 generates a response RS52 indicating that the request RQ52 has been obtained, and transmits it to the terminal device 11 (S58). Next, the first program 54 generates a first command and a second command (S59), and transmits a request RQ53 to the external mediation device 12 (S510). The request RQ53 is a command that includes a device ID, GID, ON time, first command, and second command, and instructs transmission of these to the external intermediary device 12 .

外部仲介装置12において、第2プログラム24は、要求RQ53を受信したことに応じて、DB更新処理を実行する(S511)。S511では、第2プログラム24は、要求RQ53から、デバイスID、GID、オン時刻、第1コマンド及び第2コマンドを取得する。第2プログラム24は、更に、データベース210において、取得したGID及びデバイスIDと一致するレコードを特定する。第2プログラム24は、特定したレコードにおけるアクションのフィールドに、オン時刻、第1コマンド及び第2コマンドを記憶する。 In the external mediation device 12, the second program 24 executes DB update processing in response to receiving the request RQ53 (S511). In S511, the second program 24 acquires the device ID, GID, ON time, first command, and second command from the request RQ53. The second program 24 further identifies a record in the database 210 that matches the acquired GID and device ID. The second program 24 stores the ON time, the first command, and the second command in the action field of the specified record.

次に、第2プログラム24は、第1コマンドなどをデータベース210に記憶したことを示す応答RS53を生成し管理サーバ15に送信する(S512)。 Next, the second program 24 generates a response RS53 indicating that the first command etc. have been stored in the database 210, and transmits it to the management server 15 (S512).

図8において、内部仲介装置13のエージェントソフト34は、外部仲介装置12への要求の送信タイミングになったか否かを判断する(S61)。エージェントソフト34は、送信タイミングになっていないと判断すると(S61:No)、処理をS61に戻す。一方、エージェントソフト34は、送信タイミングになったと判断すると(S61:Yes)、要求RQ61(HTTPリクエスト)を生成し、外部仲介装置12に送信する(S62)。要求RQ61は、データベース210の項目「アクション」に記憶されている第1コマンドなどの送信を外部仲介装置12に要求するコマンドである。 In FIG. 8, the agent software 34 of the internal intermediary device 13 determines whether or not it is time to send a request to the external intermediary device 12 (S61). When the agent software 34 determines that the transmission timing has not come (S61: No), the process returns to S61. On the other hand, when the agent software 34 determines that the transmission timing has come (S61: Yes), it generates a request RQ61 (HTTP request) and transmits it to the external intermediary device 12 (S62). The request RQ61 is a command requesting the external intermediary device 12 to send the first command stored in the item “action” of the database 210 .

外部仲介装置12において、第2プログラム24は、要求RQ61を受信したことに応じて、S63を実行する。第2プログラム24は、要求RQ61に含まれるGIDを取得する。第2プログラム24は、取得したGIDが一致するレコードの項目「アクション」のフィールドに第1コマンド等が記録されているか否かを判断する(S63)。 In the external mediation device 12, the second program 24 executes S63 in response to receiving the request RQ61. The second program 24 acquires the GID included in the request RQ61. The second program 24 determines whether the first command or the like is recorded in the field of the item "action" of the record with the matching GID (S63).

第2プログラム24は、第1コマンド等がデータベース210に記憶されていないと判断した場合に、その旨を示す応答RS61Aを内部仲介装置13に送信する(S64)。一方、第2プログラム24は、第1コマンド等がデータベース210に記憶されていると判断した場合に、データベース210において、GIDが一致する各レコードから、デバイスID、オン時刻、第1コマンド及び第2コマンドの組みを取得し(S65)、応答RS61Bを生成する(S66)。応答RS61Bは、デバイスIDと、オン時刻、第1コマンド及び第2コマンドの組みを含み、これらをプリンタ14に送信することを指示するコマンドである。 When the second program 24 determines that the first command or the like is not stored in the database 210, the second program 24 transmits a response RS61A to that effect to the internal mediation device 13 (S64). On the other hand, when the second program 24 determines that the first command and the like are stored in the database 210, the second program 24 retrieves the device ID, the ON time, the first command, the second A set of commands is obtained (S65), and a response RS 61B is generated (S66). The response RS 61B is a command that includes a combination of the device ID, the ON time, the first command, and the second command, and instructs transmission of these to the printer 14 .

内部仲介装置13において、エージェントソフト34は、外部仲介装置12から受信した応答(即ち、応答RS61A,RS61B)に、第1コマンド等が含まれるか否かを判断する(S68)。 In the internal intermediation device 13, the agent software 34 determines whether or not the response received from the external intermediation device 12 (ie, the responses RS61A and RS61B) includes the first command and the like (S68).

エージェントソフト34は、第1コマンド等が含まれないと判断した場合、プリンタの電力制御を終了する。一方、エージェントソフト34は、第1コマンド等が含まれると判断した場合、第1コマンド等を受信したことを示す受信通知NT11を生成し外部仲介装置12に送信する(S69)。 If the agent software 34 determines that the first command or the like is not included, it terminates power control of the printer. On the other hand, when the agent software 34 determines that the first command etc. is included, it generates a reception notification NT11 indicating that the first command etc. has been received and transmits it to the external intermediary device 12 (S69).

次に、エージェントソフト34は、S67で受信した応答RS61BからデバイスID、オン時刻、第1コマンド及び第2コマンドを取得し(S610)。要求RQ62を生成する(S611)。要求RQ62は、S610で取得されたデバイスID、オン時刻、第1コマンド及び第2コマンドを含み、プリンタ14の電源回路46をオフ又は、オンさせるためのコマンドである。エージェントソフト34は、生成した要求RQ62を、LAN17を通じてプリンタ14に送信する(図9のS612)。 Next, the agent software 34 acquires the device ID, ON time, first command and second command from the response RS 61B received in S67 (S610). A request RQ62 is generated (S611). The request RQ62 is a command for turning off or on the power supply circuit 46 of the printer 14, including the device ID, on-time, first command, and second command acquired in S610. The agent software 34 transmits the generated request RQ62 to the printer 14 through the LAN 17 (S612 in FIG. 9).

プリンタ14において、制御プログラム44は、自身のデバイスIDを含む要求RQ62を受信したことに応じて、第1コマンド、第2コマンド、及びオン時刻を取得し、第2コマンド及びオン時刻をデータ記憶領域410に記憶する(S613)。次に、制御プログラム44は、要求RQ62の受信確認である応答RS62を内部仲介装置13に送信する(S614)。 In the printer 14, the control program 44 acquires the first command, the second command, and the ON time in response to receiving the request RQ62 including its own device ID, and stores the second command and the ON time in the data storage area. 410 (S613). Next, the control program 44 sends a response RS62, which confirms receipt of the request RQ62, to the internal mediation device 13 (S614).

次に、制御ブログラム44は、S612で取得した第1コマンドを実行し、電源回路46から画像記録エンジン47への電力供給をオフにする(S615)。なお、S615では、CPU41、メモリ42、及び通信I/F45への電力供給はオフにされない。 Next, the control program 44 executes the first command acquired in S612, and turns off the power supply from the power supply circuit 46 to the image recording engine 47 (S615). In addition, in S615, power supply to the CPU 41, the memory 42, and the communication I/F 45 is not turned off.

次に、制御プログラム44は、CPU41に内蔵のリアルタイムクロックから時刻情報を定期的に取得する。なお、リアルタイムクロックは、CPU41が実装される回路基板に実装される集積回路でもよい。制御プログラム44は、時刻情報がデータ記憶領域410のオン時刻を示すか否かを判断する(S616)。 Next, the control program 44 periodically acquires time information from the real-time clock built into the CPU 41 . The real-time clock may be an integrated circuit mounted on the circuit board on which the CPU 41 is mounted. The control program 44 determines whether or not the time information indicates the ON time of the data storage area 410 (S616).

制御プログラム44は、時刻情報がオン時刻を示すと判断しない場合(S616:No)、処理をS616に戻す。一方、制御プログラム44は、時刻情報がオン時刻を示すと判断する場合(S616:Yes)、データ記憶領域410に記憶される第2コマンドを実行して、電源回路46から画像記録エンジン47への電力供給をオンにする(S617)。 If the control program 44 does not determine that the time information indicates the ON time (S616: No), the process returns to S616. On the other hand, if the control program 44 determines that the time information indicates the ON time (S616: Yes), the control program 44 executes the second command stored in the data storage area 410 to transfer the power supply circuit 46 to the image recording engine 47. Power supply is turned on (S617).

次に、制御プログラム44は、要求RQ63を生成してLAN17を通じて内部仲介装置13に送信する(S618)。要求RQ63は、プリンタ14が有するデバイスIDを含み、データベース310における項目「ステータス情報」のフィールドを「オンライン」に更新するためのコマンドである。 Next, the control program 44 generates a request RQ63 and transmits it to the internal mediation device 13 via the LAN 17 (S618). Request RQ63 contains the device ID that printer 14 has and is a command to update the field of item "status information" in database 310 to "online".

内部仲介装置13において、エージェントソフト34は、要求RQ63を受信したことに応じて、データベース310において、要求RQ63内のデバイスIDと一致するレコードの「ステータス情報」のフィールドを「オンライン」に更新する(S619)。次に、エージェントソフト34は、要求RQ64を生成してインターネット16を通じて外部仲介装置12に送信する(S620)。要求RQ64は、内部仲介装置13が有するGID、及び要求RQ63に含まれるデバイスIDを含み、データベース210におけるステータス情報のフィールドを「オンライン」に更新するためのコマンドである。 In the internal mediation device 13, in response to receiving the request RQ63, the agent software 34 updates the "status information" field of the record matching the device ID in the request RQ63 to "online" in the database 310 ( S619). Next, the agent software 34 generates a request RQ64 and transmits it to the external agent device 12 via the Internet 16 (S620). Request RQ64 is a command for updating the status information field in database 210 to "online", including the GID possessed by internal mediation device 13 and the device ID included in request RQ63.

外部仲介装置12において、第2プログラム24は、要求RQ64を受信したことに応じて、データベース210において、要求RQ64に含まれるGID及びデバイスIDと一致するレコードを特定し、特定したレコードにおけるステータス情報のフィールドを「オンライン」に更新する(S621)。次に、第2プログラム24は、要求RQ64と同様の要求RQ65を生成してインターネット16を通じて管理サーバ15に送信する(S622)。 In the external intermediary device 12, in response to receiving the request RQ64, the second program 24 identifies a record in the database 210 that matches the GID and device ID included in the request RQ64, and the status information in the identified record. The field is updated to "online" (S621). Next, the second program 24 generates a request RQ65 similar to the request RQ64 and transmits it to the management server 15 via the Internet 16 (S622).

管理サーバ15において、第1プログラム54は、要求RQ65を受信したことに応じて、データベース510において、要求RQ65に含まれるGID及びデバイスIDと一致するレコードを特定し、特定したレコードにおけるステータス情報のフィールドを「オンライン」に更新する(S623)。 In the management server 15, in response to receiving the request RQ65, the first program 54 identifies a record in the database 510 that matches the GID and device ID included in the request RQ65, and updates the status information field in the identified record. is updated to "online" (S623).

[通信システム100の効果]
第1プログラム54は、オン/オフ情報を取得する(S57)。第1プログラム54は更に、オン/オフ情報に基づいて第1コマンド及び第2コマンドを生成する(S59)。第2プログラム24は、第1コマンド及び第2コマンドを、内部仲介装置13を通じてプリンタ14に送信する(図8のS67)。これにより、各プリンタ14の電源回路46のオフ及びオンを管理することが可能となる。
[Effect of communication system 100]
The first program 54 acquires on/off information (S57). The first program 54 further generates a first command and a second command based on the on/off information (S59). The second program 24 transmits the first command and the second command to the printer 14 through the internal mediation device 13 (S67 in FIG. 8). This makes it possible to manage turning off and on of the power supply circuit 46 of each printer 14 .

また、第1プログラム54及び第2プログラム24によれば、第1プログラム54が画面データを応答RS51として端末装置11に送信する(図7のS53)。これにより、各プリンタ14の電源回路46のオフ及びオンの管理が容易になる。 Further, according to the first program 54 and the second program 24, the first program 54 transmits the screen data as the response RS51 to the terminal device 11 (S53 in FIG. 7). This facilitates the management of turning off and on the power supply circuit 46 of each printer 14 .

指定用オブジェクト93(図11(B)参照)は、電源回路46をオンにする時刻を指定可能である。第1プログラム54は、指定用オブジェクト93で指定された時刻情報を取得する(図7のS57)。第1プログラム54は、時刻情報と第2コマンドを含む要求を生成する(S59)を生成する。したがって、第1プログラム54は、第2コマンドの送信タイミングを判断しなくてよい。その結果、CPU51の処理負荷が軽減される。 The designation object 93 (see FIG. 11B) can designate the time to turn on the power supply circuit 46 . The first program 54 acquires the time information specified by the specifying object 93 (S57 in FIG. 7). The first program 54 generates a request containing time information and a second command (S59). Therefore, the first program 54 does not need to determine the transmission timing of the second command. As a result, the processing load on the CPU 51 is reduced.

第1プログラム54は、要求RQ65に基づいて、GID及びデバイスIDと一致するレコードを特定し、特定したレコードにおけるステータス情報のフィールドを「オンライン」に更新する(図9のS623)。S623の後にも、第1プログラム54は、ブラウザ64からの要求RQ51に応じて、図7のS53で画面データを送信する。端末装置11のブラウザ64が、S54を実行した場合には、画面データに基づきS623で更新されたステータス情報が表示される。換言すると、端末装置11のディスプレイ67には、第2コマンドに基づき電源回路46がオンになったことが、オペレータにより視認可能に表示される。 The first program 54 identifies a record that matches the GID and device ID based on the request RQ65, and updates the status information field in the identified record to "online" (S623 in FIG. 9). After S623, the first program 54 also transmits the screen data in S53 of FIG. 7 in response to the request RQ51 from the browser 64. FIG. When the browser 64 of the terminal device 11 executes S54, the status information updated in S623 based on the screen data is displayed. In other words, on the display 67 of the terminal device 11, the fact that the power supply circuit 46 has been turned on based on the second command is visually displayed by the operator.

第1プログラム54は、プリンタ14と通信可能な外部仲介装置12からステータス情報を取得し(図6(B)のS45)、外部仲介装置12に第1コマンド及び前記第2コマンドを送信する(図7のS510)。第1プログラム54が外部仲介装置12を通じてプリンタ14のステータス情報を取得するため、第1プログラム54がプリンタ14と直接通信できない場合でも、第1プログラム54はステータス情報を取得可能となる。これにより、第1プログラム54は、プリンタ14を適切に管理することが可能となる。 The first program 54 acquires status information from the external mediation device 12 that can communicate with the printer 14 (S45 in FIG. 6B), and transmits the first command and the second command to the external mediation device 12 (FIG. 6B). 7 S510). Since the first program 54 acquires the status information of the printer 14 through the external intermediary device 12 , the first program 54 can acquire the status information even if the first program 54 cannot directly communicate with the printer 14 . This enables the first program 54 to manage the printer 14 appropriately.

[変形例]
上記実施形態のプリンタ14の電力制御では、時刻情報がオン時刻を示すか否かを制御プログラム44が判断していた(図9のS616)。しかし、これに限らず、下記の変形例で説明するとおり、時刻情報がオン時刻を示すか否かをエージェントソフト34が判断することも可能である。
[Modification]
In the power control of the printer 14 of the above embodiment, the control program 44 determines whether or not the time information indicates the ON time (S616 in FIG. 9). However, the agent software 34 can also determine whether or not the time information indicates the ON time, as will be described in the modification below.

図12は、変形例に係るプリンタ14の電力制御の処理手順を示すフローチャートである。図12(A)は、図8のフローチャートとの比較において、S610、S611がS71、S72に代わる点で相違する。図12(B)は、図9のフローチャートとの比較においてS612からS616が、S73からS79に代わる点で相違する。以下、相違点について説明する。 FIG. 12 is a flowchart showing the power control processing procedure of the printer 14 according to the modification. FIG. 12A differs from the flowchart of FIG. 8 in that S610 and S611 are replaced with S71 and S72. FIG. 12B differs from the flowchart of FIG. 9 in that S612 to S616 are replaced with S73 to S79. Differences will be described below.

エージェントソフト34は、S69の次に、S67で受信した応答RS61BからデバイスID、及び第1コマンドを取得し(図12(A)のS71)、要求RQ71を生成する(S72)。要求RQ71は、S71で取得されたデバイスID、及び第1コマンドを含み、プリンタ14の電源回路46をオフにするよう指示するコマンドである。エージェントソフト34は、生成した要求RQ71をLAN17を通じてプリンタ14に送信する(図12(B)のS73)。 After S69, the agent software 34 acquires the device ID and the first command from the response RS61B received in S67 (S71 in FIG. 12A), and generates a request RQ71 (S72). The request RQ71 is a command including the device ID acquired in S71 and a first command, and instructing to turn off the power supply circuit 46 of the printer 14 . The agent software 34 transmits the generated request RQ71 to the printer 14 through the LAN 17 (S73 in FIG. 12B).

プリンタ14において、制御プログラム44は、要求RQ71の受信確認である応答RS71を内部仲介装置13に送信する(S74)。次に、制御ブログラム44は、S612で取得した第1コマンドを実行し、電源回路46から画像記録エンジン47への電力供給をオフにする(S75)。 In the printer 14, the control program 44 sends a response RS71, which confirms receipt of the request RQ71, to the internal intermediary device 13 (S74). Next, the control program 44 executes the first command acquired in S612, and turns off the power supply from the power supply circuit 46 to the image recording engine 47 (S75).

エージェントソフト34は、S73の後、CPU31に内蔵のリアルタイムクロックから時刻情報を定期的に取得する。なお、リアルタイムクロックは、CPU31が実装される回路基板に実装される集積回路でもよい。エージェントソフト34は、時刻情報がデータベース310に記録されるオン時刻を示すか否かを判断する(S76)。 After S<b>73 , the agent software 34 periodically acquires time information from the real-time clock built in the CPU 31 . The real-time clock may be an integrated circuit mounted on the circuit board on which the CPU 31 is mounted. The agent software 34 determines whether or not the time information indicates the ON time recorded in the database 310 (S76).

エージェントソフト34は、時刻情報がオン時刻を示すと判断しない場合(S76:No)、処理をS76に戻す。一方、制御プログラム44は、時刻情報がオン時刻を示すと判断する場合(S76:Yes)、S67で受信した応答RS61BからデバイスID、及び第2コマンドを取得し(S77)、要求RQ72を生成する(S78)。要求RQ72は、S77で取得されたデバイスID、及び第2コマンドを含み、プリンタ14の電源回路46をオンにするよう指示するコマンドである。エージェントソフト34は、生成した要求RQ72をLAN17を通じてプリンタ14に送信する(S79)。 If the agent software 34 does not determine that the time information indicates the ON time (S76: No), the process returns to S76. On the other hand, when the control program 44 determines that the time information indicates the ON time (S76: Yes), it acquires the device ID and the second command from the response RS61B received in S67 (S77), and generates a request RQ72. (S78). The request RQ72 includes the device ID acquired in S77 and a second command, and is a command to turn on the power supply circuit 46 of the printer 14 . The agent software 34 transmits the generated request RQ72 to the printer 14 through the LAN 17 (S79).

制御プログラム44は、要求RQ72を受信したことに応じて、要求RQ72内の第2コマンドを実行して、電源回路46から画像記録エンジン47への電力供給をオンにする(S710)。その後、制御プログラム44は、処理をS618に進める。 Upon receiving the request RQ72, the control program 44 executes the second command in the request RQ72 to turn on the power supply from the power supply circuit 46 to the image recording engine 47 (S710). After that, the control program 44 advances the process to S618.

変形例によれば、プリンタ14における処理負荷が実施形態と比較して軽減される。 According to the modified example, the processing load on the printer 14 is reduced compared to the embodiment.

[その他の変形例]
上記実施形態では、ステータス情報は、電源回路46のオン及びオフの情報を含んでいなかった。しかし、これに限らず、ステータス情報は、電源回路46のオン又はオフを示す情報を含んでいてもよい。この場合、データベース510には、電源回路46のオン及びオフの状態が記録可能となるため、端末装置11のオペレータは、図7のS51からS55で、電源制御の対象となるプリンタ14を選択し易くなる。
[Other Modifications]
In the above embodiments, the status information did not include information on whether the power supply circuit 46 was on or off. However, the status information is not limited to this, and may include information indicating whether the power supply circuit 46 is on or off. In this case, since the ON and OFF states of the power supply circuit 46 can be recorded in the database 510, the operator of the terminal device 11 selects the printer 14 to be power controlled in steps S51 to S55 of FIG. becomes easier.

実施形態では、第1プログラム54、及び第2プログラム24は、互いに異なるサーバ装置において実行されていた。しかし、これに限らず、第1プログラム54及び第2プログラム24は、管理サーバ15及び外部仲介装置12のいずれか一方で実行されてもよい。 In the embodiment, the first program 54 and the second program 24 were executed on different server devices. However, the present invention is not limited to this, and the first program 54 and the second program 24 may be executed by either the management server 15 or the external intermediary device 12 .

実施形態では、第2プログラム24及びエージェントソフト34は、外部仲介装置12又は内部仲介装置13によりそれぞれ実行されていた。しかし、これに限らず、第2プログラム24及びエージェントソフト34は、外部仲介装置12及び内部仲介装置13のいずれか一方で実行されてもよい。 In the embodiment, the second program 24 and the agent software 34 are executed by the external mediation device 12 or the internal mediation device 13, respectively. However, not limited to this, the second program 24 and the agent software 34 may be executed by either the external mediation device 12 or the internal mediation device 13 .

実施形態では、図7のS51、S52、S54からS56は、端末装置11により実行されていた。しかし、これに限らず、管理サーバ15、外部仲介装置12及び内部仲介装置13にインストールされたブラウザがS51、S52、S54からS56を実行してもよい。 In the embodiment, S51, S52, S54 to S56 in FIG. 7 were executed by the terminal device 11. FIG. However, without being limited to this, the browsers installed in the management server 15, the external mediation device 12, and the internal mediation device 13 may execute S51, S52, and S54 to S56.

実施形態では、デバイスとしてプリンタ14を例示した。しかし、これに限らず、通信システム100は、デバイスの他の例としてスキャナを備えていてもよい。 In the embodiment, the printer 14 is exemplified as a device. However, without being limited to this, the communication system 100 may include a scanner as another example of the device.

実施形態では、可否情報はデータ記憶領域39に予め記憶されていた。しかし、これに限らず、可否情報は、端末装置11により設定され、管理サーバ15により取得されてもよい。 In the embodiment, the propriety information was stored in advance in the data storage area 39 . However, not limited to this, the availability information may be set by the terminal device 11 and acquired by the management server 15 .

実施形態では、図5に示されるように、第1プログラム54は、外部仲介装置12からの要求RQ13を受信したことに応じて、S20及びS21を実行していた。しかし、これに限らず、第1プログラム54は、データベース210においてS17で更新された情報の送信を指示するコマンドである要求を外部仲介装置12に送信してもよい。この場合、第1プログラム54は、この要求に対する応答を外部仲介装置12から受信したことに応じて、S20を実行してもよい。 In the embodiment, as shown in FIG. 5, the first program 54 executed S20 and S21 in response to receiving the request RQ13 from the external mediation device 12. FIG. However, the present invention is not limited to this, and the first program 54 may transmit a request, which is a command instructing transmission of information updated in S17 in the database 210, to the external intermediary device 12. FIG. In this case, the first program 54 may execute S<b>20 upon receiving a response to this request from the external mediation device 12 .

実施形態では、S615においてCPU41、メモリ42及び通信I/F45への電力供給はオフにされず、制御プログラム44は、リアルタイムクロックからの時刻情報がオン時刻を示すか否かを判断していた(S616)。しかし、これに限らず、S615では、プリンタ14において、リアルタイムクロック及びメモリ42以外の全ての構成への電力供給はオフにされてもよい。この場合、リアルタイムクロックは、オン時刻になるとCPU41を起動する。その後、OS43、及び制御プログラム44が順番に起動されてもよい。 In the embodiment, the power supply to the CPU 41, memory 42, and communication I/F 45 is not turned off in S615, and the control program 44 determines whether or not the time information from the real-time clock indicates the ON time ( S616). However, the present invention is not limited to this, and in S615, power supply to all components of the printer 14 other than the real-time clock and memory 42 may be turned off. In this case, the real-time clock activates the CPU 41 at the ON time. After that, the OS 43 and the control program 44 may be activated in order.

また、変形例では、エージェントソフト34が図12のS71からS73及びS76からS78を実行していた。しかし、これに限らず、S71からS73、S76からS78は、第2プログラム24が実行することも可能である。 In the modified example, the agent software 34 executes S71 to S73 and S76 to S78 of FIG. However, not limited to this, S71 to S73 and S76 to S78 can also be executed by the second program 24 .

具体的には、第2プログラム24は、S69の後、CPU21に内蔵のリアルタイムクロックから時刻情報を定期的に取得する。なお、リアルタイムクロックは、CPU21が実装される回路基板に実装される集積回路でもよい。第2プログラム24は、時刻情報がデータベース210に記録されるオン時刻になり、且つエージェントソフト34からの要求を受信したことに応じて、データベース210からデバイスID及び第2コマンドを取得する。その後、第2プログラム24は、エージェントソフト34の要求に対する応答を生成して内部仲介装置13に送信する。この応答は、取得したデバイスID及び第2コマンドを含み、プリンタ14の電源回路46をオンにするよう指示するコマンドである。エージェントソフト34は、外部仲介装置12から応答として受信した第2コマンドを含む要求をプリンタ14に送信する。 Specifically, after S69, the second program 24 periodically acquires time information from the real-time clock built in the CPU 21 . The real-time clock may be an integrated circuit mounted on the circuit board on which the CPU 21 is mounted. The second program 24 acquires the device ID and the second command from the database 210 in response to the turn-on time when the time information is recorded in the database 210 and the request from the agent software 34 is received. After that, the second program 24 generates a response to the request from the agent software 34 and transmits it to the internal intermediary device 13 . This response includes the obtained device ID and the second command, and is a command to turn on the power supply circuit 46 of the printer 14 . The agent software 34 sends to the printer 14 a request including the second command received as a response from the external intermediary device 12 .

なお、S71からS73、S76からS78は、第1プログラム54が実行することも可能である。ただし、内部管理装置13に接続されるプリンタ14の台数は、管理サーバ15又は外部仲介装置12で管理されるプリンタ14の台数より少ない。よって、処理負荷の観点から、S71からS73、S76からS78はエージェントソフト34が実行することが好ましい。

Note that S71 to S73 and S76 to S78 can also be executed by the first program 54 . However, the number of printers 14 connected to the internal management device 13 is less than the number of printers 14 managed by the management server 15 or the external mediation device 12 . Therefore, from the viewpoint of processing load, it is preferable that the agent software 34 executes S71 to S73 and S76 to S78.

100・・・通信システム
15・・・管理サーバ(情報処理装置)
51・・・CPU(コンピュータ,コントローラ,第1コントローラ)
52・・・メモリ(コントローラ,第1コントローラ)
54・・・第1プログラム(プログラム)
55・・・通信インタフェイス(第1通信インタフェイス)
12・・・外部仲介装置(情報処理装置,仲介装置,第1仲介装置)
21・・・CPU(コンピュータ,コントローラ,第1コントローラ)
22・・・メモリ(コントローラ,第1コントローラ)
24・・・第2プログラム(プログラム)
25・・・通信インタフェイス(第2通信インタフェイス)
13・・・内部仲介装置(情報処理装置,仲介装置,第2仲介装置)
31・・・CPU(コンピュータ、コントローラ,第4コントローラ)
32・・・メモリ(コントローラ,第4コントローラ)
34・・・エージェントソフト(プログラム)
35・・・通信インタフェイス
14・・・プリンタ(デバイス)
41・・・CPU(第3コントローラ)
42・・・メモリ(第3コントローラ)
45・・・通信インタフェイス(第3通信インタフェイス)
15・・・端末装置
100... Communication system 15... Management server (information processing device)
51 CPU (computer, controller, first controller)
52... Memory (controller, first controller)
54 First program (program)
55... communication interface (first communication interface)
12 External Intermediation Device (Information Processing Device, Intermediation Device, First Intermediation Device)
21 CPU (computer, controller, first controller)
22... Memory (controller, first controller)
24 Second program (program)
25... communication interface (second communication interface)
13... Internal mediating device (information processing device, mediating device, second mediating device)
31 CPU (computer, controller, fourth controller)
32 Memory (controller, fourth controller)
34... Agent software (program)
35 Communication interface 14 Printer (device)
41 CPU (third controller)
42 Memory (third controller)
45... communication interface (third communication interface)
15 Terminal device

Claims (15)

通信インタフェイスを有する情報処理装置のコンピュータによって実行されるプログラムであって、
前記プログラムは、
デバイスのステータス情報を、前記通信インタフェイスを通じて取得するステータス取得処理と、
前記デバイスの前記ステータス情報、並びに前記デバイスの電源のオフ及びオンを指定可能な指定用オブジェクトを含む画面データを生成して、当該画面データを前記通信インタフェイスを通じて端末装置に送信する画面データ送信処理と、
前記指定用オブジェクトにオフ及びオンが指定されたことを示すオン/オフ情報を前記通信インタフェイスを通じて取得するオン/オフ取得処理と、
前記オン/オフ取得処理で取得した前記オン/オフ情報に基づいて、前記電源をオフにする第1コマンドと、前記電源をオンにする第2コマンドを生成するコマンド生成処理と、
前記第1コマンド及び前記第2コマンドを前記通信インタフェイスを通じて送信するコマンド送信処理と、を前記コンピュータに実行させ
前記指定用オブジェクトは、前記電源をオンにする時刻を指定可能なオブジェクトであり、
前記プログラムは、
前記オン/オフ取得処理において、前記指定用オブジェクトで指定された時刻情報を前記通信インタフェイスを通じて取得し、
前記コマンド送信処理において、前記第1コマンドを送信した後、前記時刻情報に応じた時刻であると判定したことに基づいて、前記第2コマンドを送信するプログラム。
A program executed by a computer of an information processing device having a communication interface,
Said program
status acquisition processing for acquiring device status information through the communication interface;
Screen data transmission processing for generating screen data including the status information of the device and a designating object capable of designating power off and on of the device, and transmitting the screen data to the terminal device through the communication interface. and,
an on/off acquisition process for acquiring, through the communication interface, on/off information indicating that off and on have been specified for the specifying object;
a command generation process for generating a first command for turning off the power and a second command for turning on the power based on the on/off information acquired by the on/off acquisition process;
causing the computer to execute a command transmission process of transmitting the first command and the second command through the communication interface ;
The designation object is an object capable of designating the time to turn on the power,
Said program
In the on/off acquisition process, time information specified by the specification object is acquired through the communication interface,
A program for transmitting the second command in the command transmission process based on determining that it is time according to the time information after transmitting the first command.
前記プログラムは、前記第2コマンドを送信したことに基づいて、前記デバイスの前記電源のオンが設定されていることを示す前記画面データを生成して、当該画面データを前記通信インタフェイスを通じて前記端末装置に送信する処理を前記コンピュータに実行させる請求項に記載のプログラム。 The program generates the screen data indicating that the power of the device is set to be turned on based on the transmission of the second command, and transmits the screen data to the terminal through the communication interface. 2. The program according to claim 1 , causing said computer to execute a process of transmitting to an apparatus. 通信インタフェイスを有する情報処理装置のコンピュータによって実行されるプログラムであって、
前記プログラムは、
デバイスのステータス情報を、前記通信インタフェイスを通じて取得するステータス取得処理と、
前記デバイスの前記ステータス情報、並びに前記デバイスの電源のオフ及びオンを指定可能な指定用オブジェクトを含む画面データを生成して、当該画面データを前記通信インタフェイスを通じて端末装置に送信する画面データ送信処理と、
前記指定用オブジェクトにオフ及びオンが指定されたことを示すオン/オフ情報を前記通信インタフェイスを通じて取得するオン/オフ取得処理と、
前記オン/オフ取得処理で取得した前記オン/オフ情報に基づいて、前記電源をオフにする第1コマンドと、前記電源をオンにする第2コマンドを生成するコマンド生成処理と、
前記第1コマンド及び前記第2コマンドを前記通信インタフェイスを通じて送信するコマンド送信処理と、を前記コンピュータに実行させ、
前記プログラムは、
前記ステータス取得処理において、前記デバイスと通信可能な仲介装置から前記ステータス情報を前記通信インタフェイスを通じて取得し、
前記コマンド送信処理において、前記通信インタフェイスを通じて前記仲介装置に前記第1コマンド及び前記第2コマンドを送信するプログラム。
A program executed by a computer of an information processing device having a communication interface,
Said program
status acquisition processing for acquiring device status information through the communication interface;
Screen data transmission processing for generating screen data including the status information of the device and a designating object capable of designating power off and on of the device, and transmitting the screen data to the terminal device through the communication interface. and,
an on/off acquisition process for acquiring, through the communication interface, on/off information indicating that off and on have been specified for the specifying object;
a command generation process for generating a first command for turning off the power and a second command for turning on the power based on the on/off information acquired by the on/off acquisition process;
causing the computer to execute a command transmission process of transmitting the first command and the second command through the communication interface;
Said program
in the status acquisition process, acquiring the status information through the communication interface from an intermediary device capable of communicating with the device;
A program for transmitting the first command and the second command to the intermediary device through the communication interface in the command transmission process.
前記指定用オブジェクトは、前記電源をオンにする時刻を指定可能なオブジェクトであり、
前記プログラムは、
前記オン/オフ取得処理において、前記指定用オブジェクトで指定された時刻情報を前記通信インタフェイスを通じて取得し、
前記コマンド生成処理において、前記時刻情報を含む前記第2コマンドを生成する請求項に記載のプログラム。
The designation object is an object capable of designating the time to turn on the power,
Said program
In the on/off acquisition process, time information specified by the specification object is acquired through the communication interface,
4. The program according to claim 3 , wherein, in said command generation processing, said second command including said time information is generated.
前記プログラムは、前記ステータス取得処理において、前記デバイスの電源のオフ又はオンを示す情報を含む前記ステータス情報を、前記通信インタフェイスを通じて取得する請求項1からのいずれかに記載のプログラム。 5. The program according to any one of claims 1 to 4 , wherein in the status acquisition process, the program acquires the status information including information indicating whether the power of the device is off or on through the communication interface. 通信インタフェイスを有し、デバイスと通信可能な情報処理装置のコンピュータによって実行されるプログラムであって、
前記プログラムは、
前記デバイスのステータス情報を、前記通信インタフェイスを通じて取得するステータス取得処理と、
前記ステータス取得処理で取得した前記ステータス情報を、前記通信インタフェイスを通じて送信するステータス送信処理と、
前記デバイスの電源のオフ及びオンが指定されたことを示すオン/オフ情報を、前記通信インタフェイスを通じて取得するオン/オフ取得処理と、
前記オン/オフ取得処理で取得した前記オン/オフ情報に基づいて、前記電源をオフにする第1コマンドと、前記電源をオンにする第2コマンドを生成するコマンド生成処理と、
前記第1コマンド及び前記第2コマンドを前記通信インタフェイスを通じて前記デバイスに送信するコマンド送信処理と、を前記コンピュータに実行させ
前記プログラムは、
前記オン/オフ取得処理において、前記電源をオンにする時刻情報を、前記通信インタフェイスを通じて取得し、
前記コマンド送信処理において、前記第1コマンドを送信した後、前記時刻情報に応じた時刻であると判定したことに基づいて、前記第2コマンドを送信するプログラム。
A program executed by a computer of an information processing device having a communication interface and capable of communicating with a device,
Said program
a status acquisition process for acquiring status information of the device through the communication interface;
a status transmission process for transmitting the status information acquired by the status acquisition process through the communication interface;
an on/off acquisition process for acquiring, through the communication interface, on/off information indicating that the power of the device is specified to be turned off and on;
a command generation process for generating a first command for turning off the power and a second command for turning on the power based on the on/off information acquired by the on/off acquisition process;
causing the computer to execute a command transmission process of transmitting the first command and the second command to the device through the communication interface ;
Said program
in the on/off acquisition process, acquiring time information for turning on the power through the communication interface;
A program for transmitting the second command in the command transmission process based on determining that it is time according to the time information after transmitting the first command.
通信インタフェイスを有し、デバイスと通信可能な情報処理装置のコンピュータによって実行されるプログラムであって、
前記プログラムは、
前記デバイスのステータス情報を、前記通信インタフェイスを通じて取得するステータス取得処理と、
前記ステータス取得処理で取得した前記ステータス情報を、前記通信インタフェイスを通じて送信するステータス送信処理と、
前記デバイスの電源のオフ及びオンが指定されたことを示すオン/オフ情報を、前記通信インタフェイスを通じて取得するオン/オフ取得処理と、
前記オン/オフ取得処理で取得した前記オン/オフ情報に基づいて、前記電源をオフにする第1コマンドと、前記電源をオンにする第2コマンドを生成するコマンド生成処理と、
前記第1コマンド及び前記第2コマンドを前記通信インタフェイスを通じて前記デバイスに送信するコマンド送信処理と、を前記コンピュータに実行させ、
前記プログラムは、
前記第2コマンドに基づき前記電源がオンになったことを示す通知情報を、前記通信インタフェイスを通じて取得する通知取得処理と
前記通知取得処理で取得した前記通知情報を、前記通信インタフェイスを通じて送信する通知送信処理と、を前記コンピュータに実行させるプログラム。
A program executed by a computer of an information processing device having a communication interface and capable of communicating with a device,
Said program
a status acquisition process for acquiring status information of the device through the communication interface;
a status transmission process for transmitting the status information acquired by the status acquisition process through the communication interface;
an on/off acquisition process for acquiring, through the communication interface, on/off information indicating that the power of the device is specified to be turned off and on;
a command generation process for generating a first command for turning off the power and a second command for turning on the power based on the on/off information acquired by the on/off acquisition process;
causing the computer to execute a command transmission process of transmitting the first command and the second command to the device through the communication interface;
Said program
a notification acquisition process for acquiring, through the communication interface, notification information indicating that the power has been turned on based on the second command;
A program for causing the computer to execute notification transmission processing for transmitting the notification information acquired by the notification acquisition processing through the communication interface.
前記プログラムは、
前記オン/オフ取得処理において、前記電源をオンにする時刻情報を、前記通信インタフェイスを通じて取得し、
前記コマンド生成処理において、前記時刻情報を含む前記第2コマンドを生成する請求項に記載のプログラム。
Said program
in the on/off acquisition process, acquiring time information for turning on the power through the communication interface;
8. The program according to claim 7 , wherein, in said command generation processing, said second command including said time information is generated.
前記プログラムは、
前記ステータス取得処理において、前記デバイスと通信可能な仲介装置から前記ステータス情報を前記通信インタフェイスを通じて取得し、
前記コマンド送信処理において、前記通信インタフェイスを通じて前記仲介装置に前記第1コマンド及び前記第2コマンドを送信する請求項からのいずれかに記載のプログラム。
Said program
in the status acquisition process, acquiring the status information through the communication interface from an intermediary device capable of communicating with the device;
9. The program according to any one of claims 6 to 8 , wherein in said command transmission processing, said first command and said second command are transmitted to said intermediary device through said communication interface.
通信インタフェイスを有し、デバイスと通信可能な情報処理装置のコンピュータによって実行されるプログラムであって、A program executed by a computer of an information processing device having a communication interface and capable of communicating with a device,
前記プログラムは、Said program
前記デバイスのステータス情報を、前記通信インタフェイスを通じて取得するステータス取得処理と、a status acquisition process for acquiring status information of the device through the communication interface;
前記ステータス取得処理で取得した前記ステータス情報を、前記通信インタフェイスを通じて送信するステータス送信処理と、a status transmission process for transmitting the status information acquired by the status acquisition process through the communication interface;
前記デバイスの電源のオフ及びオンが指定されたことを示すオン/オフ情報を、前記通信インタフェイスを通じて取得するオン/オフ取得処理と、an on/off acquisition process for acquiring, through the communication interface, on/off information indicating that the power of the device is specified to be turned off and on;
前記オン/オフ取得処理で取得した前記オン/オフ情報に基づいて、前記電源をオフにする第1コマンドと、前記電源をオンにする第2コマンドを生成するコマンド生成処理と、a command generation process for generating a first command for turning off the power and a second command for turning on the power based on the on/off information acquired by the on/off acquisition process;
前記第1コマンド及び前記第2コマンドを前記通信インタフェイスを通じて前記デバイスに送信するコマンド送信処理と、を前記コンピュータに実行させ、causing the computer to execute a command transmission process of transmitting the first command and the second command to the device through the communication interface;
前記プログラムは、Said program
前記ステータス取得処理において、前記デバイスと通信可能な仲介装置から前記ステータス情報を前記通信インタフェイスを通じて取得し、in the status acquisition process, acquiring the status information through the communication interface from an intermediary device capable of communicating with the device;
前記コマンド送信処理において、前記通信インタフェイスを通じて前記仲介装置に前記第1コマンド及び前記第2コマンドを送信するプログラム。A program for transmitting the first command and the second command to the intermediary device through the communication interface in the command transmission process.
前記プログラムは、Said program
前記オン/オフ取得処理において、前記電源をオンにする時刻情報を、前記通信インタフェイスを通じて取得し、in the on/off acquisition process, acquiring time information for turning on the power through the communication interface;
前記コマンド生成処理において、前記時刻情報を含む前記第2コマンドを生成する請求項10に記載のプログラム。11. The program according to claim 10, wherein said command generating process generates said second command including said time information.
管理サーバ、デバイス及び仲介装置を備える通信システムであって、
前記管理サーバは、第1通信インタフェイス、及び第1コントローラを備え、
記仲介装置は、第2通信インタフェイス、及び第2コントローラを備え、
各前記デバイスは、電源、第3通信インタフェイス及び第3コントローラを備え、
前記第1コントローラは、
前記デバイスのステータス情報を、前記第1通信インタフェイスを通じて取得するステータス取得処理と、
前記ステータス取得処理で取得した前記ステータス情報、並びに前記デバイスの電源のオフ及びオンを指定可能な指定用オブジェクトを含む画面データを生成して、当該画面データを前記第1通信インタフェイスを通じて端末装置に送信する画面データ送信処理と、
前記指定用オブジェクトにオフ及びオンが指定されたことを示すオン/オフ情報を前記第1通信インタフェイスを通じて取得するオン/オフ取得処理と、
前記オン/オフ取得処理で取得した前記オン/オフ情報に基づいて、前記電源をオフにする第1コマンドと、前記電源をオンにする第2コマンドとを生成するコマンド生成処理と、
前記第1コマンド及び前記第2コマンドを前記第1通信インタフェイスを通じて送信する第1のコマンド送信処理と、を実行し、
前記第2コントローラは、前記第1のコマンド送信処理で送信された前記第1コマンド及び前記第2コマンドを前記第2通信インタフェイスを通じて受信し、前記第2通信インタフェイスを通じて前記デバイスに前記第1コマンド及び前記第2コマンドを送信する第2のコマンド送信処理と、を実行し、
前記第3コントローラは、前記第2のコマンド送信処理で送信された前記第1コマンド及び前記第2コマンドを前記第3通信インタフェイスを通じて受信し、当該第1コマンドに基づいて前記電源をオフにし、当該第2コマンドに基づいて前記電源をオンにするオンオフ処理と、を実行し、
前記指定用オブジェクトは、前記電源をオンにする時刻を指定可能なオブジェクトであり、
前記第1コントローラは、
前記オン/オフ取得処理において、前記指定用オブジェクトで指定された時刻情報を前記第1通信インタフェイスを通じて取得し、
前記第1のコマンド送信処理において、前記第1コマンドを送信した後、前記時刻情報に応じた時刻であると判定したことに基づいて、前記第2コマンドを送信する通信システム。
A communication system comprising a management server, a device and an intermediary device,
the management server comprises a first communication interface and a first controller;
the intermediary device comprises a second communication interface and a second controller;
each said device comprising a power supply, a third communication interface and a third controller;
The first controller is
a status acquisition process for acquiring status information of the device through the first communication interface;
generating screen data including the status information acquired in the status acquisition process and a designation object capable of designating power off and on of the device, and transmitting the screen data to the terminal device through the first communication interface; screen data transmission processing to be transmitted;
an on/off acquisition process for acquiring through the first communication interface on/off information indicating that off and on have been designated for the designation object;
a command generation process for generating a first command for turning off the power and a second command for turning on the power based on the on/off information acquired by the on/off acquisition process;
a first command transmission process for transmitting the first command and the second command through the first communication interface;
The second controller receives the first command and the second command transmitted in the first command transmission process through the second communication interface, and transmits the first command to the device through the second communication interface. a second command transmission process for transmitting the command and the second command;
The third controller receives the first command and the second command transmitted in the second command transmission process through the third communication interface, turns off the power based on the first command, an on/off process for turning on the power based on the second command ;
The designation object is an object capable of designating the time to turn on the power,
The first controller is
In the on/off acquisition process, time information specified by the specification object is acquired through the first communication interface,
In the first command transmission process, the communication system transmits the second command based on determining that the time corresponds to the time information after the transmission of the first command.
管理サーバ、デバイス及び仲介装置を備える通信システムであって、A communication system comprising a management server, a device and an intermediary device,
前記管理サーバは、第1通信インタフェイス、及び第1コントローラを備え、the management server comprises a first communication interface and a first controller;
前記仲介装置は、第2通信インタフェイス、及び第2コントローラを備え、the intermediary device comprises a second communication interface and a second controller;
各前記デバイスは、電源、第3通信インタフェイス及び第3コントローラを備え、each said device comprising a power supply, a third communication interface and a third controller;
前記第1コントローラは、The first controller is
前記デバイスのステータス情報を、前記第1通信インタフェイスを通じて取得するステータス取得処理と、a status acquisition process for acquiring status information of the device through the first communication interface;
前記ステータス取得処理で取得した前記ステータス情報、並びに前記デバイスの電源のオフ及びオンを指定可能な指定用オブジェクトを含む画面データを生成して、当該画面データを前記第1通信インタフェイスを通じて端末装置に送信する画面データ送信処理と、generating screen data including the status information acquired in the status acquisition process and a designation object capable of designating power off and on of the device, and transmitting the screen data to the terminal device through the first communication interface; screen data transmission processing to be transmitted;
前記指定用オブジェクトにオフ及びオンが指定されたことを示すオン/オフ情報を前記第1通信インタフェイスを通じて取得するオン/オフ取得処理と、an on/off acquisition process for acquiring through the first communication interface on/off information indicating that off and on have been designated for the designation object;
前記オン/オフ取得処理で取得した前記オン/オフ情報に基づいて、前記電源をオフにする第1コマンドと、前記電源をオンにする第2コマンドとを生成するコマンド生成処理と、a command generation process for generating a first command for turning off the power and a second command for turning on the power based on the on/off information acquired by the on/off acquisition process;
前記第1コマンド及び前記第2コマンドを前記第1通信インタフェイスを通じて送信する第1のコマンド送信処理と、を実行し、a first command transmission process for transmitting the first command and the second command through the first communication interface;
前記第2コントローラは、前記第1のコマンド送信処理で送信された前記第1コマンド及び前記第2コマンドを前記第2通信インタフェイスを通じて受信し、前記第2通信インタフェイスを通じて前記デバイスに前記第1コマンド及び前記第2コマンドを送信する第2のコマンド送信処理と、を実行し、The second controller receives the first command and the second command transmitted in the first command transmission process through the second communication interface, and transmits the first command to the device through the second communication interface. a second command transmission process for transmitting the command and the second command;
前記第3コントローラは、前記第2のコマンド送信処理で送信された前記第1コマンド及び前記第2コマンドを前記第3通信インタフェイスを通じて受信し、当該第1コマンドに基づいて前記電源をオフにし、当該第2コマンドに基づいて前記電源をオンにするオンオフ処理と、を実行し、The third controller receives the first command and the second command transmitted in the second command transmission process through the third communication interface, turns off the power based on the first command, an on/off process for turning on the power based on the second command;
前記第1コントローラは、The first controller is
前記ステータス取得処理において、前記デバイスと通信可能な前記仲介装置から前記ステータス情報を前記第1通信インタフェイスを通じて取得し、In the status acquisition process, the status information is acquired through the first communication interface from the intermediary device capable of communicating with the device;
前記第1のコマンド送信処理において、前記第1通信インタフェイスを通じて前記仲介装置に前記第1コマンド及び前記第2コマンドを送信する通信システム。A communication system configured to transmit the first command and the second command to the intermediate device through the first communication interface in the first command transmission process.
第1通信インタフェイス及び第1コントローラを有する管理サーバ、第2通信インタフェイス及び第2コントローラを有する仲介装置、及び、電源、第3通信インタフェイス及び第3コントローラを有するデバイスの間の通信方法であって、
前記第1コントローラは、
前記デバイスのステータス情報を、前記第1通信インタフェイスを通じて前記仲介装置から取得し、
前記第1通信インタフェイスを通じて取得した前記ステータス情報、並びに前記デバイスの電源のオフ及びオンを指定可能な指定用オブジェクトを含む画面データを生成して、当該画面データを前記第1通信インタフェイスを通じて端末装置に送信し、
前記指定用オブジェクトにオフ及びオンが指定されたことを示すオン/オフ情報を前記第1通信インタフェイスを通じて前記端末装置から取得するオン/オフ取得処理を実行し、
前記第1通信インタフェイスを通じて取得した前記オン/オフ情報に基づいて、前記電源をオフにする第1コマンドと、前記電源をオンにする第2コマンドとを生成し、
前記第1コマンド及び前記第2コマンドを前記第1通信インタフェイスを通じて前記仲介装置に送信するコマンド送信処理を実行し、
前記第2コントローラは、
前記第2通信インタフェイスを通じて前記管理サーバから送信された前記第1コマンド及び前記第2コマンドを受信し、受信した前記第1コマンド及び前記第2コマンドを前記第2通信インタフェイスを通じて前記デバイスに送信し、
前記第3コントローラは、
前記仲介装置から送信された前記第1コマンド及び前記第2コマンドを前記第3通信インタフェイスを通じて受信し、当該第1コマンドに基づいて前記電源をオフにし、当該第2コマンドに基づいて前記電源をオンにし、
前記指定用オブジェクトは、前記電源をオンにする時刻を指定可能なオブジェクトであり、
前記第1コントローラは、
前記オン/オフ取得処理において、前記指定用オブジェクトで指定された時刻情報を前記第1通信インタフェイスを通じて取得し、
前記コマンド送信処理において、前記第1コマンドを送信した後、前記時刻情報に応じた時刻であると判定したことに基づいて、前記第2コマンドを送信する通信方法。
A communication method between a management server having a first communication interface and a first controller, an intermediary device having a second communication interface and a second controller, and a device having a power source, a third communication interface and a third controller There is
The first controller is
obtaining status information of the device from the intermediary device through the first communication interface;
generating screen data including the status information obtained through the first communication interface and a designation object capable of designating power off and on of the device, and transmitting the screen data to the terminal through the first communication interface; send to the device,
executing on/off acquisition processing for acquiring on/off information indicating that off and on are specified for the specifying object from the terminal device through the first communication interface;
generating a first command to turn off the power and a second command to turn on the power based on the on/off information obtained through the first communication interface;
executing a command transmission process for transmitting the first command and the second command to the intermediary device through the first communication interface;
The second controller is
receiving the first command and the second command transmitted from the management server through the second communication interface, and transmitting the received first command and the second command to the device through the second communication interface; death,
The third controller is
receiving the first command and the second command transmitted from the intermediate device through the third communication interface, turning off the power based on the first command, and turning on the power based on the second command turn on,
The designation object is an object capable of designating the time to turn on the power,
The first controller is
In the on/off acquisition process, time information specified by the specification object is acquired through the first communication interface,
The communication method, wherein in the command transmission process, after transmitting the first command, the second command is transmitted on the basis of determining that the time corresponds to the time information.
第1通信インタフェイス及び第1コントローラを有する管理サーバ、第2通信インタフェイス及び第2コントローラを有する仲介装置、及び、電源、第3通信インタフェイス及び第3コントローラを有するデバイスの間の通信方法であって、A communication method between a management server having a first communication interface and a first controller, an intermediary device having a second communication interface and a second controller, and a device having a power source, a third communication interface and a third controller There is
前記第1コントローラは、The first controller is
前記デバイスのステータス情報を、前記第1通信インタフェイスを通じて前記仲介装置から取得するステータス取得処理を実行し、executing a status acquisition process for acquiring status information of the device from the intermediary device through the first communication interface;
前記第1通信インタフェイスを通じて取得した前記ステータス情報、並びに前記デバイスの電源のオフ及びオンを指定可能な指定用オブジェクトを含む画面データを生成して、当該画面データを前記第1通信インタフェイスを通じて端末装置に送信し、generating screen data including the status information obtained through the first communication interface and a designation object capable of designating power off and on of the device, and transmitting the screen data to the terminal through the first communication interface; send to the device,
前記指定用オブジェクトにオフ及びオンが指定されたことを示すオン/オフ情報を前記第1通信インタフェイスを通じて前記端末装置から取得し、acquiring on/off information indicating that off and on are specified for the specifying object from the terminal device through the first communication interface;
前記第1通信インタフェイスを通じて取得した前記オン/オフ情報に基づいて、前記電源をオフにする第1コマンドと、前記電源をオンにする第2コマンドとを生成し、generating a first command to turn off the power and a second command to turn on the power based on the on/off information obtained through the first communication interface;
前記第1コマンド及び前記第2コマンドを前記第1通信インタフェイスを通じて前記仲介装置に送信するコマンド送信処理を実行し、executing a command transmission process for transmitting the first command and the second command to the intermediary device through the first communication interface;
前記第2コントローラは、The second controller is
前記第2通信インタフェイスを通じて前記管理サーバから送信された前記第1コマンド及び前記第2コマンドを受信し、受信した前記第1コマンド及び前記第2コマンドを前記第2通信インタフェイスを通じて前記デバイスに送信し、receiving the first command and the second command transmitted from the management server through the second communication interface, and transmitting the received first command and the second command to the device through the second communication interface; death,
前記第3コントローラは、The third controller is
前記仲介装置から送信された前記第1コマンド及び前記第2コマンドを前記第3通信インタフェイスを通じて受信し、当該第1コマンドに基づいて前記電源をオフにし、当該第2コマンドに基づいて前記電源をオンにし、receiving the first command and the second command transmitted from the intermediate device through the third communication interface, turning off the power based on the first command, and turning on the power based on the second command turn on,
前記第1コントローラは、The first controller is
前記ステータス取得処理において、前記デバイスと通信可能な前記仲介装置から前記ステータス情報を前記第1通信インタフェイスを通じて取得し、In the status acquisition process, the status information is acquired through the first communication interface from the intermediary device capable of communicating with the device;
前記コマンド送信処理において、前記第1通信インタフェイスを通じて前記仲介装置に前記第1コマンド及び前記第2コマンドを送信する通信方法。A communication method, wherein in the command transmission process, the first command and the second command are transmitted to the intermediate device through the first communication interface.
JP2019104843A 2019-06-04 2019-06-04 Program, communication system, and communication method Active JP7326887B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019104843A JP7326887B2 (en) 2019-06-04 2019-06-04 Program, communication system, and communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019104843A JP7326887B2 (en) 2019-06-04 2019-06-04 Program, communication system, and communication method

Publications (2)

Publication Number Publication Date
JP2020198000A JP2020198000A (en) 2020-12-10
JP7326887B2 true JP7326887B2 (en) 2023-08-16

Family

ID=73648094

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019104843A Active JP7326887B2 (en) 2019-06-04 2019-06-04 Program, communication system, and communication method

Country Status (1)

Country Link
JP (1) JP7326887B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007249577A (en) 2006-03-15 2007-09-27 Ricoh Co Ltd Remote management system, remote management method, remote management program and recording medium
US20130010318A1 (en) 2011-07-06 2013-01-10 Canon Kabushiki Kaisha Image processing apparatus, method for controlling the same, and storage medium
JP2013065145A (en) 2011-09-16 2013-04-11 Ricoh Co Ltd Communication device
JP2014095962A (en) 2012-11-08 2014-05-22 Canon Inc Remote control system, information processing apparatus, and program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08328681A (en) * 1995-05-31 1996-12-13 Canon Inc Information processing unit, printer, print system and power supply control method for print system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007249577A (en) 2006-03-15 2007-09-27 Ricoh Co Ltd Remote management system, remote management method, remote management program and recording medium
US20130010318A1 (en) 2011-07-06 2013-01-10 Canon Kabushiki Kaisha Image processing apparatus, method for controlling the same, and storage medium
JP2013065145A (en) 2011-09-16 2013-04-11 Ricoh Co Ltd Communication device
JP2014095962A (en) 2012-11-08 2014-05-22 Canon Inc Remote control system, information processing apparatus, and program

Also Published As

Publication number Publication date
JP2020198000A (en) 2020-12-10

Similar Documents

Publication Publication Date Title
US10225416B2 (en) Server storing authentication information in association with device information in storage
JP5870990B2 (en) Relay apparatus, image forming apparatus, relay method, and relay program
JP4910678B2 (en) Information processing apparatus, output processing system, and computer program
US20190050170A1 (en) Communication Device, Non-Transitory Computer-Readable Recording Medium Storing Computer-Readable Instructions for Communication Device, and Method
JP6575214B2 (en) Information processing device, terminal device, and program
US9417826B2 (en) Image forming apparatus with status control
JP5834550B2 (en) Information processing apparatus, data management system, and data management program
CN101206556B (en) Print system and print job processing method
US20170093865A1 (en) Server Transmitting Device Information Assigned to Service Identification Information
US20130088751A1 (en) Job management apparatus, job control system, and job control method
US20170094078A1 (en) Relaying Apparatus Communicating with Information Processing Terminal, Image Processing Apparatus, and Service-Providing Apparatus
US20160057295A1 (en) Server, image forming device and communication system
JP2015139096A (en) Information processing program, information processing apparatus, and control method of the information processing apparatus
JP5817766B2 (en) Information processing apparatus, communication system, and program
JP2010525439A (en) Printing apparatus, printing control method and program
US10735332B2 (en) Communication system including information processing apparatus and mediation apparatus capable of transmitting command to device in appropriate order
US10530946B2 (en) Information processing apparatus, control method of information processing apparatus, program, and information processing system for efficiently transmitting updated managed information to other information processing apparatuses
JP7172108B2 (en) Program and communication system
JP2013082147A (en) Image forming system, image forming apparatus, and program
US9329817B2 (en) Information processing apparatus, information processing method, and computer-readable storage medium
JP7326887B2 (en) Program, communication system, and communication method
JP2019175100A (en) Setup method of application program and download server
US10917383B2 (en) Management system including first and second information-processing apparatuses connected to each other via firewall
US7945664B2 (en) System and method for accessing network services
JP2012158046A (en) Image forming apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220527

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230315

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230418

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230616

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20230704

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230717

R150 Certificate of patent or registration of utility model

Ref document number: 7326887

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150