JP5117556B2 - Communication device - Google Patents

Communication device Download PDF

Info

Publication number
JP5117556B2
JP5117556B2 JP2010208044A JP2010208044A JP5117556B2 JP 5117556 B2 JP5117556 B2 JP 5117556B2 JP 2010208044 A JP2010208044 A JP 2010208044A JP 2010208044 A JP2010208044 A JP 2010208044A JP 5117556 B2 JP5117556 B2 JP 5117556B2
Authority
JP
Japan
Prior art keywords
communication
event
communication event
value
party
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.)
Expired - Fee Related
Application number
JP2010208044A
Other languages
Japanese (ja)
Other versions
JP2012065165A (en
Inventor
裕介 土井
政浩 石山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP2010208044A priority Critical patent/JP5117556B2/en
Publication of JP2012065165A publication Critical patent/JP2012065165A/en
Application granted granted Critical
Publication of JP5117556B2 publication Critical patent/JP5117556B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Description

本発明の実施形態は、他の機器との間で発生した通信イベントに基づき該通信イベントに関する情報を生成する通信装置に関する。   Embodiments described herein relate generally to a communication device that generates information related to a communication event based on a communication event that has occurred with another device.

個々に特定の機能を有する様々な機器がネットワークを介して分散化されそれぞれに機能する分散システムの構築ないしは利用が始まっている(スマートグリッド、分散ビル管理システムなど)。このような分散システムでは、機器どうしがネットワークを介して必要な時に必要な情報通信を行う。通常、その通信に関わった機器は、機器どうしの間で発生した通信イベントに基づいて、そのイベントに関する一定の情報を生成しログとして残す。   Various devices having specific functions have been distributed over a network, and the construction or use of distributed systems that function respectively has started (smart grids, distributed building management systems, etc.). In such a distributed system, devices perform necessary information communication through a network when necessary. Normally, devices involved in the communication generate certain information about the event based on a communication event that occurs between the devices and leave it as a log.

一方、このような分散システムでは、一般に、個別の機器を監視しているだけでは、システムの全体との関わりの把握が難しい。例えば、障害が発生した場合などは、障害が観測された機器から遡ってシステム中のどこを調査し、どのように対策をすればよいかというような追跡が、システムの規模の拡大に従って非常に複雑で著しく困難になる。   On the other hand, in such a distributed system, it is generally difficult to grasp the relationship with the entire system only by monitoring individual devices. For example, when a failure occurs, tracking such as where to investigate in the system retroactively from the device where the failure was observed and how to take countermeasures is very important as the scale of the system increases. Complex and extremely difficult.

特開2006−246065号公報JP 2006-246065 A

本発明は、分散システムに属する機器間で発生した通信イベントに基づき、該通信イベントに関する情報を、一定の方法下での効率的な収集、検索に適するように生成することができる通信装置を提供することを目的とする。   The present invention provides a communication apparatus capable of generating information related to a communication event based on a communication event that occurs between devices belonging to a distributed system so as to be suitable for efficient collection and search under a certain method. The purpose is to do.

実施形態の通信装置は、通信制御部と、イベントエンコード部と、送出部とを持つ。通信制御部は、他の機器との間に発生した通信イベントに基づき、該通信イベントの相手方の装置識別子pを少なくとも含む、該通信イベントの属性Cを特定する。イベントエンコード部は、与えられた自装置識別子nと前記通信イベントの発生時刻tとから、与えられたセキュアハッシュ関数h()および与えられた定数aを用いて、キー値Kを、式K=h(n)+a・tに従い求め、かつ、前記自装置識別子nと前記発生時刻tと前記通信イベントの前記属性Cとを用いて、n,t,Cの組に1対1に対応するバリュー値Vを求める。送出部は、前記キー値Kと前記バリュー値Vとの組を外部ストレージ装置に送出する。   The communication apparatus according to the embodiment includes a communication control unit, an event encoding unit, and a transmission unit. The communication control unit specifies an attribute C of the communication event including at least the device identifier p of the other party of the communication event based on a communication event that has occurred with another device. The event encoding unit uses the given secure hash function h () and the given constant a from the given own device identifier n and the occurrence time t of the communication event to obtain the key value K as an expression K = h (n) + a · t, and a value corresponding to a set of n, t, C on a one-to-one basis using the device identifier n, the generation time t, and the attribute C of the communication event The value V is obtained. The sending unit sends the set of the key value K and the value value V to the external storage device.

実施形態の通信装置が配置、接続される関係を説明する装置関連図。The apparatus related figure explaining the relationship by which the communication apparatus of embodiment is arrange | positioned and connected. 実施形態の通信装置の主要な内部構成を示すブロック図。The block diagram which shows the main internal structures of the communication apparatus of embodiment. 実施形態の通信装置が送出先とするストレージ装置(分散テーブル)におけるデータ構造を説明する概念図。2 is a conceptual diagram illustrating a data structure in a storage apparatus (distributed table) that is a transmission destination of the communication apparatus according to the embodiment. FIG.

以上を踏まえ、以下では実施形態の通信装置を図面を参照しながら説明する。まず、図1は、実施形態の通信装置が配置、接続される関係を説明している。   Based on the above, the communication device of the embodiment will be described below with reference to the drawings. First, FIG. 1 illustrates a relationship in which the communication apparatuses of the embodiment are arranged and connected.

通信装置N1、N2、N3、N4、(・・・)は、それぞれ、ネットワークを介して相互に通信できるように、このネットワークに接続されたノード装置である。例えば、ネットワークの全体としてスマートグリッドやマイクログリッドを想定する場合は、通信装置N1等は、例えば、発電機のコントローラ、太陽電池や風力発電などのパワーコンバータに搭載されたコントローラ、電気自動車やプラグインハイブリッド自動車の充電装置、ホームエネルギー管理システムの制御装置、商業ビルのエネルギー管理システムの制御装置、工業設備に関連する制御装置、電力系統監視装置、通信機能を具備する電力量計(スマートメータ)、スマートメータに対応する自動検針装置などの一部としてそれらに搭載された通信装置である。   The communication devices N1, N2, N3, N4, (...) are node devices connected to this network so that they can communicate with each other via the network. For example, when a smart grid or microgrid is assumed as the entire network, the communication device N1 and the like include, for example, a controller of a generator, a controller mounted on a power converter such as a solar battery or wind power generation, an electric vehicle, or a plug-in. Hybrid vehicle charging device, home energy management system control device, commercial building energy management system control device, industrial equipment related control device, power system monitoring device, watt-hour meter (smart meter) with communication function, It is a communication device mounted on them as part of an automatic meter reading device that supports smart meters.

これらの通信装置N1等は、それらの装置どうしがネットワーク(例えばインターネット)を介して、装置の機能に応じたプロトコルを用い必要な時に必要な情報通信を行う。通常、その通信に関わった装置は、装置どうしの間で発生した通信イベントに基づいて、そのイベントに関する一定の情報を生成しログとして残す。   These communication devices N1 and the like perform necessary information communication between the devices via a network (for example, the Internet) using a protocol corresponding to the function of the device. Normally, devices involved in the communication generate certain information about the event based on a communication event that occurs between the devices, and leave it as a log.

図1では、例示として次のような通信イベントの発生を示している。すなわち、通信装置N1から同N2に、時刻t1で、ある通信イベント(サブスクライブ)が発生し、通信装置N1から同N3に、時刻t2で別の通信イベント(サブスクライブ)が発生し、さらに時刻t5でさらに別の通信イベント(アンサブスクライブ)が発生している。また、通信装置N2から同N4に、時刻t3でさらに別の通信イベント(サブスクライブ)が発生し、通信装置N3から同N4に、時刻t4でさらに別の通信イベント(サブスクライブ)が発生している。   FIG. 1 shows the occurrence of the following communication event as an example. That is, a communication event (subscribe) occurs from the communication device N1 to the same N2 at the time t1, another communication event (subscribe) occurs from the communication device N1 to the same N3 at the time t2, and the time Another communication event (unsubscribe) has occurred at t5. Further, another communication event (subscribe) occurs from the communication device N2 to the same N4 at the time t3, and another communication event (subscribe) occurs from the communication device N3 to the same N4 at the time t4. Yes.

これにより、通信装置N1では、ログとして、「N1@t1 | Sd N2」「N1@t2 | Sd N3」「N1@t5 | uSd N3」が生成され保存される。通信N2、N3、N4についても、それぞれ、図1中に示すようにログが生成され保存される。ここで、ログの縦棒(|記号)の左側は、K(後述)およびV(後述)の双方に関係する要素であり、右側は主にVのみに関連する要素である。また、ログ中の“S”は、Subscribe(サブスクライブ)、“Sd”は、Subscribed(サブスクライブド:サブスクライブの受動形の略記法)であり、“uS”は、Unsubscribe(アンサブスクライブ)、“uSd”は、Unsubscribed(アンサブスクライブド:アンサブスクライブの受動形の略記法)である。この例では、通信装置N1が情報の発信元であり、通信装置N2、N3を介して、通信装置N4に情報が流れている。この場合、通信装置N4にとって、通信装置N1が発信元であることは何ら認識されていない。   Thereby, in the communication device N1, “N1 @ t1 | SdN2”, “N1 @ t2 | SdN3”, and “N1 @ t5 | uSdN3” are generated and stored as logs. Logs are also generated and stored for the communications N2, N3, and N4 as shown in FIG. Here, the left side of the vertical bar (| symbol) of the log is an element related to both K (described later) and V (described later), and the right side is an element mainly related to V only. Further, “S” in the log is Subscribe (subscribe), “Sd” is Subscribe (subscribe: an abbreviation for a passive type of subscribe), “uS” is Unsubscribe, “USd” is Unsubscribed (an unsubscribed passive abbreviation for unsubscribed). In this example, the communication device N1 is a source of information, and information flows to the communication device N4 via the communication devices N2 and N3. In this case, the communication device N4 does not recognize that the communication device N1 is the transmission source.

この実施形態は、通信イベントに関する情報を、情報の流れの、より下流になった通信装置から遡って事象の全容を容易に調査できるようにすること、特に、それに向くように通信イベントに関する情報をストレージ装置(分散テーブル)100に記録することを目的としている。ここで、ストレージ装置100は、put(key,value)の形式で書き込みを行い、get(key)→valueの形式で読み出しを行うことができるテーブルであることを想定する。分散テーブルとしては、分散ハッシュテーブルを用いることができるが、次の条件を満たす別の方式でもよい。   This embodiment allows information relating to communication events to be easily explored retrospectively from a communication device that is downstream in the information flow, in particular information relating to communication events to suit it. It is intended to be recorded in the storage device (distributed table) 100. Here, it is assumed that the storage apparatus 100 is a table that can write in the format of put (key, value) and can read in the format of get (key) → value. A distributed hash table can be used as the distributed table, but another method that satisfies the following conditions may be used.

すなわち、この分散テーブルは、put(key,value)で、データエントリvalueをキーkeyに登録することができ、このあと、データエントリvalueをキーkeyから取得するのに、get(key)→valueでなすことができ、かつ、データエントリvalueのリスト[value]をキー範囲[key1,key2)から取得するのに、getRange(key1,key2)→[value]でなすことができるものであればよい。   That is, in this distribution table, the data entry value can be registered in the key key with put (key, value), and then the data entry value is obtained from the key key by using get (key) → value. It is only necessary that the data entry value list [value] can be obtained from the key range [key1, key2) by using getRange (key1, key2) → [value].

図2は、実施形態の通信装置N1、N2、N3、N4、・・・(以下、代表して「通信装置N1」という)のそれぞれにおける、その主要な内部構成を示している。図2に示すように、この通信装置N1は、通信制御部11、出力管理メモリ12、入力管理メモリ13、時計14、イベントエンコーダ15、送出部16、分散テーブル管理部17を有する。   FIG. 2 shows the main internal configuration of each of the communication devices N1, N2, N3, N4,... (Hereinafter referred to as “communication device N1”). As illustrated in FIG. 2, the communication device N1 includes a communication control unit 11, an output management memory 12, an input management memory 13, a clock 14, an event encoder 15, a transmission unit 16, and a distributed table management unit 17.

通信制御部11は、他の機器(通信装置)と例えばインターネットで接続されており、この装置との間に発生した通信イベントに基づき、該通信イベントの相手方の装置識別子pを少なくとも含む、該通信イベントの属性Cを特定する。属性Cの例として、相手方の装置識別子pに加え、通信イベントの情報フローの方向d、通信イベントの通信識別子(セッション識別子)sの組を挙げることができる。属性Cとして、その通信イベントの発生時刻tを含めることにしてもよい。通信識別子sは、相手方との交換で相手方におけるものと同じものとして特定する。同じ相手方との複数の情報フローが発生した場合には、その都度、別の通信識別子sを交換、特定する。   The communication control unit 11 is connected to another device (communication device) via, for example, the Internet, and includes at least a device identifier p of the other party of the communication event based on a communication event that occurs with the device. The attribute C of the event is specified. As an example of the attribute C, in addition to the device identifier p of the other party, a pair of communication event information flow direction d and communication event communication identifier (session identifier) s can be cited. The attribute C may include the occurrence time t of the communication event. The communication identifier s is specified as the same as that at the other party by exchanging with the other party. When a plurality of information flows with the same opponent occurs, another communication identifier s is exchanged and specified each time.

情報フローの方向dとは、その通信イベントにおいて関係する自身と相手方との間での情報の流れの方向である。この方向dについては、その通信イベントにおいて、一方がサーバ、他方がクライアントであると位置づけられるとしても、実質的な情報の流れで規定し、いずれも情報の発信元になり得るとして定義される。例えば、一方が検針サーバ、他方がスマートメータ(クライアント)である場合、スマートメータによる測定値の検針サーバへの送信は、クライアントが情報発信の側である。また、スマートメータが異常状態に陥り検針サーバにその通知を行う場合も同様である。逆に、検針サーバからスマートメータに対して負荷制御コマンドを送出する場合は、検針サーバが情報発信の側である。   The information flow direction d is the direction of information flow between itself and the other party involved in the communication event. The direction d is defined as a substantial information flow even if one is positioned as a server and the other as a client in the communication event, and both are defined as possible sources of information. For example, when one is a meter-reading server and the other is a smart meter (client), the client transmits information to the meter-reading server using the smart meter. The same applies when the smart meter falls into an abnormal state and notifies the meter-reading server. Conversely, when a load control command is sent from the meter reading server to the smart meter, the meter reading server is the information sending side.

また、上記とは別の属性Cの例として、通信イベントの情報フローの方向dに代えて、次のものを用いるようにしてもよい。すなわち、dに代えて、この通信イベントが、通信イベントの相手方にサブスクライブして発生したもの、通信イベントの相手方からサブスクライブされて発生したもの、通信イベントの相手方にアンサブスクライブして発生したもの、および通信イベントの相手方からアンサブスクライブされて発生したものの4種のうちのいずれであるかを示す情報eを用いる。この場合は、通信装置N1が参加するネットワークが、いわゆるパブリッシュ-サブスクライブ(publish-subscribe)ネットワークである場合に好適に適用できる。   Further, as an example of the attribute C different from the above, the following may be used instead of the direction d of the communication event information flow. That is, instead of d, this communication event occurred when subscribed to the other party of the communication event, occurred when subscribed from the other party of the communication event, or occurred when unsubscribed to the other party of the communication event. Information e indicating which one of the four types is generated by being unsubscribed from the other party of the communication event or the communication event. This case can be suitably applied when the network to which the communication device N1 participates is a so-called publish-subscribe network.

通信制御部11は、自身が情報の発信元になった通信イベントの場合は、出力管理メモリ12に、その属性Cを含むログを記録し保存する。また、通信制御部11は、自身が情報の受け手となった通信イベントの場合は、入力管理メモリ13に、その属性Cを含むログを記録し保存する。これらは、通信装置(通信装置N1等)個々における通信イベント管理のためである。出力管理メモリ12、入力管理メモリ13は、これらのログ情報を格納可能なメモリである。通信制御部11は、また、特定した属性Cをイベントエンコーダ15に出力する。この出力は時刻tの情報を含む。   The communication control unit 11 records and saves a log including the attribute C in the output management memory 12 in the case of a communication event in which the communication control unit 11 is the information source. In the case of a communication event for which the communication control unit 11 has received information, the communication control unit 11 records and saves a log including the attribute C in the input management memory 13. These are for communication event management in each communication device (communication device N1, etc.). The output management memory 12 and the input management memory 13 are memories that can store such log information. The communication control unit 11 also outputs the identified attribute C to the event encoder 15. This output includes information on time t.

時計14は、発生した通信イベントの発生時刻tを通信制御部11が特定するために時刻情報を提供する時計である。時刻tとしては、UNIX(登録商標)標準時間や、ある共通基準点からの経過秒数を用いることができる。   The clock 14 is a clock that provides time information in order for the communication control unit 11 to specify the occurrence time t of the communication event that has occurred. As the time t, UNIX (registered trademark) standard time or the number of seconds elapsed from a certain common reference point can be used.

イベントエンコーダ15は、与えられた自装置識別子nと、通信制御部11から渡された、通信イベントの発生時刻tとから、与えられたセキュアハッシュ関数h()および与えられた定数aを用いて、キー値Kを、式K=h(n)+a・tに従い求める。さらに、自装置識別子nと、通信制御部11から渡された、発生時刻tと通信イベントの属性Cとを用いて、n,t,Cの組に1対1に対応するバリュー値Vを求める。   The event encoder 15 uses the given secure hash function h () and the given constant a from the given device identifier n and the communication event occurrence time t passed from the communication control unit 11. The key value K is obtained according to the equation K = h (n) + a · t. Further, by using the own device identifier n and the occurrence time t and the communication event attribute C passed from the communication control unit 11, a value value V corresponding to one-to-one is obtained for a set of n, t, and C. .

自装置識別子nとしては、例えば、IPネットワークであれば、IPv4アドレスまたはIPv6アドレスと、トランスポート層プロトコル(TCP/UDPなど)と、ポート番号とを組み合わせたものをセキュアハッシュ関数に通して得られたものを使用できる。あるいはこれに代えて、時刻や乱数から生成したUUID(universally unique identifier)等を使用することもできる。これらの事情は、説明が前後するが、通信制御部11が特定する、通信イベントの相手方の装置識別子pについても、相手方の装置においては同様である。   For example, in the case of an IP network, the own apparatus identifier n is obtained by passing a combination of an IPv4 address or an IPv6 address, a transport layer protocol (such as TCP / UDP), and a port number through a secure hash function. Can be used. Alternatively, a UUID (universally unique identifier) generated from time or a random number can be used instead. Although these circumstances will be described before and after, the same applies to the device identifier p of the other party of the communication event specified by the communication control unit 11 in the other device.

イベントエンコーダ15に与えられたセキュアハッシュ関数h()としては、SHA−1などの公知のセキュアハッシュ関数h(k)→{x|x∈H}(ただしHはハッシュ値空間)を用いることができる。定数aは、時刻がどれだけ進めばハッシュ値であるキー値Kを、ハッシュ値空間H内でをどれだけ進ませるかを規定する定数である。定数aは、換言すると、特定の通信装置(N1、・・・)がストレージ装置100に送出する情報を、その分散テーブル内で適切に振り分けるためのパラメータとも言える。   As the secure hash function h () given to the event encoder 15, a known secure hash function h (k) → {x | xεH} (where H is a hash value space) such as SHA-1 is used. it can. The constant a is a constant that defines how much the time advances the key value K, which is a hash value, in the hash value space H. In other words, the constant a can be said to be a parameter for appropriately allocating information sent from the specific communication device (N1,...) To the storage device 100 in the distribution table.

定数aについては、例えば、以下のように決めておくことができる。前提としてtは秒数で表わす。ハッシュ値空間Hのビット幅bは、セキュアハッシュ関数h(k)によって定まるが、仮にb=128ビットであるとして、1年(31536000秒)でハッシュ値空間Hを1周するようにバリュー値Vを振り分けるためには、aは、a=2128/31536000=1.08×1031になる。簡略的には、定数aとして、2のべき乗の数として、この場合、a=2103(=1031.0061)を用いるようにしてもよい。定数aとして2のべき乗の数を用いる場合、式K=h(n)+a・tにおいて演算a・tはビットシフトになり簡単になる。 For example, the constant a can be determined as follows. As a premise, t is expressed in seconds. The bit width b of the hash value space H is determined by the secure hash function h (k), but assuming that b = 128 bits, the value value V so that the hash value space H goes around once in one year (31536000 seconds). Is assigned to a = 2 128 /31536000=1.08×10 31 . In short, as the constant a, the number of powers of 2 may be a = 2 103 (= 10 31.0061 ) in this case. When a power of 2 is used as the constant a, the operation a · t is a bit shift in the equation K = h (n) + a · t, and is simplified.

n,t,Cの組に1対1に対応するバリュー値Vを求めるには、例えば、与えられたリスト化関数list()を用いて、V=list(t,d,n,p,s)で求めればよい(dに代えてeを用いる場合には、V=list(t,e,n,p,s)を用いる)。ちなみに、このようなリスト化関数list()を用いた場合、逆関数であるアンリスト化関数unlist()を用いれば、Vを引数に用いてunlist(V)により、t,d,n,p,sの組(またはt,e,n,p,sの組)を求めることができる。   In order to obtain a value value V corresponding to a set of n, t, and C on a one-to-one basis, for example, using a given list function list (), V = list (t, d, n, p, s (If e is used instead of d, V = list (t, e, n, p, s) is used). Incidentally, when such a listing function list () is used, if an unlisting function unlist () that is an inverse function is used, t, d, n, p can be obtained by unlist (V) using V as an argument. , S (or t, e, n, p, s).

イベントエンコード部15が求めたキー値Kおよびバリュー値Vは、イベントエンコード部15から送出部16に送られる。送出部16は、送られてきたK、Vの組をストレージ装置100に送出、登録する。なお、ストレージ装置100が分散ハッシュテーブルを利用している場合であっても、このテーブルでKに対してセキュアハッシュ化関数の適用を行うには及ばない。これは、すでにイベントエンコード部15でh(n)の演算がなされていて同様の効果を得ているため、および、連続した時系列の通信イベントに関する情報の検索容易化を図るためである。   The key value K and the value value V obtained by the event encoding unit 15 are sent from the event encoding unit 15 to the sending unit 16. The sending unit 16 sends and registers the sent K and V pairs to the storage apparatus 100. Even when the storage apparatus 100 uses a distributed hash table, it is not necessary to apply a secure hashing function to K in this table. This is because the event encoding unit 15 has already performed the calculation of h (n) and has obtained the same effect, and to facilitate the retrieval of information related to continuous time-series communication events.

分散テーブル管理部17は、上記説明の動作とは直接に関係しないが、以下の機能を有している。すなわち、定期的にストレージ装置100の状況を確認し、利用可能な分散テーブルノードを確認する。ストレージ装置100が利用している分散テーブルが分散ハッシュテーブルで、例えばChordアルゴリズムを利用している場合であれば、ランダムな値をKにセットした探索を行い、再帰問い合わせにより利用可能なテーブルノードを学習しておく。   The distributed table management unit 17 is not directly related to the operation described above, but has the following functions. That is, the status of the storage apparatus 100 is periodically checked to check available distributed table nodes. If the distributed table used by the storage apparatus 100 is a distributed hash table and uses, for example, the Chord algorithm, a search with a random value set to K is performed, and table nodes that can be used by recursive queries are found. Learn.

次に図3は、実施形態の通信装置が送出先とするストレージ装置(分散テーブル)におけるデータ構造を概念的に説明している。同図において、通信イベントを表わす符号については図1と共通する。   Next, FIG. 3 conceptually illustrates a data structure in a storage apparatus (distributed table) that is a transmission destination of the communication apparatus of the embodiment. In the figure, symbols representing communication events are the same as those in FIG.

分散ハッシュテーブルをはじめとする分散テーブルにおいては、データの書き込みおよびアクセスが分散していることが、効率的に動作するための必須要件である。通常は、任意のキーに対してセキュアハッシュ関数を適用することにより、任意の分布を持つキー群に対してハッシュ値の分布を一様としてアクセスを分散させることができる。   In a distributed table such as a distributed hash table, it is an essential requirement for efficient operation that data writing and access are distributed. Normally, by applying a secure hash function to an arbitrary key, it is possible to distribute access with a uniform hash value distribution for a group of keys having an arbitrary distribution.

上記説明の実施形態においては、世界中の様々な装置が相互に通信を行う可能性があり、その場合、通信を行う装置の多様性は、通信自体の多様性に比べれば小さい。したがって、自装置識別子nをキーに用い、h(n)でハッシュ化してこれを分散ハッシュテーブルに書き込むと、特定のテーブルノードに書き込まなければならないデータ量が時間経過に従って線形に増大することになる。一方で、通信自体をキーにハッシュ化してこれを分散ハッシュテーブルに書き込むと、時系列に通信イベントが意味を有していてこれを利用(検索)しようとする場合に処理が非常に困難になってしまう。   In the embodiment described above, various devices in the world may communicate with each other. In this case, the diversity of devices that perform communication is smaller than the diversity of communication itself. Therefore, if the local device identifier n is used as a key, hashed with h (n) and written in the distributed hash table, the amount of data that must be written in a specific table node increases linearly over time. . On the other hand, if the communication itself is hashed with the key and written in the distributed hash table, the communication event has a meaning in time series, and the processing becomes very difficult when trying to use (search) it. End up.

そこで、上記説明の実施形態においては、装置ごとの分散性をh(n)によって保証しつつ、近傍の時間の通信イベントに関する情報がテーブルノードの連続した領域に格納されかつ経時的に負荷分散がなされるように、キーとして、h(n)にa・tを加えたものを使用する。   Therefore, in the embodiment described above, information on communication events in the vicinity of the time is stored in a continuous area of the table node and the load is distributed over time while ensuring dispersibility for each device by h (n). As is done, the key is h (n) plus a · t.

このようにすれば、例えば、通信装置N1、N2での通信イベントの発生については、概念的に、図3上段に示すようにテーブルに保存される。つまり、保存される場所の起点はh(n)であり、これが通信装置ごとに決定されるので、擬似的に、通信装置ごとに分散テーブルが存在するように見える。実際は、ひとつの分散テーブルをすべての通信装置が共有している(図3下段)。ストレージ装置(分散テーブル)100の利用については、以下で述べる適用例でさらに説明する。   In this way, for example, the occurrence of a communication event in the communication devices N1 and N2 is conceptually stored in a table as shown in the upper part of FIG. That is, the starting point of the storage location is h (n), which is determined for each communication device, so that it seems that a distributed table exists for each communication device in a pseudo manner. Actually, all the communication devices share one distribution table (the lower part of FIG. 3). The use of the storage device (distributed table) 100 will be further described in the application example described below.

(適用例1)
分散システムとして、スマートグリッドを考える。このスマートグリッドに、電気自動車の充電装置が接続されている。また、太陽電池に搭載のコントローラも接続されている。スマートグリッドには、これら以外にも多数の装置が接続されており、これら間で通信イベントが発生するたびに、各装置が上記説明のようにストレージ装置(分散テーブル)100に対して、キー値K、バリュー値Vの組を送出、登録している。ここで、上記充電装置への給電が停止したとする。
(Application example 1)
Consider a smart grid as a distributed system. An electric vehicle charging device is connected to the smart grid. A controller mounted on the solar cell is also connected. Many devices other than these are connected to the smart grid, and each time a communication event occurs between these devices, each device sends a key value to the storage device (distributed table) 100 as described above. A set of K and value value V is transmitted and registered. Here, it is assumed that the power supply to the charging device is stopped.

給電の停止に至るステップは、ここでは例えば、次のようなものであったとする。1.地域の太陽電池による発電量の低下。2.地域全体の電力供給量が不安定化することが、地域EMS(energy management system)により予測される。3.地域の充電装置運営会社に対する需給調整依頼。4.充電装置運営会社から充電装置への給電停止指示。   Here, for example, it is assumed that the steps leading to the stop of power supply are as follows. 1. Decrease in power generated by local solar cells. 2. It is predicted by the local EMS (energy management system) that the power supply amount of the entire region becomes unstable. 3. Supply / demand adjustment requests to local charging device operators. 4). Power supply stop instruction to the charging device from the charging device operating company.

このとき、4番目のステップの結果のみを観測した充電装置の側からは、給電停止の原因は釈然としない。そこで、充電装置(または電気自動車)に搭載されたEMSコンピュータが、充電装置の自装置識別子nを取得し、このnと事象の発生時刻tとから、K=h(n)+a・tを計算する。その上で、a・tの想定される誤差幅tdを考慮して、ストレージ装置(分散テーブル)100に対して、getRange(K−td,K+td)を実行する。なお、誤差幅tdに設定に当たっては、例えば、通信のやりとりによる遅延時間 + 時計のずれから来る時刻のずれ + 命令を受信してから事象が発生するまでの想定遅延時間、の計算で得た値を考慮する。 At this time, from the side of the charging device that observed only the result of the fourth step, the cause of the power supply stop is not clear. Therefore, the EMS computer mounted on the charging device (or electric vehicle) acquires the self device identifier n 0 of the charging device, and K = h (n 0 ) + a from this n 0 and the event occurrence time t 0. - to calculate the t 0. Then, getRange (K−td, K + td) is executed on the storage apparatus (distributed table) 100 in consideration of the assumed error width td of a · t 0 . In setting the error width td, for example, a value obtained by calculating a delay time due to communication + a time shift coming from a clock shift + an expected delay time from the reception of the command to the occurrence of an event. Consider.

ストレージ装置(分散テーブル)100への上記のような検索により、時刻t付近に存在する、充電装置に関連する通信イベントを、Vのリスト[V]の形で得ることができる。そして、それぞれのバリュー値Vを引数に用いて、例えばunlist(V)を実行することにより、t,d,n,p,sの組(またはt,e,n,p,sの組)を求めることができる。これらの情報には、通信イベントの相手方の装置識別子pが含まれているので、この例の場合であれば、装置識別子pにより充電装置運営会社の装置を調べればよいことが分かる。 The search described above to the storage device (the dispersion table) 100, existing near a time t 0, a communication event associated with the charging device, can be obtained in the form of a list of V [V]. Then, using each value value V as an argument, for example, by executing unlist (V), a set of t, d, n, p, s (or a set of t, e, n, p, s) is obtained. Can be sought. Since these pieces of information include the device identifier p of the other party of the communication event, in the case of this example, it can be understood that the device of the charging device operating company may be checked by the device identifier p.

そこで、次に、充電装置運営会社の装置識別子pを新たに自装置識別子n−1と設定し、停止命令の発行時刻をt−1として、K−1=h(n−1)+a・t−1を計算し、ストレージ装置(分散テーブル)100に対して、getRange(K−1−td,K−1+td)を実行する。その後は上記説明と同様にして、地域EMSの装置に遡ることができる。 Therefore, next, the device identifier p of the charging device operating company is newly set as its own device identifier n- 1, and the issue time of the stop command is set to t- 1 , and K- 1 = h (n- 1 ) + a.t. −1 is calculated, and getRange (K −1 -td, K −1 + td) is executed for the storage apparatus (distributed table) 100. Thereafter, it can be traced back to the device in the regional EMS in the same manner as described above.

以後は、同様に、充電装置(または電気自動車)に搭載されたEMSコンピュータがストレージ装置(分散テーブル)100に対して検索を行うことで、事象の原因を、根源の太陽電池に搭載のコントローラまで遡ることができる。これにより、充電装置の利用者に対して、例えば、天候の回復を待つべきか、特別料金を払って別の電力を買うべきか、現在の充電で充電を一旦停止するかの選択を提示することができる。   Thereafter, similarly, the EMS computer mounted on the charging device (or electric vehicle) searches the storage device (distributed table) 100 to determine the cause of the event up to the controller mounted on the source solar cell. You can go back. This presents the user with a choice of whether to wait for the weather to recover, pay a special fee to buy another power, or stop charging at the current charge, for example. be able to.

(適用例2)
次に、分散システムの例として、分散ビル管理システムを考える。このようなシステムでは、各通信機器は、各ビルに設けられたセンサ、アクチュエータ、ビル情報管理システムなどにそれぞれその一部として搭載されている。
(Application example 2)
Next, consider a distributed building management system as an example of a distributed system. In such a system, each communication device is mounted as a part of a sensor, an actuator, a building information management system, or the like provided in each building.

分散ビル管理システムでは、一般に、複数のビルの動作環境を比較検討することにより、同種の設備であっても消費電力が突然上昇するなどといった現象から故障を予知したり、利用パターンの差異から省エネルギー行動の指針を作成したりするなどといった、統合ビルマネジメントあるいはESCO事業のような展開が考えられる。これにより、単なるビル管理の枠を超えたシステムが構築される。   In distributed building management systems, in general, by comparing and examining the operating environments of multiple buildings, it is possible to predict failures from phenomena such as sudden increase in power consumption even for the same type of equipment, and to save energy from differences in usage patterns. Development such as integrated building management or ESCO business, such as creating action guidelines, can be considered. As a result, a system is built that goes beyond simple building management.

このような分散ビル管理システムでは、センシングされたデータがどのテナントのデータなのか、あるいは統合ビルマネジメントシステムの出力がどういったデータに基づくものなのかが見えにくくなる、という課題がある。また、これから派生して、本来データを混合してはならない(例えば契約上の理由)2つのテナントをもつビルマネジメント業者が、統合データを作成する際にどの統計値がどのテナント由来のものなのかを調べるのに手間がかかり、ヒューマンエラーが発生する余地がある、という課題もある。   In such a distributed building management system, there is a problem that it becomes difficult to see which tenant's data the sensed data is or what data the output of the integrated building management system is based on. Also, what statistics are derived from which tenants when building management companies with two tenants that are derived from this and should not originally mix data (eg contractual reasons) create integrated data? There is also a problem that there is room for human error to occur because it takes time and effort to investigate.

これに対して、上記説明の通信装置を分散ビル管理システムの各機器に搭載し、さらに中間の統合データを処理する計算装置(計算ノード、計算プロセス)にも上記説明の通信装置を搭載した場合を考えると以下の利点がある。すなわち、これらの装置間で発生した通信イベントが登録されているストレージ装置100に対して検索を行うことにより、どのデータがどの処理ルーチンを経由してどの結果に結びついているかを、容易に明らかにすることができる。   In contrast, when the communication device described above is installed in each device of the distributed building management system, and the communication device described above is also installed in a calculation device (calculation node, calculation process) for processing intermediate integrated data. There are the following advantages. That is, by searching the storage apparatus 100 in which communication events that occur between these apparatuses are registered, it is easy to clarify which data is connected to which result via which processing routine. can do.

例えば、互いに排他的なテナントAとテナントBとが存在する場合、この2者の平均消費電力データと、個別の消費電力データとが明らかな場合は、互いに他方のテナントの消費電力も知ることができてしまう。これは、消費電力データから事業活動の活発さが推定できるため望ましくない。   For example, when there are tenants A and B that are mutually exclusive, if the average power consumption data of the two parties and the individual power consumption data are clear, the power consumption of the other tenant can be known. I can do it. This is not desirable because the activity of the business activity can be estimated from the power consumption data.

そこで、統合ビルマネジメント業者は、ESCOアプリケーションの作成に当たり、排他的なテナントAとテナントB、それぞれに互いのデータを含んだ情報を与えないようにルールを設定したとする。このような場合、この業者は、データ出口の装置でストレージ装置100を検索し、センサやプロセスに搭載の通信装置が登録した通信イベントを、時間を遡って調べることにより、誤って排他的なテナントのデータを含む集計値が出力されていないかを容易に確認できる。   Therefore, it is assumed that the integrated building management company sets a rule so that the exclusive tenant A and the tenant B do not give information including each other's data to the exclusive tenant A and tenant B, respectively. In such a case, this trader searches for the storage device 100 using the data exit device, and inspects the communication event registered by the communication device installed in the sensor or process by going back in time. It is easy to check whether aggregated values that contain the data are output.

なお、中間の統合データを処理する計算装置(計算ノード、計算プロセス)に、上記説明の通信装置を等価的に搭載するには、例えば、通信時のライブラリへの介入(dll hook等)などを用いた手法を採用することができる。また、この場合のストレージ装置100への登録、およびストレージ装置100に対する検索においては、公知のデータ来歴技術を適用し、より利便性を高めることができる。   In addition, in order to equip the above-described communication device equivalently to a calculation device (calculation node, calculation process) that processes intermediate integrated data, for example, an intervention in a library (such as a dll hook) during communication is performed. The technique used can be adopted. In this case, in the registration to the storage apparatus 100 and the search for the storage apparatus 100, a well-known data history technique can be applied to improve convenience.

以上説明のように、実施形態の通信装置によれば、装置間の通信イベントに関する情報を効率的に収集できるようにこの情報を生成することができる。この結果、通信イベントの因果関係を容易に調べることが可能になり、多数の通信装置に対する動的な通信イベント情報管理ができる。分散システム上の情報トレーサビリティアプリケーションの構築も容易に可能になる。   As described above, according to the communication device of the embodiment, this information can be generated so that information related to communication events between devices can be efficiently collected. As a result, the causal relationship between communication events can be easily checked, and dynamic communication event information management for a large number of communication devices can be performed. It is also possible to easily build information traceability applications on distributed systems.

以上、本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これらの新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。   As mentioned above, although several embodiment of this invention was described, these embodiment is shown as an example and is not intending limiting the range of invention. These novel embodiments can be implemented in various other forms, and various omissions, replacements, and changes can be made without departing from the spirit of the invention. These embodiments and modifications thereof are included in the scope and gist of the invention, and are included in the invention described in the claims and the equivalents thereof.

11…通信制御部、12…出力管理メモリ、13…入力管理メモリ、14…時計、15…イベントエンコーダ、16…送出部、17…分散テーブル管理部、N1,N2,N3,N4…通信装置(ノード)、100…ストレージ装置(分散テーブル)。   DESCRIPTION OF SYMBOLS 11 ... Communication control part, 12 ... Output management memory, 13 ... Input management memory, 14 ... Clock, 15 ... Event encoder, 16 ... Sending part, 17 ... Distributed table management part, N1, N2, N3, N4 ... Communication apparatus ( Node), 100... Storage device (distributed table).

Claims (4)

他の機器との間に発生した通信イベントに基づき、該通信イベントの相手方の装置識別子pを少なくとも含む、該通信イベントの属性Cを特定する通信制御部と、
与えられた自装置識別子nと前記通信イベントの発生時刻tとから、与えられたセキュアハッシュ関数h()および与えられた定数aを用いて、キー値Kを、式K=h(n)+a・tに従い求め、かつ、前記自装置識別子nと前記発生時刻tと前記通信イベントの前記属性Cとを用いて、n,t,Cの組に1対1に対応するバリュー値Vを求めるイベントエンコード部と、
前記キー値Kと前記バリュー値Vとの組を外部ストレージ装置に送出する送出部と
を具備する通信装置。
A communication control unit that identifies an attribute C of the communication event, including at least a device identifier p of the other party of the communication event, based on a communication event that has occurred with another device;
From the given device identifier n and the occurrence time t of the communication event, using the given secure hash function h () and the given constant a, the key value K is expressed by the equation K = h (n) + a An event for obtaining a value value V corresponding to a set of n, t, C on a one-to-one basis using the own device identifier n, the occurrence time t, and the attribute C of the communication event. An encoding section;
A communication device comprising: a sending unit that sends the set of the key value K and the value value V to an external storage device.
前記通信制御部が特定する、前記通信イベントの前記属性Cが、該通信イベントの相手方の前記装置識別子pのほかに、該通信イベントの情報フローの方向dと、該通信イベントの通信識別子sとを有し、
前記イベントエンコード部が求める前記バリュー値Vが、与えられたリスト化関数list()を用いて、V=list(t,d,n,p,s)で求められる
請求項1記載の装置。
The attribute C of the communication event specified by the communication control unit includes the communication event information flow direction d, the communication event communication identifier s, in addition to the device identifier p of the communication event counterpart. Have
The apparatus according to claim 1, wherein the value value V obtained by the event encoding unit is obtained by V = list (t, d, n, p, s) using a given listing function list ().
前記通信制御部が特定する、前記通信イベントの前記属性Cが、該通信イベントの相手方の前記装置識別子pのほかに、該通信イベントが、該通信イベントの相手方にサブスクライブして発生したもの、該通信イベントの相手方からサブスクライブされて発生したもの、該通信イベントの相手方にアンサブスクライブして発生したもの、および該通信イベントの相手方からアンサブスクライブされて発生したもののうちのいずれであるかを示す情報eと、該通信イベントの通信識別子sとを有し、
前記イベントエンコード部が求める前記バリュー値Vが、与えられたリスト化関数list()を用いて、V=list(t,e,n,p,s)で求められる
請求項1記載の装置。
The attribute C of the communication event specified by the communication control unit is generated in addition to the device identifier p of the other party of the communication event, and the communication event is generated by subscribing to the other party of the communication event; Whether the event occurred when subscribed from the other party of the communication event, occurred when unsubscribed to the other party of the communication event, or occurred when unsubscribed from the other party of the communication event And the communication identifier s of the communication event,
The apparatus according to claim 1, wherein the value value V obtained by the event encoding unit is obtained by V = list (t, e, n, p, s) using a given listing function list ().
前記イベントエンコード部が用いる前記定数aが、2のべき乗の数値である請求項1記載の装置。   The apparatus according to claim 1, wherein the constant a used by the event encoding unit is a power of two.
JP2010208044A 2010-09-16 2010-09-16 Communication device Expired - Fee Related JP5117556B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010208044A JP5117556B2 (en) 2010-09-16 2010-09-16 Communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010208044A JP5117556B2 (en) 2010-09-16 2010-09-16 Communication device

Publications (2)

Publication Number Publication Date
JP2012065165A JP2012065165A (en) 2012-03-29
JP5117556B2 true JP5117556B2 (en) 2013-01-16

Family

ID=46060422

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010208044A Expired - Fee Related JP5117556B2 (en) 2010-09-16 2010-09-16 Communication device

Country Status (1)

Country Link
JP (1) JP5117556B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4047031A1 (en) 2021-02-17 2022-08-24 Evonik Operations GmbH Amino-functional polybutadienes with comb-resistant polyether remnants and method for their production
WO2022248267A1 (en) 2021-05-27 2022-12-01 Evonik Operations Gmbh Hydrogenated polyether-modified amino-functional polybutadienes and process for their preparation

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4235193B2 (en) * 2005-06-07 2009-03-11 日本電信電話株式会社 Event history storage device, event information verification device, event history storage method, event information verification method, and event information processing system
JP2008210308A (en) * 2007-02-28 2008-09-11 Mitsubishi Electric Corp Log integrating managing device, log integrating managing method, and log integrating managing program
JP2009020757A (en) * 2007-07-12 2009-01-29 Toshiba Corp Data registration apparatus, data registration method and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4047031A1 (en) 2021-02-17 2022-08-24 Evonik Operations GmbH Amino-functional polybutadienes with comb-resistant polyether remnants and method for their production
WO2022248267A1 (en) 2021-05-27 2022-12-01 Evonik Operations Gmbh Hydrogenated polyether-modified amino-functional polybutadienes and process for their preparation

Also Published As

Publication number Publication date
JP2012065165A (en) 2012-03-29

Similar Documents

Publication Publication Date Title
Daki et al. Big Data management in smart grid: concepts, requirements and implementation
US11581732B2 (en) Establishing communication and power sharing links between components of a distributed energy system
Kim et al. A secure decentralized data-centric information infrastructure for smart grid
Boroojeni et al. A novel cloud-based platform for implementation of oblivious power routing for clusters of microgrids
Zhang et al. Event-driven soa for iot services
US20120201145A1 (en) Systems, methods, and apparatus for identifying invalid nodes within a mesh network
Alhasnawi et al. A new Internet of Things based optimization scheme of residential demand side management system
WO2019148976A1 (en) Energy information processing method and device thereof, and energy internet system
Bakken et al. Towards more flexible and robust data delivery for monitoring and control of the electric power grid
Thompson et al. A hetero-functional graph resilience analysis of the future American electric power system
Tariq et al. Cyber-physical co-simulation of smart grid applications using ns-3
Elattar et al. Communications for cyber-physical systems
JP5117556B2 (en) Communication device
Xu et al. Distributed load shedding for microgrid with compensation support via wireless network
Nan et al. Identification of transmission sections based on power grid partitioning
Sharma et al. Sensor-based optimization of energy efficiency in Internet of Things: A review
US10516295B2 (en) System and method for group control of distributed energy storage devices
Su et al. Efficient algorithms for scheduling multiple bulk data transfers in inter‐datacenter networks
Gorton et al. Gridoptics (tm) a novel software framework for integrating power grid data storage, management and analysis
Wang et al. Integrating control and fault-tolerant wireless network design for small modular nuclear reactors
Wen et al. Form follows function: designing smart grid communication systems using a framework approach
Nakayama et al. An autonomous distributed control method based on tie‐set graph theory in future grid
Umair et al. Information reliability in smart grid scenario over imperfect communication networks using IEC-61850 MMS
Shapsough et al. Designing an edge layer for smart management of large-scale and distributed solar farms
Montori et al. Smart energy services integrated within the arrowhead communication framework

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120907

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121017

R151 Written notification of patent or utility model registration

Ref document number: 5117556

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20151026

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

Free format text: JAPANESE INTERMEDIATE CODE: R313114

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees