JP2019212318A - Communication device, communication method and communication program - Google Patents

Communication device, communication method and communication program Download PDF

Info

Publication number
JP2019212318A
JP2019212318A JP2019143348A JP2019143348A JP2019212318A JP 2019212318 A JP2019212318 A JP 2019212318A JP 2019143348 A JP2019143348 A JP 2019143348A JP 2019143348 A JP2019143348 A JP 2019143348A JP 2019212318 A JP2019212318 A JP 2019212318A
Authority
JP
Japan
Prior art keywords
data
communication device
metadata
network
communication
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.)
Granted
Application number
JP2019143348A
Other languages
Japanese (ja)
Other versions
JP6860045B2 (en
Inventor
純一 須加
Junichi Suga
純一 須加
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2019143348A priority Critical patent/JP6860045B2/en
Publication of JP2019212318A publication Critical patent/JP2019212318A/en
Application granted granted Critical
Publication of JP6860045B2 publication Critical patent/JP6860045B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

To provide a method for dividing a network for sharing a distributed ledger.SOLUTION: A communication program is implemented by a communication device which participates to a data circulation network. The communication device holds a distributed ledger in which metadata including an attribute of data possessed by a terminal which is connected to the communication device belonging to the data circulation network are recorded. When a prescribed condition for dividing the data circulation network is satisfied, the communication device decides to participate to which of a plurality of divided data circulation networks which are obtained by dividing the data circulation network by using a rule which is the same as that of the other communication device belonging to the data circulation network. The communication device holds a setting table for setting a range of a value of the identification information of data at which the communication device holds the metadata in the divided data circulation network with respect to each of the plurality of divided data circulation networks.SELECTED DRAWING: Figure 1

Description

本発明は、通信装置、通信方法、および、通信プログラムに関する。   The present invention relates to a communication device, a communication method, and a communication program.

近年、デジタル化された様々なデータを流通させて活用することにより、新たなサービスやビジネスを創出するデジタルトランスフォーメーションに対する期待が高まっている。異なる企業や組織の間など、データが複数の拠点に分散されている場合にデータを流通する方法の1つとして、デバイス間のピアツーピア通信により、電子ファイルを共有することも提案されている。このとき、セキュリティを強化するために、ブロックチェーン技術が用いられることがある。例えば、データ提供者は、提供するデータはデータ提供者のサーバに保管し、提供するデータの属性情報をデータの保管場所に対応付けて、ブロックチェーンの分散台帳に登録してもよい。この場合、データを使用するユーザは、分散台帳を用いて、取得しようとするデータの格納場所の情報を取得すると、データにアクセスすることができる。   In recent years, there is an increasing expectation for digital transformation that creates new services and businesses by distributing and utilizing various digitized data. As one method for distributing data when data is distributed to a plurality of bases, such as between different companies or organizations, sharing an electronic file by peer-to-peer communication between devices has also been proposed. At this time, block chain technology may be used to enhance security. For example, the data provider may store the provided data in the data provider's server, and register the attribute information of the provided data in the block chain distributed ledger in association with the data storage location. In this case, the user who uses the data can access the data by acquiring information on the storage location of the data to be acquired using the distributed ledger.

関連する技術として、グループの構築要求を受け付けると、選択したグループ管理ノードに他のサブシステムとの間のネットワーク品質を測定させて、得られた結果に基づいてグループを決定する管理方法が提案されている(例えば特許文献1)。また、サードパーティクライアントコンピュータの要求により、2つのコンピューティングデバイス間でデータを直接送信することができるネットワークシステムも知られている(例えば、特許文献2)。   As a related technology, a management method has been proposed in which when a group construction request is accepted, the selected group management node measures the network quality with other subsystems and determines the group based on the obtained results. (For example, Patent Document 1). There is also known a network system capable of directly transmitting data between two computing devices at the request of a third party client computer (for example, Patent Document 2).

特開2013−206112号JP2013-206112A 特表2014−503141号Special table 2014-503141

提供可能なデータの属性やデータの格納場所がブロックチェーンの分散台帳に記録され、データを取得する端末が分散台帳を参照してデータにアクセスするシステムでは、ネットワークが大きくなるに従って、分散台帳に記録される情報の量も増大する。このため、大きなネットワークでは、ネットワーク中の装置が分散台帳の記憶に使用するメモリの容量が膨大になってしまうという問題がある。   The attributes of data that can be provided and the storage location of the data are recorded in the distributed ledger of the blockchain, and in a system in which the terminal that obtains data accesses the data by referring to the distributed ledger, it is recorded in the distributed ledger as the network grows The amount of information that is also increased. For this reason, in a large network, there is a problem that the capacity of the memory used by the devices in the network for storing the distributed ledger becomes enormous.

本発明は、1つの側面として、分散台帳を共有するネットワークを分割する方法を提供することを目的とする。   An object of the present invention is, as one aspect, to provide a method for dividing a network sharing a distributed ledger.

ある1つの態様にかかる通信プログラムは、データ流通ネットワークに参加する通信装置で実行される。通信装置は、前記データ流通ネットワークに属する前記通信装置に接続される端末が有するデータの属性を含むメタデータが記録された分散台帳を保持する。通信装置は、前記データ流通ネットワークを分割する所定の条件を満たしたときに、前記データ流通ネットワークに属する他の通信装置と同一のルールを用いて前記データ流通ネットワークが分割された複数の分割データ流通ネットワークのうちいずれに参加するかを決定する。通信装置は、前記複数の分割データ流通ネットワークの各々について、当該分割データ流通ネットワーク中の通信装置がメタデータを保持するデータの識別情報の値の範囲を設定する設定テーブルを保持する。   A communication program according to one aspect is executed by a communication device participating in a data distribution network. The communication device holds a distributed ledger in which metadata including data attributes included in terminals connected to the communication device belonging to the data distribution network is recorded. A plurality of divided data distributions obtained by dividing the data distribution network using the same rules as other communication devices belonging to the data distribution network when the communication device satisfies a predetermined condition for dividing the data distribution network Decide which of the networks you want to join. The communication device holds, for each of the plurality of divided data distribution networks, a setting table for setting a range of values of identification information of data held by the communication devices in the divided data distribution network.

分散台帳を共有するネットワークを分割できる。   A network that shares a distributed ledger can be divided.

実施形態にかかる通信方法の例を説明する図である。It is a figure explaining the example of the communication method concerning embodiment. 通信装置の構成の例を説明する図である。It is a figure explaining the example of a structure of a communication apparatus. 通信装置のハードウェア構成の例を説明する図である。It is a figure explaining the example of the hardware constitutions of a communication apparatus. ネットワークの分割方法の例を説明するフローチャートである。It is a flowchart explaining the example of the division | segmentation method of a network. ネットワークグループの生成方法の例を説明する図である。It is a figure explaining the example of the production | generation method of a network group. 検証処理の例を説明する図である。It is a figure explaining the example of a verification process. 第1の実施形態にかかるメタデータの管理方法の例を説明するフローチャートである。It is a flowchart explaining the example of the management method of the metadata concerning 1st Embodiment. ネットワークグループの生成例を説明する図である。It is a figure explaining the example of a production | generation of a network group. 第1の実施形態にかかるメタデータの管理方法の例を説明するシーケンス図である。It is a sequence diagram explaining the example of the management method of the metadata concerning 1st Embodiment. 第1の実施形態にかかるメタデータの参照方法の例を説明するシーケンス図である。It is a sequence diagram explaining the example of the reference method of the metadata concerning 1st Embodiment. リクエスト結果処理の例を説明する図である。It is a figure explaining the example of a request result process. 第1の実施形態にかかるデータの取得方法の例を説明するシーケンス図である。It is a sequence diagram explaining the example of the acquisition method of the data concerning a 1st embodiment. 第2の実施形態にかかるメタデータの管理方法の例を説明する図である。It is a figure explaining the example of the management method of the metadata concerning 2nd Embodiment. 第2の実施形態にかかるメタデータの管理方法の例を説明するフローチャートである。It is a flowchart explaining the example of the management method of the metadata concerning 2nd Embodiment. 第2の実施形態にかかるメタデータの管理方法の例を説明するシーケンス図である。It is a sequence diagram explaining the example of the management method of the metadata concerning 2nd Embodiment. 第2の実施形態にかかるメタデータの参照方法の例を説明するシーケンス図である。It is a sequence diagram explaining the example of the reference method of the metadata concerning 2nd Embodiment. 第2の実施形態にかかるデータの取得方法の例を説明するシーケンス図である。It is a sequence diagram explaining the example of the acquisition method of the data concerning 2nd Embodiment. 第2の実施形態にかかるデータの取得方法の例を説明するシーケンス図である。It is a sequence diagram explaining the example of the acquisition method of the data concerning 2nd Embodiment.

図1は、実施形態にかかる通信方法の例を説明する図である。ケースC1に示す状態では、通信装置10a〜10fの6台の通信装置10が1つのネットワークG1に属している。ネットワークに属している通信装置10の間では、通信装置10a〜10fのいずれかを介して取得可能なデータのメタデータを、ブロックチェーン技術の分散台帳を用いて共有しているものとする。メタデータの正当性やメタデータおよびデータへのアクセスの可否は、分散台帳を用いて確認可能である。   FIG. 1 is a diagram illustrating an example of a communication method according to the embodiment. In the state shown in case C1, the six communication devices 10 of the communication devices 10a to 10f belong to one network G1. It is assumed that metadata of data that can be acquired via any one of the communication devices 10a to 10f is shared between the communication devices 10 belonging to the network using a distributed ledger of blockchain technology. The validity of the metadata and the availability of access to the metadata and data can be confirmed using the distributed ledger.

分散台帳を共有するネットワークでは、分散台帳に記録される情報の量が膨大になると、個々の通信装置10が分散台帳の保持のために使用するメモリの容量が大きくなる。このため、予め、ネットワークを分割する条件と、ネットワークの分割で得られる複数の分割ネットワークのいずれに通信装置10が属するかを決定するためのルールを、各通信装置10が保持しているとする。   In a network sharing a distributed ledger, when the amount of information recorded in the distributed ledger becomes enormous, the capacity of the memory used by each communication device 10 for holding the distributed ledger increases. For this reason, it is assumed that each communication device 10 holds in advance a rule for determining a network dividing condition and a plurality of divided networks obtained by dividing the network to which the communication device 10 belongs. .

各通信装置10は、図1のフローチャート中のステップS1に示すように、ネットワークを分割する条件が発生しているかを、適宜、判定する。ネットワークを分割する条件が発生するまで、通信装置10は待機する(ステップS1でNo)。   As shown in step S1 in the flowchart of FIG. 1, each communication device 10 appropriately determines whether a condition for dividing the network has occurred. The communication device 10 stands by until a condition for dividing the network occurs (No in step S1).

ネットワークを分割する条件が発生すると、ネットワーク中の通信装置10は、個々に、予め設定されている同一ルールを用いて、分割ネットワークを計算する(ステップS2)。設定されているルールには、ネットワークから生成される分割ネットワークの数や、各分割ネットワークに含まれる通信装置10の数などの情報が含まれうる。通信装置10は、分割ネットワークの計算により、自装置がいずれの分割ネットワークに属するかを求めることができる。また、各通信装置10は、ネットワーク中の他の通信装置10についても、いずれの分割ネットワークに属するかを求めても良い。   When a condition for dividing the network occurs, the communication devices 10 in the network individually calculate the divided network using the same rule set in advance (step S2). The set rule may include information such as the number of divided networks generated from the network and the number of communication devices 10 included in each divided network. The communication device 10 can determine which divided network the device belongs to by calculating the divided network. Further, each communication device 10 may determine which divided network also belongs to other communication devices 10 in the network.

各通信装置10は、計算結果に応じた分割ネットワークに参加すると共に、参加している分割ネットワーク中でメタデータを共有する(ステップS3)。このとき、メタデータの共有のために、分割ネットワーク中で分散台帳が用いられても良い。個々の通信装置10は、個別に分割ネットワークに含まれる装置を決定するが、いずれの装置も同一のルールに従って計算しているので、いずれの通信装置10でも分割ネットワークの計算結果は同じになる。   Each communication device 10 participates in the divided network corresponding to the calculation result, and shares the metadata in the participating divided network (step S3). At this time, a distributed ledger may be used in the divided network in order to share metadata. The individual communication devices 10 individually determine the devices included in the divided network. Since all the devices calculate according to the same rule, the calculation results of the divided networks are the same in any communication device 10.

ケースC2は、分割ネットワークの計算例である。図1の例では、通信装置10a〜10cはネットワークG2に属し、通信装置10d〜10fはネットワークG3に属している。ケースC2のように分割ネットワークが計算された後は、通信装置10a〜10cの間で、通信装置10a〜10cのいずれかを介して取得可能なデータのメタデータが共有される。同様に、通信装置10d〜10fの間で、通信装置10d〜10fのいずれかを介して取得可能なデータのメタデータが共有される。   Case C2 is a calculation example of a divided network. In the example of FIG. 1, the communication devices 10a to 10c belong to the network G2, and the communication devices 10d to 10f belong to the network G3. After the divided network is calculated as in the case C2, metadata of data that can be acquired via any one of the communication devices 10a to 10c is shared between the communication devices 10a to 10c. Similarly, the metadata of data that can be acquired via any one of the communication devices 10d to 10f is shared between the communication devices 10d to 10f.

従って、実施形態にかかる通信方法を用いたシステムでは、各通信装置が保持するメタデータの容量が膨大になることにより、通信装置10のメモリ容量を圧迫するおそれがない。分割ネットワーク内では、共有されているメタデータに対応したデータの送受信が可能である。なお、後述するように、分割ネットワーク間をまたいだデータの送受信も可能である。   Therefore, in the system using the communication method according to the embodiment, the capacity of the metadata held by each communication apparatus becomes enormous, and there is no possibility of pressing the memory capacity of the communication apparatus 10. In the divided network, data corresponding to shared metadata can be transmitted and received. As will be described later, data can be transmitted and received across the divided networks.

<装置構成>
図2は、通信装置10の構成の例を説明する図である。通信装置10は、通信部11、制御部20、記憶部30を備える。記憶部30は、分散台帳31、グループ生成条件32、グループテーブル34、メタデータDB35、ネットワークグループ情報36を記憶する。記憶部30は、さらに、対応テーブル33か設定テーブル37のいずれかを記憶する。メタデータデータベース(DB)35は、取得可能なデータのメタデータを保持する。分散台帳31は、分割前のネットワーク中、または、分割により得られた分割ネットワーク(ネットワークグループ)中で、メタデータを共有するために使用され、メタデータに対するアクセスおよびデータに対するアクセスの履歴を保持する。メタデータが登録される際や、登録後のアクセス、データのアクセスの際には、適宜、検証が行われ、分散台帳31にアクセス結果が記録されるので、分散台帳31を用いることにより、メタデータ登録からデータのアクセスまでの一連の動作の証跡が確認できる。
<Device configuration>
FIG. 2 is a diagram illustrating an example of the configuration of the communication device 10. The communication device 10 includes a communication unit 11, a control unit 20, and a storage unit 30. The storage unit 30 stores a distributed ledger 31, a group generation condition 32, a group table 34, a metadata DB 35, and network group information 36. The storage unit 30 further stores either the correspondence table 33 or the setting table 37. The metadata database (DB) 35 holds metadata of acquirable data. The distributed ledger 31 is used for sharing metadata in the network before the division or in the divided network (network group) obtained by the division, and holds the access to the metadata and the access history to the data. . When metadata is registered, access after registration, and data access, verification is performed as appropriate and the access result is recorded in the distributed ledger 31. A trail of a series of operations from data registration to data access can be confirmed.

グループ生成条件32は、ネットワークグループ(分割ネットワーク)を生成する際の条件である。グループ生成条件32には、例えば、ネットワークグループを生成する際のネットワーク中の通信装置10の総数、生成するネットワークグループの数などが含まれる。対応テーブル33は、メタデータに対応するデータを識別する識別情報と、そのメタデータを保持する通信装置10が属するネットワークグループを対応付ける情報である。対応テーブル33は、後述するように、メタデータの取得の際に動的に生成される。通信装置10は、対応テーブル33を生成する代わりに、設定テーブル37を保持しても良い。設定テーブル37は、各ネットワークグループについて、そのネットワークグループ中の通信装置10が保持するメタデータの設定に使用される。設定テーブル37には、ネットワークグループごとに、そのネットワークグループが保持するメタデータに対応するデータの識別情報の範囲が設定される。   The group generation condition 32 is a condition for generating a network group (divided network). The group generation condition 32 includes, for example, the total number of communication devices 10 in the network when generating a network group, the number of network groups to be generated, and the like. The correspondence table 33 is information for associating identification information for identifying data corresponding to the metadata with the network group to which the communication device 10 holding the metadata belongs. As will be described later, the correspondence table 33 is dynamically generated when acquiring metadata. The communication apparatus 10 may hold the setting table 37 instead of generating the correspondence table 33. The setting table 37 is used for setting metadata held by the communication device 10 in each network group. In the setting table 37, for each network group, a range of data identification information corresponding to metadata held by the network group is set.

グループテーブル34は、ネットワークに含まれる通信装置10の情報である。各通信装置10は、ブロックチェーンネットワークに参加しているので、ブロックチェーンネットワークにアクセスする際の電子証明書等を保持している。また、新たにブロックチェーンネットワークへの参加が認められた通信装置10の情報は、既にブロックチェーンネットワークに参加している通信装置10に通知される。このため、各通信装置10は、自装置が属するネットワークに含まれる他の通信装置10の情報を、グループテーブル34として保持している。グループテーブル34は、例えば、ネットワーク中に含まれる通信装置10の識別情報のリストであっても良い。ネットワークグループ情報36は、分割により得られたネットワークグループの各々を特定可能な情報である。ネットワークグループ情報36の例は後述する。   The group table 34 is information on the communication device 10 included in the network. Since each communication apparatus 10 participates in the block chain network, it holds an electronic certificate or the like when accessing the block chain network. In addition, information on the communication device 10 that is newly permitted to participate in the block chain network is notified to the communication device 10 that has already participated in the block chain network. For this reason, each communication apparatus 10 holds information of other communication apparatuses 10 included in the network to which the own apparatus belongs as a group table 34. The group table 34 may be, for example, a list of identification information of the communication devices 10 included in the network. The network group information 36 is information that can specify each of the network groups obtained by the division. An example of the network group information 36 will be described later.

制御部20は、決定部21、検証部22、共有制御部23、取得部24を有する。決定部21は、グループ生成条件32を用いて、自装置がどの分割ネットワークに属するかを決定する。決定部21は、また、ネットワーク中の他の通信装置10についても、いずれの分割ネットワークに属するかを計算しても良い。検証部22は、得られた計算結果の検証処理を行う。検証部22は、メタデータに対するアクセスやデータに対するアクセスについての検証処理も行う。共有制御部23は、分割ネットワーク中でメタデータを共有するための制御を行う。取得部24は、通信装置10に接続する端末や他の通信装置10などから、メタデータやデータの取得が要求されると、要求されたデータの取得処理を行う。   The control unit 20 includes a determination unit 21, a verification unit 22, a sharing control unit 23, and an acquisition unit 24. Using the group generation condition 32, the determination unit 21 determines to which divided network the device belongs. The determination unit 21 may also calculate which divided network the other communication devices 10 in the network belong to. The verification unit 22 performs verification processing on the obtained calculation result. The verification unit 22 also performs verification processing on access to metadata and access to data. The sharing control unit 23 performs control for sharing metadata in the divided network. When acquisition of metadata or data is requested from a terminal connected to the communication device 10 or another communication device 10, the acquisition unit 24 performs acquisition processing of the requested data.

図3は、通信装置10のハードウェア構成の例を説明する図である。通信装置10は、プロセッサ101、メモリ102、バス103、ネットワーク接続装置104を有する。プロセッサ101は、任意の処理回路であり、例えば、CPU(Central Processing Unit)とすることができる。プロセッサ101は、メモリ102をワーキングメモリとして使用して、プログラムを実行することにより、様々な処理を実行する。メモリ102には、RAM(Random Access Memory)が含まれ、さらに、ROM(Read Only Memory)等の不揮発性のメモリも含まれる。メモリ102は、プログラムやプロセッサ101での処理に使用されるデータを格納する。ネットワーク接続装置104は、ネットワークを介した他の装置との通信に使用される。バス103は、プロセッサ101、メモリ102、ネットワーク接続装置104を、互いにデータの入出力が可能になるように接続する。   FIG. 3 is a diagram illustrating an example of a hardware configuration of the communication device 10. The communication device 10 includes a processor 101, a memory 102, a bus 103, and a network connection device 104. The processor 101 is an arbitrary processing circuit, and can be a CPU (Central Processing Unit), for example. The processor 101 executes various processes by executing programs using the memory 102 as a working memory. The memory 102 includes a RAM (Random Access Memory), and further includes a nonvolatile memory such as a ROM (Read Only Memory). The memory 102 stores programs and data used for processing by the processor 101. The network connection device 104 is used for communication with other devices via the network. The bus 103 connects the processor 101, the memory 102, and the network connection device 104 so that data can be input and output among them.

通信装置10において、メモリ102は記憶部30として動作する。プロセッサ101は、制御部20として動作する。さらに、ネットワーク接続装置104は、通信部11として動作する。   In the communication device 10, the memory 102 operates as the storage unit 30. The processor 101 operates as the control unit 20. Further, the network connection device 104 operates as the communication unit 11.

<第1の実施形態>
以下、第1の実施形態を、ネットワークの分割と、分割されたネットワークを介した通信処理に分けて説明する。以下の説明では、通信装置10は、ゲートウェイ装置として動作する。例えば、通信装置10は、データの提供元のサーバを含むネットワークのゲートウェイ(GW)装置として動作しても良いし、また、データを取得するユーザの端末が含まれるネットワークのゲートウェイ装置として動作しても良い。
<First Embodiment>
Hereinafter, the first embodiment will be described by dividing it into network division and communication processing via the divided network. In the following description, the communication device 10 operates as a gateway device. For example, the communication device 10 may operate as a network gateway (GW) device including a server that provides data, or may operate as a network gateway device including a user terminal that acquires data. Also good.

(1)ネットワークの分割
図4は、ネットワークの分割方法の例を説明するフローチャートである。図4は、ネットワークの分割処理の概要を説明している。決定部21は、ネットワークの状態がグループ生成条件32に設定されているネットワークグループの生成条件を満たしているかを判定する(ステップS11)。ネットワークの状態がネットワークグループの生成条件を満たしていない場合、決定部21は、ネットワークの分割処理を終了する(ステップS11でNo)。
(1) Network Division FIG. 4 is a flowchart for explaining an example of a network division method. FIG. 4 explains the outline of the network division processing. The determination unit 21 determines whether the network state satisfies the network group generation condition set in the group generation condition 32 (step S11). When the network state does not satisfy the network group generation condition, the determination unit 21 ends the network division process (No in step S11).

ネットワークの状態がネットワークグループの生成条件を満たしている場合、決定部21は、適宜、グループ生成条件32の情報を用いて、ネットワークグループの生成処理を行う(ステップS11でYes、ステップS12)。その後、個々のネットワークグループにおいて、各ネットワークグループ内の通信装置10を介して取得可能なメタデータを管理するために、メタデータ管理分散処理が行われる(ステップS13)。   When the network state satisfies the network group generation condition, the determination unit 21 appropriately performs the network group generation process using the information of the group generation condition 32 (Yes in step S11, step S12). Thereafter, metadata management distribution processing is performed in each network group in order to manage metadata that can be acquired via the communication device 10 in each network group (step S13).

図5は、ネットワークグループの生成方法の例を説明する図である。図5は、図4のステップS12の詳細である。図5の例では、グループ生成条件32として、1つのネットワークグループに含められる通信装置10の数(Ng)が設定されているものとする。この場合、ネットワーク中の通信装置10の総数が1つのネットワークグループに含められる通信装置10の数(Ng)を上回ると、決定部21はネットワークグループの生成条件が満たされたと判定する。   FIG. 5 is a diagram illustrating an example of a method for generating a network group. FIG. 5 shows details of step S12 of FIG. In the example of FIG. 5, it is assumed that the number (Ng) of communication devices 10 included in one network group is set as the group generation condition 32. In this case, when the total number of communication devices 10 in the network exceeds the number (Ng) of communication devices 10 included in one network group, the determination unit 21 determines that the network group generation condition is satisfied.

決定部21は、グループテーブル34に含まれている通信装置10の総数を求めることにより、ネットワーク中に含まれる全ての通信装置10の数(Num)を取得する(ステップS21)。決定部21は、ネットワーク中に含まれる全ての通信装置10の数(Num)を、1つのネットワークグループに含められる通信装置10の数(Ng)で割り算することにより、生成するネットワークグループ数を計算する(ステップS22)。なお、Num/Ngが整数ではない場合、決定部21は、小数点以下を切り捨てる。決定部21は、ネットワークグループ数分のグループの識別子を決定することにより、グループ生成を行う(ステップS23)。なお、ステップS23の時点では、各グループには通信装置10が割り当てられていない。   The determination unit 21 obtains the number (Num) of all the communication devices 10 included in the network by obtaining the total number of the communication devices 10 included in the group table 34 (step S21). The determination unit 21 calculates the number of network groups to be generated by dividing the number (Num) of all communication devices 10 included in the network by the number (Ng) of communication devices 10 included in one network group. (Step S22). When Num / Ng is not an integer, the determination unit 21 rounds off the decimal part. The determination unit 21 performs group generation by determining group identifiers for the number of network groups (step S23). Note that at the time of step S23, the communication device 10 is not assigned to each group.

次に、決定部21は、グループテーブル34に含まれている全ての通信装置10を、通信装置10に割り当てられている識別子(GW ID)の昇順にソーティングする(ステップS24)。決定部21は、GW IDの順に、各通信装置10をネットワークグループに割り当てる(ステップS25)。   Next, the determination unit 21 sorts all the communication devices 10 included in the group table 34 in ascending order of identifiers (GW IDs) assigned to the communication devices 10 (step S24). The determination unit 21 assigns each communication device 10 to a network group in the order of the GW ID (step S25).

なお、図5に示すフローチャートは処理の一例である。例えば、ステップS23とS24の順序は互いに変更されても良い。ネットワークグループ数の計算方法も、例えば、Num/Ngの値の小数点を切り上げるなど、他の方法に変更され得る。また、通信装置10の識別子をソーティングする順序が降順に変更されるなど、実装に応じて処理が変更され得る。   Note that the flowchart shown in FIG. 5 is an example of processing. For example, the order of steps S23 and S24 may be changed from each other. The calculation method of the number of network groups can also be changed to other methods such as rounding up the decimal point of the value of Num / Ng. Further, the processing may be changed according to the implementation, such as the order of sorting the identifiers of the communication devices 10 being changed in descending order.

図5のケースC11は、ネットワークグループの生成例である。ケースC11に示すグループテーブル34には、GW A、GW B、GW C、GW D、GW E、GW F、GW Gの7台の通信装置10のGW IDが含まれている。なお、ケースC11中のグループテーブル34では、通信装置10は、IDを用いて昇順にソーティングされている。決定部21は、グループテーブル34を用いて、ネットワーク中の通信装置10の数(Num)は7であると認識する。ここで、1つのネットワークグループに含められる通信装置10の数(Ng)は3に設定されているとする。すると、決定部21は、Num/Ng=7/3を計算し、小数点以下を切り捨てることにより、ネットワークグループ数を2に決定する。   Case C11 in FIG. 5 is an example of generating a network group. The group table 34 shown in the case C11 includes the GW IDs of the seven communication devices 10 GW A, GW B, GW C, GW D, GW E, GW F, and GW G. In the group table 34 in the case C11, the communication devices 10 are sorted in ascending order using IDs. Using the group table 34, the determination unit 21 recognizes that the number (Num) of the communication devices 10 in the network is seven. Here, it is assumed that the number (Ng) of communication devices 10 included in one network group is set to 3. Then, the determination unit 21 calculates Num / Ng = 7/3, and determines the number of network groups to 2 by rounding down the decimal part.

決定部21は、ネットワークグループの識別子として、Group X、および、Group Yを決定したとする。次に、決定部21は、通信装置10をネットワークグループに割り当てる。ケースC11の例では、決定部21は、GW Aで識別される通信装置10をGroup Xに割り当て、さらに、GW Bで識別される通信装置10をGroup Yに割り当てている。同様に、GW C〜GW Gの各々で識別される通信装置10についてもネットワークグループへの割り当てを行う。各ネットワークグループへの割り当て結果を、GW Listに示す。ケースC11では、GW A、GW C、GW E、GW Gの各々の識別子で識別される通信装置10が、Group Xに割り当てられている。同様に、GW B、GW D、GW Fの各々の識別子で識別される通信装置10が、Group Yに割り当てられている。ネットワークグループの識別子、および、各ネットワークグループに含まれる通信装置10の情報は、ネットワークグループ情報36として保持される。従って、ネットワークグループの計算が終わった段階では、ネットワークグループ情報36は、ネットワークグループの計算結果である。   Assume that the determination unit 21 determines Group X and Group Y as network group identifiers. Next, the determination unit 21 assigns the communication device 10 to the network group. In the example of case C11, the determination unit 21 assigns the communication device 10 identified by GW A to Group X, and further assigns the communication device 10 identified by GW B to Group Y. Similarly, the communication device 10 identified by each of GW C to GW G is also assigned to the network group. The result of assignment to each network group is shown in GW List. In case C11, the communication device 10 identified by each identifier of GW A, GW C, GW E, and GW G is assigned to Group X. Similarly, the communication device 10 identified by each identifier of GW B, GW D, and GW F is assigned to Group Y. The network group identifier and information on the communication device 10 included in each network group are held as network group information 36. Therefore, at the stage where the calculation of the network group is completed, the network group information 36 is the calculation result of the network group.

ところで、ネットワークの分割によるネットワークグループを生成するための計算は、各通信装置10において個別に行われている。すなわち、ネットワーク中の各通信装置10が、同じグループ生成条件32に基づいて、別個にネットワークグループを計算している。いずれの通信装置10でも同じグループ生成条件32に基づいて処理が行われるので、ネットワークグループの計算結果は、いずれの通信装置10でも同じになると予想されるが、実際に同じ計算結果が得られている確証はない。そこで、検証部22は、適宜、通信部11を用いて、ネットワーク中の他の通信装置10との間でネットワークグループの計算結果を送受信し、ネットワークグループの計算結果が他の通信装置10との間で同じであるかの検証を行う。   By the way, the calculation for generating the network group by dividing the network is performed individually in each communication device 10. That is, each communication device 10 in the network calculates a network group separately based on the same group generation condition 32. Since the processing is performed based on the same group generation condition 32 in any communication device 10, the calculation result of the network group is expected to be the same in any communication device 10, but the same calculation result is actually obtained. There is no confirmation. Therefore, the verification unit 22 uses the communication unit 11 as appropriate to transmit / receive the calculation result of the network group to / from another communication device 10 in the network, and the calculation result of the network group is exchanged with the other communication device 10. Verify whether they are the same.

なお、以下の説明では、動作を行っている通信装置10を明確にするために、符号の最後に動作を行っている通信装置10に割り当てられている符号の末尾のアルファベットを記載することがある。例えば、決定部21aは、通信装置10aの決定部21である。   In the following description, in order to clarify the communication device 10 that is operating, an alphabet at the end of the code assigned to the communication device 10 that is operating may be described at the end of the code. . For example, the determination unit 21a is the determination unit 21 of the communication device 10a.

図6は、検証処理の例を説明する図である。図6を参照しながら、通信装置10aがリーダGWとして最初にネットワークグループを計算する場合の処理の例を説明するが、リーダGWは任意に選択され得る。まず、通信装置10a中の決定部21aは、グループテーブル34aやグループ生成条件32aを用いて、生成するネットワークグループの識別情報と、各ネットワークグループへの通信装置10の割り当てを計算する(ステップS201)。検証部22aは、決定部21aで得られた計算結果を、ネットワーク中の他の通信装置10に送信する(ステップS202、S203)。図6では、図を見やすくするため、通信装置10c〜10fを図示していないが、ネットワークグループの計算結果は、通信装置10b〜10gの全てに送信されているものとする。通信装置10aから計算結果を受信した各通信装置10は、受信した情報を、他の通信装置10に転送する。   FIG. 6 is a diagram illustrating an example of the verification process. An example of processing when the communication apparatus 10a first calculates a network group as the leader GW will be described with reference to FIG. 6, but the leader GW can be arbitrarily selected. First, the determination unit 21a in the communication device 10a calculates the identification information of the network group to be generated and the assignment of the communication device 10 to each network group using the group table 34a and the group generation condition 32a (step S201). . The verification unit 22a transmits the calculation result obtained by the determination unit 21a to another communication device 10 in the network (steps S202 and S203). In FIG. 6, the communication devices 10 c to 10 f are not shown for easy understanding of the drawing, but it is assumed that the network group calculation result is transmitted to all the communication devices 10 b to 10 g. Each communication device 10 that has received a calculation result from the communication device 10 a transfers the received information to another communication device 10.

通信装置10bでは、検証部22bが、通信装置10aがブロックチェーンネットワークの正規ユーザであるかの判定や、通信装置10aから送信された情報が正しいかについてのチェックを行う(ステップS205)。なお、ステップS205において、通信装置10aから送信された情報が正しいかをチェックする際に、通信装置10b中の決定部21bは、グループテーブル34bやグループ生成条件32bを用いて、ネットワークグループを計算する。検証部22bは、通信装置10aから送信された計算結果が決定部21bの計算結果と一致するかを判定する。両者が一致した場合、検証部22bは、通信装置10aから送信された計算結果が正しいと判定する。他の通信装置10においても、通信装置10bと同様の処理により、通信装置10aでの計算結果の検証が行われる(ステップS204、S206)。   In the communication device 10b, the verification unit 22b determines whether the communication device 10a is an authorized user of the block chain network and checks whether the information transmitted from the communication device 10a is correct (step S205). In step S205, when checking whether the information transmitted from the communication device 10a is correct, the determination unit 21b in the communication device 10b calculates a network group using the group table 34b and the group generation condition 32b. . The verification unit 22b determines whether the calculation result transmitted from the communication device 10a matches the calculation result of the determination unit 21b. When both match, the verification unit 22b determines that the calculation result transmitted from the communication device 10a is correct. Also in the other communication devices 10, the calculation result in the communication device 10a is verified by the same processing as the communication device 10b (steps S204 and S206).

通信装置10a〜10gの検証部22は、得られた検証結果を、ネットワーク中の他の通信装置10に送信する。ここで、各通信装置10が、自装置以外の通信装置10に通信装置10aでの計算結果と自装置の計算結果が一致するかなどのチェック結果を送信するため、検証結果の送受信が終わった段階では、ネットワーク中の全ての通信装置10は、自装置以外でのチェック結果を取得することができる。   The verification units 22 of the communication devices 10a to 10g transmit the obtained verification results to other communication devices 10 in the network. Here, since each communication device 10 transmits a check result such as whether the calculation result of the communication device 10a matches the calculation result of the own device to the communication device 10 other than the own device, the transmission / reception of the verification result is finished. In the stage, all the communication devices 10 in the network can acquire the check result other than the own device.

通信装置10aでは、検証部22aは、決定部21aで得られたネットワークグループの計算結果が、ネットワーク中の所定の割合以上の通信装置10で得られた結果と一致しているかを判定する。検証部22aは、通信装置10aで得られたネットワークグループの計算結果が、ネットワーク中の所定の割合以上の通信装置10で得られた結果と一致していると判定したとする。すると、決定部21aは、計算結果に基づいて、ネットワークグループを設定する(ステップS207)。設定されるネットワークグループは、現在、通信装置10aがネットワークグループ情報36aとして保持している情報の通りである。さらに、共有制御部23aは、メタデータDB35aから、通信装置10aが属していないネットワークグループで保持される分のメタデータを削除し、削除の履歴を分散台帳31aのブロックチェーンに記録する(ステップS208)。   In the communication device 10a, the verification unit 22a determines whether the calculation result of the network group obtained by the determination unit 21a matches the result obtained by the communication devices 10 in a predetermined ratio or more in the network. Assume that the verification unit 22a determines that the calculation result of the network group obtained by the communication device 10a matches the result obtained by the communication devices 10 in a predetermined ratio or more in the network. Then, the determination part 21a sets a network group based on a calculation result (step S207). The network group to be set is the same as the information currently held by the communication device 10a as the network group information 36a. Further, the sharing control unit 23a deletes metadata stored in the network group to which the communication device 10a does not belong from the metadata DB 35a, and records the deletion history in the block chain of the distributed ledger 31a (step S208). ).

通信装置10bでは、検証部22bは、決定部21bの計算結果が通信装置10aで得られた計算結果と同じであると判定しているとする。さらに、検証結果の送受信により、通信装置10aで得られた計算結果と同じネットワークグループが、ネットワーク中の所定の割合以上の通信装置10において得られていると判定したとする。すると、検証部22bは、決定部21bでの計算結果に基づいてネットワークグループを設定することを決定し、ネットワークグループを設定する(ステップS209)。さらに、共有制御部23bは、通信装置10bが属するネットワークグループで管理しないメタデータを、メタデータDB35bから削除し、削除の履歴を分散台帳31bのブロックチェーンに記録する(ステップS210)。他の通信装置10でも同様の処理が行われる。   In the communication device 10b, the verification unit 22b determines that the calculation result of the determination unit 21b is the same as the calculation result obtained by the communication device 10a. Furthermore, it is assumed that the same network group as the calculation result obtained by the communication device 10a is obtained in the communication devices 10 in a predetermined ratio or more in the network by transmitting and receiving the verification result. Then, the verification unit 22b determines to set a network group based on the calculation result of the determination unit 21b, and sets the network group (step S209). Furthermore, the sharing control unit 23b deletes metadata that is not managed by the network group to which the communication device 10b belongs from the metadata DB 35b, and records the deletion history in the block chain of the distributed ledger 31b (step S210). Similar processing is performed in other communication apparatuses 10.

なお、一部の通信装置10で異なる計算結果が得られた場合、検証結果の送受信により、ネットワーク中の所定の割合以上の通信装置10で得られている計算結果が採用される。例えば、決定部21gでの計算結果は、通信装置10aでの計算結果と異なっていたとする。しかし、検証部22gは、検証結果の送受信により、通信装置10aで得られた計算結果と同じネットワークグループが、ネットワーク中の所定の割合以上の通信装置10において得られていると判定したとする。すると、検証部22gは、通信装置10aで得られた計算結果と同じネットワークグループを設定することを決定する(ステップS211)。この場合、ネットワークグループ情報36gには、決定部21gでの計算結果が保持されているため、設定されるネットワークグループとは異なる情報がネットワークグループ情報36gに含まれている。そこで、検証部22gは、ネットワークグループの設定内容に合わせて、ネットワークグループ情報36gを更新する。従って、更新処理が終わった段階では、ネットワークグループ情報36gの内容は、実際に設定されるネットワークグループの通りである。さらに、共有制御部23gは、設定されるネットワークグループのうち、通信装置10gが含まれないネットワークグループで管理されるメタデータを、メタデータDB35gから削除し、削除の履歴を分散台帳31bに記録する(ステップS212)。   Note that when different calculation results are obtained in some of the communication devices 10, the calculation results obtained by the communication devices 10 in a predetermined ratio or more in the network are adopted by transmitting and receiving the verification results. For example, it is assumed that the calculation result in the determination unit 21g is different from the calculation result in the communication device 10a. However, it is assumed that the verification unit 22g determines that the same network group as the calculation result obtained by the communication device 10a is obtained in the communication devices 10 in a predetermined ratio or more in the network by transmitting and receiving the verification result. Then, the verification unit 22g determines to set the same network group as the calculation result obtained by the communication device 10a (step S211). In this case, since the network group information 36g holds the calculation result of the determination unit 21g, the network group information 36g includes information different from the set network group. Accordingly, the verification unit 22g updates the network group information 36g according to the setting contents of the network group. Therefore, at the stage where the update process is completed, the contents of the network group information 36g are as the network group actually set. Further, the sharing control unit 23g deletes the metadata managed by the network group that does not include the communication device 10g among the set network groups from the metadata DB 35g, and records the deletion history in the distributed ledger 31b. (Step S212).

図6を参照しながら説明したように、第1の実施形態にかかる方法では、個々の通信装置10がネットワークグループを計算し、計算結果を互いに検証しあう。従って、特定の装置でネットワークグループが生成される場合とは異なり、ネットワーク中の所定の割合以上の通信装置10が検証したネットワークグループを生成することができる。   As described with reference to FIG. 6, in the method according to the first embodiment, each communication device 10 calculates a network group and mutually verifies the calculation result. Therefore, unlike a case where a network group is generated by a specific device, it is possible to generate a network group verified by more than a predetermined ratio of communication devices 10 in the network.

図7は、第1の実施形態にかかるメタデータの管理方法の例を説明する図である。共有制御部23は、ネットワークグループが確定すると、自装置が所属するネットワークグループに含まれている通信装置10を特定する(ステップS31)。共有制御部23は、ステップS31で特定した通信装置10から公開されているメタデータを、管理対象に設定する(ステップS32)。さらに、共有制御部23は、自装置が所属するネットワークグループの通信装置10から公開されているメタデータ以外のメタデータを、管理対象外に設定する(ステップS33)。共有制御部23は、ステップS33で管理対象外に設定したメタデータをメタデータDB35から削除すると共に、メタデータの削除の記録を分散台帳31に書き込む。   FIG. 7 is a diagram illustrating an example of a metadata management method according to the first embodiment. When the network group is determined, the sharing control unit 23 specifies the communication device 10 included in the network group to which the own device belongs (step S31). The sharing control unit 23 sets the metadata published from the communication device 10 identified in step S31 as a management target (step S32). Furthermore, the sharing control unit 23 sets metadata other than the metadata disclosed from the communication device 10 of the network group to which the own device belongs as a management target (step S33). The sharing control unit 23 deletes the metadata set out of management in step S33 from the metadata DB 35 and writes a record of the metadata deletion in the distributed ledger 31.

図8は、ネットワークグループの生成例を説明する図である。ケースC21では、ネットワークG11中に、通信装置10a〜10lの12台の通信装置10が含まれている。このため、各通信装置10は、通信装置10a〜10lの12台の通信装置10のいずれかを介して取得可能なデータのメタデータを、メタデータDB35に保持している。   FIG. 8 is a diagram illustrating an example of generating a network group. In case C21, twelve communication devices 10 of communication devices 10a to 10l are included in the network G11. For this reason, each communication device 10 holds metadata of data that can be acquired via any one of the twelve communication devices 10 of the communication devices 10 a to 10 l in the metadata DB 35.

ケースC22は、ネットワークG11が、ネットワークグループA〜Cに分割された場合を示す。ネットワークグループAには、通信装置10a〜10dが含まれている。ここで、通信装置10a〜10dの各装置では、ネットワークグループA中の4台の通信装置10で管理しているメタデータをメタデータDB35に保持すれば良い。このため、メタデータDB35の大きさが、ネットワークG11に参加していたときに比べて小さくなっている。   Case C22 shows a case where the network G11 is divided into network groups A to C. The network group A includes communication devices 10a to 10d. Here, in each of the communication devices 10a to 10d, the metadata managed by the four communication devices 10 in the network group A may be held in the metadata DB 35. For this reason, the size of the metadata DB 35 is smaller than when participating in the network G11.

同様に、ネットワークグループBには、通信装置10e、10f、10k、10lが含まれており、ネットワークグループCには、通信装置10g〜10jが含まれている。このため、ネットワークグループBとネットワークグループCのいずれに属する通信装置10でも、ネットワークG11に参加していたときに比べてメタデータDB35の容量が小さくなっている。   Similarly, the network group B includes communication devices 10e, 10f, 10k, and 10l, and the network group C includes communication devices 10g to 10j. For this reason, the capacity of the metadata DB 35 is smaller in the communication devices 10 belonging to either the network group B or the network group C than when the communication device 10 is participating in the network G11.

(2)分割されたネットワークを介した通信処理
以下、ネットワークグループに分割された状態での通信処理について、メタデータの登録、メタデータの検索、データの取得に分けて説明する。
(2) Communication Processing via Divided Network Hereinafter, communication processing in a state of being divided into network groups will be described separately for metadata registration, metadata search, and data acquisition.

(2a)メタデータの登録
図9は、第1の実施形態にかかるメタデータの管理方法の例を説明するフローチャートである。図9の例では、ネットワークは、ネットワークグループX、A、Bの3つに分割されている。通信装置10aと通信装置10bは、ネットワークグループXに参加している。また、通信装置10cと通信装置10dがネットワークグループAに参加しており、通信装置10eと通信装置10fがネットワークグループBに参加している。さらに、データを提供する提供者のサーバ2は、通信装置10aに接続するものとする。
(2a) Metadata Registration FIG. 9 is a flowchart illustrating an example of a metadata management method according to the first embodiment. In the example of FIG. 9, the network is divided into three network groups X, A, and B. The communication device 10a and the communication device 10b participate in the network group X. In addition, the communication device 10c and the communication device 10d participate in the network group A, and the communication device 10e and the communication device 10f participate in the network group B. Furthermore, the provider server 2 that provides data is assumed to be connected to the communication device 10a.

サーバ2は、提供可能なデータのメタデータの公開申請を通信装置10aに要求する(ステップS41)。ここで、提供可能なデータのメタデータには、提供可能なデータの概要、メタデータおよびデータに対するアクセス権の設定、データを取得する際のアクセス先となるローカルアドレスが含まれる。ローカルアドレスには、ローカルサーバのIP(Internet Protocol)アドレスおよびデータへのパスが含まれる。   The server 2 requests the communication device 10a to disclose the metadata of the data that can be provided (step S41). Here, the metadata of the data that can be provided includes an overview of the data that can be provided, setting of access rights to the metadata and data, and a local address that is an access destination when data is acquired. The local address includes a local server IP (Internet Protocol) address and a path to data.

通信装置10aの通信部11aは、データの公開申請を受信すると、共有制御部23aに出力する。共有制御部23aは、提供されるデータを一意に特定可能なデータIDを生成する(ステップS42)。データIDの生成方法は任意である。例えば、共有制御部23aは、提供されるデータのハッシュ値を、データIDとすることができる。共有制御部23aは、サーバ2から受信した情報とデータIDを、予め設定されているメタデータのフォーマットに設定することにより、メタデータを生成する。共有制御部23aは、生成したメタデータの情報を用いて分散台帳31aを更新する。   When receiving the data disclosure application, the communication unit 11a of the communication device 10a outputs the data disclosure application to the sharing control unit 23a. The sharing control unit 23a generates a data ID that can uniquely specify the provided data (step S42). The method for generating the data ID is arbitrary. For example, the sharing control unit 23a can use the hash value of the provided data as the data ID. The sharing control unit 23a generates metadata by setting the information and data ID received from the server 2 to a preset metadata format. The sharing control unit 23a updates the distributed ledger 31a using the generated metadata information.

共有制御部23aは、得られたメタデータをネットワークグループX中の他の通信装置10に送信するとともに、分散台帳31の情報の情報を同期させる(ステップS43)。この処理により、通信装置10bにおいても、ステップS41でサーバ2から申請されたデータのメタデータに対する履歴が分散台帳31bに登録される。   The sharing control unit 23a transmits the obtained metadata to the other communication devices 10 in the network group X, and synchronizes the information of the information in the distributed ledger 31 (step S43). With this process, also in the communication device 10b, the history for the metadata of the data applied from the server 2 in step S41 is registered in the distributed ledger 31b.

さらに、通信装置10aの共有制御部23aは、得られたメタデータをメタデータDB35aに登録する(ステップS44)。図9の例では、メタデータとして、サーバ2から提供されるデータのデータID、アクセス先のGWのIPアドレス、データ概要、アクセス権が記録される。ここで、アクセス先のGWは、サーバ2が接続する通信装置10であるので、通信装置10a自身に割り当てられたIPアドレスである。   Further, the sharing control unit 23a of the communication device 10a registers the obtained metadata in the metadata DB 35a (step S44). In the example of FIG. 9, the data ID of the data provided from the server 2, the IP address of the access destination GW, the data summary, and the access right are recorded as metadata. Here, since the access destination GW is the communication device 10 to which the server 2 is connected, it is an IP address assigned to the communication device 10a itself.

通信装置10bにおいて、共有制御部23bは、通信装置10aから受信したメタデータをメタデータDB35bに登録する。ここで、メタデータDB35bにも、提供されるデータのデータID、アクセス先のGWである通信装置10aのIPアドレス、データ概要、アクセス権が記録される(ステップS45)。   In the communication device 10b, the sharing control unit 23b registers the metadata received from the communication device 10a in the metadata DB 35b. Here, also in the metadata DB 35b, the data ID of the provided data, the IP address of the communication device 10a that is the access destination GW, the data summary, and the access right are recorded (step S45).

通信装置10aの共有制御部23aは、アクセス先として通信装置10a自身のIPアドレスを含めたメタデータを他の装置に通知することにより、サーバ2のアドレスを他の装置に対して秘匿化している。しかし、通信装置10aはサーバ2から提供データを取得するためにサーバ2の情報を使用するので、共有制御部23aは、サーバ2のローカルアドレスをデータIDに対応付けて登録する(ステップS46)。   The sharing control unit 23a of the communication device 10a conceals the address of the server 2 from other devices by notifying other devices of metadata including the IP address of the communication device 10a itself as an access destination. . However, since the communication device 10a uses the information of the server 2 to acquire the provision data from the server 2, the sharing control unit 23a registers the local address of the server 2 in association with the data ID (step S46).

一方、ネットワークグループAまたはネットワークグループBに属する通信装置10c〜10fに対しては、サーバ2から提供可能なデータのメタデータは通知されない。このため、通信装置10c〜10fは、サーバ2から提供可能なデータのメタデータを保持しなくてすむ。   On the other hand, the metadata of data that can be provided from the server 2 is not notified to the communication devices 10c to 10f belonging to the network group A or the network group B. For this reason, the communication devices 10c to 10f do not need to hold metadata of data that can be provided from the server 2.

なお、図9は処理の一例であり、処理は実装に応じて変更され得る。例えば、ステップS44の処理はステップS43の処理の前に行われても良く、また、ステップS43とS44の処理が並行して行われても良い。   FIG. 9 is an example of processing, and the processing can be changed according to the implementation. For example, the process of step S44 may be performed before the process of step S43, and the processes of steps S43 and S44 may be performed in parallel.

図9に示すように、ネットワークグループに分割されると、メタデータはネットワークグループごとに登録や管理が行われる。従って、ネットワークグループXに属する通信装置10aに接続するサーバ2から提供可能なデータの情報が通知されると、通知された情報から生成されるメタデータは、ネットワークグループXに属する通信装置10に保持される。しかし、ネットワークグループXに属する通信装置10aに接続するサーバ2から提供可能なデータのメタデータは、ネットワークグループX以外のネットワークグループに属する通信装置10には保持されない。このため、ネットワークグループを生成することにより、個々の通信装置10が管理するメタデータの量を減らすことができ、通信装置10にかかる負荷を軽減できる。   As shown in FIG. 9, when divided into network groups, metadata is registered and managed for each network group. Therefore, when the information on the data that can be provided from the server 2 connected to the communication device 10a belonging to the network group X is notified, the metadata generated from the notified information is held in the communication device 10 belonging to the network group X. Is done. However, the metadata of data that can be provided from the server 2 connected to the communication device 10 a belonging to the network group X is not held in the communication device 10 belonging to a network group other than the network group X. Therefore, by generating a network group, the amount of metadata managed by each communication device 10 can be reduced, and the load on the communication device 10 can be reduced.

(2b)メタデータの検索
図10は、第1の実施形態にかかるメタデータの参照方法の例を説明するシーケンス図である。図10の例でも、ネットワークは、ネットワークグループX、A、Bに分割されているものとする。通信装置10aと通信装置10bはネットワークグループXに参加し、通信装置10cと通信装置10dはネットワークグループAに参加しているとする。また、通信装置10eと通信装置10fは、ネットワークグループBに参加している。さらに、データを利用しようとするユーザの端末4は、通信装置10bに接続しているものとする。
(2b) Metadata Search FIG. 10 is a sequence diagram illustrating an example of a metadata reference method according to the first embodiment. In the example of FIG. 10 also, it is assumed that the network is divided into network groups X, A, and B. Assume that the communication device 10a and the communication device 10b participate in the network group X, and the communication device 10c and the communication device 10d participate in the network group A. The communication device 10e and the communication device 10f participate in the network group B. Furthermore, it is assumed that the terminal 4 of the user who intends to use data is connected to the communication device 10b.

データを利用しようとするユーザの端末4から、端末4が利用可能なデータについての情報を要求するメタデータリクエストが送信されたとする(ステップS51)。なお、このとき、メタデータリクエストと共に、端末4に対して発行されている電子証明書も、端末4から送信される。   It is assumed that a metadata request for requesting information about data that can be used by the terminal 4 is transmitted from the terminal 4 of the user who intends to use the data (step S51). At this time, an electronic certificate issued to the terminal 4 is also transmitted from the terminal 4 together with the metadata request.

通信装置10bの通信部11bは、メタデータリクエストと電子証明書を受信すると、取得部24bに出力する。取得部24bは、電子証明書を用いて、端末4がネットワークにアクセス可能な正規のユーザであるかと、メタデータに対するアクセス権があるかを判定する(ステップS52)。例えば、メタデータDB35bに保持されているいずれかのメタデータのアクセスが端末4に許可されている場合、取得部24bは、端末4にメタデータに対するアクセス権があると判定する。なお、端末4がアクセス可能なデータに対するメタデータには、メタデータ中のアクセス権で端末4が指定されている。   Upon receiving the metadata request and the electronic certificate, the communication unit 11b of the communication device 10b outputs the metadata request and the electronic certificate to the acquisition unit 24b. Using the electronic certificate, the acquisition unit 24b determines whether the terminal 4 is a legitimate user who can access the network and has an access right to the metadata (step S52). For example, when the terminal 4 is permitted to access any metadata held in the metadata DB 35b, the acquisition unit 24b determines that the terminal 4 has an access right to the metadata. Note that in the metadata for data accessible by the terminal 4, the terminal 4 is designated by the access right in the metadata.

取得部24bは、端末4から送信されたメタデータリクエストと電子証明書を、適宜、通信部11bを用いて、ネットワークグループX中の他の通信装置10に送信して、端末4が正規ユーザであるかとアクセス権の有無についての検証を要求する。このため、通信装置10aにおいても、端末4に対するアクセス権などの検証が行われる(ステップS52)。   The acquisition unit 24b transmits the metadata request and the electronic certificate transmitted from the terminal 4 to the other communication devices 10 in the network group X using the communication unit 11b as appropriate, and the terminal 4 is the authorized user. Request verification of existence and access rights. Therefore, the communication device 10a also verifies the access right to the terminal 4 (step S52).

図10の例では、ネットワークグループXに含まれる通信装置10の所定の割合以上において、端末4が正規ユーザであり、メタデータに対するアクセス権があると判定されたとする。すると、取得部24bは、メタデータDB35bから、端末4がアクセス可能なデータに対するメタデータを抽出する。なお、メタデータDB35bから抽出されるメタデータは、ネットワークグループXで管理されているメタデータであり、他のネットワークグループで管理されているメタデータは含まれない。そこで、取得部24bは、ネットワークグループ情報36bを参照することにより、ネットワークグループX以外のネットワークグループ中の通信装置10に、メタデータリクエストを転送する(ステップS53)。このとき、取得部24bは、ネットワークグループAとネットワークグループBの各々に対して、ネットワークグループ情報36bを用いて、メタデータリクエストの転送先を選択する。図10の例では、取得部24bは、メタデータリクエストの転送先として、ネットワークグループAから通信装置10cを選択し、ネットワークグループBから通信装置10eを選択している。   In the example of FIG. 10, it is assumed that it is determined that the terminal 4 is a regular user and has an access right to metadata in a predetermined ratio or more of the communication devices 10 included in the network group X. Then, the acquisition unit 24b extracts metadata for data accessible by the terminal 4 from the metadata DB 35b. Note that the metadata extracted from the metadata DB 35b is metadata managed by the network group X, and does not include metadata managed by other network groups. Accordingly, the acquisition unit 24b refers to the network group information 36b, and transfers the metadata request to the communication device 10 in the network group other than the network group X (step S53). At this time, the acquisition unit 24b selects the transfer destination of the metadata request for each of the network group A and the network group B using the network group information 36b. In the example of FIG. 10, the acquisition unit 24b selects the communication device 10c from the network group A and the communication device 10e from the network group B as the transfer destination of the metadata request.

通信装置10cの取得部24cは、通信部11cを介してメタデータリクエストを受信すると、端末4がネットワークグループAで保持されているメタデータに対するアクセス権を有するかを判定する(ステップS54)。メタデータDB35cに保持されているいずれかのメタデータのアクセスが端末4に許可されている場合、取得部24cは、端末4がネットワークグループAで保持されているメタデータに対するアクセス権を有すると判定する。取得部24cは、メタデータリクエストを、適宜、通信部11cを介して、ネットワークグループA中の他の通信装置10に送信して、端末4のメタデータへのアクセス権の有無についての検証を要求する。このため、通信装置10dにおいても、端末4のアクセス権に関する検証が行われる(ステップS54)。ネットワークグループAに含まれる通信装置10の所定の割合以上において、端末4がネットワークグループAで保持されているメタデータに対するアクセス権を有すると判定されたとする。すると、取得部24cは、メタデータDB35cから、端末4がアクセス可能なデータに対するメタデータを抽出し、リクエスト結果として、通信装置10bに送信する(ステップS55)。   When receiving the metadata request via the communication unit 11c, the acquiring unit 24c of the communication device 10c determines whether the terminal 4 has an access right to the metadata held in the network group A (Step S54). If the terminal 4 is permitted to access any metadata held in the metadata DB 35c, the acquisition unit 24c determines that the terminal 4 has an access right to the metadata held in the network group A. To do. The acquisition unit 24c appropriately transmits a metadata request to another communication device 10 in the network group A via the communication unit 11c, and requests verification as to whether or not the terminal 4 has an access right to the metadata. To do. For this reason, the communication device 10d also verifies the access right of the terminal 4 (step S54). It is assumed that the terminal 4 is determined to have access rights to the metadata held in the network group A in a predetermined ratio or more of the communication devices 10 included in the network group A. Then, the acquisition unit 24c extracts metadata for data accessible by the terminal 4 from the metadata DB 35c, and transmits it to the communication device 10b as a request result (step S55).

ネットワークグループB中の通信装置10eにおいても、ステップS54、S55を参照しながら説明した処理と同様の処理が行われる(ステップS56、S57)。このため、ネットワークグループBに保持されているメタデータのうち、端末4がアクセス可能なデータも、通信装置10bに送信される。   Also in the communication device 10e in the network group B, processing similar to the processing described with reference to steps S54 and S55 is performed (steps S56 and S57). For this reason, among the metadata held in the network group B, data accessible by the terminal 4 is also transmitted to the communication device 10b.

通信装置10bの取得部24bは、他のネットワークグループ中の通信装置10から受信したリクエスト結果と、取得部24bがメタデータDB35bから抽出したメタデータを統合して、統合リクエスト結果を生成する(ステップS58)。統合リクエスト結果の生成の処理の詳細については図11を参照しながら説明する。取得部24bは、得られた統合リクエスト結果を、端末4に送信する(ステップS59)。   The acquisition unit 24b of the communication device 10b integrates the request result received from the communication device 10 in another network group and the metadata extracted by the acquisition unit 24b from the metadata DB 35b to generate an integration request result (step S58). Details of the process of generating the integration request result will be described with reference to FIG. The acquisition unit 24b transmits the obtained integration request result to the terminal 4 (step S59).

図10を参照しながら説明したように、ネットワークが複数のネットワークグループに分割された後でメタデータが端末4から要求されると、各ネットワークグループで端末4のアクセス可能なメタデータが検索され、全ての検索結果が端末4に通知される。このため、実施形態にかかる方法では、端末4の接続先の通信装置10が属するネットワークグループ以外のネットワークグループで保持されているメタデータの情報も、端末4に提供される。   As described with reference to FIG. 10, when metadata is requested from the terminal 4 after the network is divided into a plurality of network groups, the accessible metadata of the terminal 4 is searched in each network group, All search results are notified to the terminal 4. For this reason, in the method according to the embodiment, information on metadata held in a network group other than the network group to which the communication device 10 to which the terminal 4 is connected belongs is also provided to the terminal 4.

図11は、リクエスト結果処理の例を説明する図である。他のネットワークグループ中の通信装置10からリクエスト結果を受信すると、取得部24は、ループ端L1とL2で挟まれたループ処理を行う。以下、ループ端L1とL2で挟まれたループ処理のことを「メタデータ処理ループ」と記載することがある。取得部24は、取得した全てのメタデータに対して処理を行ったかを判定する(ループ端L1)。取得した全てのメタデータに対して処理を行っていない場合、取得部24は、メタデータに記載されているデータIDとGWアドレスの関係を対応テーブル33に記憶する(ループ端L1でNo、ステップS61)。例えば、1番目の処理対象のメタデータに、データID=Xxxx、および、GWアドレス=アドレスAという情報が含まれているとする。すると、取得部24は、データID=Xxxxという情報を、GWアドレス=アドレスAという情報に対応付けて、対応テーブル33に格納する。さらに、2番目の処理対象のメタデータに、データID=Yyyy、および、GWアドレス=アドレスDという情報が含まれているとする。この場合も、取得部24は、データID=Yyyyに対応付けて、GWアドレス=アドレスDという情報を対応テーブル33に格納する。このため、図11に示す対応テーブル33が得られる。   FIG. 11 is a diagram illustrating an example of request result processing. When receiving a request result from the communication device 10 in another network group, the acquisition unit 24 performs a loop process sandwiched between the loop ends L1 and L2. Hereinafter, the loop processing sandwiched between the loop ends L1 and L2 may be referred to as a “metadata processing loop”. The acquiring unit 24 determines whether all acquired metadata has been processed (loop end L1). When the processing has not been performed for all the acquired metadata, the acquisition unit 24 stores the relationship between the data ID and the GW address described in the metadata in the correspondence table 33 (No at the loop end L1, step S61). For example, it is assumed that the first processing target metadata includes data ID = Xxxxx and GW address = address A. Then, the acquisition unit 24 stores the information of data ID = Xxxxx in the correspondence table 33 in association with the information of GW address = address A. Further, it is assumed that the second processing target metadata includes information of data ID = Yyyy and GW address = address D. Also in this case, the acquisition unit 24 stores information GW address = address D in the correspondence table 33 in association with the data ID = Yyyy. Therefore, the correspondence table 33 shown in FIG. 11 is obtained.

ステップS61の処理が終わると、取得部24は、取得したメタデータからGWアドレスを削除する(ステップS62)。ステップS62の処理により、メタデータに概要が記録されているデータの提供元に接続可能な通信装置10のアドレスを、端末4に対して秘匿化できる。取得したメタデータのうち、未処理のメタデータが残っている間、メタデータ処理ループの処理が繰り返される(ループ端L2)。   When the process of step S61 ends, the acquisition unit 24 deletes the GW address from the acquired metadata (step S62). By the processing in step S62, the address of the communication device 10 that can be connected to the data provider whose outline is recorded in the metadata can be concealed from the terminal 4. While the unprocessed metadata remains among the acquired metadata, the processing of the metadata processing loop is repeated (loop end L2).

取得した全てのメタデータに対してメタデータ処理ループ中の処理を行うと、取得部24は、処理後の複数のメタデータをリスト化することにより、統合リクエスト結果を生成する(ステップS63)。取得部24は、統合リクエスト結果を、メタデータリクエストを送信した利用者の端末4に送信する(ステップS64)。   When the processing in the metadata processing loop is performed on all the acquired metadata, the acquiring unit 24 generates an integration request result by listing a plurality of processed metadata (step S63). The acquisition unit 24 transmits the integration request result to the terminal 4 of the user who transmitted the metadata request (step S64).

図11を参照しながら説明した処理により、データの提供元が接続する通信装置10の情報を端末4に秘匿化しつつ、端末4が利用可能なデータの各々についての概要をリスト化した統合リクエスト結果を端末4に送信できる。   The integrated request result that lists the outline of each of the data that can be used by the terminal 4 while concealing the information of the communication device 10 to which the data provider connects by the process described with reference to FIG. Can be transmitted to the terminal 4.

(2c)データの取得
図12は、第1の実施形態にかかるデータの取得方法の例を説明するシーケンス図である。図12を参照しながら、通信装置10bに接続している端末4がデータID=Yyyyで識別されるデータを取得する場合に行われる処理の例を説明する。なお、アドレスDは、通信装置10dに割り当てられたIPアドレスであるとする。
(2c) Data Acquisition FIG. 12 is a sequence diagram illustrating an example of a data acquisition method according to the first embodiment. An example of processing performed when the terminal 4 connected to the communication device 10b acquires data identified by data ID = Yyyy will be described with reference to FIG. The address D is assumed to be an IP address assigned to the communication device 10d.

統合リクエスト結果を取得した端末4のユーザは、統合リクエスト結果に含まれているデータ概要を用いて、データID=Yyyyで識別されるデータを取得することを決定したとする。端末4のユーザの操作により、端末4からデータID=Yyyyを含むデータリクエストが送信される(ステップS71)。なお、このとき、データリクエストと共に、端末4に対して発行されている電子証明書も通信装置10bに送信される。   It is assumed that the user of the terminal 4 that has acquired the integration request result has decided to acquire the data identified by the data ID = Yyyy using the data summary included in the integration request result. A data request including data ID = Yyyy is transmitted from the terminal 4 by an operation of the user of the terminal 4 (step S71). At this time, an electronic certificate issued to the terminal 4 is also transmitted to the communication device 10b together with the data request.

通信装置10bの取得部24bは、通信部11bを介してデータリクエストを受信する。取得部24bは、データリクエストに含まれているデータIDをキーとして、対応テーブル33bを検索する。対応テーブル33bは図11に示す通りであるとする。取得部24bは、データID=Yyyyに対して、GWアドレス=アドレスDが対応付けられていることを特定する。そこで、取得部24bは、アドレスDが割り当てられている通信装置10(通信装置10d)に、データリクエストを転送する(ステップS72)。このとき、端末4から送信された電子証明書も、データリクエストと共に通信装置10dに転送される。さらに、取得部24bは、データリクエストの送信元が端末4であることを、データIDに対応付けて記憶する。   The acquisition unit 24b of the communication device 10b receives a data request via the communication unit 11b. The acquisition unit 24b searches the correspondence table 33b using the data ID included in the data request as a key. Assume that the correspondence table 33b is as shown in FIG. The acquisition unit 24b specifies that GW address = address D is associated with data ID = Yyyy. Therefore, the acquisition unit 24b transfers the data request to the communication device 10 (communication device 10d) to which the address D is assigned (step S72). At this time, the electronic certificate transmitted from the terminal 4 is also transferred to the communication device 10d together with the data request. Furthermore, the acquisition unit 24b stores that the transmission source of the data request is the terminal 4 in association with the data ID.

通信装置10dの取得部24dは、通信部11dを介して、メタデータリクエストと電子証明書を取得する。取得部24dは、データリクエストの転送元が通信装置10bであることを、データIDに対応付けて記憶する。さらに、取得部24dは、電子証明書を用いて、端末4がネットワークにアクセス可能な正規のユーザであるかと、データID=Yyyyで識別されるデータに対するアクセス権があるかを判定する(ステップS73)。データID=Yyyyで識別されるデータに対するアクセス権があるかは、データID=Yyyyを含むメタデータにおいて、アクセスが端末4に許可されているかによって判定される。   The acquisition unit 24d of the communication device 10d acquires a metadata request and an electronic certificate via the communication unit 11d. The acquiring unit 24d stores that the data request transfer source is the communication device 10b in association with the data ID. Furthermore, the acquisition unit 24d determines whether the terminal 4 is a legitimate user who can access the network and has an access right to the data identified by the data ID = Yyyy using the electronic certificate (Step S73). ). Whether there is an access right to the data identified by the data ID = Yyyy is determined depending on whether access is permitted to the terminal 4 in the metadata including the data ID = Yyyy.

取得部24dは、メタデータリクエストと電子証明書を、適宜、通信部11dを用いて、ネットワークグループA中の他の通信装置10に送信して、端末4が正規ユーザであるかとアクセス権の有無についての検証を要求する。このため、通信装置10cにおいても、端末4に対するアクセス権などの検証が行われる(ステップS73)。図12の例では、ネットワークグループAに含まれる通信装置10の所定の割合以上において、端末4が正規ユーザでありデータID=Yyyyで識別されるデータに対するアクセス権があると判定されたとする。   The acquisition unit 24d appropriately transmits a metadata request and an electronic certificate to the other communication devices 10 in the network group A using the communication unit 11d, and determines whether the terminal 4 is an authorized user and whether there is an access right. Request verification for. For this reason, also in the communication apparatus 10c, verification of the access right etc. with respect to the terminal 4 is performed (step S73). In the example of FIG. 12, it is assumed that it is determined that the terminal 4 is a regular user and has an access right to data identified by data ID = Yyyy in a predetermined ratio or more of the communication devices 10 included in the network group A.

取得部24dは、メタデータ中に通信装置10d自身のアドレスが記録されていることから、通信装置10dに接続する装置からデータID=Yyyyで識別されるデータを取得できると判定する。取得部24dは、データID=Yyyyに対応付けて記憶しているローカルアドレスに、データリクエストを送信する(ステップS74)。   Since the address of the communication device 10d itself is recorded in the metadata, the acquisition unit 24d determines that the data identified by the data ID = Yyyy can be acquired from the device connected to the communication device 10d. The acquisition unit 24d transmits a data request to the local address stored in association with the data ID = Yyyy (step S74).

サーバ2は、データリクエストを受信すると、データリクエストの宛先のローカルアドレスに対応付けられたデータを、データリクエストに対する応答で送信するデータとする。ここで、ローカルアドレスには、ローカルサーバ(サーバ2)のアドレスの他に、データへのパスが含まれている。このため、ステップS74で送信されたデータリクエストに応答して送信する対象に選択されたデータは、データID=Yyyyで識別されるデータとなる。サーバ2は、データリクエストに対する応答で送信する対象として特定したデータを、データリクエストの送信元である通信装置10dに送信する(ステップS75)。   When the server 2 receives the data request, the server 2 sets the data associated with the local address of the destination of the data request as data to be transmitted in response to the data request. Here, the local address includes a path to data in addition to the address of the local server (server 2). For this reason, the data selected as a target to be transmitted in response to the data request transmitted in step S74 is data identified by data ID = Yyyy. The server 2 transmits the data specified as the transmission target in response to the data request to the communication device 10d that is the transmission source of the data request (step S75).

通信装置10dの取得部24dは、サーバ2から受信したデータの転送先を、データIDを用いて特定する。ここでは、データID=Yyyyのデータの転送先は、データリクエストの転送元の通信装置10bである。そこで、取得部24dは、データID=Yyyyで識別されるデータを通信装置10bに送信する(ステップS76)。   The acquisition unit 24d of the communication device 10d specifies the transfer destination of the data received from the server 2 using the data ID. Here, the transfer destination of the data with the data ID = Yyyy is the communication device 10b that is the transfer source of the data request. Therefore, the acquisition unit 24d transmits the data identified by the data ID = Yyyy to the communication device 10b (Step S76).

通信装置10bの取得部24bは、通信装置10dから受信したデータの転送先を、データIDを用いて特定する。ここでは、データID=Yyyyのデータに対するリクエストが端末4から送信されているので、データID=Yyyyの転送先は端末4である。そこで、取得部24bは、データID=Yyyyで識別されるデータを端末4に送信する(ステップS77)。   The acquisition unit 24b of the communication device 10b specifies the transfer destination of the data received from the communication device 10d using the data ID. Here, since the request for the data with the data ID = Yyyy is transmitted from the terminal 4, the transfer destination of the data ID = Yyyy is the terminal 4. Therefore, the acquisition unit 24b transmits the data identified by the data ID = Yyyy to the terminal 4 (Step S77).

図12を参照しながら説明したように、ネットワークが複数のネットワークグループに分割された後でデータが端末4から要求されると、通信装置10は、メタデータの検索の際に作成してある対応テーブル33を用いて、データの要求先を特定できる。このため、実施形態にかかる方法では、端末4の接続先の通信装置10が属するネットワークグループ以外のネットワークグループで保持されているデータも、端末4に提供される。   As described with reference to FIG. 12, when data is requested from the terminal 4 after the network is divided into a plurality of network groups, the communication device 10 creates a response created when searching for metadata. The table 33 can be used to specify the data request destination. For this reason, in the method according to the embodiment, data held in a network group other than the network group to which the communication device 10 to which the terminal 4 is connected belongs is also provided to the terminal 4.

<第2の実施形態>
第1の実施形態では、ネットワークグループに分類された各通信装置10が、自装置が属するネットワークグループ中のいずれかの通信装置10を介して取得可能なデータのメタデータを保持する場合について説明した。しかし、メタデータが保持されるネットワークグループは、そのメタデータで特定されるデータの提供元が接続する通信装置10の属するネットワークグループではなくても良い。
<Second Embodiment>
In the first embodiment, a case has been described in which each communication device 10 classified into a network group holds metadata of data that can be acquired via any communication device 10 in the network group to which the device belongs. . However, the network group in which the metadata is held may not be the network group to which the communication device 10 to which the data provider specified by the metadata is connected belongs.

第2の実施形態では、メタデータが保持されるネットワークグループが、データの提供元が接続する通信装置10が所属するネットワークグループとは無関係に選択される場合について説明する。なお、第2の実施形態においても、ネットワークを複数のネットワークグループに分割する際に行われる処理のうち、管理対象のメタデータを決定する処理以外は、第1の実施形態と同様である。   In the second embodiment, a case will be described in which a network group in which metadata is stored is selected regardless of the network group to which the communication device 10 to which the data provider connects belongs. Note that the second embodiment is the same as the first embodiment except for the process of determining metadata to be managed among the processes performed when a network is divided into a plurality of network groups.

(3a)管理対象のメタデータの決定
図13は、第2の実施形態にかかるメタデータの管理方法の例を説明する図である。第2の実施形態では、予め、各ネットワークグループについて、メタデータを保持するデータのIDの範囲が設定されている。また、データIDが取りえる値の範囲が0000〜9999であるとする。
(3a) Determination of Metadata to be Managed FIG. 13 is a diagram illustrating an example of a metadata management method according to the second embodiment. In the second embodiment, a range of IDs of data holding metadata is set in advance for each network group. Further, it is assumed that the range of values that can be taken by the data ID is 0000 to 9999.

図13の例では、ネットワークグループAに属する通信装置10の各々は、データIDが0000〜3333の範囲に含まれるメタデータを保持する。また、ネットワークグループAに属する通信装置10が保持する分散台帳31も、データIDが0000〜3333の範囲に含まれるメタデータへのアクセス履歴や正当性を確認する際に使用される。   In the example of FIG. 13, each of the communication devices 10 belonging to the network group A holds metadata included in the range of the data ID 0000-3333. The distributed ledger 31 held by the communication device 10 belonging to the network group A is also used when confirming the access history and validity of metadata included in the range of the data ID 0000-3333.

同様に、ネットワークグループBに属する通信装置10の各々は、データIDが3334〜6666の範囲に含まれるメタデータと、データIDが3334〜6666の範囲のメタデータへのアクセス履歴や正当性の確認に使用可能な分散台帳31を保持する。さらに、ネットワークグループXに属する通信装置10の各々は、データIDが6667〜9999の範囲に含まれるメタデータと、データIDが6667〜9999の範囲のメタデータおよびデータへのアクセス履歴や正当性の確認に使用可能な分散台帳31を保持する。   Similarly, each of the communication devices 10 belonging to the network group B confirms the access history and validity of the metadata included in the range of the data ID 3334 to 6666 and the metadata of the range of the data ID 3334 to 6666. The distributed ledger 31 that can be used for the above is held. Further, each of the communication devices 10 belonging to the network group X has access history and validity of metadata included in the range of the data ID 6667 to 9999, and metadata and data in the range of the data ID 6667 to 9999. A distributed ledger 31 that can be used for confirmation is held.

第2の実施形態では、各通信装置10は、各ネットワークグループのメタデータの保持範囲を、設定テーブル37として記憶している。図13の例では、各通信装置10は、以下の情報を含む設定テーブル37を保持する。
データID=0000〜3333:ネットワークグループA
データID=3334〜6666:ネットワークグループB
データID=6667〜9999:ネットワークグループX
In the second embodiment, each communication device 10 stores the metadata holding range of each network group as the setting table 37. In the example of FIG. 13, each communication device 10 holds a setting table 37 including the following information.
Data ID = 0000-3333: Network group A
Data ID = 3334-6666: Network group B
Data ID = 6667 to 9999: Network group X

図14は、第2の実施形態にかかるメタデータの管理方法の例を説明するフローチャートである。以下の記載では、データIDが取りえる値の範囲のことを「データID空間」と記載することがある。   FIG. 14 is a flowchart illustrating an example of a metadata management method according to the second embodiment. In the following description, the range of values that can be taken by the data ID may be described as a “data ID space”.

ネットワークを分割するためのネットワークグループの計算と、ネットワークグループの計算結果の検証が終わったとする。各通信装置10は、生成されたネットワークグループの情報をネットワークグループ情報36に保持している。そこで、共有制御部23は、ネットワークグループ情報36を参照することにより、生成されるネットワークグループ数を特定できる。共有制御部23は、データID空間を、ネットワークグループ数で分割し、ネットワークグループごとに、分割したデータID空間に対応付ける(ステップS81、S82)。ステップS81、S82の分割処理により、例えば、図13を参照しながら説明したように、各ネットワークグループに、分割されたID空間が対応付けられる。共有制御部23は、自装置が属するネットワークグループが管理するデータID空間を特定する(ステップS83)。   Assume that the calculation of the network group for dividing the network and the verification of the calculation result of the network group are finished. Each communication device 10 holds the generated network group information in the network group information 36. Therefore, the sharing control unit 23 can specify the number of network groups to be generated by referring to the network group information 36. The sharing control unit 23 divides the data ID space by the number of network groups, and associates the data ID space with the divided data ID space for each network group (steps S81 and S82). By the division processing in steps S81 and S82, for example, as described with reference to FIG. 13, the divided ID space is associated with each network group. The sharing control unit 23 specifies a data ID space managed by the network group to which the own device belongs (step S83).

ネットワークグループの設定に際して、共有制御部23は、メタデータDB35に保持されている個々のメタデータに対して、データIDが特定したデータID空間に含まれるかを判定する(ステップS84)。メタデータ中のデータIDが特定したデータID空間に含まれる場合、共有制御部23は、そのメタデータを管理対象としてメタデータDB35に保持する(ステップS84でYes、ステップS85)。さらに、共有制御部23は、管理対象としたメタデータに対する履歴などの情報を用いて分散台帳31を更新する。   When setting the network group, the sharing control unit 23 determines whether the data ID is included in the specified data ID space for each piece of metadata held in the metadata DB 35 (step S84). When the data ID in the metadata is included in the specified data ID space, the sharing control unit 23 holds the metadata as a management target in the metadata DB 35 (Yes in step S84, step S85). Furthermore, the sharing control unit 23 updates the distributed ledger 31 using information such as a history for the metadata to be managed.

一方、メタデータ中のデータIDが特定したデータID空間に含まれない場合、共有制御部23は、そのメタデータを管理対象ではないと判定する(ステップS84でNo)。この場合、共有制御部23は、メタデータをメタデータDB35から削除する。また、共有制御部23は、管理対象ではないメタデータの情報を分散台帳31に含めない。   On the other hand, if the data ID in the metadata is not included in the specified data ID space, the sharing control unit 23 determines that the metadata is not a management target (No in step S84). In this case, the sharing control unit 23 deletes the metadata from the metadata DB 35. Further, the sharing control unit 23 does not include metadata information that is not a management target in the distributed ledger 31.

図14を参照しながら、ネットワークグループを設定した際のメタデータDB35からのメタデータの削除について説明したが、ネットワークグループの設定後にメタデータを取得した場合にも、図14と同様の手順でそのメタデータを記憶するかが決定される。   The deletion of metadata from the metadata DB 35 when a network group is set has been described with reference to FIG. 14, but when metadata is acquired after the network group is set, the procedure is the same as in FIG. 14. It is determined whether to store the metadata.

(3b)メタデータの登録
図15は、第2の実施形態にかかるメタデータの管理方法の例を説明するシーケンス図である。図15の例では、ネットワークグループXに通信装置10aと通信装置10bが参加しており、ネットワークグループAに通信装置10cと通信装置10dが参加している。また、データを提供可能なサーバ2は、通信装置10aに接続している。
(3b) Metadata Registration FIG. 15 is a sequence diagram illustrating an example of a metadata management method according to the second embodiment. In the example of FIG. 15, the communication device 10a and the communication device 10b participate in the network group X, and the communication device 10c and the communication device 10d participate in the network group A. The server 2 that can provide data is connected to the communication device 10a.

サーバ2は、提供可能なデータのメタデータの公開申請を通信装置10aに要求する(ステップS91)。ここで、提供可能なデータの情報として、提供可能なデータの概要、メタデータおよびデータに対するアクセス権の設定、データを取得する際のアクセス先となるローカルアドレスが、通信装置10aに送信される。さらに、サーバ2は、サーバ2に対して発行されている電子証明書も、メタデータの公開申請と共に通信装置10aに送信する。   The server 2 requests the communication device 10a to disclose the metadata of the data that can be provided (step S91). Here, as information on the data that can be provided, an overview of the data that can be provided, setting of access rights to the metadata and data, and a local address that is an access destination when acquiring the data are transmitted to the communication device 10a. Furthermore, the server 2 also transmits the electronic certificate issued to the server 2 to the communication device 10a together with the metadata disclosure application.

通信装置10aの共有制御部23aは、通信部11aを介してメタデータの公開申請や、電子証明書を取得すると、電子証明書を用いて、サーバ2が正規ユーザであるかを判定する。サーバ2が正規ユーザであると判定すると、共有制御部23aは、公開対象となるデータからデータIDを生成する(ステップS92)。共有制御部23aは、生成したデータIDをキーとして、設定テーブル37を検索する。ステップS92で生成されたデータIDは、ネットワークグループAがメタデータを保持する範囲に含まれているとする。   When the sharing control unit 23a of the communication device 10a obtains the metadata disclosure application or the electronic certificate via the communication unit 11a, the sharing control unit 23a determines whether the server 2 is an authorized user using the electronic certificate. If it is determined that the server 2 is an authorized user, the sharing control unit 23a generates a data ID from the data to be disclosed (step S92). The sharing control unit 23a searches the setting table 37 using the generated data ID as a key. It is assumed that the data ID generated in step S92 is included in the range in which the network group A holds metadata.

すると、共有制御部23aは、ネットワークグループ情報36aを参照して、ネットワークグループAに含まれている通信装置10を、メタデータの通知先として選択する。ここで、メタデータの通知先となる通信装置10の選択方法は、任意である。例えば、共有制御部23は、ネットワークグループAの通信装置として列挙されている通信装置10の中からランダムに選択した通信装置10をメタデータの通知先としても良い。また、予め、各ネットワークグループでリーダとして動作するリーダGWが設定されている場合、共有制御部23は、ネットワークグループAのリーダGWをメタデータの通知先に選択しても良い。図15の例では、共有制御部23aは、メタデータの通知先に通信装置10cを選択している。   Then, the sharing control unit 23a refers to the network group information 36a and selects the communication device 10 included in the network group A as a metadata notification destination. Here, the method of selecting the communication device 10 that is the metadata notification destination is arbitrary. For example, the sharing control unit 23 may use a communication device 10 randomly selected from the communication devices 10 listed as communication devices of the network group A as a metadata notification destination. If a reader GW that operates as a reader in each network group is set in advance, the sharing control unit 23 may select the reader GW of the network group A as a metadata notification destination. In the example of FIG. 15, the sharing control unit 23 a selects the communication device 10 c as a metadata notification destination.

共有制御部23aは、データID、アクセス先のGWのIPアドレス、データ概要、および、アクセス権を含めたメタデータを、通信装置10cに送信する(ステップS93)。なお、ステップS93において、共有制御部23aは、サーバ2のアドレスを秘匿化するために、通信装置10aに割り当てられたIPアドレスを、アクセス先のGWのIPアドレスとして、通信装置10cに送信するメタデータに含める。   The sharing control unit 23a transmits metadata including the data ID, the IP address of the access destination GW, the data summary, and the access right to the communication device 10c (step S93). In step S93, the sharing control unit 23a transmits the IP address assigned to the communication device 10a to the communication device 10c as the IP address of the access destination GW in order to conceal the address of the server 2. Include in data.

通信装置10cの共有制御部23cは、通信部11cを介してメタデータを取得すると、メタデータの情報を分散台帳31cに記録する。共有制御部23cは、得られたメタデータをネットワークグループA中の他の通信装置10に送信するとともに、分散台帳31の情報を同期させる(ステップS94)。この処理により、通信装置10dにおいても、ステップS93で通信装置10cが受信したメタデータに対する履歴が分散台帳31dに登録される。   When the sharing control unit 23c of the communication device 10c acquires the metadata via the communication unit 11c, the sharing control unit 23c records the metadata information in the distributed ledger 31c. The sharing control unit 23c transmits the obtained metadata to the other communication devices 10 in the network group A, and synchronizes the information in the distributed ledger 31 (step S94). With this process, also in the communication device 10d, the history for the metadata received by the communication device 10c in step S93 is registered in the distributed ledger 31d.

さらに、通信装置10cの共有制御部23cは、通信装置10aから受信したメタデータをメタデータDB35cに登録する(ステップS95)。メタデータDB35cには、メタデータとして、サーバ2から提供されるデータのデータID、アクセス先のGWのIPアドレス、データ概要、アクセス権が記録される。ここで、アクセス先のGWは、ステップS93の処理の際に通信装置10aで指定されたとおり、通信装置10aに割り当てられたIPアドレスである。   Furthermore, the sharing control unit 23c of the communication device 10c registers the metadata received from the communication device 10a in the metadata DB 35c (step S95). In the metadata DB 35c, the data ID of data provided from the server 2, the IP address of the access destination GW, the data summary, and the access right are recorded as metadata. Here, the access destination GW is an IP address assigned to the communication device 10a as specified by the communication device 10a in the process of step S93.

通信装置10dにおいて、共有制御部23dは、通信装置10cから受信したメタデータをメタデータDB35dに登録する。ここで、メタデータDB35dにも、提供されるデータのデータID、アクセス先のGWである通信装置10aのIPアドレス、データ概要、アクセス権が記録される(ステップS96)。   In the communication device 10d, the sharing control unit 23d registers the metadata received from the communication device 10c in the metadata DB 35d. Here, also in the metadata DB 35d, the data ID of the data to be provided, the IP address of the communication device 10a that is the access destination GW, the data summary, and the access right are recorded (step S96).

通信装置10cの共有制御部23cは、通信装置10aから通知されたメタデータをメタデータDB35cに登録すると、メタデータの登録に成功したことを、通信装置10aに通知する(ステップS97)。メタデータの登録に成功したことが通知されると、通信装置10aの共有制御部23aは、サーバ2のローカルアドレスをデータIDに対応付けて登録する(ステップS98)。ステップS98で登録された情報は、通信装置10aがプロキシサーバとしてサーバ2から提供データを取得して、他の通信装置10や端末4などに送信する際に使用される。   When the metadata notified from the communication device 10a is registered in the metadata DB 35c, the sharing control unit 23c of the communication device 10c notifies the communication device 10a that the metadata has been successfully registered (step S97). When notified that the metadata registration is successful, the sharing control unit 23a of the communication device 10a registers the local address of the server 2 in association with the data ID (step S98). The information registered in step S98 is used when the communication device 10a acquires provided data from the server 2 as a proxy server and transmits it to another communication device 10, the terminal 4, or the like.

このように、第2の実施形態では、サーバ2の接続先の通信装置10がネットワークグループXに属していても、データIDの値によっては、メタデータがネットワークグループXで保持されない。   Thus, in the second embodiment, even if the communication device 10 to which the server 2 is connected belongs to the network group X, the metadata is not held in the network group X depending on the value of the data ID.

(3c)メタデータの検索
図16は、第2の実施形態にかかるメタデータの参照方法の例を説明するシーケンス図である。図16の例でも、ネットワークグループXに通信装置10aと通信装置10bが参加しており、ネットワークグループAに通信装置10cと通信装置10dが参加しているとする。また、通信装置10eと通信装置10fがネットワークグループBに参加しているとする。さらに、データを利用するユーザの端末4は、通信装置10cに接続するものとする。
(3c) Metadata Search FIG. 16 is a sequence diagram illustrating an example of a metadata reference method according to the second embodiment. Also in the example of FIG. 16, it is assumed that the communication device 10a and the communication device 10b participate in the network group X, and the communication device 10c and the communication device 10d participate in the network group A. Further, it is assumed that the communication device 10e and the communication device 10f are participating in the network group B. Further, it is assumed that the terminal 4 of the user who uses the data is connected to the communication device 10c.

データを利用しようとするユーザの端末4から、端末4が利用可能なデータについての情報を要求するメタデータリクエストと、端末4に対して発行されている電子証明書が、通信装置10cに送信されたとする(ステップS101)。ステップS102〜S107で行われる処理は、図10のステップS52〜S57を参照しながら説明した処理と同様である。   A metadata request for requesting information about data that can be used by the terminal 4 and an electronic certificate issued to the terminal 4 are transmitted from the terminal 4 of the user who intends to use the data to the communication device 10c. (Step S101). The processing performed in steps S102 to S107 is the same as the processing described with reference to steps S52 to S57 in FIG.

その後、共有制御部23cは、端末4がアクセス可能なメタデータとしてメタデータDB35cから抽出したメタデータと、ステップS105およびS107で得られたリクエスト結果に含まれているメタデータをリスト化する(ステップS108)。このとき、共有制御部23cは、データの提供元が接続する通信装置10の情報を端末4に対して秘匿化するために、各メタデータからアクセス先のGWのIPアドレスを削除した情報を、リスト化する。共有制御部23cは、通信部11cを介して、ステップS108で得られたメタデータのリストを端末4に送信する(ステップS109)。   Thereafter, the sharing control unit 23c lists the metadata extracted from the metadata DB 35c as metadata accessible by the terminal 4 and the metadata included in the request results obtained in steps S105 and S107 (step S105). S108). At this time, the sharing control unit 23c deletes the IP address of the access destination GW from each metadata in order to conceal the information of the communication device 10 to which the data provider connects from the terminal 4. Make a list. The sharing control unit 23c transmits the metadata list obtained in step S108 to the terminal 4 via the communication unit 11c (step S109).

このように、予め、メタデータを保持する対象がデータID空間を用いて決定されている場合、メタデータの検索の際に対応テーブル33を生成しないので、第1の実施形態に比べて、通信装置10の処理が簡略化できる。なお、第2の実施形態においても、ネットワークグループの全てに対してメタデータのリクエストが中継されるので、端末4の接続先の通信装置10が属するネットワークグループ以外のネットワークグループで保持されているメタデータの情報も、端末4に提供される。   As described above, when the object to hold the metadata is determined in advance using the data ID space, the correspondence table 33 is not generated when searching for the metadata. The processing of the device 10 can be simplified. Also in the second embodiment, since the metadata request is relayed to all the network groups, the meta data held in the network group other than the network group to which the communication device 10 to which the terminal 4 is connected belongs is held. Data information is also provided to the terminal 4.

(3d)データの取得
図17は、第2の実施形態にかかるデータの取得方法の例を説明するシーケンス図である。図17を参照しながら、図15に示す処理でネットワークグループAにメタデータの登録が行われたデータが、端末4から要求されるケースでのデータの取得例を説明する。図17の例では、端末4は、ネットワークグループA中の通信装置10cに接続し、サーバ2はネットワークグループX中の通信装置10bに接続しているものとする。
(3d) Data Acquisition FIG. 17 is a sequence diagram illustrating an example of a data acquisition method according to the second embodiment. With reference to FIG. 17, an example of data acquisition in a case where data whose metadata has been registered in the network group A in the process illustrated in FIG. 15 is requested from the terminal 4 will be described. In the example of FIG. 17, it is assumed that the terminal 4 is connected to the communication device 10c in the network group A, and the server 2 is connected to the communication device 10b in the network group X.

メタデータのリストを取得した端末4のユーザは、メタデータのリストに含まれているデータ概要を用いて、データID=0414で識別されるデータを取得することを決定したとする。端末4のユーザの操作により、端末4からデータID=0414を含むデータリクエストと、端末4に対して発行されている電子証明書が、通信装置10cに送信される(ステップS111)。   It is assumed that the user of the terminal 4 who has acquired the metadata list has decided to acquire the data identified by the data ID = 0414 using the data summary included in the metadata list. By a user operation of the terminal 4, a data request including the data ID = 0414 from the terminal 4 and an electronic certificate issued to the terminal 4 are transmitted to the communication device 10c (step S111).

通信装置10cの取得部24cは、通信部11cを介してデータリクエストと電子証明書を受信する。取得部24cは、データリクエストに含まれているデータIDをキーとして、設定テーブル37cを検索することにより、取得対象のデータのメタデータがネットワークグループAに保持されていることを特定する。取得部24cは、データリクエストの送信元が端末4であることを、データIDに対応付けて記憶する。さらに、取得部24cは、電子証明書を用いて、端末4がネットワークにアクセス可能な正規のユーザであるかと、データID=0414で識別されるデータに対するアクセス権があるかを判定する(ステップS112)。データID=0414を含むメタデータにおいて、アクセスが端末4に許可されている場合、取得部24cは、端末4がデータID=0414で識別されるデータに対するアクセス権を有すると判定する。   The acquisition unit 24c of the communication device 10c receives the data request and the electronic certificate via the communication unit 11c. The acquisition unit 24c specifies that the metadata of the data to be acquired is held in the network group A by searching the setting table 37c using the data ID included in the data request as a key. The acquiring unit 24c stores that the data request source is the terminal 4 in association with the data ID. Furthermore, the acquisition unit 24c determines whether the terminal 4 is a legitimate user who can access the network and has an access right to the data identified by the data ID = 0414 using the electronic certificate (step S112). ). In the metadata including the data ID = 0414, when the access is permitted to the terminal 4, the acquisition unit 24c determines that the terminal 4 has an access right to the data identified by the data ID = 0414.

取得部24cは、メタデータリクエストと電子証明書を、適宜、通信部11cを用いて、ネットワークグループA中の他の通信装置10に送信して、端末4が正規ユーザであるかとアクセス権の有無についての検証を要求する。このため、通信装置10dにおいても、端末4に対するアクセス権などの検証が行われる(ステップS112)。図17の例では、ネットワークグループAに含まれる通信装置10の所定の割合以上において、端末4が正規ユーザでありデータID=0414で識別されるデータに対するアクセス権があると判定されたとする。   The acquiring unit 24c appropriately transmits the metadata request and the electronic certificate to the other communication devices 10 in the network group A using the communication unit 11c, and determines whether the terminal 4 is a regular user and whether there is an access right. Request verification for. For this reason, the communication device 10d also verifies the access right to the terminal 4 (step S112). In the example of FIG. 17, it is assumed that it is determined that the terminal 4 is a regular user and has an access right to the data identified by the data ID = 0414 in a predetermined ratio or more of the communication devices 10 included in the network group A.

取得部24cは、メタデータ中に記録されているアクセス先のGWのIPアドレスを取得する(ステップS113)。ここでは、データID=0414で識別されるデータのメタデータには、通信装置10bのアドレスがアクセス先として記録されていたとする。取得部24cは、通信装置10bに、データID=0414を含むデータリクエストを送信する(ステップS114)。   The acquisition unit 24c acquires the IP address of the access destination GW recorded in the metadata (step S113). Here, it is assumed that the address of the communication device 10b is recorded as the access destination in the metadata of the data identified by the data ID = 0414. The acquisition unit 24c transmits a data request including the data ID = 0414 to the communication device 10b (Step S114).

通信装置10bの取得部24bは、通信部11bを介してデータリクエストを受信する。取得部24bは、データリクエストの送信元が通信装置10cであることを、データID=0414に対応付けて記憶する。取得部24bは、データID=0414に対応付けて記憶しているローカルアドレス(サーバ2のIPアドレスとデータID=0414のデータへのパスを含む)に、データリクエストを送信する(ステップS115)。   The acquisition unit 24b of the communication device 10b receives a data request via the communication unit 11b. The acquisition unit 24b stores that the transmission source of the data request is the communication device 10c in association with the data ID = 0414. The acquisition unit 24b transmits a data request to the local address (including the path to the data of the server 2's IP address and data ID = 0414) stored in association with the data ID = 0414 (step S115).

サーバ2は、データリクエストを受信すると、ローカルアドレスで識別されるデータを、データリクエストの送信元である通信装置10bに送信する(ステップS116)。ローカルアドレスにはデータID=0414のデータへのパスが含まれているので、通信装置10bに送信されるデータは、データID=0414で識別されるデータである。   When receiving the data request, the server 2 transmits the data identified by the local address to the communication device 10b that is the transmission source of the data request (step S116). Since the local address includes a path to the data having the data ID = 0414, the data transmitted to the communication device 10b is the data identified by the data ID = 0414.

通信装置10bの取得部24bは、サーバ2から受信したデータの転送先を、データIDを用いて特定する。ここでは、データID=0414のデータの転送先(データリクエストの送信元)は通信装置10cである。そこで、取得部24bは、データID=0414で識別されるデータを通信装置10cに送信する(ステップS117)。   The acquisition unit 24b of the communication device 10b specifies the transfer destination of the data received from the server 2 using the data ID. Here, the data transfer destination (data request transmission source) of the data ID = 0414 is the communication device 10c. Therefore, the acquisition unit 24b transmits the data identified by the data ID = 0414 to the communication device 10c (Step S117).

通信装置10cの取得部24cは、通信装置10bから受信したデータの転送先を、データIDを用いて特定する。ここでは、データID=0414のデータの転送先は端末4である。そこで、取得部24cは、データID=0414で識別されるデータを端末4に送信する(ステップS118)。   The acquisition unit 24c of the communication device 10c specifies the transfer destination of the data received from the communication device 10b using the data ID. Here, the transfer destination of the data with the data ID = 0414 is the terminal 4. Therefore, the acquisition unit 24c transmits the data identified by the data ID = 0414 to the terminal 4 (Step S118).

図17を参照しながら説明したように、データリクエストにより要求されているデータのメタデータ中に含まれているアクセス先のGWを用いて、データの要求先が決定されている。このため、メタデータを保持しているネットワークグループ中の通信装置10は、自装置が所属するネットワークグループ中の通信装置10に接続されていないサーバ2から提供されるデータも、端末4に提供することができる。   As described with reference to FIG. 17, the data request destination is determined using the access destination GW included in the metadata of the data requested by the data request. For this reason, the communication device 10 in the network group holding the metadata also provides the terminal 4 with data provided from the server 2 that is not connected to the communication device 10 in the network group to which the device belongs. be able to.

図18は、第2の実施形態にかかるデータの取得方法の例を説明するシーケンス図である。図18では、データを取得しようとする端末4がメタデータを管理していないネットワークグループに接続した場合の例を説明する。図18では、データを取得しようとする端末4とデータの提供元のサーバ2のいずれもネットワークグループXに接続しているが、提供されるデータのメタデータはネットワークグループAで管理されているものとする。また、図18の例では、各ネットワークグループ中のリーダGWは、ネットワークグループの生成の際に決定され、ネットワークグループ情報36に記録されているものとする。   FIG. 18 is a sequence diagram illustrating an example of a data acquisition method according to the second embodiment. FIG. 18 illustrates an example in which the terminal 4 from which data is acquired is connected to a network group that does not manage metadata. In FIG. 18, both the terminal 4 from which data is to be obtained and the server 2 from which the data is provided are connected to the network group X, but the metadata of the provided data is managed by the network group A. And In the example of FIG. 18, it is assumed that the leader GW in each network group is determined when the network group is generated and recorded in the network group information 36.

メタデータのリストを取得した端末4のユーザは、メタデータのリストに含まれているデータ概要を用いて、データID=2542で識別されるデータを取得することを決定したとする。端末4のユーザの操作により、端末4からデータID=2542を含むデータリクエストと、端末4に対して発行されている電子証明書が、通信装置10aに送信される(ステップS121)。   It is assumed that the user of the terminal 4 that has acquired the metadata list has decided to acquire the data identified by the data ID = 2542, using the data summary included in the metadata list. By the operation of the user of the terminal 4, a data request including the data ID = 2542 and an electronic certificate issued to the terminal 4 are transmitted from the terminal 4 to the communication device 10a (step S121).

通信装置10aの取得部24aは、通信部11aを介してデータリクエストと電子証明書を受信する。取得部24aは、データリクエストに含まれているデータIDをキーとして、設定テーブル37aを検索することにより、取得対象のデータのメタデータがネットワークグループAに保持されていることを特定する。取得部24aは、データリクエストの送信元が端末4であることを、データIDに対応付けて記憶する。さらに、取得部24aは、ネットワークグループ情報36aを参照して、ネットワークグループAのリーダGWを特定する(ステップS122)。図18の例では、通信装置10cがネットワークグループAのリーダGWであるとする。取得部24aは、データリクエストの宛先とする通信装置10のアドレスを要求するリクエストメッセージ(GWアドレスリクエスト)と、端末4から受信した電子証明書を通信装置10cに送信する(ステップS123)。なお、GWアドレスリクエストには、取得対象のデータを識別するデータID=2542が含まれている。   The acquisition unit 24a of the communication device 10a receives the data request and the electronic certificate via the communication unit 11a. The acquiring unit 24a specifies that the metadata of the data to be acquired is held in the network group A by searching the setting table 37a using the data ID included in the data request as a key. The acquisition unit 24a stores that the transmission source of the data request is the terminal 4 in association with the data ID. Further, the acquiring unit 24a identifies the leader GW of the network group A with reference to the network group information 36a (Step S122). In the example of FIG. 18, it is assumed that the communication device 10c is the leader GW of the network group A. The acquisition unit 24a transmits a request message (GW address request) requesting the address of the communication device 10 that is the destination of the data request and the electronic certificate received from the terminal 4 to the communication device 10c (step S123). The GW address request includes a data ID = 2542 that identifies data to be acquired.

通信装置10cの取得部24cは、通信部11cを介して、GWアドレスリクエストと電子証明書を受信する。取得部24cは、GWアドレスリクエストの送信元が通信装置10aであることを記憶する。さらに、取得部24cは、電子証明書を用いて、端末4がネットワークにアクセス可能な正規のユーザであるかと、データID=2542で識別されるデータに対するアクセス権があるかを判定する(ステップS124)。さらに、取得部24cは、GWアドレスリクエストと電子証明書を、ネットワークグループA中の他の通信装置10に送信して、端末4が正規ユーザであるかとアクセス権の有無についての検証を要求する。図18の例では、ネットワークグループA中の所定の割合以上の通信装置10が、端末4がネットワークにアクセス可能な正規のユーザであり、データID=2542で識別されるデータに対するアクセス権を有すると判定したとする。   The acquisition unit 24c of the communication device 10c receives the GW address request and the electronic certificate via the communication unit 11c. The acquisition unit 24c stores that the transmission source of the GW address request is the communication device 10a. Furthermore, the acquisition unit 24c determines whether the terminal 4 is a legitimate user who can access the network and has an access right for the data identified by the data ID = 2542 using the electronic certificate (step S124). ). Furthermore, the acquisition unit 24c transmits a GW address request and an electronic certificate to the other communication devices 10 in the network group A, and requests verification as to whether the terminal 4 is an authorized user and whether there is an access right. In the example of FIG. 18, when the communication devices 10 in the network group A having a predetermined ratio or more are regular users who can access the network, the terminal 4 has an access right to the data identified by the data ID = 2542. Assume that you have determined.

すると、取得部24cは、メタデータDB35cからデータID=2542を含むメタデータを読み出し、そのメタデータに含まれているアクセス先のGWのアドレスを取得する。データID=2542のメタデータには、アクセス先のGWアドレスとして、通信装置10bのアドレスが指定されていたとする。取得部24cは、通信装置10bのアドレスを通知するためのメッセージ(GWアドレスレスポンス)を通信装置10aに送信する(ステップS125)。   Then, the acquisition unit 24c reads the metadata including the data ID = 2542 from the metadata DB 35c, and acquires the address of the access destination GW included in the metadata. It is assumed that the address of the communication device 10b is specified as the access destination GW address in the metadata with the data ID = 2542. The acquisition unit 24c transmits a message (GW address response) for notifying the address of the communication device 10b to the communication device 10a (step S125).

通信装置10aの取得部24aは、通信部11aを介してGWアドレスレスポンスを取得する。GWアドレスレスポンスには、データID=2542のデータのアクセス先として、通信装置10bのアドレスが記載されている。そこで、取得部24aは、データID=2542を指定したデータリクエストを通信装置10bに送信する(ステップS126)。   The acquisition unit 24a of the communication device 10a acquires a GW address response via the communication unit 11a. In the GW address response, the address of the communication device 10b is described as the access destination of the data with the data ID = 2542. Therefore, the acquisition unit 24a transmits a data request designating the data ID = 2542 to the communication device 10b (step S126).

通信装置10bの取得部24bは、通信部11bを介してデータリクエストを受信する。取得部24bは、データリクエストの送信元が通信装置10aであることを、データID=2542に対応付けて記憶する。取得部24bは、データID=2542に対応付けて記憶しているローカルアドレス(サーバ2のIPアドレスとデータID=2542のデータへのパスを含む)に、データリクエストを送信する(ステップS127)。   The acquisition unit 24b of the communication device 10b receives a data request via the communication unit 11b. The acquisition unit 24b stores that the transmission source of the data request is the communication device 10a in association with the data ID = 2542. The acquisition unit 24b transmits a data request to the local address (including the path to the data of the server 2's IP address and data ID = 2542) stored in association with the data ID = 2542 (step S127).

サーバ2は、データリクエストを受信すると、ローカルアドレスで識別されるデータを、データリクエストの送信元である通信装置10bに送信する(ステップS128)。ローカルアドレスにはデータID=2542のデータへのパスが含まれているので、通信装置10bに送信されるデータは、データID=2542で識別されるデータである。   When receiving the data request, the server 2 transmits the data identified by the local address to the communication device 10b that is the transmission source of the data request (step S128). Since the local address includes a path to the data having the data ID = 2542, the data transmitted to the communication device 10b is data identified by the data ID = 2542.

通信装置10bの取得部24bは、サーバ2から受信したデータの転送先を、データIDを用いて特定する。ここでは、データID=2542のデータの転送先(データリクエストの送信元)は通信装置10aである。そこで、取得部24bは、データID=2542で識別されるデータを通信装置10aに送信する(ステップS129)。   The acquisition unit 24b of the communication device 10b specifies the transfer destination of the data received from the server 2 using the data ID. Here, the data transfer destination (data request transmission source) of the data ID = 2542 is the communication device 10a. Therefore, the acquisition unit 24b transmits the data identified by the data ID = 2542 to the communication device 10a (Step S129).

通信装置10aの取得部24aは、通信装置10bから受信したデータの転送先を、データIDを用いて特定する。ここでは、データID=2542のデータの転送先(データリクエストの送信元)は端末4である。そこで、取得部24aは、データID=2542で識別されるデータを端末4に送信する(ステップS130)。   The acquisition unit 24a of the communication device 10a specifies the transfer destination of the data received from the communication device 10b using the data ID. Here, the data transfer destination (data request transmission source) of the data ID = 2542 is the terminal 4. Therefore, the acquisition unit 24a transmits the data identified by the data ID = 2542 to the terminal 4 (Step S130).

なお、図18では、通信装置10aがネットワークグループA中のリーダGWにGWアドレスを問合わせる場合の例を説明しているが、これは一例に過ぎない。通信装置10aは、ネットワークグループAのリーダGWではない通信装置10に対して、アクセス先の通信装置10のアドレスを問合わせても良い。   FIG. 18 illustrates an example in which the communication device 10a inquires the reader GW in the network group A about the GW address, but this is only an example. The communication device 10a may inquire the address of the access destination communication device 10 to the communication device 10 that is not the leader GW of the network group A.

図18を参照しながら説明したように、データリクエストを受信した通信装置10は、メタデータを保持していない場合、メタデータを保持しているネットワークグループ中の通信装置10に対して、データのアクセス先の通信装置10を問い合わせる。このため、端末4の接続先とサーバ2の接続先のいずれが属するネットワークグループでもメタデータを保持していない場合であっても、端末4が取得要求したデータを端末4に提供することができる。   As described with reference to FIG. 18, when the communication device 10 that has received the data request does not hold the metadata, the communication device 10 in the network group that holds the metadata receives the data request. Queries the access destination communication device 10. For this reason, even if the network group to which either the connection destination of the terminal 4 or the connection destination of the server 2 belongs does not hold metadata, the data requested by the terminal 4 can be provided to the terminal 4. .

<その他>
なお、実施形態は上記に限られるものではなく、様々に変形可能である。以下にその例をいくつか述べる。
<Others>
The embodiment is not limited to the above, and can be variously modified. Some examples are described below.

以上の説明で述べた対応テーブル33、グループテーブル34、ネットワークグループ情報36、および、設定テーブル37は一例に過ぎない。対応テーブル33、グループテーブル34、ネットワークグループ情報36、設定テーブル37などに含まれる情報要素は、実装に応じて変更され得る。   The correspondence table 33, group table 34, network group information 36, and setting table 37 described in the above description are merely examples. Information elements included in the correspondence table 33, the group table 34, the network group information 36, the setting table 37, and the like can be changed according to the implementation.

以上の説明では、ネットワーク中の通信装置10の数に応じてネットワークグループを生成する場合について説明したが、ネットワークグループを生成する条件は通信装置10の数に限定されない。例えば、ネットワーク中の通信装置10間での通信の際に発生する遅延量が所定の値を超えると、ネットワークが複数のネットワークグループに分けられても良い。この場合、個々のネットワークグループ中では、通信の際に発生する遅延が所定の値未満になるように設定される。   In the above description, the case where a network group is generated according to the number of communication devices 10 in the network has been described. However, the conditions for generating a network group are not limited to the number of communication devices 10. For example, the network may be divided into a plurality of network groups when the amount of delay that occurs during communication between the communication apparatuses 10 in the network exceeds a predetermined value. In this case, in each network group, the delay occurring during communication is set to be less than a predetermined value.

ネットワークグループ間の通信についても、実装に応じて変更され得る。例えば、ネットワークグループ間の通信は、個々のネットワークグループのリーダGWを通して行うように変形されても良い。また、リーダGW以外の通信装置10も他のネットワークグループ中のリーダGWとして動作しない通信装置10やリーダGWとして動作する通信装置10と通信しても良い。   Communication between network groups can also be changed according to the implementation. For example, communication between network groups may be modified to be performed through the leader GW of each network group. Further, the communication device 10 other than the leader GW may communicate with the communication device 10 that does not operate as the leader GW in another network group or the communication device 10 that operates as the leader GW.

リーダGWが決定されるタイミングも実装に応じて任意に変更され得る。例えば、リーダGWは、ネットワークグループの生成の際に設定されても良い。また、ネットワークグループの計算結果の送受信のタイミングでリーダGWが設定されても良い。   The timing at which the reader GW is determined can be arbitrarily changed according to the implementation. For example, the reader GW may be set when a network group is generated. In addition, the reader GW may be set at the transmission / reception timing of the calculation result of the network group.

グループ生成条件32も任意に設定され得る。例えば、グループ生成条件32は、静的にネットワークグループを決定する情報であっても良い。この場合、個々の通信装置10について、ネットワークグループに分割されたときに、どのネットワークグループに参加するかがグループ生成条件32に指定される。すると、個々の通信装置10中の決定部21は、グループ生成条件32での指定に従って、ネットワークグループを決定する。   The group generation condition 32 can also be set arbitrarily. For example, the group generation condition 32 may be information for statically determining a network group. In this case, when the individual communication devices 10 are divided into network groups, which network group to participate in is specified in the group generation condition 32. Then, the determination unit 21 in each communication device 10 determines a network group according to the designation in the group generation condition 32.

上述の第1および第2の実施形態を含む実施形態に関し、以下の付記を開示する。
(付記1)
参加しているネットワークに属する複数の通信装置のいずれかを介して取得可能なデータのメタデータが記録された分散台帳を保持する記憶部と、
前記分散台帳を前記複数の通信装置と共有するための制御を行う共有制御部と、
前記ネットワークの通信状況が所定の条件を満たしたときに、前記ネットワークに属する他の通信装置と同一のルールを用いて、前記ネットワークを分割して得られる複数の分割ネットワークのいずれに参加するかを決定する決定部と、を有し、
前記共有制御部は、前記決定部が決定した後は、前記決定部が決定した分割ネットワーク中の通信装置との間で、前記分散台帳を共有するための制御を行う
ことを特徴とする通信装置。
(付記2)
前記ネットワークに属する他の通信装置と通信する通信部
をさらに備え、
前記決定部は、前記ネットワークに属する他の通信装置が前記複数の分割ネットワークのいずれに参加するかを、さらに決定し、
前記通信部は、前記複数の分割ネットワークの計算結果を、前記ネットワークに属する通信装置の間で送受信し、
前記共有制御部は、前記計算結果が前記複数の通信装置の所定の割合以上の装置で得られた結果と一致すると、前記決定部が決定した分割ネットワーク中で前記分散台帳を共有する
ことを特徴とする付記1に記載の通信装置。
(付記3)
前記共有制御部は、前記通信装置に接続する端末から、前記端末が提供する提供データのメタデータの登録要求を受信すると、前記提供データのメタデータを、前記通信装置が振り分けられた分割ネットワーク中の他の通信装置に通知する
ことを特徴とする付記1または2に記載の通信装置。
(付記4)
前記複数の分割ネットワークの各々について、当該分割ネットワーク中の通信装置がメタデータを保持するデータの識別情報の値の範囲を設定する設定テーブルをさらに保持し、
前記共有制御部は、前記通信装置に接続する端末から、前記端末が提供する提供データのメタデータの登録要求を受信すると、前記設定テーブル中で、前記提供データの識別情報に対応付けられている分割ネットワーク中の通信装置に、前記提供データのメタデータを通知する
ことを特徴とする付記1または2に記載の通信装置。
(付記5)
前記通信装置に接続する他の端末から、前記他の端末が取得しようとする対象データのメタデータの取得要求を受信すると、前記通信装置が振り分けられた分割ネットワークとは異なる他の分割ネットワーク中の通信装置に、前記対象データのメタデータを要求し、前記他の分割ネットワーク中の通信装置から取得したメタデータを、前記他の端末に転送する処理を行う取得部
をさらに備えることを特徴とする、付記1〜4のいずれか1項に記載の通信装置。
(付記6)
前記取得部は、前記他の分割ネットワーク中の通信装置から取得したメタデータの各々について、当該メタデータに含まれるデータの識別情報と、前記他の分割ネットワークを対応付ける
ことを特徴とする、付記5に記載の通信装置。
(付記7)
前記取得部は、前記他の端末から前記対象データの取得を要求されると、前記対象データを識別する識別情報に対応付けられた分割ネットワーク中の通信装置に、前記対象データを要求する
ことを特徴とする付記6に記載の通信装置。
(付記8)
前記取得部は、前記通信装置に接続する他の端末から、前記他の端末が取得しようとする対象データの取得を要求されると、前記設定テーブル中で、前記対象データを識別する識別情報に対応付けられた分割ネットワーク中の通信装置に、前記対象データを取得するためのアクセス先のアドレスを要求する
ことを特徴とする付記4に記載の通信装置。
(付記9)
ネットワークに参加する複数の通信装置の各々が、
前記ネットワークに属する通信装置のいずれかを介して取得可能なデータのメタデータが記録された分散台帳を保持し、
前記分散台帳を前記複数の通信装置と共有するための制御を行い、
前記ネットワークの通信状況が所定の条件を満たしたときに、前記複数の通信装置間で同一のルールを用いて、前記ネットワークを分割して得られる複数の分割ネットワークのいずれに参加するかを決定し、
前記複数の分割ネットワークのいずれに参加するかを決定した後は、決定した分割ネットワーク中の他の通信装置との間で、前記分散台帳を共有するための制御を行う
ことを特徴とする通信方法。
(付記10)
前記複数の通信装置の各々が、
前記ネットワークに属する他の通信装置が前記複数の分割ネットワークのいずれに参加するかを、さらに決定し、
前記複数の分割ネットワークの計算結果を、前記ネットワークに属する通信装置の間で送受信し、
前記計算結果が前記複数の通信装置の所定の割合以上の装置で得られた結果と一致すると、決定した分割ネットワーク中で前記分散台帳を共有する
処理を行うことを特徴とする付記9に記載の通信方法。
(付記11)
前記複数の通信装置の各々が、
当該通信装置に接続する端末から、前記端末が提供する提供データのメタデータの登録要求を受信すると、前記提供データのメタデータを、当該通信装置が振り分けられた分割ネットワーク中の他の通信装置に通知する
ことを特徴とする付記9または10に記載の通信方法。
(付記12)
前記複数の通信装置の各々が、
当該通信装置に接続する端末から、前記端末が提供する提供データのメタデータの登録要求を受信し、
前記複数の分割ネットワークの各々について、当該分割ネットワーク中の通信装置がメタデータを保持するデータの識別情報の値の範囲を設定する設定テーブル中で、前記提供データの識別情報に対応付けられている分割ネットワーク中の通信装置に、前記提供データのメタデータを通知する
ことを特徴とする付記9または10に記載の通信方法。
(付記13)
ネットワークに参加する通信装置に、
前記ネットワークに属する通信装置のいずれかを介して取得可能なデータのメタデータが記録された分散台帳を保持し、
前記分散台帳を前記複数の通信装置と共有するための制御を行い、
前記ネットワークの通信状況が所定の条件を満たしたときに、前記複数の通信装置間で同一のルールを用いて、前記ネットワークを分割して得られる複数の分割ネットワークのいずれに参加するかを決定し、
前記複数の分割ネットワークのいずれに参加するかを決定した後は、決定した分割ネットワーク中の他の通信装置との間で、前記分散台帳を共有するための制御を行う
処理を行わせることを特徴とする通信プログラム。
(付記14)
前記ネットワークに参加する通信装置に、
前記ネットワークに属する他の通信装置が前記複数の分割ネットワークのいずれに参加するかを、さらに決定し、
前記複数の分割ネットワークの計算結果を、前記ネットワークに属する通信装置の間で送受信し、
前記計算結果が前記複数の通信装置の所定の割合以上の装置で得られた結果と一致すると、決定した分割ネットワーク中で前記分散台帳を共有する
処理を行わせることを特徴とする付記13に記載の通信プログラム。
The following additional notes are disclosed regarding the embodiment including the first and second embodiments described above.
(Appendix 1)
A storage unit that holds a distributed ledger in which metadata of data that can be acquired via any of a plurality of communication devices belonging to a participating network is recorded;
A sharing control unit that performs control for sharing the distributed ledger with the plurality of communication devices;
Which of the plurality of divided networks obtained by dividing the network using the same rules as other communication devices belonging to the network when the communication status of the network satisfies a predetermined condition A determination unit for determining,
The sharing control unit performs control for sharing the distributed ledger with the communication devices in the divided network determined by the determination unit after the determination unit has determined. .
(Appendix 2)
A communication unit that communicates with other communication devices belonging to the network;
The determining unit further determines which of the plurality of divided networks a communication device belonging to the network participates in,
The communication unit transmits and receives the calculation results of the plurality of divided networks between communication devices belonging to the network,
The sharing control unit shares the distributed ledger in the divided network determined by the determination unit when the calculation result matches a result obtained by a device having a predetermined ratio or more of the plurality of communication devices. The communication apparatus according to Supplementary Note 1.
(Appendix 3)
When the share control unit receives a registration request for metadata of provided data provided by the terminal from a terminal connected to the communication device, the shared control unit distributes the metadata of the provided data in the divided network to which the communication device is distributed. The communication device according to appendix 1 or 2, wherein the communication device is notified to another communication device.
(Appendix 4)
For each of the plurality of divided networks, a communication table in the divided network further holds a setting table for setting a value range of data identification information for holding metadata;
When the sharing control unit receives a registration request for metadata of provided data provided by the terminal from a terminal connected to the communication apparatus, the sharing control unit is associated with identification information of the provided data in the setting table. The communication device according to appendix 1 or 2, wherein the communication device in the divided network is notified of the metadata of the provided data.
(Appendix 5)
When receiving an acquisition request for the metadata of the target data that the other terminal intends to acquire from another terminal connected to the communication device, in another divided network different from the divided network to which the communication device is distributed It further comprises an acquisition unit that requests a communication device to request metadata of the target data and transfers the metadata acquired from the communication device in the other divided network to the other terminal. The communication apparatus according to any one of appendices 1 to 4.
(Appendix 6)
The acquisition unit, for each piece of metadata acquired from a communication device in the other divided network, associates the identification information of the data included in the metadata with the other divided network. The communication apparatus as described in.
(Appendix 7)
When the acquisition unit is requested to acquire the target data from the other terminal, the acquisition unit requests the target data from a communication device in a divided network associated with identification information for identifying the target data. The communication device according to appendix 6, which is characterized.
(Appendix 8)
When the acquisition unit is requested by another terminal connected to the communication device to acquire target data to be acquired by the other terminal, the acquisition unit uses identification information for identifying the target data in the setting table. The communication apparatus according to appendix 4, wherein an access destination address for acquiring the target data is requested from a communication apparatus in the associated divided network.
(Appendix 9)
Each of a plurality of communication devices participating in the network
Holding a distributed ledger in which metadata of data that can be acquired via any of the communication devices belonging to the network is recorded;
Performing control for sharing the distributed ledger with the plurality of communication devices;
When the communication status of the network satisfies a predetermined condition, the same rule is used among the plurality of communication devices to determine which of the plurality of divided networks obtained by dividing the network. ,
After determining which of the plurality of divided networks to participate, control is performed to share the distributed ledger with other communication devices in the determined divided network. .
(Appendix 10)
Each of the plurality of communication devices is
Further determining which of the plurality of divided networks the other communication devices belonging to the network participate in,
The calculation results of the plurality of divided networks are transmitted and received between communication devices belonging to the network,
The process of sharing the distributed ledger in the determined divided network when the calculation result matches a result obtained by a device having a predetermined ratio or more of the plurality of communication devices. Communication method.
(Appendix 11)
Each of the plurality of communication devices is
When a registration request for metadata of provided data provided by the terminal is received from a terminal connected to the communication device, the metadata of the provided data is transferred to another communication device in the divided network to which the communication device is distributed. The communication method according to appendix 9 or 10, wherein notification is performed.
(Appendix 12)
Each of the plurality of communication devices is
From a terminal connected to the communication device, a registration request for metadata of provided data provided by the terminal is received,
For each of the plurality of divided networks, the communication device in the divided network is associated with the identification information of the provided data in the setting table that sets the value range of the identification information of the data holding the metadata. The communication method according to appendix 9 or 10, wherein the metadata of the provided data is notified to a communication device in the divided network.
(Appendix 13)
To communication devices participating in the network,
Holding a distributed ledger in which metadata of data that can be acquired via any of the communication devices belonging to the network is recorded;
Performing control for sharing the distributed ledger with the plurality of communication devices;
When the communication status of the network satisfies a predetermined condition, the same rule is used among the plurality of communication devices to determine which of the plurality of divided networks obtained by dividing the network. ,
After determining which of the plurality of divided networks to participate, a process for performing control for sharing the distributed ledger with other communication devices in the determined divided network is performed. A communication program.
(Appendix 14)
A communication device participating in the network;
Further determining which of the plurality of divided networks the other communication devices belonging to the network participate in,
The calculation results of the plurality of divided networks are transmitted and received between communication devices belonging to the network,
Item 14. The supplementary note 13, wherein when the calculation result matches a result obtained by a device having a predetermined ratio or more of the plurality of communication devices, a process of sharing the distributed ledger is performed in the determined divided network. Communication program.

2 サーバ
4 端末
10 通信装置
11 通信部
20 制御部
21 決定部
22 検証部
23 共有制御部
24 取得部
30 記憶部
31 分散台帳
32 グループ生成条件
33 対応テーブル
34 グループテーブル
35 メタデータDB
36 ネットワークグループ情報
101 プロセッサ
102 メモリ
103 バス
2 server 4 terminal 10 communication device 11 communication unit 20 control unit 21 determination unit 22 verification unit 23 shared control unit 24 acquisition unit 30 storage unit 31 distributed ledger 32 group generation condition 33 correspondence table 34 group table 35 metadata DB
36 Network group information 101 Processor 102 Memory 103 Bus

Claims (5)

データ流通ネットワークに参加する通信装置に、
前記データ流通ネットワークに属する前記通信装置に接続される端末が有するデータの属性を含むメタデータが記録された分散台帳を保持し、
前記データ流通ネットワークを分割する所定の条件を満たしたときに、前記データ流通ネットワークに属する他の通信装置と同一のルールを用いて前記データ流通ネットワークが分割された複数の分割データ流通ネットワークのうちいずれに参加するかを決定し、
前記複数の分割データ流通ネットワークの各々について、当該分割データ流通ネットワーク中の通信装置がメタデータを保持するデータの識別情報の値の範囲を設定する設定テーブルを保持する
処理を行わせることを特徴とする通信プログラム。
To communication devices participating in the data distribution network,
Holding a distributed ledger in which metadata including data attributes included in terminals connected to the communication device belonging to the data distribution network is recorded;
Any of a plurality of divided data distribution networks obtained by dividing the data distribution network using the same rules as other communication devices belonging to the data distribution network when a predetermined condition for dividing the data distribution network is satisfied Decide whether to participate in
For each of the plurality of divided data distribution networks, a communication device in the divided data distribution network performs a process of holding a setting table for setting a range of values of identification information of data holding metadata. Communication program.
前記ルールは、前記複数の分割データ流通ネットワークのいずれかでメタデータが保持されているデータの識別情報の値の範囲を、前記複数の分割データ流通ネットワークに含まれる分割データ流通ネットワークの数で分割した結果に基づいて前記設定テーブルを設定することを含む
ことを特徴とする請求項1に記載の通信プログラム。
The rule divides a range of identification information values of metadata held in any of the plurality of divided data distribution networks by the number of divided data distribution networks included in the plurality of divided data distribution networks. The communication program according to claim 1, further comprising: setting the setting table based on a result obtained.
前記通信装置に接続する端末から、前記端末が提供する提供データのメタデータの登録要求を受信すると、前記設定テーブル中で、前記提供データの識別情報に対応付けられている分割データ流通ネットワーク中の通信装置に、前記提供データのメタデータを通知する
処理を行わせることを特徴とする請求項1又は2に記載の通信プログラム。
When receiving a registration request for metadata of provided data provided by the terminal from a terminal connected to the communication device, in the divided data distribution network associated with the identification information of the provided data in the setting table The communication program according to claim 1, wherein the communication program causes the communication device to perform processing for notifying metadata of the provided data.
前記通信装置に接続する他の端末から、前記他の端末が取得しようとする対象データのメタデータの取得要求を受信すると、前記通信装置が振り分けられた分割データ流通ネットワークとは異なる他の分割データ流通ネットワーク中の通信装置に、前記対象データのメタデータを要求し、前記他の分割データ流通ネットワーク中の通信装置から取得したメタデータを、前記他の端末に転送する
ことを特徴とする、請求項1乃至3の何れかに記載の通信プログラム。
Upon receiving an acquisition request for metadata of target data that the other terminal intends to acquire from another terminal connected to the communication device, other divided data different from the divided data distribution network to which the communication device is distributed Requesting metadata of the target data from a communication device in a distribution network and transferring the metadata acquired from the communication device in the other divided data distribution network to the other terminal. Item 4. A communication program according to any one of Items 1 to 3.
前記他の端末から前記対象データの取得を要求されると、前記対象データを識別する識別情報に対応付けられたアドレスが割り当てられた通信装置に、前記対象データを要求する
ことを特徴とする請求項1乃至4の何れかに記載の通信プログラム。

When the acquisition of the target data is requested from the other terminal, the target data is requested to a communication device to which an address associated with identification information for identifying the target data is assigned. Item 5. A communication program according to any one of Items 1 to 4.

JP2019143348A 2019-08-02 2019-08-02 Communication device, communication method, and communication program Active JP6860045B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019143348A JP6860045B2 (en) 2019-08-02 2019-08-02 Communication device, communication method, and communication program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019143348A JP6860045B2 (en) 2019-08-02 2019-08-02 Communication device, communication method, and communication program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2018107976A Division JP6580212B1 (en) 2018-06-05 2018-06-05 COMMUNICATION DEVICE, COMMUNICATION METHOD, AND COMMUNICATION PROGRAM

Publications (2)

Publication Number Publication Date
JP2019212318A true JP2019212318A (en) 2019-12-12
JP6860045B2 JP6860045B2 (en) 2021-04-14

Family

ID=68844128

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019143348A Active JP6860045B2 (en) 2019-08-02 2019-08-02 Communication device, communication method, and communication program

Country Status (1)

Country Link
JP (1) JP6860045B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107528886A (en) * 2017-07-25 2017-12-29 中国科学院计算技术研究所 Block chain the whole network method for splitting and system
US20180019867A1 (en) * 2016-07-15 2018-01-18 Mastercard International Incorporated Method and system for partitioned blockchains and enhanced privacy for permissioned blockchains
JP2018067108A (en) * 2016-10-18 2018-04-26 株式会社大和総研ビジネス・イノベーション Transaction record system and program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180019867A1 (en) * 2016-07-15 2018-01-18 Mastercard International Incorporated Method and system for partitioned blockchains and enhanced privacy for permissioned blockchains
JP2018067108A (en) * 2016-10-18 2018-04-26 株式会社大和総研ビジネス・イノベーション Transaction record system and program
CN107528886A (en) * 2017-07-25 2017-12-29 中国科学院计算技术研究所 Block chain the whole network method for splitting and system

Also Published As

Publication number Publication date
JP6860045B2 (en) 2021-04-14

Similar Documents

Publication Publication Date Title
US11108856B2 (en) Methods and apparatus for performing distributed computing using blockchain
CN102217274B (en) Systems and methods for data authorization in distributed storage networks
TWI727467B (en) Trustworthiness verification method, system, device and equipment of alliance chain
US8041942B2 (en) Robust peer-to-peer networks and methods of use thereof
US7478120B1 (en) System and method for providing a peer indexing service
CN111625593B (en) Block chain-based data processing method and device and computer equipment
JP6580212B1 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND COMMUNICATION PROGRAM
CN111801925B (en) Block chain based system and method for propagating data in a network
CN110741400A (en) Block chain network interaction controller
JP5741150B2 (en) Relay device, relay program, and relay method
US8352604B2 (en) Distributed propagation of data in a wireless communication network
EP3477561A1 (en) System for goods delivery
CN111447069B (en) Low-frequency access data processing method based on block chain
CN110022345B (en) Method, system, device and equipment for processing request in alliance chain
WO2011035646A1 (en) Method and node for loading in one-hop distributed hash table overlay network
WO2018185521A1 (en) System and method for network device security and trust score determination
JP2024505692A (en) Data processing methods, devices and computer equipment based on blockchain networks
TW202026983A (en) Credibility verification method of alliance chain, system, device and apparatus
JP5526015B2 (en) Gateway system, gateway device, and load balancing method
JP2019212017A (en) Communication device and communication method
JP6712744B2 (en) Network system, cache method, cache program, management device, management method and management program
KR101600717B1 (en) Method and apparatus for download virtual machine operating system image
JP6860045B2 (en) Communication device, communication method, and communication program
CN111614726A (en) Data forwarding method, cluster system and storage medium
WO2020010270A1 (en) Dynamic routing using a distributed hash table

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190802

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200526

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200728

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200916

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: 20210224

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210309

R150 Certificate of patent or registration of utility model

Ref document number: 6860045

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150