JP2023046548A - Data management system and data management method - Google Patents

Data management system and data management method Download PDF

Info

Publication number
JP2023046548A
JP2023046548A JP2021155195A JP2021155195A JP2023046548A JP 2023046548 A JP2023046548 A JP 2023046548A JP 2021155195 A JP2021155195 A JP 2021155195A JP 2021155195 A JP2021155195 A JP 2021155195A JP 2023046548 A JP2023046548 A JP 2023046548A
Authority
JP
Japan
Prior art keywords
unit
data
collection
collection device
aggregating
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2021155195A
Other languages
Japanese (ja)
Inventor
聖春 落合
Masaharu Ochiai
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.)
Toyota Motor Corp
Original Assignee
Toyota Motor 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 Toyota Motor Corp filed Critical Toyota Motor Corp
Priority to JP2021155195A priority Critical patent/JP2023046548A/en
Publication of JP2023046548A publication Critical patent/JP2023046548A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

To improve security when collecting data from collection equipment.SOLUTION: A management part and collection equipment are connected to an arrangement part by the MQTT system so as to be capable of detecting messages classified by a specific topic each. The collection equipment transmits data to an integration part when detecting distribution of a message for instructing transmission of data to the collection equipment as a specific topic from the management part to the distribution part during connection to the distribution part by the MQTT system. The integration part distributes a completion message for showing integration of the data as a specific topic to the distribution part when the data are integrated. The management part detects the completion message and determines that the collection equipment is in a responsible state when the completion message is distributed to the distribution part during connection to the distribution part by the MQTT system.SELECTED DRAWING: Figure 1

Description

本開示は、データ管理システム及びデータ管理方法に関する。 The present disclosure relates to data management systems and data management methods.

特許文献1には、設備機器からの情報を収集する従データ収集機器と、従データ収集機器からデータを収集する主データ収集機器とを有するデータ収集システムが開示されている。主収集機器は、データ書き込みフレームを1番目の従データ収集機器に送信し、従データ収集機器は、自身の収集したデータを書き込んだフレームを次の従データ収集機器に渡す。以降の従データ収集機器は、それぞれ自身の収集したデータを書き込んだフレームを次の従データ収集機器に渡す。最後のn番目の従データ収集機器は、自身の収集したデータをフレームに書き込み、主データ収集機器に、書き込み済みフレームを送信する。 Patent Literature 1 discloses a data collection system having a slave data collection device that collects information from facility equipment and a main data collection device that collects data from the slave data collection device. The master collection device sends a data write frame to the first slave data collection device, and the slave data collection device passes the frame with its own collected data written to the next slave data collection device. Subsequent slave data collection devices pass frames in which their own collected data are written to the next slave data collection device. The last nth slave data collection device writes its collected data into the frame and sends the written frame to the master data collection device.

特開2015-211382号公報JP 2015-211382 A

従データ収集機器は、他の従データ収集機器に影響を与えないように単独で動作することが望まれる。また、セキュリティの観点から主データ収集機器が従データ収集機器に直接アクセスせずに、従データ収集機器のデータを取得し、あるいは、従データ収集機器の死活監視をしたい、という要望がある。 It is desirable that slave data collection devices operate independently so as not to affect other slave data collection devices. Also, from the viewpoint of security, there is a demand to acquire data of the slave data collection device or to monitor the life and death of the slave data collection device without the master data collection device directly accessing the slave data collection device.

本開示は、以下の形態として実現することが可能である。 The present disclosure can be implemented as the following forms.

(1)本開示の一形態によれば、データ管理システムが提供される。このデータ管理システムは、収集したデータを出力する収集機器と、前記収集機器を管理する管理部と、前記収集機器が出力する前記データを集約する集約部と、前記管理部と前記収集機器と前記集約部とに対して、トピックを用いた仕分けを利用して、前記管理部と前記収集機器と前記集約部のうちのいずれか1つの機器が配信するメッセージを他の機器が自ら取得するMQTT方式により仲介する配信部と、を備え、前記配信部は、前記管理部と前記収集機器と前記集約部とに対して、トピックを用いた仕分けを利用して、前記管理部と前記収集機器と前記集約部のうちのいずれか1つの機器が前記配信部に配信するメッセージを他の機器が自ら取得するMQTT方式により接続され、前記収集機器は、前記収集機器が指定したトピックを用いて、前記管理部から前記配信部に配信されたメッセージが、前記収集機器宛のデータ送信指示であることを検知すると、前記集約部に収集した前記データを送信し、前記集約部は、前記データを集約が完了すると、前記管理部が指定したトピックを用いて特定される完了メッセージを前記配信部に配信し、前記管理部は、前記集約部から前記完了メッセージが前記配信部に配信されたことを検知すると、前記収集機器が応答可能な状態にあると判断する。この形態のデータ管理システムによれば、収集機器は、配信部にアクセスできるが、配信部からは、収集機器への直接的なアクセスができないので、収集機器のセキュリティを高めつつ、管理部が収集機器を管理できる。
(2)上記形態のデータ管理システムにおいて、前記集約部は、格納部を有し、前記データを前記格納部に格納する収集システムと、前記収集機器から前記収集システムへ前記データを送信する送信サーバと、を備え、前記収集システムは、前記データを前記格納部に格納したときに、前記完了メッセージを前記配信部に配信してもよい。
(3)上記形態のデータ管理システムであって、前記収集機器は、前記配信部の特定の入力ポートを用いて前記配信部に接続してもよい。この形態のデータ管理システムによれば、収集機器は、配信部の特定の入力ポートを用いて接続するので、収集機器のセキュリティを一層高めることができる。
(4)上記形態のデータ管理システムであって、前記配信部は、前記収集機器から接続されたとき、前記収集機器の機器情報を取得し、前記収集機器の死活監視を実行してもよい。この形態によれば、配信部は、収集機器にアクセスしなくても、収集機器の機器情報を取得し、死活監視を実行できる。
(5)本開示の一形態によれば、データ管理方法が提供される。このデータ管理方法では、管理部と収集機器は、それぞれ、特定のトピックを用いて仕分けされたメッセージを検知できるように、MQTT方式により配信部に接続し、前記収集機器は、MQTT方式により配信部に接続中に、前記管理部から前記配信部に向けて、特定のトピックである前記収集機器宛のデータ送信指示のメッセージが配信されたことを検知すると、集約部にデータを送信し、前記集約部は、前記データを集約すると、特定のトピックである前記データを集約したことを示す完了メッセージを前記配信部に配信し、前記管理部は、MQTT方式により前記配信部に接続中に、前記完了メッセージが前記配信部に配信されると、当該メッセージを検知し、前記収集機器が応答可能な状態にあると判断する。この形態のデータ管理方法によれば、収集機器は、配信部にアクセスできるが、配信部からは、収集機器への直接的なアクセスができないので、収集機器のセキュリティを高めつつ、管理部が収集機器を管理できる。
(1) According to one aspect of the present disclosure, a data management system is provided. This data management system includes a collecting device that outputs collected data, a management unit that manages the collecting device, an aggregating unit that collects the data output by the collecting device, the management unit, the collecting device, and the An MQTT method in which other devices themselves acquire messages delivered by any one of the management unit, the collecting device, and the aggregating unit, using sorting using topics for the aggregating unit. and a distribution unit that mediates between the management unit, the collection device, and the aggregating unit by using sorting using topics, and distributing the management unit, the collection device, and the aggregating unit. Any one device of the aggregating units is connected by an MQTT method in which other devices acquire messages to be distributed to the distributing unit by themselves, and the collecting device uses the topic specified by the collecting device to When it is detected that the message distributed from the unit to the distribution unit is a data transmission instruction addressed to the collection device, the collected data is transmitted to the aggregation unit, and the aggregation unit completes aggregation of the data. Then, the management unit distributes a completion message specified using the specified topic to the distribution unit, and when the management unit detects that the completion message has been distributed from the aggregating unit to the distribution unit, Determine that the collection device is ready to respond. According to the data management system of this form, the collecting device can access the distribution unit, but the distribution unit cannot directly access the collecting device. You can manage your equipment.
(2) In the data management system of the above aspect, the aggregating unit has a storage unit, a collection system that stores the data in the storage unit, and a transmission server that transmits the data from the collection device to the collection system. and, the collection system may distribute the completion message to the distribution unit when the data is stored in the storage unit.
(3) In the data management system of the above aspect, the collection device may be connected to the distribution section using a specific input port of the distribution section. According to the data management system of this form, the collecting device is connected using a specific input port of the distribution section, so the security of the collecting device can be further enhanced.
(4) In the data management system of the above aspect, the delivery unit may acquire device information of the collection device when connected from the collection device, and perform life-and-death monitoring of the collection device. According to this aspect, the distribution unit can acquire the device information of the collection device and perform life-and-death monitoring without accessing the collection device.
(5) According to one aspect of the present disclosure, a data management method is provided. In this data management method, the management unit and the collection device are connected to the distribution unit by the MQTT method so as to be able to detect messages classified using a specific topic, and the collection device is connected to the distribution unit by the MQTT method. , when it is detected that a message of a data transmission instruction addressed to the collection device, which is a specific topic, has been delivered from the management unit to the delivery unit, data is sent to the aggregating unit, and the aggregating unit After aggregating the data, the unit delivers a completion message indicating that the data of a specific topic has been aggregated to the delivery unit, When a message is delivered to the delivery unit, it detects the message and determines that the collection device is ready to respond. According to this form of data management method, the collection device can access the distribution unit, but the distribution unit cannot directly access the collection device. You can manage your equipment.

本開示は、データ管理システム以外の種々の形態で実現することも可能である。例えば、データ管理方法等の形態で実現することができる。 The present disclosure can also be implemented in various forms other than a data management system. For example, it can be implemented in the form of a data management method or the like.

データ管理システムを示す説明図である。It is an explanatory view showing a data management system. データ格納処理を示す説明図である。FIG. 10 is an explanatory diagram showing data storage processing; データ格納処理を示すシーケンス図である。FIG. 10 is a sequence diagram showing data storage processing; データ管理システムにおける指示及びデータの流れを示す説明図である。FIG. 4 is an explanatory diagram showing the flow of instructions and data in the data management system;

図1は、データ管理システム10を示す説明図である。データ管理システム10は、管理部100と、MQTT Broker(Message Queueing Telemetry Transport)装置110(以下「MQTT Broker110」と呼ぶ。)と、送信サーバ120、125と、収集機器群130と、収集システム150、155と、を備える。収集機器群130は、収集機器131から142を含んでいる。LANなどのネットワークを介して、収集機器131から136は、送信サーバ120に接続されており、収集機器131から136は、送信サーバ125に接続されている。LANなどのネットワークを介して、送信サーバ120は、格納部160を有する収集システム150に接続されており、送信サーバ125は、格納部165を有する収集システム155に接続されている。送信サーバ120、125、収集システム150、155、格納部160、165を合わせて集約部170、175とも呼ぶ。MQTT Broker110は、管理部100と収集機器131~142と収集システム150、155と、MQTT方式により接続されている。MQTT方式では、トピックを用いた仕分けを利用し、管理部100と収集機器131~142と収集システム150、155のうちのいずれか1つの機器が配信するメッセージを他の機器が自ら取得する。 FIG. 1 is an explanatory diagram showing the data management system 10. As shown in FIG. The data management system 10 includes a management unit 100, an MQTT Broker (Message Queueing Telemetry Transport) device 110 (hereinafter referred to as "MQTT Broker 110"), transmission servers 120 and 125, a collection device group 130, a collection system 150, 155; Collection device group 130 includes collection devices 131 to 142 . The collection devices 131 to 136 are connected to the transmission server 120 and the collection devices 131 to 136 are connected to the transmission server 125 via a network such as LAN. Transmission server 120 is connected to collection system 150 having storage unit 160 , and transmission server 125 is connected to collection system 155 having storage unit 165 via a network such as a LAN. The transmission servers 120 and 125, the collection systems 150 and 155, and the storage units 160 and 165 are collectively referred to as aggregating units 170 and 175, respectively. The MQTT Broker 110 is connected to the management section 100, the collection devices 131 to 142, and the collection systems 150 and 155 by the MQTT method. In the MQTT method, sorting using topics is used, and messages distributed by any one of the management unit 100, the collection devices 131 to 142, and the collection systems 150 and 155 are acquired by the other devices themselves.

管理部100は、収集機器群130宛、もしくは、収集機器131~142宛のデータ送信指示を含むメッセージをPublish配信する装置である。管理部100は、また、収集システム150、155から、格納部160、165へデータの格納が完了したとのデータ格納完了メッセージがMQTT Broker110にPublish配信されたことを検知するために、MQTT Broker110に常時Subscribe接続している。管理部100は、データ格納完了メッセージがMQTT Broker110にPublish配信されたことを検知すると、送信元の収集機器131から142の機器情報と共に管理用情報として格納する。 The management unit 100 is a device that publishes and distributes a message including a data transmission instruction addressed to the collection device group 130 or the collection devices 131 to 142 . The management unit 100 also sends a data storage completion message from the collection systems 150 and 155 to the storage units 160 and 165 to the MQTT broker 110 in order to detect that the data storage completion message has been published to the MQTT broker 110. Always subscribe connected. When the management unit 100 detects that the data storage completion message has been published to the MQTT Broker 110, it stores it as management information together with the device information of the collection devices 131 to 142 that are transmission sources.

ここで、Publish配信とは、メッセージの送信者が、特定のトピックを含むメッセージを、特定の購読者に配信することである。本実施形態では、トピックとは、例えば、「集機器群130宛、もしくは、収集機器131~142宛のデータ送信指示」であり、「格納部160、165へデータの格納が完了したデータ格納完了」である。購読者は、メッセージの送信者に対してSubscribe接続することで、購読者が指定した特定のトピックを含むメッセージを購読できる。ここで、Subscribe接続とは、購読者が特定のトピックを含むメッセージを購読できるように接続することである。Subscribe接続では、接続先の特定の入力ポートを用いることで、接続元(購読者)から接続先へのアクセスは可能とするが、接続先から接続元への逆向きのアクセスを不可能とする。接続元の機器は、接続元の機器から接続先にSubscribe接続されている時に、Publish配信された特定のトピックを含むメッセージを検知・取得できる。しかし、接続元の機器から接続先にSubscribe接続する以前にPublish配信された特定のトピックを含むメッセージは、検知・取得できない。なお、購読者が接続先にSubscribe接続する以前にPublish配信された、特定のトピックを含むメッセージを検知・取得できるように構成してもよい。また、接続先の機器は、接続元からSubscribe接続されたときに、接続元の機器の機器情報を取得できる。 Here, Publish distribution means that a sender of a message distributes a message including a specific topic to specific subscribers. In the present embodiment, the topic is, for example, "a data transmission instruction addressed to the collection device group 130 or to the collection devices 131 to 142", and "data storage completed in the storage units 160 and 165". ”. A subscriber can subscribe to a message containing a specific topic specified by the subscriber by making a Subscribe connection to the sender of the message. Here, a Subscribe connection is a connection that allows a subscriber to subscribe to messages containing a specific topic. In a subscribe connection, by using a specific input port of the connection destination, access from the connection source (subscriber) to the connection destination is possible, but reverse access from the connection destination to the connection source is disabled. . A connection source device can detect and acquire a message containing a specific topic that has been published when the connection source device is subscribed to a connection destination. However, it is not possible to detect/acquire a message including a specific topic that has been published before the connection source device subscribes to the connection destination. It should be noted that it may be possible to detect and acquire a message containing a specific topic, which was published before the subscriber made a subscribe connection to the connection destination. Further, when the connection destination device is subscribed from the connection source, the device information of the connection source device can be obtained.

MQTT Broker110は、メッセージを購読者に配信する配信部である。MQTT Broker110は、管理部100からPublish配信された特定のトピックを含むメッセージを受信すると、メッセージを購読者である収集機器131~142に配信する。また、MQTT Broker110は、収集システム150、155からPublish配信された特定のトピックを含むメッセージを受信すると、購読者である管理部100に配信する。MQTT Broker110は、このように、メッセージの配信を仲介する。 MQTT Broker 110 is a distribution unit that distributes messages to subscribers. When the MQTT Broker 110 receives a message containing a specific topic published from the management unit 100, it distributes the message to the collector devices 131 to 142, which are subscribers. Also, when the MQTT Broker 110 receives a message containing a specific topic published from the collection systems 150 and 155, it distributes it to the management section 100, which is a subscriber. The MQTT Broker 110 thus mediates the delivery of messages.

収集機器群130の収集機器131から142は、例えば、工場200に配置された、センサーら動作を記録するロガーなどの機器である。収集機器131から142は、他の装置である、管理部100、MQTT Broker110、送信サーバ120、125、収集システム150、155からアクセスできないように、例えば、ファイヤウォールにより隔離されている。収集機器群130の収集機器131から142は、特定の入力ポートを用いて、MQTT Broker110に常時、Subscribe接続している。ネットワークは、セキュリティの観点からは有線LANが望ましいが、暗号化などのセキュリティ対策が施されていれば、無線LANであってもよい。もとより、有線LANであっても、暗号化などのセキュリティ対策を施すことは差し支えない。 The collection devices 131 to 142 of the collection device group 130 are, for example, devices such as loggers arranged in the factory 200 that record the operations of sensors. The collection devices 131 to 142 are isolated by firewalls, for example, so that they cannot be accessed by other devices such as the management unit 100, the MQTT broker 110, the transmission servers 120 and 125, and the collection systems 150 and 155. The collection devices 131 to 142 of the collection device group 130 are always subscribed to the MQTT Broker 110 using specific input ports. The network is preferably a wired LAN from the viewpoint of security, but may be a wireless LAN if security measures such as encryption are taken. Of course, even if it is a wired LAN, security measures such as encryption may be taken.

収集機器131から142は、MQTT Broker110にSubscribe接続中に、特定のトピックを含むメッセージを検知・取得する。特定のトピックを含むメッセージは、収集機器群130宛、あるいは、自己の収集機器宛のデータ送信指示をメッセージである。収集機器131から142は、収集機器群130宛、あるいは、自己の収集機器宛のデータ送信指示をメッセージがMQTT Broker110にPublish配信がされたことを検知・取得すると、データを収集し、それぞれ対応する送信サーバ120、125に送信する。本実施形態では、収集機器131から136は、送信サーバ120にデータを送信し、収集機器137から142は、送信サーバ125にデータを送信する。なお、収集機器131から142は、すでにデータを収集済みの場合には、新たなデータを取得せずに、収集済みのデータを送信してもよい。 Collecting devices 131 to 142 detect and obtain messages containing specific topics during Subscribe connection to MQTT Broker 110 . A message including a specific topic is a message that instructs data transmission to the collection device group 130 or to its own collection device. When the collection devices 131 to 142 detect/acquire that the MQTT Broker 110 publishes a data transmission instruction to the collection device group 130 or to their own collection device, they collect the data and correspond to each of them. Send to the sending servers 120 and 125 . In this embodiment, collection devices 131 - 136 send data to transmission server 120 and collection devices 137 - 142 send data to transmission server 125 . In addition, when data has already been collected, the collection devices 131 to 142 may transmit the collected data without acquiring new data.

送信サーバ120は、収集機器131から146から送信されたデータを収集システム150に送信する送信サーバであり、送信サーバ125は、収集機器137から142から送信されたデータを収集システム155に送信する送信サーバである。送信サーバ120、125は、例えば、HTTP(HyperText Transfer Protocol)サーバ、FTP(File Transfer Protocol)サーバ、MQTTサーバにより構成されている。 The transmission server 120 is a transmission server that transmits data transmitted from the collection devices 131 to 146 to the collection system 150 , and the transmission server 125 transmits data transmitted from the collection devices 137 to 142 to the collection system 155 . is the server. The transmission servers 120 and 125 are configured by, for example, an HTTP (HyperText Transfer Protocol) server, an FTP (File Transfer Protocol) server, and an MQTT server.

収集システム150は、送信サーバ120から送信されたデータを格納部160に、格納する。収集システム150は、また、送信サーバ120から送信されたデータを格納部160に格納すると、特定のトピックを含むメッセージである格納部160へデータの格納が完了したとのデータ格納完了のメッセージを、収集機器131から136までの機器情報と共に、MQTT Broker110にPublish配信する。 The collection system 150 stores the data transmitted from the transmission server 120 in the storage unit 160 . When the collection system 150 stores the data transmitted from the transmission server 120 in the storage unit 160, the collection system 150 sends a data storage completion message indicating that the data has been stored in the storage unit 160, which is a message including a specific topic. Publish delivery to the MQTT Broker 110 together with the device information of the collection devices 131 to 136 .

図2は、データ格納処理を示す説明図である。図3は、データ格納処理を示すシーケンス図である。ステップS100では、収集システム150は、MQTT Broker110に常時Subscribe接続する。ステップS110では、管理部100は、MQTT Broker110に常時Subscribe接続する。なお、ステップS100とS110は、いずれが先であってもよい。 FIG. 2 is an explanatory diagram showing data storage processing. FIG. 3 is a sequence diagram showing data storage processing. In step S100, the collection system 150 always subscribes to the MQTT Broker 110. FIG. In step S<b>110 , the management unit 100 always subscribes to the MQTT Broker 110 . Either of steps S100 and S110 may be performed first.

ステップS120では、管理部100は、収集機器群130または、収集機器131宛のデータ送信指示のメッセージを、MQTT Broker110にPublish配信する。ステップS130では、収集機器131は、MQTT Broker110にSubscribe接続している間にMQTT Broker110に対してPublish配信された自己宛のデータ送信指示のメッセージを、MQTT Broker110から取得する。 In step S<b>120 , the management unit 100 publishes a data transmission instruction message addressed to the collection device group 130 or the collection device 131 to the MQTT Broker 110 . In step S130, the collection device 131 acquires from the MQTT Broker 110 the self-addressed data transmission instruction message published to the MQTT Broker 110 while it is subscribed to the MQTT Broker 110. FIG.

ステップS140では、収集機器131は、データを収集する。ステップS150では、収集機器131は、送信サーバ120に、データ及び自己の機器情報を送信する。なお、収集機器131は、ステップS140を省略し、MQTT Broker110に対してPublish配信された自己宛のデータ送信指示のメッセージを、MQTT Broker110から取得した時点で収集済みのデータと自己の機器情報を送信サーバ120に送信してもよい。ステップS160では、送信サーバ120は、収集システム150に、データと収集機器131の機器情報を送信する。 In step S140, the collection device 131 collects data. In step S<b>150 , the collection device 131 transmits the data and its own device information to the transmission server 120 . Note that the collecting device 131 omits step S140, and transmits the collected data and its own device information at the time of acquiring the self-addressed data transmission instruction message published to the MQTT Broker 110 from the MQTT Broker 110. It may be sent to server 120 . In step S<b>160 , the transmission server 120 transmits the data and the device information of the collection device 131 to the collection system 150 .

ステップS170では、収集システム150は、データを格納部160にデータと収集機器131の機器情報を関連づけて格納する。ステップS180では、収集システム150は、データの格納部160への格納が完了したとのデータ格納完了のメッセージを、収集機器131の機器情報と共に、MQTT Broker110にPublish配信する。 In step S170, the collection system 150 associates the data with the device information of the collection device 131 and stores the data in the storage unit 160. FIG. In step S<b>180 , the collection system 150 publishes a data storage completion message to the MQTT Broker 110 together with the device information of the collection device 131 to indicate that the data has been stored in the storage unit 160 .

ステップS190で、管理部100は、MQTT Broker110にSubscribe接続している時に、MQTT Broker110にデータ格納完了メッセージがPublish配信されたことを検知・取得すると、処理をステップS200に移行する。ステップS200では、管理部100は、データ格納完了メッセージを管理用情報として、格納する。 In step S190, when the management unit 100 detects/acquires that the data storage completion message has been published to the MQTT Broker 110 while being subscribed to the MQTT Broker 110, the process proceeds to step S200. In step S200, the management unit 100 stores the data storage completion message as management information.

図4は、データ管理システム10における指示及びデータの流れを示す説明図である。データ送信指示が、メッセージとして、管理部100から、MQTT Broker110、収集機器131に流れ、データが、収集機器131から送信サーバ120を経て収集システム150に流れ、データ格納完了メッセージが、収集システム150からMQTT Broker110に流れるように、メッセージやデータは、一方向に、ループ的に流れ、逆向きには、流れない。 FIG. 4 is an explanatory diagram showing the flow of instructions and data in the data management system 10. As shown in FIG. A data transmission instruction flows as a message from the management unit 100 to the MQTT Broker 110 and the collection device 131, data flows from the collection device 131 to the collection system 150 via the transmission server 120, and a data storage completion message is sent from the collection system 150. As it flows through the MQTT Broker 110, messages and data flow in one direction in a loop, not in the other direction.

以上、本実施形態によれば、収集機器群130の収集機器131~142は、MQTT Broker110にSubscribe接続してアクセスし、MQTT Broker110にPublish配信されたデータ送信指示をメッセージとして検知・取得するが、MQTT Broker110が直接収集機器131~142にアクセスすることがないので、収集機器群130、収集機器131~142からデータを収集する際の収集機器群130、収集機器131~142のセキュリティを向上できる。 As described above, according to the present embodiment, the collection devices 131 to 142 of the collection device group 130 subscribe to and access the MQTT Broker 110, and detect and acquire data transmission instructions published to the MQTT Broker 110 as messages. Since the MQTT Broker 110 does not directly access the collection devices 131-142, the security of the collection device group 130 and the collection devices 131-142 when collecting data from the collection device group 130 and the collection devices 131-142 can be improved.

本実施形態によれば、MQTT Broker110は、収集機器群130の収集機器131~142からSubscribe接続された際に、収集機器131~142の機器情報を取得する。その結果、MQTT Broker110は、収集機器131~142の死活監視を実行しできる。また、管理部100は、MQTT Broker110から、収集機器131~142の死活監視の結果を取得し、あるいは、データの収集状態を判断できる。 According to this embodiment, the MQTT Broker 110 acquires the device information of the collection devices 131 to 142 when subscribed from the collection devices 131 to 142 of the collection device group 130 . As a result, the MQTT Broker 110 can perform life and death monitoring of the collection devices 131-142. In addition, the management unit 100 can acquire the results of life-and-death monitoring of the collection devices 131 to 142 from the MQTT Broker 110, or determine the data collection status.

本実施形態では、データ管理システム10は、2つの収集システム150、155を備えている。そして、それぞれの収集システム150、155は、データをそれぞれ格納部160、165に格納しているが、収集システム150、155のいずれか一つを備える構成でもよく、さらに3つ以上の収集システムを備える構成であってもよい。また、収集システム150、155は、データそのものではなく、データ間の関係を求めて、格納部160、165に格納してもよい。また、収集システム150、155は、データから異常を検出し、MQTT Broker110にPublish配信してもよい。また、2つの収集システム150、155は、異なる構成であってもよい。また、本実施形態では、複数の収集機器131~142を備えているが、収集機器は1個のみ備える構成であってもよい。 In this embodiment, the data management system 10 comprises two collection systems 150,155. Each of the collection systems 150 and 155 stores data in storage units 160 and 165, respectively. It may be a configuration provided. In addition, the collection systems 150 and 155 may obtain relationships between the data instead of the data itself and store them in the storage units 160 and 165 . The collection systems 150 and 155 may also detect anomalies from data and publish them to the MQTT Broker 110 . Also, the two collection systems 150, 155 may be configured differently. Also, in this embodiment, a plurality of collection devices 131 to 142 are provided, but the configuration may be such that only one collection device is provided.

本実施形態では、集約部170、175は、それぞれ、送信サーバ120、125と、収集システム150、155と、格納部160、165により構成されているが、他の構成であってもよく、1個のコンピュータ装置から構成としてもよい。例えば、集約部170、175は、異常/正常の判断を行って、その結果を出力・格納するダイアグノーシスシステムとして構成されていてもよい。 In this embodiment, the aggregating units 170 and 175 are composed of transmission servers 120 and 125, collection systems 150 and 155, and storage units 160 and 165, respectively. It may be composed of individual computer devices. For example, the aggregating units 170 and 175 may be configured as a diagnosis system that judges abnormality/normality and outputs/stores the result.

本実施形態では、管理部100は、常時MQTT Broker110にSubscribe接続し、収集機器131~142は、常時MQTT Broker110にSubscribe接続しているとしたが、常時Subscribe接続していなくてもよい。収集機器131~142は、MQTT Broker110に、所定のインターバルでSubscribe接続してもよく、工場200内の他の上位機器から指示を受けて、Subscribe接続してもよい。なお、管理部100や収集機器131~142がMQTT Broker110にSubscribe接続していない期間に、MQTT Broker110に対してPublish配信されたメッセージは、管理部100や収集機器131~142が、その後Subscribe接続しても、取得できない。そのため、管理部100や収集機器131~142は、メッセージがPublish配信される可能性がある期間は、Subscribe接続することが好ましい。 In the present embodiment, the management unit 100 is always subscribed to the MQTT Broker 110, and the collection devices 131 to 142 are always subscribed to the MQTT Broker 110, but they do not have to be always subscribed. The collecting devices 131 to 142 may subscribe to the MQTT Broker 110 at predetermined intervals, or receive instructions from other higher-level devices in the factory 200 to subscribe. Note that messages published to the MQTT Broker 110 during a period when the management unit 100 and the collection devices 131 to 142 are not subscribed to the MQTT Broker 110 are not subscribed to by the management unit 100 and the collection devices 131 to 142 after that. but can't get it. Therefore, it is preferable that the management unit 100 and the collection devices 131 to 142 establish a subscribe connection during a period when there is a possibility that the message will be published.

本開示は、上述の実施形態に限られるものではなく、その趣旨を逸脱しない範囲において種々の構成で実現することができる。例えば、発明の概要の欄に記載した各形態中の技術的特徴に対応する実施形態の技術的特徴は、上述の課題の一部または全部を解決するために、あるいは、上述の効果の一部または全部を達成するために、適宜、差し替えや、組み合わせを行うことが可能である。また、その技術的特徴が本明細書中に必須なものとして説明されていなければ、適宜、削除することが可能である。 The present disclosure is not limited to the embodiments described above, and can be implemented in various configurations without departing from the scope of the present disclosure. For example, the technical features of the embodiments corresponding to the technical features in each form described in the Summary of the Invention column are used to solve some or all of the above problems, or to achieve some of the above effects. Or in order to achieve all, it is possible to perform substitution and combination suitably. Also, if the technical features are not described as essential in this specification, they can be deleted as appropriate.

10…データ管理システム、100…管理部、110…MQTT Broker、120,125…送信サーバ、130…収集機器群、131~142…収集機器、150,155…収集システム、160,165…格納部、170、175…集約部 DESCRIPTION OF SYMBOLS 10... Data management system, 100... Management part, 110... MQTT Broker, 120, 125... Transmission server, 130... Collection equipment group, 131-142... Collection equipment, 150, 155... Collection system, 160, 165... Storage part, 170, 175... Aggregation part

Claims (5)

データ管理システムであって、
収集したデータを出力する収集機器と、
前記収集機器を管理する管理部と、
前記収集機器が出力する前記データを集約する集約部と、
前記管理部と前記収集機器と前記集約部とに対して、トピックを用いた仕分けを利用して、前記管理部と前記収集機器と前記集約部のうちのいずれか1つの機器が配信するメッセージを他の機器が自ら取得するMQTT方式により仲介する配信部と、
を備え、
前記配信部は、前記管理部と前記収集機器と前記集約部とに対して、トピックを用いた仕分けを利用して、前記管理部と前記収集機器と前記集約部のうちのいずれか1つの機器が前記配信部に配信するメッセージを他の機器が自ら取得するMQTT方式により接続され、
前記収集機器は、前記収集機器が指定したトピックを用いて、前記管理部から前記配信部に配信されたメッセージが、前記収集機器宛のデータ送信指示であることを検知すると、前記集約部に収集した前記データを送信し、
前記集約部は、前記データを集約が完了すると、前記管理部が指定したトピックを用いて特定される完了メッセージを前記配信部に配信し、
前記管理部は、前記集約部から前記完了メッセージが前記配信部に配信されたことを検知すると、前記収集機器が応答可能な状態にあると判断する、
データ管理システム。
A data management system,
a collection device that outputs the collected data;
a management unit that manages the collecting device;
an aggregating unit for aggregating the data output by the collecting device;
Messages distributed by any one of the management unit, the collecting device, and the aggregating unit are sent to the managing unit, the collecting device, and the aggregating unit, using sorting using topics. A distribution unit that mediates by the MQTT method that other devices acquire by themselves;
with
The distributing unit uses topic-based sorting for the managing unit, the collecting device, and the aggregating unit so that any one of the managing unit, the collecting device, and the aggregating unit is connected by the MQTT method in which other devices themselves acquire messages to be delivered to the delivery unit,
When the collection device detects that the message distributed from the management unit to the distribution unit is a data transmission instruction addressed to the collection device using the topic specified by the collection device, the collection unit collects the message. send said data obtained from
When the aggregation of the data is completed, the aggregating unit delivers a completion message specified using the topic specified by the management unit to the delivery unit;
When the management unit detects that the completion message has been delivered from the aggregation unit to the delivery unit, the management unit determines that the collection device is ready to respond.
Data management system.
請求項1に記載のデータ管理システムであって、
前記集約部は、
格納部を有し、前記データを前記格納部に格納する収集システムと、
前記収集機器から前記収集システムへ前記データを送信する送信サーバと、
を備え、
前記収集システムは、前記データを前記格納部に格納したときに、前記完了メッセージを前記配信部に配信する、データ管理システム。
A data management system according to claim 1, wherein
The aggregating unit is
a collection system having a storage unit and storing the data in the storage unit;
a transmission server that transmits the data from the collection device to the collection system;
with
The data management system, wherein the collection system distributes the completion message to the distribution unit when the data is stored in the storage unit.
請求項1または請求項2に記載のデータ管理システムであって、
前記収集機器は、前記配信部の特定の入力ポートを用いて前記配信部に接続する、データ管理システム。
A data management system according to claim 1 or claim 2,
The data management system, wherein the collection device connects to the distributor using a specific input port of the distributor.
請求項1から請求項3のいずれか一項に記載のデータ管理システムであって、
前記配信部は、前記収集機器から接続されたとき、前記収集機器の機器情報を取得し、前記収集機器の死活監視を実行する、データ管理システム。
The data management system according to any one of claims 1 to 3,
A data management system according to claim 1, wherein said delivery unit acquires device information of said collection device when connected from said collection device, and performs life-and-death monitoring of said collection device.
データ管理方法であって、
管理部と収集機器は、それぞれ、特定のトピックを用いて仕分けされたメッセージを検知できるように、MQTT方式により配信部に接続し、
前記収集機器は、MQTT方式により配信部に接続中に、前記管理部から前記配信部に向けて、特定のトピックである前記収集機器宛のデータ送信指示のメッセージが配信されたことを検知すると、集約部にデータを送信し、
前記集約部は、前記データを集約すると、特定のトピックである前記データを集約したことを示す完了メッセージを前記配信部に配信し、
前記管理部は、MQTT方式により前記配信部に接続中に、前記完了メッセージが前記配信部に配信されると、当該メッセージを検知し、前記収集機器が応答可能な状態にあると判断する、
データ管理方法。
A data management method comprising:
The management unit and the collection device are each connected to the distribution unit by the MQTT method so that messages sorted using specific topics can be detected,
When the collecting device detects that a data transmission instruction message addressed to the collecting device, which is a specific topic, has been distributed from the management unit to the distribution unit while being connected to the distribution unit by the MQTT method, send the data to the aggregator,
After aggregating the data, the aggregating unit delivers a completion message indicating that the data of a specific topic has been aggregated to the delivery unit;
When the completion message is delivered to the delivery unit while being connected to the delivery unit by the MQTT method, the management unit detects the message and determines that the collection device is ready to respond.
Data management method.
JP2021155195A 2021-09-24 2021-09-24 Data management system and data management method Pending JP2023046548A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021155195A JP2023046548A (en) 2021-09-24 2021-09-24 Data management system and data management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021155195A JP2023046548A (en) 2021-09-24 2021-09-24 Data management system and data management method

Publications (1)

Publication Number Publication Date
JP2023046548A true JP2023046548A (en) 2023-04-05

Family

ID=85778104

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021155195A Pending JP2023046548A (en) 2021-09-24 2021-09-24 Data management system and data management method

Country Status (1)

Country Link
JP (1) JP2023046548A (en)

Similar Documents

Publication Publication Date Title
JP5706433B2 (en) Method and apparatus for displaying data from a medical device
CN106412113A (en) Energy cloud service system and communication method thereof
CN106537880A (en) Caching data in information centric networking architecture
CN111383748A (en) Medical integrated platform system based on elastic calculation and 5G technology
CN103703738A (en) System for managing audio/video streams using application layer structures in an avb network
JP2008527519A5 (en)
US20120254391A1 (en) Inter-cluster communications technique for event and health status communications
JP6220625B2 (en) Delay monitoring system and delay monitoring method
JP7026103B2 (en) Video load balancing system for peer-to-peer server networks
CN105072386B (en) A kind of Net Video System and state monitoring method based on multicasting technology
US20240020297A1 (en) Metrics and events infrastructure
JP2023046548A (en) Data management system and data management method
CN104852955B (en) A kind of data processing method and system
CN105281940B (en) Method, equipment and system for HELLO message interaction based on NETCONF protocol
CN116886792A (en) Intelligent operation message and data hub center system
US20220048253A1 (en) Data Aggregation and Analytics for Digital Manufacturing
JP2020092318A (en) Relay device, relay method, and computer program
CN109729135A (en) Load-balancing method and intermediate server based on intermediate server
US20080109509A1 (en) Computer architecture for communicating between objects
KR20180000502A (en) Cloud-based device for processing data, and user device
CN106664217A (en) Identification of candidate problem network entities
JP2019207546A (en) Information processing system, information processing device, and method for controlling information processing system
WO2024142293A1 (en) Communication apparatus, communication method, and program
JP4900282B2 (en) Online system, transmission rate adjustment server, relay server, host computer, bandwidth adjustment method and program
JP4573156B2 (en) Data collection system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20240214