[go: up one dir, main page]

JP2016118863A - Linking system, control method thereof, and program - Google Patents

Linking system, control method thereof, and program Download PDF

Info

Publication number
JP2016118863A
JP2016118863A JP2014257142A JP2014257142A JP2016118863A JP 2016118863 A JP2016118863 A JP 2016118863A JP 2014257142 A JP2014257142 A JP 2014257142A JP 2014257142 A JP2014257142 A JP 2014257142A JP 2016118863 A JP2016118863 A JP 2016118863A
Authority
JP
Japan
Prior art keywords
tenant
management system
list
lower layer
layer group
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.)
Pending
Application number
JP2014257142A
Other languages
Japanese (ja)
Inventor
峻輔 太田
Shunsuke Ota
峻輔 太田
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2014257142A priority Critical patent/JP2016118863A/en
Publication of JP2016118863A publication Critical patent/JP2016118863A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Facsimiles In General (AREA)

Abstract

【課題】連携先の管理システムの適切なテナントにデバイスを登録し、管理システム間におけるテナントの対応付けを適切に行い、適切に請求されるようにすること。【解決手段】連携管理システム3が、連携元デバイス管理システム1からのリクエスト(テナントID,デバイスリストRを含む)に応じ、連携先デバイス管理システム6から、デバイスリストRに含まれるデバイスが1つ以上属する顧客テナントTと、デバイスリストTを取得し、デバイスリストRとTが部分的に一致する場合(S505でNo)、リクエスト発行元のアカウントに関連する販売会社テナントと、顧客テナントTが属する販売会社テナントが一致するか判定し、判定結果に基づき、デバイスリストTに含まれないデバイスを連携先デバイス管理システム6の新たな顧客テナント又は顧客テナントTに登録し、デバイス管理システム間で顧客テナントを対応付ける(S507〜513)。【選択図】図5A device is registered in an appropriate tenant of a management system of a cooperation destination, and the tenant is properly associated between the management systems so as to be charged appropriately. In response to a request (including a tenant ID and a device list R) from a cooperation source device management system 1, the cooperation management system 3 has one device included in the device list R from the cooperation destination device management system 6. The customer tenant T belonging to the above and the device list T are acquired, and if the device list R and T partially match (No in S505), the sales company tenant and the customer tenant T related to the request issuer account belong to It is determined whether the sales company tenant matches, and based on the determination result, a device not included in the device list T is registered in a new customer tenant or customer tenant T of the cooperation destination device management system 6, and the customer tenant between the device management systems Are associated (S507 to 513). [Selection] Figure 5

Description

本発明は、複数のデバイス管理システムを連携するための連携システム、連携システムの制御方法、及びプログラムに関する。   The present invention relates to a linkage system for linking a plurality of device management systems, a method for controlling the linkage system, and a program.

近年、インターネット上の複数のサービスを連携させ、1つのサービスを構築するといったサービス連携が頻繁に行われるようになってきている。例えば、複数のデバイス管理システムを連携させて、あるデバイス管理システムが保持するデータを、他のデバイス管理システムが利用するなどの利用ケースが存在する。   In recent years, service cooperation such as linking a plurality of services on the Internet to construct one service has been frequently performed. For example, there is a use case in which a plurality of device management systems are linked so that data held by a certain device management system is used by another device management system.

本明細書における、「デバイス」は、例えば、MFP(Multifunction Peripheral)やSFP(Singlefunction Peripheral)などの画像形成装置を指すが、その他の電子機器、例えば家電等であってもよい。また、本明細書における「デバイス管理システム」は、例えば、デバイスの処理に関するログ等を保存したり、ログ等を元に効率的な利用方法に関する提案するサービスや、デバイスで発生したアラート等のデバイスの状態を検知し、サービスマンを派遣したり、消耗品の発注等を行うサービスなどを、提供するためのシステムを指す。   In this specification, “device” refers to an image forming apparatus such as an MFP (Multifunction Peripheral) or SFP (Single Function Peripheral), but may be other electronic devices such as home appliances. In addition, the “device management system” in the present specification refers to, for example, a device that stores a log or the like related to device processing, a service that suggests an efficient usage method based on the log or the like, and an alert that occurs in the device. It is a system for providing services such as dispatching service personnel and ordering consumables.

一般的に、複数のシステムを連携させる際には、各々のシステム内で有効なIDを紐付け、管理することが重要となる。このようにすることで、あるデバイス管理システムのユーザは、その利用するシステムにおけるIDのみを用いて、他のデバイス管理システムの利用が可能となる。これにより、ユーザビリティ、セキュリティの向上を図ることが可能となる。   Generally, when a plurality of systems are linked, it is important to link and manage IDs that are valid in each system. In this way, a user of a certain device management system can use another device management system using only the ID in the system to be used. As a result, usability and security can be improved.

一般的なデバイス管理システムでは、テナント管理がされている。例えば、一般的なデバイス管理システムには、デバイスを所有する「顧客テナント」や、顧客テナントに対してデバイスを販売し、デバイス管理システムを利用して顧客テナントにサービス提供する「販売会社テナント」といったテナントに関する概念が存在する。複数のデバイス管理システムの連携をさせる際には、各々のシステムで管理されているテナントの対応付け、およびそのテナントへのデバイスの登録が必要となる。   In a general device management system, tenant management is performed. For example, a general device management system includes a “customer tenant” that owns the device, and a “sales company tenant” that sells devices to the customer tenant and provides services to the customer tenant using the device management system. There is a concept about tenants. When linking a plurality of device management systems, it is necessary to associate tenants managed by each system and register the devices to the tenants.

特許文献1では、IDの新規登録時に、特定の条件を満たす既存IDが存在した場合には、そのIDと対応付け、新規登録IDと既存IDを連携させ、連携情報を登録することにより、連携ID登録の手間を軽減する技術が提案されている。   In Patent Document 1, when an existing ID satisfying a specific condition exists when a new ID is registered, the ID is associated with the ID, the new registration ID and the existing ID are linked, and the linkage information is registered, thereby collaborating. Techniques for reducing the labor of ID registration have been proposed.

特開2013−114289号公報JP 2013-114289 A

デバイス管理システムの連携においては、連携システム内に、連携対象のデバイスの一部だけが、すでに登録されているという状態が存在する。
例えば、デバイス管理システムAにおいてデバイス1〜5を抱える顧客テナントXを、デバイス管理システムBに作成する場合に、デバイス1〜3のみは、すでにデバイス管理システムBの顧客テナントYに登録されているというケースである。
In the cooperation of device management systems, there is a state in which only a part of devices to be linked has already been registered in the linkage system.
For example, when the customer tenant X holding the devices 1 to 5 in the device management system A is created in the device management system B, only the devices 1 to 3 are already registered in the customer tenant Y of the device management system B. It is a case.

この時、デバイス管理システムAとデバイス管理システムBを連携させるためには、テナントXとテナントYとの対応付けを行った上で、まだデバイス管理システムBに登録されていないデバイス4、5をデバイス管理システムBに新規登録する必要がある。   At this time, in order to link the device management system A and the device management system B, after associating the tenant X with the tenant Y, the devices 4 and 5 that are not yet registered in the device management system B are used. It is necessary to newly register in the management system B.

特許文献1では、IDを登録する際に、対応付けられる可能性があるIDは探索範囲内に1つのみとしている。そのため、特許文献1を、上述のケースに適用した場合、テナントXとテナントYとが対応付けられ、併せて、テナントYにデバイス4,5が登録されることになる。   In Patent Document 1, when registering an ID, there is only one ID within the search range that may be associated. Therefore, when Patent Document 1 is applied to the above-described case, the tenant X and the tenant Y are associated with each other, and the devices 4 and 5 are registered in the tenant Y together.

なお、一般的なデバイス管理システムでは、販売会社テナントは、自身が管理する顧客テナントにて利用されるデバイス数に応じて、デバイス管理システムの利用料が請求されるというビジネスモデルが一般的である。そのため、先の例のように、デバイス4,5を追加した顧客テナントYを管理する販売会社は、デバイス4,5の管理費も合わせて、システム利用料が請求されることになる。   In a general device management system, a business model in which a sales company tenant is charged a usage fee for a device management system according to the number of devices used by a customer tenant managed by the sales company tenant is common. . Therefore, as in the previous example, the sales company that manages the customer tenant Y to which the devices 4 and 5 are added charges the system usage fee together with the management costs of the devices 4 and 5.

ここで、顧客テナントYを管理する販売会社テナントAと、テナントの作成およびデバイスの登録リクエストを発行したアカウントが所属する販売会社テナントBが異なる場合を考える。この場合、リクエストを発行したのは販売会社テナントBであるにもかかわらず、デバイスが登録されるのが、顧客テナントXであるため、利用料が販売会社テナントAに請求される。この例では、リクエストを発行した販売会社テナントではない、販売会社テナントに対して、利用量の請求がなされてしまう。即ち、適切な請求がなされない可能性があるという問題が存在する。   Here, consider a case where the sales company tenant A that manages the customer tenant Y and the sales company tenant B to which the account that issued the tenant creation and device registration request belongs are different. In this case, even though the sales company tenant B has issued the request, it is the customer tenant X that registers the device, so the usage fee is charged to the sales company tenant A. In this example, the usage amount is billed to the sales company tenant that is not the sales company tenant that issued the request. That is, there is a problem that an appropriate claim may not be made.

本発明は、上記の問題点を解決するためになされたものである。本発明の目的は、連携先の管理システムの適切な下層グループ(顧客テナント)にデバイスを登録し、連携元の管理システムと連携先の管理システム間における下層グループ(顧客テナント)の対応付けを適切に行うことができ、適切に請求がなされるような連携システムの仕組みを提供することである。   The present invention has been made to solve the above problems. It is an object of the present invention to register a device in an appropriate lower layer group (customer tenant) of a cooperation destination management system and to appropriately associate a lower layer group (customer tenant) between the cooperation source management system and the cooperation destination management system. It is possible to provide a mechanism of a cooperation system that can be made and can be charged appropriately.

本発明は、デバイス、デバイスが所属する下層グループ、及び、下層グループが所属する上層グループを管理する複数の管理システムを連携する連携システムであって、第1の管理システムから、該第1の管理システムが管理する第1の下層グループの情報と、該第1の下層グループに所属するデバイスのリストである第1のリストとを含むリクエストを受信する受信手段と、前記第1の管理システムが連携する第2の管理システムから、該第2の管理システムが管理する、前記第1のリストに含まれるデバイスが1つ以上所属する第2の下層グループの情報と、該第2の下層グループに所属するデバイスのリストである第2のリストとを取得する取得手段と、前記第1のリストと前記第2のリストが部分的に一致する場合、前記リクエストに対応するアカウントに関連する第1の上層グループと、前記第2の下層グループが所属する第2の上層グループが一致するか否かを判定する判定手段と、前記判定手段の判定の結果に基づいて、前記第1のリストに含まれ且つ前記第2のリストに含まれていないデバイスを前記第2の管理システムの新たな下層グループ又は前記第2の下層グループに登録する登録手段と、前記第1のリストに含まれるデバイスごとに、デバイスが登録されている、前記第1の管理システムにおける下層グループと、前記第2の管理システムにおける下層グループとを対応付ける対応付け手段と、を有することを特徴とする。   The present invention is a linkage system that links devices, a lower layer group to which the device belongs, and a plurality of management systems that manage the upper layer group to which the lower layer group belongs. The first management system cooperates with receiving means for receiving a request including information on a first lower layer group managed by the system and a first list which is a list of devices belonging to the first lower layer group. From the second management system, the information of the second lower layer group to which one or more devices included in the first list managed by the second management system belong, and the second lower layer group An acquisition means for acquiring a second list, which is a list of devices to perform, and the request when the first list and the second list partially match A determination unit that determines whether or not a first upper layer group associated with a corresponding account matches a second upper layer group to which the second lower layer group belongs, and based on a determination result of the determination unit Registration means for registering a device included in the first list and not included in the second list in a new lower layer group of the second management system or the second lower layer group; Characterized in that, for each device included in the list, a device is registered, and an association unit that associates a lower layer group in the first management system and a lower layer group in the second management system, To do.

本発明によれば、連携先の管理システムの適切な下層グループにデバイスを登録し、デバイスごとに管理システム間における下層グループの対応付けを適切に行うことができる。この結果、適切に請求がなされるような連携システムを構築することができる。   ADVANTAGE OF THE INVENTION According to this invention, a device can be registered into the appropriate lower layer group of the management system of a cooperation destination, and the lower layer group between management systems can be matched appropriately for every device. As a result, it is possible to construct a cooperation system that can be charged appropriately.

本実施例を示すシステムの構成図System configuration diagram showing this embodiment 本実施例におけるWebサーバのハードウェア構成図Hardware configuration diagram of the Web server in this embodiment 実施例1のシステムの機能構成図Functional configuration diagram of system of embodiment 1 実施例1のテナント作成およびデバイス登録リクエストの処理を例示するフローチャートFlowchart illustrating the tenant creation and device registration request processing of the first embodiment テナントマッピング処理を例示するフローチャートFlow chart illustrating tenant mapping process 実施例2のテナント作成およびデバイス登録リクエストの処理を例示するフローチャートFlowchart illustrating processing of tenant creation and device registration request of embodiment 2 実施例3のテナント移動管理画面を例示する図The figure which illustrates the tenant movement management screen of Example 3 デバイスの移動処理に関する処理を例示するフローチャートThe flowchart which illustrates the process regarding the movement process of a device 実施例3のシステムの機能構成図Functional configuration diagram of system of embodiment 3

以下、本発明を実施するための形態について図面を用いて説明する。   Hereinafter, embodiments for carrying out the present invention will be described with reference to the drawings.

図1は、本発明の一実施例を示すシステムの構成を例示する図である。
図1において、連携元デバイス管理システム1は、連携先デバイス管理システム6へのテナントの作成およびデバイスの登録リクエストを、連携管理システム3に発行するデバイス管理システムである。連携先デバイス管理システム6は、連携元デバイス管理システム1が連携する先のデバイス管理システムである。連携管理システム3は、連携元デバイス管理システム1と、連携先デバイス管理システム6とが連携するために必要な各種処理を行うシステムである。
FIG. 1 is a diagram illustrating the configuration of a system showing an embodiment of the present invention.
In FIG. 1, the cooperation source device management system 1 is a device management system that issues a tenant creation and device registration request to the cooperation destination device management system 6 to the cooperation management system 3. The cooperation destination device management system 6 is a device management system to which the cooperation source device management system 1 cooperates. The cooperation management system 3 is a system that performs various processes necessary for the cooperation of the cooperation source device management system 1 and the cooperation destination device management system 6.

連携元デバイス管理システム1および連携先デバイス管理システム6では、テナント管理がされている。これらのデバイス管理システムは、デバイスを所有する「顧客テナント」や、顧客テナントに対してデバイスを販売し、デバイス管理システムを利用して顧客テナントにサービス提供する「販売会社テナント」等を管理する。顧客テナントは、デバイスが所属する下層グループに対応し、販売会社テナントは、下層グループが所属する上層グループに対応する。   The cooperation source device management system 1 and the cooperation destination device management system 6 perform tenant management. These device management systems manage a “customer tenant” that owns the device, a “sales company tenant” that sells devices to the customer tenant, and provides services to the customer tenant using the device management system. The customer tenant corresponds to the lower layer group to which the device belongs, and the sales company tenant corresponds to the upper layer group to which the lower layer group belongs.

連携元デバイス管理システム1と連携先デバイス管理システム6とを連携させる場合には、各々のデバイス管理システムで管理されているテナントの対応付け、およびそのテナントへのデバイスの登録が必要となる。連携管理システム3は、連携元デバイス管理システム1と連携先デバイス管理システム6におけるテナントの対応付けとデバイスの登録等を行い、該対応付けに基づいて、連携元デバイス管理システム1と連携先デバイス管理システム6とを連携する。   When the cooperation source device management system 1 and the cooperation destination device management system 6 are linked, it is necessary to associate the tenant managed by each device management system and register the device to the tenant. The collaboration management system 3 performs tenant association and device registration in the collaboration source device management system 1 and the collaboration destination device management system 6, and based on the association, the collaboration source device management system 1 and the collaboration destination device management. Link with system 6.

連携管理システム3は、Webサーバ4、データベースシステム5などを含む。また、連携先デバイス管理システム6は、Webサーバ7、データベースシステム8などを含む。連携先デバイス管理システム6は、複数存在しても構わない。詳細は図示しないが、連携元デバイス管理システム1は、連携先デバイス管理システム6と同様の構成となる。連携元デバイス管理システム1は、ブラウザや専用のアプリケーションを用いて、ネットワーク2を介して、連携管理システム3のWebサーバ4に接続し、リクエストを行う。   The cooperation management system 3 includes a web server 4 and a database system 5. The cooperation destination device management system 6 includes a Web server 7, a database system 8, and the like. A plurality of cooperation destination device management systems 6 may exist. Although details are not shown, the cooperation source device management system 1 has the same configuration as the cooperation destination device management system 6. The cooperation source device management system 1 makes a request by connecting to the Web server 4 of the cooperation management system 3 via the network 2 using a browser or a dedicated application.

Webサーバ4には、HTTP、SOAP等のプロトコルに準拠したWebサービスがホストされている。このWebサービスでは、連携元デバイス管理システム1からのテナント作成、およびデバイス登録のリクエストを受付ける。また、このWebサービスでは、連携先デバイス管理システム6のテナント作成状況やデバイス登録状況を確認しながら、データベースシステム5に、テナントの対応付け情報を登録する。データベースシステム5では、MySQL等のDBMSが動作する。データベースシステム5には、連携元デバイス管理システム1のテナントIDと連携先デバイス管理システム6のテナントIDとの対応付けに関するデータ(テナントの対応付け情報)が保存される。   The web server 4 hosts a web service based on a protocol such as HTTP or SOAP. In this Web service, requests for tenant creation and device registration from the cooperation source device management system 1 are accepted. In this Web service, tenant association information is registered in the database system 5 while checking the tenant creation status and device registration status of the cooperation destination device management system 6. In the database system 5, a DBMS such as MySQL operates. The database system 5 stores data (tenant association information) related to the association between the tenant ID of the cooperation source device management system 1 and the tenant ID of the cooperation destination device management system 6.

連携先デバイス管理システム6は、連携元デバイス管理システム1が連携を行う対象のシステムである。連携先デバイス管理システム6のWebサーバ7は、連携管理システム3からのリクエストを受け付け、自システムに登録されているテナントおよびデバイスの検索や、テナント作成、およびデバイスの登録処理を行う。連携先デバイス管理システム6で管理されるテナントやデバイスのデータは、データベースシステム8に登録されている。データベースシステム8では、データベースシステム5と同様に、MySQL等のDBMSが動作する。   The cooperation destination device management system 6 is a system to which the cooperation source device management system 1 cooperates. The Web server 7 of the cooperation destination device management system 6 receives a request from the cooperation management system 3, and performs a search for a tenant and a device registered in the own system, tenant creation, and device registration processing. Tenant and device data managed by the cooperation destination device management system 6 are registered in the database system 8. In the database system 8, a DBMS such as MySQL operates as in the database system 5.

なお、本システム構成例では、連携管理システム3と連携先デバイス管理システム6の双方において、Webサーバとデータベースシステムが別れて記載されているが、これらWebサーバとデータベースシステムを同一のサーバ上で動作させても構わない。   In this system configuration example, the Web server and the database system are separately described in both the cooperation management system 3 and the cooperation destination device management system 6. However, the Web server and the database system operate on the same server. It does n’t matter.

図2は、Webサーバ4等のハードウェア構成を例示する図である。
図2に示すように、Webサーバ4は、CPU201、直接記憶部202、間接記憶部203、およびネットワークインターフェース204を有する。CPU201は、所定のプログラムを実行し、Webサーバ4の各種制御を指示するユニットである。直接記憶部202は、CPU201がプログラムを実行する際に使用するワークメモリであり、CPU201が実行するプログラムは直接記憶部202にロードされる。直接記憶部202は、RAMにより実現される。間接記憶部203は、アプリケーションプログラム、OSを含む各種プログラム、及び各種データ等が記憶されている。間接記憶部203に記憶されている各種プログラムは、CPU201がプログラムを実行する際に直接記憶部202へロードされる。間接記憶部203は、ROM、HDD、または、SSD等により実現される。なお、CPU201はマルチプロセッサでもよい。ネットワークインターフェース204は、ネットワーク2に接続されており、ネットワーク2に接続されている他の装置と通信が可能となる。
なお、Webサーバ7、データベースシステム5,8も同様のハードウェア構成を有するものとし、説明は割愛する。
FIG. 2 is a diagram illustrating a hardware configuration of the Web server 4 and the like.
As illustrated in FIG. 2, the Web server 4 includes a CPU 201, a direct storage unit 202, an indirect storage unit 203, and a network interface 204. The CPU 201 is a unit that executes a predetermined program and instructs various controls of the Web server 4. The direct storage unit 202 is a work memory used when the CPU 201 executes a program, and the program executed by the CPU 201 is loaded into the direct storage unit 202. The direct storage unit 202 is realized by a RAM. The indirect storage unit 203 stores application programs, various programs including an OS, various data, and the like. Various programs stored in the indirect storage unit 203 are loaded into the direct storage unit 202 when the CPU 201 executes the programs. The indirect storage unit 203 is realized by a ROM, an HDD, an SSD, or the like. Note that the CPU 201 may be a multiprocessor. The network interface 204 is connected to the network 2 and can communicate with other devices connected to the network 2.
The Web server 7 and the database systems 5 and 8 are assumed to have the same hardware configuration, and the description thereof is omitted.

図3は、実施例1のシステムの機能構成を例示するブロック図である。なお、図3に示すWebサーバ4の各処理部は、Webサーバ4のCPU201がWebサーバ4の間接記憶部203に格納されるプログラムをWebサーバ4の直接記憶部202にロードして実行することにより実現される。また、図3に示すWebサーバ7の各処理部は、Webサーバ7のCPU201がWebサーバ7の間接記憶部203に格納されるプログラムをWebサーバ7の直接記憶部202にロードして実行することにより実現される。   FIG. 3 is a block diagram illustrating the functional configuration of the system according to the first embodiment. 3, each processing unit of the Web server 4 causes the CPU 201 of the Web server 4 to load a program stored in the indirect storage unit 203 of the Web server 4 into the direct storage unit 202 of the Web server 4 and execute the program. It is realized by. In addition, each processing unit of the Web server 7 illustrated in FIG. 3 causes the CPU 201 of the Web server 7 to load and execute a program stored in the indirect storage unit 203 of the Web server 7 into the direct storage unit 202 of the Web server 7. It is realized by.

まず、Webサーバ4の各処理部の機能について説明する。
リクエスト受信部41は、連携元デバイス管理システム1からのリクエストを受け付ける。このリクエストには、テナントIDおよび、デバイスIDリストが含まれる。テナントIDは、連携先デバイス管理システム内で作成するテナントを連携元デバイス管理システム1内で一意に識別するIDである。デバイスIDリストは、そのテナントに所属するデバイスを一意に識別するID(デバイスID)のリストである。受信したデバイスIDリストをデバイス管理情報取得リクエスト送信部42に渡す。
First, the function of each processing unit of the Web server 4 will be described.
The request receiving unit 41 receives a request from the cooperation source device management system 1. This request includes a tenant ID and a device ID list. The tenant ID is an ID that uniquely identifies the tenant created in the cooperation destination device management system in the cooperation source device management system 1. The device ID list is a list of IDs (device IDs) that uniquely identify devices belonging to the tenant. The received device ID list is passed to the device management information acquisition request transmission unit 42.

デバイス管理情報取得リクエスト送信部42は、受け取ったデバイスIDリストを、連携先デバイス管理システム6のデバイス管理情報取得リクエスト受信部71に送信し、探索結果を受け取る。この探索結果には、デバイスIDリストの内、少なくとも1つ以上のデバイスを含む顧客テナントのID、その顧客テナントを管理する販売会社テナントのID、およびリクエスト発行ユーザが所属する販売会社テナントのIDが含まれる。デバイス管理情報取得リクエスト送信部42は、受信した探索結果をテナントマッピング処理部43に渡す。なお、連携先デバイス管理システムを特定するための情報(例えばURLやシステムID)は、上記連携元デバイス管理システム1からのリクエストに含まれていても、他のタイミングで、連携元デバイス管理システム1から連携管理システム3に通知される構成であってもよいし、予め連携管理システム3に設定されていてもよい。   The device management information acquisition request transmission unit 42 transmits the received device ID list to the device management information acquisition request reception unit 71 of the cooperation destination device management system 6 and receives a search result. This search result includes the ID of the customer tenant including at least one device in the device ID list, the ID of the sales company tenant that manages the customer tenant, and the ID of the sales company tenant to which the request issuing user belongs. included. The device management information acquisition request transmission unit 42 passes the received search result to the tenant mapping processing unit 43. Even if information (for example, URL or system ID) for specifying the cooperation destination device management system is included in the request from the cooperation source device management system 1, the cooperation source device management system 1 at another timing. May be notified to the cooperation management system 3, or may be set in the cooperation management system 3 in advance.

テナントマッピング処理部43は、受け取った探索結果を元に、テナントの対応付け処理を行う。対応付けの詳細は後述する。テナントマッピング処理部43は、この対応付けの処理の結果、連携先デバイス管理システム6にテナントを登録する必要がある場合には、テナント作成リクエスト送信部44を介して、連携先デバイス管理システム6にテナント作成リクエストを発行する。また、テナントマッピング処理部43は、同様に、連携先デバイス管理システム6にデバイスを登録する必要がある場合には、デバイス登録リクエスト送信部45を介して、連携先デバイス管理システム6にデバイス登録リクエストを発行する。   The tenant mapping processing unit 43 performs tenant association processing based on the received search result. Details of the association will be described later. When the tenant mapping processing unit 43 needs to register a tenant in the cooperation destination device management system 6 as a result of this association processing, the tenant mapping processing unit 43 sends the tenant mapping processing unit 43 to the cooperation destination device management system 6 via the tenant creation request transmission unit 44. Issue a tenant creation request. Similarly, when it is necessary to register a device in the cooperation destination device management system 6, the tenant mapping processing unit 43 sends a device registration request to the cooperation destination device management system 6 via the device registration request transmission unit 45. Issue.

さらに、テナントマッピング処理部43は、データベースシステム5のテナントマッピング情報管理テーブル51に、連携元デバイス管理システム1のテナントと、連携先デバイス管理システム6のテナント、および該テナントに管理されるデバイスの情報を登録する。テナントマッピング処理部43は、処理が完了した後に、レスポンス送信部47を介して、上記リクエストに対するレスポンスを連携元デバイス管理システム1に送信する。   Furthermore, the tenant mapping processing unit 43 stores the tenant mapping information management table 51 of the database system 5 in the tenant of the cooperation source device management system 1, the tenant of the cooperation destination device management system 6, and the information of devices managed by the tenant. Register. The tenant mapping processing unit 43 transmits a response to the request to the cooperation source device management system 1 via the response transmission unit 47 after the processing is completed.

次に、データベースシステム5の説明を行う。
データベースシステム5は、記憶領域、例えば、Webサーバ4と同一の情報処理装置の間接記憶部203に、テナントマッピング情報管理テーブル51を保持する。表1に、テナントマッピング情報管理テーブル51に保存されている情報の例を示す。なお、表1のNo列は、説明を分かり易くするためのものであり、本来の情報には必要ない。
Next, the database system 5 will be described.
The database system 5 holds the tenant mapping information management table 51 in a storage area, for example, the indirect storage unit 203 of the same information processing apparatus as the Web server 4. Table 1 shows an example of information stored in the tenant mapping information management table 51. Note that the No column in Table 1 is for easy understanding of the explanation and is not necessary for the original information.

Figure 2016118863
Figure 2016118863

表1に示すように、テナントマッピング情報管理テーブル51は、デバイスID(A1)、連携元システムID(A2)、連携元テナントID(A3)、連携先システムID(A4)、連携先テナントID(A5)等の情報を保持管理する。   As shown in Table 1, the tenant mapping information management table 51 includes a device ID (A1), a cooperation source system ID (A2), a cooperation source tenant ID (A3), a cooperation destination system ID (A4), and a cooperation destination tenant ID ( A5) and the like are held and managed.

デバイスID(A1)は、デバイスを一意に識別するためのIDである。例えば、デバイスのシリアルNoなどが、デバイスID(A1)に相当する。
連携元システムID(A2)は、デバイス登録リクエストを発行した連携元デバイス管理システムを一意に識別するIDを表す。連携元テナントID(A3)は、連携元デバイス管理システム1が発行した、テナント作成、及びデバイス登録リクエストに含まれるテナントIDである。
The device ID (A1) is an ID for uniquely identifying a device. For example, the serial number of the device corresponds to the device ID (A1).
The cooperation source system ID (A2) represents an ID that uniquely identifies the cooperation source device management system that has issued the device registration request. The collaboration source tenant ID (A3) is a tenant ID included in the tenant creation and device registration request issued by the collaboration source device management system 1.

また、連携先システムID(A4)は、連携元デバイス管理システム1が連携するシステム(連携先デバイス管理システム)を一意に識別するIDである。さらに、連携先テナントID(A5)は、前述したテナントマッピング処理部43が決定した、連携先デバイス管理システムにおける、連携元テナントID(A3)に対応するテナントIDである。   The cooperation destination system ID (A4) is an ID for uniquely identifying a system (cooperation destination device management system) with which the cooperation source device management system 1 cooperates. Furthermore, the cooperation destination tenant ID (A5) is a tenant ID corresponding to the cooperation source tenant ID (A3) in the cooperation destination device management system determined by the tenant mapping processing unit 43 described above.

例えば、表1のNo1の行は、デバイスIDが「d1」のデバイスは、「システム1」においては「テナントX」に所属し、連携先デバイス管理システムである「システム2」においては「テナントA」に所属することを示す。同様に、表1のNo2の行は、先のデバイスIDが「d1」のデバイスは、「システム3」においては「テナントT」に所属することを示す。これらのことから、連携元システムである「システム1」における「テナントX」と、「システム2」における「テナントA」、および「システム3」における「テナントT」には、対応関係があることがわかる。なお、本実施例においては、5つの項目を、1つのテーブルでまとめて管理しているが、正規化などを行って複数のテーブルにて管理しても構わない。即ち、テナントマッピング情報管理テーブル51では、デバイスごとに、デバイスが登録されている、連携元デバイス管理システムにおける顧客テナントと、連携先デバイス管理システムにおける顧客テナントとの対応付けが管理されている。   For example, in the row of No. 1 in Table 1, the device with the device ID “d1” belongs to “tenant X” in “system 1”, and “tenant A” in “system 2” that is the cooperation destination device management system. To belong to. Similarly, the row No. 2 in Table 1 indicates that the device with the previous device ID “d1” belongs to “tenant T” in “system 3”. For these reasons, there is a correspondence relationship between “tenant X” in “system 1”, which is the cooperation source system, “tenant A” in “system 2”, and “tenant T” in “system 3”. Recognize. In this embodiment, five items are managed together in one table. However, normalization or the like may be performed and managed in a plurality of tables. That is, in the tenant mapping information management table 51, for each device, the association between the customer tenant in the cooperation source device management system and the customer tenant in the cooperation destination device management system, in which the device is registered, is managed.

次に、連携先デバイス管理システム6のWebサーバ7の説明を行う。なお、本実施例では、システム連携に関係のある処理部のみ記載しているが、本来はデバイス管理を行うための処理部が存在する。   Next, the Web server 7 of the cooperation destination device management system 6 will be described. In this embodiment, only processing units related to system cooperation are described, but originally there is a processing unit for performing device management.

デバイス管理情報取得リクエスト受信部71は、デバイス管理情報取得リクエスト送信部42からのリクエストを受信し、デバイス管理情報取得部72に、探索命令を発行する。デバイス管理情報取得部72は、探索命令に応じて、後述するデバイス管理テーブル82から、リクエストに含まれたデバイスを管理するテナントのテナントIDを取得する。   The device management information acquisition request reception unit 71 receives a request from the device management information acquisition request transmission unit 42 and issues a search command to the device management information acquisition unit 72. In response to the search command, the device management information acquisition unit 72 acquires the tenant ID of the tenant that manages the device included in the request from the device management table 82 described later.

テナント作成リクエスト受信部73は、受信したリクエストに従って、テナント作成部74に、テナント作成命令を発行する。テナント作成部74は、リクエストに含まれるテナントを、後述するデータベースシステム8のテナント管理テーブル81に登録する。同様に、デバイス登録リクエスト受信部75は、デバイス登録部76にデバイス登録命令を発行する。デバイス登録部76は、リクエストに含まれるデバイスを、後述するデータベースシステム8のデバイス管理テーブル82に登録する。   The tenant creation request reception unit 73 issues a tenant creation command to the tenant creation unit 74 in accordance with the received request. The tenant creation unit 74 registers the tenant included in the request in the tenant management table 81 of the database system 8 described later. Similarly, the device registration request receiving unit 75 issues a device registration command to the device registration unit 76. The device registration unit 76 registers a device included in the request in a device management table 82 of the database system 8 described later.

最後に、連携先デバイス管理システム6のデータベースシステム8の説明を行う。なお、実施例では、システム連携に関係のあるテーブルのみ記載しているが、本来はデバイス管理を行うための各種テーブルが存在する。
データベースシステム8は、テナント管理テーブル81、デバイス管理テーブル82を保持する。テナント管理テーブル81を表2に、デバイス管理テーブル82を表3に例示する。
Finally, the database system 8 of the cooperation destination device management system 6 will be described. In the embodiment, only tables related to system cooperation are described, but originally there are various tables for device management.
The database system 8 holds a tenant management table 81 and a device management table 82. The tenant management table 81 is exemplified in Table 2, and the device management table 82 is exemplified in Table 3.

Figure 2016118863
Figure 2016118863

表2に例示するように、テナント管理テーブル81は、顧客テナントID(B1)、および管理販社テナントID(B2)の情報を保持管理する。顧客テナントID(B1)には、連携先デバイス管理システム6内で管理される顧客テナントを識別するためのIDが保持される。管理販社テナントID(B2)には、顧客テナントID(B1)を管理する販売会社テナントを一意に識別するIDが保持される。   As illustrated in Table 2, the tenant management table 81 holds and manages information on the customer tenant ID (B1) and the management sales company tenant ID (B2). The customer tenant ID (B1) holds an ID for identifying a customer tenant managed in the cooperation destination device management system 6. The management sales company tenant ID (B2) holds an ID that uniquely identifies the sales company tenant that manages the customer tenant ID (B1).

例えば、表2のNo1の行では、顧客テナント「テナントA」は、「販売会社テナント1」によって管理されていることを意味する。なお、本テーブルには、顧客テナントID(B1)、および管理販社テナントID(B2)以外の項目があっても構わない。   For example, in the No. 1 row of Table 2, it means that the customer tenant “tenant A” is managed by “sales company tenant 1”. The table may include items other than the customer tenant ID (B1) and the management sales company tenant ID (B2).

Figure 2016118863
Figure 2016118863

表3に例示するように、デバイス管理テーブル82は、デバイスID(C1)、および顧客テナントID(C2)の情報を保持管理する。デバイスID(C1)は、連携先デバイス管理システム6内で管理されるデバイスを識別するためのIDが保持される。顧客テナントID(C2)には、デバイスID(C1)のデバイスを管理する顧客テナントを一意に識別するためのIDが保持される。   As illustrated in Table 3, the device management table 82 holds and manages information on the device ID (C1) and the customer tenant ID (C2). The device ID (C1) holds an ID for identifying a device managed in the cooperation destination device management system 6. The customer tenant ID (C2) holds an ID for uniquely identifying the customer tenant that manages the device with the device ID (C1).

例えば、表3のNo1の行では、デバイスIDが「d1」のデバイスは、顧客テナント「テナントA」が管理していることを意味する。なお、本テーブルには、デバイスID(C1)、および顧客テナントID(C2)以外の項目があっても構わない。   For example, in the row of No. 1 in Table 3, it means that the device whose device ID is “d1” is managed by the customer tenant “tenant A”. This table may include items other than the device ID (C1) and the customer tenant ID (C2).

次に、図4、図5を用いて、連携元デバイス管理システム1からのテナント/デバイス登録リクエストの処理について説明する。
図4、図5は、連携元デバイス管理システム1からのテナント/デバイス登録リクエストの処理を例示するフローチャートである。なお、図4、図5及び後述する図6、図8に示す連携元デバイス管理システム1の各処理部は、連携元デバイス管理システム1のWebサーバのCPU201が該Webサーバの間接記憶部203に格納されるプログラムを該Webサーバの直接記憶部202にロードして実行することにより実現される。また、連携管理システム3の各処理部は、Webサーバ4のCPU201がWebサーバ4の間接記憶部203に格納されるプログラムを直接記憶部202にロードして実行することにより実現される。また、連携先デバイス管理システム6の各処理は、連携先デバイス管理システム6のWebサーバ7のCPU201がWebサーバ7の間接記憶部203に格納されるプログラムをWebサーバ7の直接記憶部202にロードして実行することにより実現される。
Next, processing of a tenant / device registration request from the cooperation source device management system 1 will be described with reference to FIGS.
4 and 5 are flowcharts illustrating the processing of the tenant / device registration request from the cooperation source device management system 1. 4 and 5 and FIGS. 6 and 8 to be described later, each processing unit of the collaboration source device management system 1 includes the CPU 201 of the web server of the collaboration source device management system 1 in the indirect storage unit 203 of the web server. This is realized by loading a stored program into the direct storage unit 202 of the Web server and executing it. Each processing unit of the cooperation management system 3 is realized by the CPU 201 of the Web server 4 loading the program stored in the indirect storage unit 203 of the Web server 4 into the direct storage unit 202 and executing it. In addition, each process of the cooperation destination device management system 6 loads a program stored in the indirect storage unit 203 of the Web server 7 into the direct storage unit 202 of the Web server 7 by the CPU 201 of the Web server 7 of the cooperation destination device management system 6. It is realized by executing.

S401では、連携元デバイス管理システム1は、リクエスト受信部41に対して、テナント作成、およびデバイス登録リクエストを送信する。このリクエストには、連携元デバイス管理システム1におけるテナントID(以後、テナントR)、および登録対象のデバイスIDのリスト(以後、デバイスリストR)を含める。なお、連携元デバイス管理システム1の連携先となるデバイス管理システムを特定するための情報は、該リクエストに含まれていても、他のタイミングで、連携元デバイス管理システム1から連携管理システム3に通知される構成であってもよいし、予め連携管理システム3に設定されていてもよい。   In S <b> 401, the cooperation source device management system 1 transmits a tenant creation and device registration request to the request reception unit 41. This request includes a tenant ID (hereinafter, tenant R) in the cooperation source device management system 1 and a list of device IDs to be registered (hereinafter, device list R). Note that the information for specifying the device management system that is the cooperation destination of the cooperation source device management system 1 is included in the request, but the cooperation source device management system 1 changes to the cooperation management system 3 at another timing. The configuration may be notified or may be set in the cooperation management system 3 in advance.

S402では、リクエスト受信部41は、連携元デバイス管理システム1からのリクエストを受信し、その内容を、デバイス管理情報取得リクエスト送信部42に渡す。
次に、S403では、デバイス管理情報取得リクエスト送信部42は、デバイス管理情報取得リクエスト受信部71に、連携元デバイス管理システム1から受信したデバイスリストを含むテナントの有無を問い合わせるリクエストを送信する。
In S <b> 402, the request reception unit 41 receives a request from the cooperation source device management system 1, and passes the contents to the device management information acquisition request transmission unit 42.
In step S <b> 403, the device management information acquisition request transmission unit 42 transmits to the device management information acquisition request reception unit 71 a request for inquiring whether there is a tenant including the device list received from the cooperation source device management system 1.

S404では、デバイス管理情報取得リクエスト受信部71は、このリクエストを受信し、その内容をデバイス管理情報取得部72に渡す。
S405では、デバイス管理情報取得部72は、渡されたデバイスリストの内の少なくとも1つ以上のデバイスを含むテナントを、テナント管理テーブル81、およびデバイス管理テーブル82から検索する。そして、デバイス管理情報取得部72は、検索結果(テナントID、および、そのテナントに含まれるデバイスIDのリスト(そのテナントが所属する販売会社テナントのIDも含んでもよい))を、デバイス管理情報取得リクエスト受信部71に返す。
S406では、デバイス管理情報取得リクエスト受信部71は、デバイス管理情報取得リクエスト送信部42に、探索結果を返す。この探索結果から、デバイス管理情報取得リクエスト送信部42は、デバイスリストに含まれるデバイスが1つ以上所属する顧客テナントの情報と、該顧客テナントに所属するデバイスのリストと、該顧客テナントが所属する販売会社テナントの情報とを取得することができる。
In S <b> 404, the device management information acquisition request receiving unit 71 receives this request and passes the contents to the device management information acquiring unit 72.
In S <b> 405, the device management information acquisition unit 72 searches the tenant management table 81 and the device management table 82 for a tenant including at least one device in the passed device list. Then, the device management information acquisition unit 72 obtains the device management information from the search result (tenant ID and a list of device IDs included in the tenant (may include the ID of the sales company tenant to which the tenant belongs)). Return to the request receiver 71.
In S <b> 406, the device management information acquisition request reception unit 71 returns a search result to the device management information acquisition request transmission unit 42. From this search result, the device management information acquisition request transmission unit 42 includes information on the customer tenant to which one or more devices included in the device list belong, the list of devices belonging to the customer tenant, and the customer tenant to which the device belongs. Sales company tenant information can be acquired.

S407では、テナントマッピング処理部43は、デバイス管理情報取得リクエスト送信部42から渡された探索結果を元に、テナントマッピング処理を行い、結果をレスポンス送信部47に返す。なお、テナントマッピング処理の詳細は、後述する図5で説明する。   In S407, the tenant mapping processing unit 43 performs tenant mapping processing based on the search result passed from the device management information acquisition request transmission unit 42, and returns the result to the response transmission unit 47. Details of the tenant mapping process will be described later with reference to FIG.

S408では、レスポンス送信部47は、テナントマッピング処理の結果を連携元デバイス管理システム1に送信する。
S409では、連携元デバイス管理システム1は、結果を受信する。
In S <b> 408, the response transmission unit 47 transmits the result of the tenant mapping process to the cooperation source device management system 1.
In S409, the cooperation source device management system 1 receives the result.

なお、連携先デバイス管理システム6が複数存在する場合には、連携管理システム3は、連携先デバイス管理システム6ごとに、上記S403〜S407の処理を実行するものとする。   When there are a plurality of cooperation destination device management systems 6, the cooperation management system 3 executes the processes of S 403 to S 407 for each cooperation destination device management system 6.

以下、図5を用いて、S407のテナントマッピング処理を詳細に説明する。
S501では、テナントマッピング処理部43は、デバイスリストR(S402で受信したリクエストに含まれるデバイスリスト)と、連携先デバイス管理システム6から返却された検索結果に含まれる連携先デバイス管理システム6にて管理されるテナント(以後、テナントT)に所属するデバイスIDの集合(以後、デバイスリストT)の積集合を取る。そして、テナントマッピング処理部43は、該積集合に1つの要素(デバイスID)も存在しない(該積集合が空集合(φ))か否かを判定する。
Hereinafter, the tenant mapping process of S407 will be described in detail with reference to FIG.
In S501, the tenant mapping processing unit 43 uses the device list R (device list included in the request received in S402) and the cooperation destination device management system 6 included in the search result returned from the cooperation destination device management system 6. A product set of a set of device IDs (hereinafter referred to as device list T) belonging to a managed tenant (hereinafter referred to as tenant T) is taken. Then, the tenant mapping processing unit 43 determines whether or not one element (device ID) exists in the product set (the product set is an empty set (φ)).

なお、上記積集合に1つの要素も存在しない場合とは、デバイスリストRに含まれる1つのデバイスも、連携先デバイス管理システム6に登録されていない、ということを意味する。逆に、上記積集合に要素が存在する場合とは、デバイスリストRに含まれるデバイスの内、少なくとも1つ以上のデバイスが、連携先デバイス管理システム6に既に登録されていることを意味する。   The case where there is no element in the product set means that no device included in the device list R is registered in the cooperation destination device management system 6. Conversely, the case where an element exists in the product set means that at least one device among the devices included in the device list R is already registered in the cooperation destination device management system 6.

上記S501において、テナントマッピング処理部43が、上記積集合に1つの要素(デバイスID)も存在しない(空集合(φ))と判定した場合(S501でYesの場合)、S502に処理を進める。   If the tenant mapping processing unit 43 determines in S501 that one element (device ID) does not exist in the product set (empty set (φ)) (Yes in S501), the process proceeds to S502.

S502では、テナント作成リクエスト送信部44は、テナント作成リクエスト受信部73に、新規顧客テナントの作成リクエストを発行する。この時、この作成する顧客テナントを管理する販売会社テナントは、連携元デバイス管理システム1にて、デバイス/登録リクエストを発行したアカウントが所属する販売会社テナントとする。なお、該アカウントが所属する販売会社テナントを特定するための情報は、上記S402で受信したリクエストに含まれていても、他のタイミングで、連携元デバイス管理システム1から取得する構成であってもよい。   In S <b> 502, the tenant creation request transmission unit 44 issues a new customer tenant creation request to the tenant creation request reception unit 73. At this time, the sales company tenant that manages the created customer tenant is the sales company tenant to which the account that issued the device / registration request belongs in the cooperation source device management system 1. The information for specifying the sales company tenant to which the account belongs may be included in the request received in S402 or acquired from the cooperation source device management system 1 at another timing. Good.

次に、S503では、デバイス登録リクエスト送信部45は、デバイス登録リクエスト受信部75に、S402で作成したテナントの所属するデバイスとして、デバイスリストRに含まれるデバイスの登録リクエストを発行する。
次に、S504では、テナントマッピング処理部43は、テナントマッピング情報管理テーブル51に、デバイスリストRの全デバイスの情報と、テナントR、および上記S502で作成したテナントIDの情報を記録し、本フローチャートの処理を終了する。
Next, in S503, the device registration request transmission unit 45 issues a registration request for a device included in the device list R to the device registration request reception unit 75 as a device to which the tenant created in S402 belongs.
Next, in S504, the tenant mapping processing unit 43 records the information of all devices in the device list R, the tenant R, and the tenant ID information created in S502 in the tenant mapping information management table 51, and this flowchart. Terminate the process.

また、上記S501において、テナントマッピング処理部43が、上記積集合内に1つ以上の要素が存在する(空集合(φ)でない)と判定した場合(S501でNoの場合)、S505に遷移する。   In S501, when the tenant mapping processing unit 43 determines that one or more elements exist in the product set (not an empty set (φ)) (No in S501), the process proceeds to S505. .

S505では、テナントマッピング処理部43は、デバイスリストRとデバイスリストTの積集合がデバイスリストRと等しいか否かを判定する。
そして、テナントマッピング処理部43が、デバイスリストRとデバイスリストTの積集合がデバイスリストRと等しいと判定した場合(S505でYesの場合)、S506に遷移する。
In S <b> 505, the tenant mapping processing unit 43 determines whether the product set of the device list R and the device list T is equal to the device list R.
If the tenant mapping processing unit 43 determines that the product set of the device list R and the device list T is equal to the device list R (Yes in S505), the process proceeds to S506.

S506では、テナントマッピング処理部43は、テナントマッピング情報管理テーブル51に、デバイスリストRの全デバイスの情報と、テナントR、およびテナントTの情報を紐付け、記録し、本フローチャートの処理を終了する。   In S506, the tenant mapping processing unit 43 associates and records information on all devices in the device list R, information on the tenant R, and tenant T in the tenant mapping information management table 51, and ends the processing of this flowchart. .

一方、上記S505において、テナントマッピング処理部43が、デバイスリストRとデバイスリストTの積集合がデバイスリストRと等しくないと判定した場合(S505でNoの場合)、S507に遷移する。即ち、デバイスリストRとデバイスリストTが部分的に一致する場合、S507に遷移する。   On the other hand, when the tenant mapping processing unit 43 determines in S505 that the product set of the device list R and the device list T is not equal to the device list R (No in S505), the process proceeds to S507. That is, when the device list R and the device list T partially match, the process proceeds to S507.

S507では、テナントマッピング処理部43は、テナント/デバイス登録リクエストを発行したアカウントが所属する販売会社テナントが、テナントTの管理販売会社テナントか否かを判断する。即ち、このステップでは、該リクエストに対応するアカウントに関連する販売会社テナントと、テナントTが所属する販売会社テナントが一致するか否かを判定する。   In S507, the tenant mapping processing unit 43 determines whether or not the sales company tenant to which the account that issued the tenant / device registration request belongs is the management sales company tenant of the tenant T. That is, in this step, it is determined whether the sales company tenant related to the account corresponding to the request matches the sales company tenant to which the tenant T belongs.

なお、テナント/デバイス登録リクエストを発行したアカウントの情報は、例えば、該リクエストの発行前に連携元デバイス管理システム1から連携管理システム3にログインした際に取得するものとする。また、該アカウントが所属する販売会社テナントの情報は、連携管理システム3が該アカウントから取得可能なものとする。さらに、テナントTの管理販売会社テナントの情報は、図4の406で返却される探索結果に含まれていてもよいし、連携管理システム3が該テナントTのIDから別途取得するようにしてもよい。   Note that the information of the account that issued the tenant / device registration request is acquired, for example, when the cooperation source device management system 1 logs into the cooperation management system 3 before the request is issued. Further, it is assumed that the information on the sales company tenant to which the account belongs can be acquired from the account by the cooperation management system 3. Furthermore, the management sales company tenant information of the tenant T may be included in the search result returned in 406 of FIG. 4, or the cooperation management system 3 may acquire it separately from the ID of the tenant T. Good.

そして、テナントマッピング処理部43が、テナントTの管理販売会社テナントでないと判定した場合(S507でNoの場合)、S508に遷移する。   When the tenant mapping processing unit 43 determines that the tenant T is not a management sales company tenant of the tenant T (No in S507), the process proceeds to S508.

S508では、テナント作成リクエスト送信部44は、テナント作成リクエスト受信部73に、新規顧客テナントの作成リクエストを発行する。この時、この作成する顧客テナントを管理する販売会社テナントは、連携元デバイス管理システム1にて、デバイス/登録リクエストを発行したアカウントが所属する販売会社テナントとする。   In step S <b> 508, the tenant creation request transmission unit 44 issues a new customer tenant creation request to the tenant creation request reception unit 73. At this time, the sales company tenant that manages the created customer tenant is the sales company tenant to which the account that issued the device / registration request belongs in the cooperation source device management system 1.

次に、S509では、デバイス登録リクエスト送信部45は、デバイス登録リクエスト受信部75に、上記S508にて作成したテナントに、(デバイスリストR−(デバイスリストR∩デバイスリストT))の要素であるデバイスの登録リクエストを発行する。   Next, in S509, the device registration request transmission unit 45 is an element of (device list R- (device list R∩device list T)) in the device registration request reception unit 75 to the tenant created in S508. Issue a device registration request.

次に、S510では、テナントマッピング処理部43は、テナントマッピング情報管理テーブル51に、テナントR、上記S508にて作成したテナントIDの情報、および(デバイスリストR−(デバイスリストR∩デバイスリストT))の情報を記録する。
さらに、S511では、テナントマッピング処理部43は、テナントマッピング情報管理テーブル51に、テナントR、テナントT、および(デバイスリストR∩デバイスリストT)の情報を紐付け、記録し、本フローチャートの処理を終了する。
Next, in S510, the tenant mapping processing unit 43 adds tenant R, the tenant ID information created in S508, and (device list R- (device list R∩device list T)) in the tenant mapping information management table 51. ) Information.
Further, in S511, the tenant mapping processing unit 43 associates and records information of the tenant R, tenant T, and (device list R∩device list T) in the tenant mapping information management table 51, and performs the processing of this flowchart. finish.

一方、上記S507において、テナントマッピング処理部43が、テナント/デバイス登録リクエストを発行したアカウントが所属する販売会社テナントがテナントTの管理販売会社テナントであると判定した場合(S507でYesの場合)、S509に遷移する。   On the other hand, when the tenant mapping processing unit 43 determines in S507 that the sales company tenant to which the account that issued the tenant / device registration request belongs is the management sales company tenant of the tenant T (Yes in S507), The process proceeds to S509.

S512では、デバイス登録リクエスト送信部45は、デバイス登録リクエスト受信部75に、テナントTに、(デバイスリストR−(デバイスリストR∩デバイスリストT))の要素であるデバイスの追加登録リクエストを発行する。
次に、S513では、テナントマッピング処理部43は、テナントマッピング情報管理テーブル51に、デバイスリストRの全てのデバイスの情報と、テナントR、およびテナントTの情報を紐付け、記録し、本フローチャートの処理を終了する。
In S512, the device registration request transmission unit 45 issues an additional registration request for a device that is an element of (device list R− (device list R∩device list T)) to the tenant T to the device registration request reception unit 75. .
Next, in S513, the tenant mapping processing unit 43 associates and records information on all devices in the device list R, information on the tenant R, and tenant T in the tenant mapping information management table 51. The process ends.

なお、上記S504、S506、S510、S511、又はS513では、デバイスリストRに含まれるデバイスごとに、デバイスが登録されている、連携元デバイス管理システム1における顧客テナントと、連携先デバイス管理システム6における顧客テナントとの対応付けが行われる。この対応付けに基づいて、連携管理システム3では、連携元デバイス管理システム1と連携先デバイス管理システム6とを連携させることができる。   In S504, S506, S510, S511, or S513, for each device included in the device list R, a device is registered, and the customer tenant in the cooperation source device management system 1 and the cooperation destination device management system 6 Correlation with the customer tenant is performed. Based on this association, the cooperation management system 3 can link the cooperation source device management system 1 and the cooperation destination device management system 6 with each other.

以上、説明したように、実施例1のデバイス管理システム連携管理システムによれば、デバイス管理システム連携開始時の、テナント/デバイス登録処理において、適切なシステム利用料の請求がなされるように、連携先のデバイス管理システムに対して、テナントの対応付け/デバイスの登録処理を行うことが可能となる。よって、テナントの階層を考慮したテナントマッピングを行うことができる。   As described above, according to the device management system cooperation management system of the first embodiment, cooperation is performed so that an appropriate system usage fee is charged in the tenant / device registration process at the start of device management system cooperation. Tenant association / device registration processing can be performed for the previous device management system. Therefore, tenant mapping can be performed in consideration of the tenant hierarchy.

以下、実施例2では、実施例1と異なる点についてのみ説明する。
例えば、連携システム内において、何らかのオペレーションミスによって、1つのデバイスが、2つの顧客テナントに所属した場合を考える。例えば、デバイス「d1」が、連携先デバイス管理システム6における「テナントT1」および「テナントT2」の双方に所属する場合を指す。この場合、実施例1のシステムによって、テナントの対応付け/デバイス登録を行うと、テナントマッピング情報管理テーブルには、1つのデバイスが、複数の顧客テナント(テナントT1、テナントT2)に所属するようなデータが登録される。このような状態となると、デバイス「d1」に関するデータを操作したい場合に、「テナントT1」、「テナントT2」のどちらのテナントに対して処理を行うべきかが判断できなくなるという問題が発生する可能性がある。
Hereinafter, only differences from the first embodiment will be described in the second embodiment.
For example, consider a case where one device belongs to two customer tenants due to some operation error in the cooperation system. For example, the case where the device “d1” belongs to both “tenant T1” and “tenant T2” in the cooperation destination device management system 6 is indicated. In this case, when tenant association / device registration is performed by the system of the first embodiment, one device belongs to a plurality of customer tenants (tenant T1, tenant T2) in the tenant mapping information management table. Data is registered. In such a state, when data related to the device “d1” is to be operated, it may be impossible to determine which of the tenant “tenant T1” and “tenant T2” should be processed. There is sex.

そこで、本実施例においては、1つのデバイスが、複数のテナントに登録されている場合に、デバイス管理システムへ登録時間を元に、該デバイスがどちらのテナントに所属するのが正しいかを判断し、適切なテナントの対応付け/デバイスの登録を行うことを目的とする。   Therefore, in this embodiment, when one device is registered in a plurality of tenants, it is determined to which tenant the device belongs to based on the registration time in the device management system. The purpose is to perform appropriate tenant association / device registration.

まず、実施例2のデバイス管理テーブル82の構成、及び、デバイス管理テーブル82に保持されるデータ例について表4を用いて説明する。   First, the configuration of the device management table 82 according to the second embodiment and an example of data held in the device management table 82 will be described with reference to Table 4.

Figure 2016118863
Figure 2016118863

表4に示すように、実施例2のデバイス管理テーブル82は、実施例1のデバイス管理テーブル82(表3に例示)に対して、新たに「最終更新日時(D1)」項目が追加された構成である。この「最終更新日時(D1)」項目は、連携先デバイス管理システム6において、あるデバイスが登録/更新されたタイミング(例えば日時)を表す項目である。   As shown in Table 4, the device management table 82 of the second embodiment has a new “last update date (D1)” item added to the device management table 82 of the first embodiment (illustrated in Table 3). It is a configuration. This “last update date (D1)” item is an item representing the timing (for example, date) when a certain device is registered / updated in the cooperation destination device management system 6.

例えば、No1の行に関しては、デバイス「d1」は、「テナントT1」に所属することを表し、このデータは、「2013/01/01」に登録(もしくは更新)されたことを表す。一方、No2の行に関しては、デバイス「d1」は、「テナントT2」に所属することを表し、このデータは、「2014/01/01」に登録(もしくは更新)されたことを表す。   For example, regarding the No1 row, the device “d1” represents that it belongs to “tenant T1”, and this data is registered (or updated) in “2013/01/01”. On the other hand, regarding the row No. 2, the device “d1” indicates that it belongs to “tenant T2”, and this data indicates that it is registered (or updated) in “2014/01/01”.

デバイス管理情報取得リクエスト送信部42では、デバイス管理情報取得リクエスト受信部71を介して、最終更新日時(D1)を含むデータを取得し、テナントマッピング処理部43に渡す。さらに、テナントマッピング処理部43では、渡されたデータの内、同じデバイスIDが異なる顧客テナントに含まれているかどうかを判断し、含まれている場合には、最終更新日時(D1)が古い方のデータを、渡されたデータから削除する。   The device management information acquisition request transmission unit 42 acquires data including the last update date / time (D1) via the device management information acquisition request reception unit 71 and passes the data to the tenant mapping processing unit 43. Further, the tenant mapping processing unit 43 determines whether or not the same device ID is included in different customer tenants in the passed data, and if it is included, the one with the oldest last updated date (D1) Delete the data from the passed data.

以下、図6を用いて、実施例2におけるテナントマッピング処理部43の処理について説明する。
図6は、実施例2のテナントマッピング処理を例示するフローチャートである。なお、図6は、図5に示した処理に、S601およびS602が追加されたものであり、図5と同一のステップには同一のステップ番号を付してある。
Hereinafter, the processing of the tenant mapping processing unit 43 in the second embodiment will be described with reference to FIG.
FIG. 6 is a flowchart illustrating the tenant mapping process according to the second embodiment. 6 is obtained by adding S601 and S602 to the process shown in FIG. 5, and the same steps as those in FIG. 5 are given the same step numbers.

まず、S601では、テナントマッピング処理部43は、デバイス管理情報取得リクエスト送信部42から渡された探索結果の中に、複数の顧客テナントに所属するデバイスIDが含まれているか否かを判定する。そして、テナントマッピング処理部43が、探索結果の中に複数の顧客テナントに所属するデバイスIDが含まれていると判定した場合(S601でYesの場合)、S602に遷移する。一方、テナントマッピング処理部43が、探索結果の中に複数の顧客テナントに所属するデバイスIDが含まれていないと判定した場合(S601でNoの場合)、S501に遷移する。   First, in S <b> 601, the tenant mapping processing unit 43 determines whether or not the search results passed from the device management information acquisition request transmission unit 42 include device IDs belonging to a plurality of customer tenants. If the tenant mapping processing unit 43 determines that the search result includes device IDs belonging to a plurality of customer tenants (Yes in S601), the process proceeds to S602. On the other hand, when the tenant mapping processing unit 43 determines that the device IDs belonging to a plurality of customer tenants are not included in the search result (No in S601), the process proceeds to S501.

S602では、テナントマッピング処理部43は、上記S601で複数の顧客テナントに所属すると判定されたデバイスIDに対応するデータの最終更新日時(表4におけるD1)を比較し、最終更新日時がより古い方のデータを削除する。例えば、表4の場合、複数の顧客テナントに所属すると判定されたデバイスID「d1」のデータであるNo1の行とNo2の行が比較され、最終更新日時がより古いNo1の行が削除される。このNo1のデータが削除されたデバイスIDの集合が、移行の処理で利用されるデバイスリストTとなる。上記S602の処理が完了すると、S501に遷移する。なお、S501以降の処理は、図5で説明したため省略する。   In S602, the tenant mapping processor 43 compares the last update date and time (D1 in Table 4) of the data corresponding to the device ID determined to belong to a plurality of customer tenants in S601, and the one with the older last update date and time Delete the data. For example, in the case of Table 4, the No1 row and No2 row, which are data of the device ID “d1” determined to belong to a plurality of customer tenants, are compared, and the No1 row with the oldest update date and time is deleted. . A set of device IDs from which the data No. 1 has been deleted becomes a device list T used in the migration process. When the process of S602 is completed, the process proceeds to S501. Note that the processing after S501 has been described with reference to FIG.

以上説明したように、実施例2によれば、連携システム内において1つのデバイスが複数の顧客テナントに所属している登録が存在する場合であっても、登録/更新日時がより新しい方のデータを用いたテナントの対応付け/デバイスの登録が可能となり、適切なテナントの対応付け/デバイスの登録が可能となる。   As described above, according to the second embodiment, even when there is a registration in which one device belongs to a plurality of customer tenants in the cooperation system, data with a newer registration / update date and time. Tenant association / device registration using can be performed, and appropriate tenant association / device registration becomes possible.

以下、実施例3では、実施例1と異なる点についてのみ説明する。
実施例1においては、連携先デバイス管理システム6に、デバイスリストRに含まれるデバイスが存在しない場合には、連携先デバイス管理システム6に新たなテナントが作成される。また、そのテナントに、デバイスリストRに存在し、連携先デバイス管理システム6に存在しないデバイスが登録される。この時、新たに作成されるテナントは、テナント/デバイス登録リクエストを発行したアカウントが所属する販売会社テナントに管理される顧客テナントとして、自動的に作成される。
Hereinafter, only differences from the first embodiment will be described in the third embodiment.
In the first embodiment, when a device included in the device list R does not exist in the cooperation destination device management system 6, a new tenant is created in the cooperation destination device management system 6. In addition, a device that exists in the device list R and does not exist in the cooperation destination device management system 6 is registered in the tenant. At this time, the newly created tenant is automatically created as a customer tenant managed by the sales company tenant to which the account that issued the tenant / device registration request belongs.

しかし、あるデバイスの管理作業や、そのデバイスの管理費の請求先を、別の販売会社テナントに変更したい場合が存在する。これを実現するためには、変更したいデバイスを、別の顧客テナントに移動する必要がある。そこで、本実施例では、実施例1によって自動的に作成された顧客テナントに登録されたデバイスを、別の顧客テナントに移動させることを目的とする。   However, there is a case where it is desired to change the management work of a certain device or the billing destination of the management fee of the device to another sales company tenant. In order to achieve this, it is necessary to move the device to be changed to another customer tenant. Therefore, this embodiment aims to move the device registered in the customer tenant automatically created in the first embodiment to another customer tenant.

本実施例を実現するにあたって、Webサーバ4、およびWebサーバ7に新たな処理部を設ける。
以下、図9を用いて、実施例1の構成から、新規に追加された部分、および変更された部分に関して説明する。
In realizing this embodiment, a new processing unit is provided in the Web server 4 and the Web server 7.
Hereinafter, a newly added part and a changed part from the configuration of the first embodiment will be described with reference to FIG.

図9は、実施例3のシステムの機能構成を例示するブロック図である。なお、図3と同一のものには同一の符号を付してある。また、図9に示すWebサーバ4の各処理部は、Webサーバ4のCPU201が間接記憶部203に格納されるプログラムを直接記憶部202にロードして実行することにより実現される。また、図9に示すWebサーバ7の各処理部は、Webサーバ7のCPU201が間接記憶部203に格納されるプログラムを直接記憶部202にロードして実行することにより実現される。   FIG. 9 is a block diagram illustrating a functional configuration of a system according to the third embodiment. In addition, the same code | symbol is attached | subjected to the same thing as FIG. Each processing unit of the Web server 4 illustrated in FIG. 9 is realized by the CPU 201 of the Web server 4 loading a program stored in the indirect storage unit 203 to the direct storage unit 202 and executing the program. Each processing unit of the Web server 7 illustrated in FIG. 9 is realized by the CPU 201 of the Web server 7 loading a program stored in the indirect storage unit 203 to the direct storage unit 202 and executing the program.

まず、図9に示す実施例3のWebサーバ4は、図3に示した実施例1のWebサーバ4の構成に、テナント移動管理画面処理部48、およびデバイス移動リクエスト送信部49、デバイス移動管理処理部50をさらに有する。   First, the Web server 4 according to the third embodiment illustrated in FIG. 9 includes a tenant movement management screen processing unit 48, a device movement request transmission unit 49, a device movement management, in addition to the configuration of the Web server 4 according to the first embodiment illustrated in FIG. A processing unit 50 is further included.

テナント移動管理画面処理部48は、連携元デバイス管理システム1からの、ある顧客テナントの管理販売会社テナント変更のリクエストを受付け、変更を実現するためのUIを表示するためのレスポンスを、連携元デバイス管理システム1に返す。テナント移動管理画面処理部48によって返され、連携元デバイス管理システム1で表示されるUI(ユーザインタフェース)例は、図7にて後述する。   The tenant movement management screen processing unit 48 receives a request to change the tenant management sales company tenant of a certain customer tenant from the cooperation source device management system 1 and sends a response for displaying a UI for realizing the change to the cooperation source device. Return to the management system 1. An example of a UI (user interface) returned by the tenant movement management screen processing unit 48 and displayed on the cooperation source device management system 1 will be described later with reference to FIG.

デバイス移動リクエスト送信部49は、連携先デバイス管理システム6のデバイス移動リクエスト受信部77に、デバイスの移動リクエストを発行する。デバイス移動管理処理部50は、デバイスの移動がなされた際に、テナントマッピング情報管理テーブル51の情報を更新する。   The device movement request transmission unit 49 issues a device movement request to the device movement request reception unit 77 of the cooperation destination device management system 6. The device movement management processing unit 50 updates the information in the tenant mapping information management table 51 when a device is moved.

デバイス移動リクエスト受信部77は、デバイス移動リクエスト送信部49からのリクエストを受付け、デバイス移動部78に、処理を発行する。デバイス移動部78は、発行された処理内容に従って、デバイス管理テーブル82のデータを更新する。   The device movement request reception unit 77 receives a request from the device movement request transmission unit 49 and issues a process to the device movement unit 78. The device moving unit 78 updates the data in the device management table 82 according to the issued processing content.

図7は、実施例3のテナント移動管理画面を例示する図である。
連携元デバイス管理システム1からテナント移動管理画面処理部48にアクセスすると、図7(a)に示すような、画面を表示するためのレスポンスが、テナント移動管理画面処理部48から連携元デバイス管理システム1に返却される。この画面には、アクセスしたアカウントが所属する販売会社テナントが管理している顧客テナント(701)、その顧客テナントに行える操作リンク(702)、および該顧客テナントを抱える連携システムのシステムID(703)の情報が表示される。
FIG. 7 is a diagram illustrating a tenant movement management screen according to the third embodiment.
When the tenant movement management screen processing unit 48 is accessed from the cooperation source device management system 1, a response for displaying a screen as shown in FIG. 7A is received from the tenant movement management screen processing unit 48. Returned to 1. On this screen, the customer tenant (701) managed by the sales company tenant to which the accessed account belongs, the operation link (702) that can be made to the customer tenant, and the system ID (703) of the cooperation system that holds the customer tenant Information is displayed.

図7(a)の711の場合、連携システム「システム2」に、顧客テナント「T1」というテナントが存在し、その顧客テナントに対して、「管理デバイス移動」という操作を行うことが可能ということを表す。この「管理デバイス移動」は、ある顧客テナントに存在するデバイスを、別の顧客テナントに移動させる処理を意味する。この「管理デバイス移動」の表示は、リンクになっており、その「管理デバイス移動」の表示をクリック等すると、その旨が、Webサーバ4に送信され、図7(b)に示すような画面を表示するためのレスポンスが連携元デバイス管理システム1に返却される。   In the case of 711 in FIG. 7A, the tenant named “T1” exists in the cooperation system “System 2”, and the operation “Move Management Device” can be performed on the customer tenant. Represents. This “management device movement” means a process of moving a device existing in one customer tenant to another customer tenant. The display of “Move Management Device” is a link. When the display of “Move Management Device” is clicked, the fact is transmitted to the Web server 4 and a screen as shown in FIG. Is returned to the cooperation source device management system 1.

図7(b)では、選択した顧客テナントに所属するデバイスIDのリスト(721)、デバイスの移動先の顧客テナントIDを選択するためのUI(例:ドロップダウンリスト)(722)、および移動を決定するUI(例:確定ボタン)(723)が表示される。   In FIG. 7B, a list (721) of device IDs belonging to the selected customer tenant, a UI (eg, drop-down list) (722) for selecting a customer tenant ID to which the device is moved, A UI to be determined (example: confirm button) (723) is displayed.

図7(b)に例示するUIを用いて、ドロップダウンリスト(722)から移動先の顧客テナントIDを選択して、確定ボタン(723)を押下すると、その旨がテナント移動管理画面処理部48に通知され、テナント移動管理画面処理部48から、選択された顧客テナントの管理販売会社テナントに通知がなされる。この通知は、例えばメールなどで行われても構わない。この通知を受け取った販売会社テナントに所属するユーザは、Webブラウザ等から、テナント移動管理画面処理部48にアクセスする。すると、図7(c)に示されるようなUIを表示するためのレスポンスが、テナント移動管理画面処理部48から該Webブラウザに返却される。   Using the UI exemplified in FIG. 7B, when the destination customer tenant ID is selected from the drop-down list (722) and the confirm button (723) is pressed, that fact is indicated by the tenant movement management screen processing unit 48. The tenant migration management screen processing unit 48 notifies the management sales company tenant of the selected customer tenant. This notification may be performed by e-mail, for example. The user belonging to the sales company tenant who has received this notification accesses the tenant movement management screen processing unit 48 from a Web browser or the like. Then, a response for displaying the UI as shown in FIG. 7C is returned from the tenant movement management screen processing unit 48 to the Web browser.

図7(c)に示される画面は、次の4項目から構成される。該4項目は、移動対象のデバイスID(731)、該デバイスが登録されている連携先デバイス管理システム6のシステムID(732)、移動先顧客テナントID(733)、および移動を承諾するか否かを決定するためのUI(例:承諾ボタン、拒否ボタン)(734)である。   The screen shown in FIG. 7C is composed of the following four items. The four items are the device ID (731) to be moved, the system ID (732) of the cooperation destination device management system 6 in which the device is registered, the destination customer tenant ID (733), and whether to accept the move. This is a UI (eg, accept button, reject button) (734) for determining whether or not.

この図7(c)に例示する画面において、承諾ボタンを押下すると、該デバイスの移動が認められたことになり、その旨がデバイス移動リクエスト送信部49に通知され、デバイス移動リクエスト送信部49より、連携先デバイス管理システム6に対し、デバイスの移動リクエストが発行される。デバイスの移動が完了した後、デバイス移動管理処理部50は、テナントマッピング情報管理テーブル51の情報を、更新する。   In the screen illustrated in FIG. 7C, when the consent button is pressed, the movement of the device is recognized, and the device movement request transmission unit 49 is notified to that effect. A device movement request is issued to the cooperation destination device management system 6. After the device movement is completed, the device movement management processing unit 50 updates the information in the tenant mapping information management table 51.

以下、図8を用いて、デバイスの移動処理に関する処理フローを説明する。
図8は、デバイスの移動処理に関する処理を例示するフローチャートである。
Hereinafter, a processing flow related to device movement processing will be described with reference to FIG.
FIG. 8 is a flowchart illustrating processing related to device movement processing.

まず、S801では、テナント移動管理画面処理部48は、図7(a)に示したようなUIを用いて、デバイスの移動元となる顧客テナントの選択と、操作の指示を受け付ける。そして、テナント移動管理画面処理部48が、該UIを介して、デバイスの移動元となる顧客テナントの選択結果と、操作の指示を受け取ると、S802に遷移する。   First, in S801, the tenant movement management screen processing unit 48 accepts selection of a customer tenant to be a device movement source and an operation instruction using the UI as illustrated in FIG. When the tenant movement management screen processing unit 48 receives the selection result of the customer tenant that is the device movement source and the operation instruction via the UI, the process proceeds to S802.

S802では、テナント移動管理画面処理部48は、図7(b)に示したようなUIを用いて、デバイスの移動先となる顧客テナントの選択と、確定ボタンの押下を受け付ける。そして、テナント移動管理画面処理部48が、該UIを介して、デバイスの移動先となる顧客テナントの選択結果と、確定ボタンが押下されたことを受け取ると、S803に遷移する。   In S <b> 802, the tenant movement management screen processing unit 48 accepts selection of a customer tenant as a device movement destination and pressing of a confirmation button using the UI as illustrated in FIG. 7B. When the tenant movement management screen processing unit 48 receives, via the UI, the selection result of the customer tenant to which the device is to be moved and the confirmation button being pressed, the process proceeds to S803.

S803では、テナント移動管理画面処理部48は、移動先の顧客テナントの管理販売会社テナントの通知先(例えば、通知先として連携管理システム3に登録されているユーザのメールアドレス)に、移動の指示があったことを通知する。
S804では、テナント移動管理画面処理部48は、移動先の顧客テナントの管理販売会社テナントのユーザからのアクセスを受け付け、図7(c)に示したようなUIを用いて、デバイス移動に関して承諾(許可)するか否かの選択を受け付ける。そして、テナント移動管理画面処理部48が、承諾の選択を受け付けたと判定した場合(S804でYesの場合)、S805に遷移する。一方、テナント移動管理画面処理部48が、拒否の選択を受け付けたと判定した場合(S804でNoの場合)、本フローチャートの処理を終了する。
In step S803, the tenant movement management screen processing unit 48 sends a movement instruction to the notification destination of the management sales company tenant of the movement destination customer tenant (for example, the user's email address registered in the cooperation management system 3 as the notification destination). Notify that there was.
In S804, the tenant movement management screen processing unit 48 accepts access from the user of the management sales company tenant of the destination customer tenant, and uses the UI as shown in FIG. Accept selection of whether or not to allow. When the tenant movement management screen processing unit 48 determines that the selection of consent has been accepted (Yes in S804), the process proceeds to S805. On the other hand, when the tenant movement management screen processing unit 48 determines that the rejection selection has been received (No in S804), the processing of this flowchart ends.

S805では、デバイス移動リクエスト送信部49は、連携先デバイス管理システム6に対して、デバイスが所属する顧客テナントを、変更するためのリクエストを発行する。
次に、S806では、デバイス移動管理処理部50は、移動させたデバイスの顧客テナントを、適切な顧客テナントに変更する。具体的には、移動させたデバイスに対応する表1の連携先テナントID(A5)を、移動先の顧客テナントIDに変更し、本フローチャートの処理を終了する。
In step S <b> 805, the device movement request transmission unit 49 issues a request for changing the customer tenant to which the device belongs to the cooperation destination device management system 6.
Next, in S806, the device movement management processing unit 50 changes the customer tenant of the moved device to an appropriate customer tenant. Specifically, the cooperation destination tenant ID (A5) in Table 1 corresponding to the moved device is changed to the customer tenant ID of the movement destination, and the processing of this flowchart ends.

以上説明したように、実施例3によれば、デバイスを別の顧客テナントに移動させることが可能となり、デバイスやテナントの柔軟な管理が可能となる。   As described above, according to the third embodiment, the device can be moved to another customer tenant, and the device and the tenant can be managed flexibly.

以上示したように、本発明によれば、顧客テナント作成およびデバイス登録のリクエストを発行したアカウントが所属する販売会社テナントと、対応付けられる顧客テナントとの関係を鑑みて、デバイスを登録する顧客テナントを新たに作成するか否かを判断することにより、複数のデバイス管理システムを連携の開始時において、連携元デバイス管理システムからのリクエストを受けて、連携先デバイス管理システムに、顧客テナントの作成、およびデバイの登録を行う際に、適切な販売会社に対して、デバイス管理システムの利用料の請求がなされるような顧客テナント作成、及びデバイス登録処理、およびテナンIDの対応付けを行うことが可能となる。よって、テナントの階層を考慮したテナントマッピングを行うことができる。この結果、適切な販売会社へシステム利用料等の請求がなされるような連携システムを構築することができる。   As described above, according to the present invention, in consideration of the relationship between the sales company tenant to which the account that issued the request for customer tenant creation and device registration belongs and the associated customer tenant, the customer tenant that registers the device By creating a customer tenant in the cooperation destination device management system in response to a request from the cooperation source device management system at the start of cooperation of multiple device management systems. When registering devices and devices, it is possible to create a customer tenant that charges for the usage fee of the device management system to the appropriate sales company, device registration processing, and tenant ID association It becomes. Therefore, tenant mapping can be performed in consideration of the tenant hierarchy. As a result, it is possible to construct a linkage system in which an appropriate sales company is charged for a system usage fee or the like.

なお、本発明の「デバイス」は、例えば、MFPやSFPなどの画像形成装置であっても、その他の電子機器、例えば家電等であってもよい。   Note that the “device” of the present invention may be, for example, an image forming apparatus such as an MFP or SFP, or may be another electronic device such as a home appliance.

なお、上述した各種データの構成及びその内容はこれに限定されるものではなく、用途や目的に応じて、様々な構成や内容で構成されることは言うまでもない。
以上、一実施形態について示したが、本発明は、例えば、システム、装置、方法、プログラムもしくは記憶媒体等としての実施態様をとることが可能である。具体的には、複数の機器から構成されるシステムに適用しても良いし、また、一つの機器からなる装置に適用しても良い。
また、上記各実施例を組み合わせた構成も全て本発明に含まれるものである。
It should be noted that the configuration and contents of the various data described above are not limited to this, and it goes without saying that the various data and configurations are configured according to the application and purpose.
Although one embodiment has been described above, the present invention can take an embodiment as, for example, a system, apparatus, method, program, or storage medium. Specifically, the present invention may be applied to a system composed of a plurality of devices, or may be applied to an apparatus composed of a single device.
Moreover, all the structures which combined said each Example are also contained in this invention.

(その他の実施例)
本発明は、上述の実施例の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
また、本発明は、複数の機器から構成されるシステムに適用しても、1つの機器からなる装置に適用してもよい。
本発明は上記実施例に限定されるものではなく、本発明の趣旨に基づき種々の変形(各実施例の有機的な組合せを含む)が可能であり、それらを本発明の範囲から除外するものではない。即ち、上述した各実施例及びその変形例を組み合わせた構成も全て本発明に含まれるものである。
(Other examples)
The present invention supplies a program that realizes one or more functions of the above-described embodiments to a system or apparatus via a network or a storage medium, and one or more processors in a computer of the system or apparatus read and execute the program This process can be realized. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.
Further, the present invention may be applied to a system composed of a plurality of devices or an apparatus composed of a single device.
The present invention is not limited to the above embodiments, and various modifications (including organic combinations of the embodiments) are possible based on the spirit of the present invention, and these are excluded from the scope of the present invention. is not. That is, the present invention includes all the combinations of the above-described embodiments and modifications thereof.

1 連携元デバイス管理システム
2 ネットワーク
3 連携管理システム
6 連携先デバイス管理システム
1 Cooperation source device management system 2 Network 3 Cooperation management system 6 Cooperation destination device management system

Claims (10)

デバイス、デバイスが所属する下層グループ、及び、下層グループが所属する上層グループを管理する複数の管理システムを連携する連携システムであって、
第1の管理システムから、該第1の管理システムが管理する第1の下層グループの情報と、該第1の下層グループに所属するデバイスのリストである第1のリストとを含むリクエストを受信する受信手段と、
前記第1の管理システムが連携する第2の管理システムから、該第2の管理システムが管理する、前記第1のリストに含まれるデバイスが1つ以上所属する第2の下層グループの情報と、該第2の下層グループに所属するデバイスのリストである第2のリストとを取得する取得手段と、
前記第1のリストと前記第2のリストが部分的に一致する場合、前記リクエストに対応するアカウントに関連する第1の上層グループと、前記第2の下層グループが所属する第2の上層グループが一致するか否かを判定する判定手段と、
前記判定手段の判定の結果に基づいて、前記第1のリストに含まれ且つ前記第2のリストに含まれていないデバイスを前記第2の管理システムの新たな下層グループ又は前記第2の下層グループに登録する登録手段と、
前記第1のリストに含まれるデバイスごとに、デバイスが登録されている、前記第1の管理システムにおける下層グループと、前記第2の管理システムにおける下層グループとを対応付ける対応付け手段と、
を有することを特徴とする連携システム。
It is a linkage system that links multiple management systems that manage devices, lower layer groups to which devices belong, and upper layer groups to which lower layer groups belong,
A request including information on a first lower layer group managed by the first management system and a first list which is a list of devices belonging to the first lower layer group is received from the first management system. Receiving means;
Information of a second lower layer group to which one or more devices included in the first list belong to one or more devices managed by the second management system from a second management system linked with the first management system; Obtaining means for obtaining a second list which is a list of devices belonging to the second lower layer group;
If the first list and the second list partially match, a first upper group associated with the account corresponding to the request and a second upper group to which the second lower group belongs are A determination means for determining whether or not they match,
Based on the determination result of the determination means, a device that is included in the first list and that is not included in the second list is assigned to a new lower layer group or the second lower layer group of the second management system. Registration means to register with,
Corresponding means for associating a lower layer group in the first management system with a lower layer group in the second management system in which devices are registered for each device included in the first list;
The cooperation system characterized by having.
前記登録手段は、前記判定手段により、前記第1の上層グループと前記第2の上層グループが一致しないと判定された場合、前記第2の管理システムに、前記第1のリストに含まれ前記第2のリストに含まれていないデバイスを登録する第3の下層グループを前記第1の上層グループに所属する下層グループとして作成し、該第3の下層グループに該デバイスを登録することを特徴とする請求項1に記載の連携システム。   When the determination unit determines that the first upper layer group and the second upper layer group do not coincide with each other, the registration unit is included in the first list and included in the first list. A third lower layer group for registering a device not included in the list of 2 is created as a lower layer group belonging to the first upper layer group, and the device is registered in the third lower layer group. The cooperation system according to claim 1. 前記登録手段は、前記判定手段により、前記第1の上層グループと前記第2の上層グループが一致すると判定された場合、前記第1のリストに含まれ前記第2のリストに含まれていないデバイスを前記第2の下層グループに登録することを特徴とする請求項1又は2に記載の連携システム。   When the determination unit determines that the first upper layer group matches the second upper layer group, the registration unit includes a device that is included in the first list and not included in the second list. Is registered in the second lower layer group. The cooperation system according to claim 1 or 2, characterized in that: 前記第2の管理システムが複数存在する場合、管理システムごとに、前記取得手段が前記取得を行い、前記判定手段が前記判定を行い、前記登録手段が前記登録を行い、前記対応付け手段が前記対応付けを行うことを特徴とする請求項1乃至3のいずれか1項に記載の連携システム。   When there are a plurality of the second management systems, for each management system, the acquisition unit performs the acquisition, the determination unit performs the determination, the registration unit performs the registration, and the association unit performs the acquisition. The linkage system according to claim 1, wherein the association is performed. 前記取得手段は、前記第2のリストに含まれるデバイスの前記第2の管理システムへの登録または更新のタイミングを示す情報をも取得するものであり、
前記第2のリストに複数の下層グループに所属するデバイスが存在する場合、該デバイスの前記第2の管理システムへの登録または更新のタイミングに基づいて、該デバイスのいずれかの登録を、前記第2の管理システムから削除する削除手段を有することを特徴とする請求項1乃至4のいずれか1項に記載の連携システム。
The acquisition means also acquires information indicating the timing of registration or update of devices included in the second list in the second management system,
When there are devices belonging to a plurality of lower layer groups in the second list, any one of the devices is registered based on the registration or update timing of the device in the second management system. 5. The cooperation system according to claim 1, further comprising a deletion unit that deletes the management system from the second management system.
前記削除手段は、前記第2の管理システムへの登録または更新のタイミングがより古いデバイスの登録を前記第2の管理システムから削除することを特徴とする請求項5に記載の連携システム。   6. The cooperation system according to claim 5, wherein the deletion unit deletes, from the second management system, registration of a device whose registration or update timing to the second management system is older. 下層グループに所属するデバイスを別の下層グループに移動させるための指示を行う指示手段と、
前記指示手段により指示されたデバイスを指示された下層グループに移動させるための指示があったことを、前記指示された下層グループが所属する上層グループの通知先に通知する通知手段と、
前記通知手段の通知に基づいて、前記移動が承諾された場合、前記指示手段により指示されたデバイスを指示された下層グループの所属に移動させる移動手段と、
を有することを特徴とする請求項1乃至6のいずれか1項に記載の連携管理システム。
An instruction means for giving an instruction to move a device belonging to a lower layer group to another lower layer group;
A notification means for notifying the notification destination of the upper layer group to which the instructed lower layer belongs, that there has been an instruction to move the device instructed by the instruction means to the instructed lower layer group;
Based on the notification of the notification means, if the movement is approved, a movement means for moving the device indicated by the instruction means to the affiliation of the instructed lower layer group,
The cooperation management system according to any one of claims 1 to 6, characterized by comprising:
前記対応付け手段による対応付けに基づいて、前記第1の管理システムと前記第2の管理システムとを連携する連携手段を有することを特徴とする請求項1乃至7のいずれか1項に記載の連携システム。   8. The apparatus according to claim 1, further comprising: a linkage unit that links the first management system and the second management system based on the association by the association unit. 9. Cooperation system. デバイス、デバイスが所属する下層グループ、及び、下層グループが所属する上層グループを管理する複数の管理システムを連携する連携システムの制御方法であって、
第1の管理システムから、該第1の管理システムが管理する第1の下層グループの情報と、該第1の下層グループに所属するデバイスのリストである第1のリストとを含むリクエストを受信する受信ステップと、
前記第1の管理システムが連携する第2の管理システムから、該第2の管理システムが管理する、前記第1のリストに含まれるデバイスが1つ以上所属する第2の下層グループの情報と、該第2の下層グループに所属するデバイスのリストである第2のリストとを取得する取得ステップと、
前記第1のリストと前記第2のリストが部分的に一致する場合、前記リクエストに対応するアカウントに関連する第1の上層グループと、前記第2の下層グループが所属する第2の上層グループが一致するか否かを判定する判定ステップと、
前記判定ステップでの判定の結果に基づいて、前記第1のリストに含まれ且つ前記第2のリストに含まれていないデバイスを前記第2の管理システムの新たな下層グループ又は前記第2の下層グループに登録する登録ステップと、
前記第1のリストに含まれるデバイスごとに、デバイスが登録されている、前記第1の管理システムにおける下層グループと、前記第2の管理システムにおける下層グループとを対応付ける対応付けステップと、
を有することを特徴とする連携システムの制御方法。
A control method of a linkage system that links a plurality of management systems that manage a device, a lower layer to which the device belongs, and an upper group to which the lower group belongs,
A request including information on a first lower layer group managed by the first management system and a first list which is a list of devices belonging to the first lower layer group is received from the first management system. Receiving step;
Information of a second lower layer group to which one or more devices included in the first list belong to one or more devices managed by the second management system from a second management system linked with the first management system; An acquisition step of acquiring a second list which is a list of devices belonging to the second lower layer group;
If the first list and the second list partially match, a first upper group associated with the account corresponding to the request and a second upper group to which the second lower group belongs are A determination step of determining whether or not they match,
Based on the result of the determination in the determination step, a device included in the first list and not included in the second list is changed to a new lower layer group or the second lower layer of the second management system. A registration step to register with the group;
Corresponding step of associating a lower layer group in the first management system with a lower layer group in the second management system in which a device is registered for each device included in the first list;
A control method for a cooperative system, comprising:
コンピュータを、請求項1乃至8のいずれか1項に記載の手段として機能させるためのプログラム。   The program for functioning a computer as a means of any one of Claims 1 thru | or 8.
JP2014257142A 2014-12-19 2014-12-19 Linking system, control method thereof, and program Pending JP2016118863A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014257142A JP2016118863A (en) 2014-12-19 2014-12-19 Linking system, control method thereof, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014257142A JP2016118863A (en) 2014-12-19 2014-12-19 Linking system, control method thereof, and program

Publications (1)

Publication Number Publication Date
JP2016118863A true JP2016118863A (en) 2016-06-30

Family

ID=56242333

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014257142A Pending JP2016118863A (en) 2014-12-19 2014-12-19 Linking system, control method thereof, and program

Country Status (1)

Country Link
JP (1) JP2016118863A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021051552A (en) * 2019-09-25 2021-04-01 富士ゼロックス株式会社 Information processor and program
JP2021140266A (en) * 2020-03-02 2021-09-16 キヤノン株式会社 Information processing equipment, information processing methods and programs

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021051552A (en) * 2019-09-25 2021-04-01 富士ゼロックス株式会社 Information processor and program
JP7338360B2 (en) 2019-09-25 2023-09-05 富士フイルムビジネスイノベーション株式会社 Information processing device and program
JP2021140266A (en) * 2020-03-02 2021-09-16 キヤノン株式会社 Information processing equipment, information processing methods and programs
JP7012764B2 (en) 2020-03-02 2022-01-28 キヤノン株式会社 Information processing equipment, information processing methods and programs
US11425269B2 (en) 2020-03-02 2022-08-23 Canon Kabushiki Kaisha Information processing apparatus for registering selected information processing apparatuses detected as being connected to a same network, and information processing method

Similar Documents

Publication Publication Date Title
US9948819B2 (en) Information processing system, information processing apparatus, and data process control method
KR101526776B1 (en) License install support system, license install support method, and non-transitory computer readable storage medium
JP2011243046A (en) Picture customization support system, picture customization support method, and picture customization support program
JP2014186470A (en) Manufacturing-product order acceptance system
JP2014102816A (en) Setting support apparatus, setting support system, and setting support method
CN111542863A (en) Order information display method, order system
JP2021166020A (en) Information processing equipment, installation management servers, systems, their control methods, and programs
JP2016118863A (en) Linking system, control method thereof, and program
JP7064961B2 (en) Server equipment and programs
US10187267B2 (en) Device management system, device management method, and server apparatus
JP6195642B1 (en) Information processing apparatus, information processing method, and program
JP5986959B2 (en) Information processing apparatus, information processing system, information processing method, and program
JP2020004423A (en) Server, information processing device, processing method and program
JP2016040652A (en) Document output device and document output method
JP6899647B2 (en) Data provision system, data provision method, and data provision program
JPWO2016067391A1 (en) Electronic apparatus, system and method
JP6398368B2 (en) Information processing apparatus, information processing system, and program
US9361048B2 (en) Device management apparatus and device management method for managing device settings
JP5832574B2 (en) Terminal, provided information acquisition system, provided information acquisition method, program
JP2017073011A (en) Customer information notification system, customer information notification device, customer information notification method and computer program
JP2009129066A (en) Commodity distribution system
JP6049928B1 (en) Electronic commerce support system, portal site server and program
JP6367770B2 (en) Information processing apparatus and information processing program
JP2021152803A (en) Information providing device, information processing program, and information providing method
JP2007148931A (en) E-commerce system and e-commerce method