JP2022108484A - Program, information processing device and information processing method - Google Patents
Program, information processing device and information processing method Download PDFInfo
- Publication number
- JP2022108484A JP2022108484A JP2021003504A JP2021003504A JP2022108484A JP 2022108484 A JP2022108484 A JP 2022108484A JP 2021003504 A JP2021003504 A JP 2021003504A JP 2021003504 A JP2021003504 A JP 2021003504A JP 2022108484 A JP2022108484 A JP 2022108484A
- Authority
- JP
- Japan
- Prior art keywords
- sensor device
- processor
- information processing
- sensor
- profile
- 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
Links
Images
Landscapes
- Selective Calling Equipment (AREA)
- Arrangements For Transmission Of Measured Signals (AREA)
- Computer And Data Communications (AREA)
Abstract
Description
本発明の実施形態は、プログラム、情報処理装置及び情報処理方法に関する。 TECHNICAL FIELD Embodiments of the present invention relate to programs, information processing apparatuses, and information processing methods.
温度、湿度又はCO2濃度などを計測する各センサデバイスから、そこで計測した計測値を収集するシステムが存在する。そして、これらセンサデバイスに無線通信機能をもったものがあり、計測値をタブレットなどの情報処理装置に無線で送信するものがある。 From each sensor device that measures temperature, humidity, CO2 concentration, etc., there is a system that collects the measurements taken there. Some of these sensor devices have a wireless communication function and wirelessly transmit measured values to an information processing device such as a tablet.
従来、この無線通信機能をもったセンサデバイスから計測値等のセンシングデータを収集するためには、無線通信のプロトコル等の種類に対応できる情報処理装置を準備する必要があった。 Conventionally, in order to collect sensing data such as measured values from a sensor device having this wireless communication function, it has been necessary to prepare an information processing apparatus that can handle types such as wireless communication protocols.
上記の課題を解決するため、無線通信機能をもった様々なセンサデバイスからセンシングデータを取得することができるプログラム、情報処理装置及び情報処理方法を提供する。 In order to solve the above problems, a program, an information processing apparatus, and an information processing method capable of acquiring sensing data from various sensor devices having wireless communication functions are provided.
実施形態によれば、情報処理装置のプロセッサによって実行されるプログラムは、前記プロセッサに、センシングデータを取得するセンサデバイスの識別子と、前記センサデバイスと通信するための通信プロトコルとを対応付けたプロファイルを記憶部に記憶する機能と、前記プロファイルが示す前記通信プロトコルに従って、前記識別子に対応する前記センサデバイスと通信を行う機能と、前記通信にて前記センサデバイスから前記センシングデータを取得する機能と、を実現させる。 According to the embodiment, a program executed by a processor of an information processing apparatus stores, in the processor, a profile that associates an identifier of a sensor device that acquires sensing data with a communication protocol for communicating with the sensor device. a function of storing in a storage unit; a function of communicating with the sensor device corresponding to the identifier according to the communication protocol indicated by the profile; and a function of acquiring the sensing data from the sensor device through the communication. make it happen.
以下、実施形態について、図面を参照して説明する。
実施形態に係るセンサシステムは、IoT(Internet of Thing)機器としてのセンサデバイスを用いて、例えば工場などの建造物内の各所における、種々の計測値を収集する。センサシステムは、センサデバイスが計測した計測値を管理する。計測値としては、たとえば、温度、湿度又はCO2(二酸化炭素)濃度などの数値がある。
図1は、実施形態に係るセンサシステム1の構成例を示す。図1が示すように、センサシステム1は、情報処理装置10、第1のセンサデバイス20、第2のセンサデバイス30及び第3のセンサデバイス40などを備える。情報処理装置10は、第1のセンサデバイス20、第2のセンサデバイス30及び第3のセンサデバイス40に接続する。
Hereinafter, embodiments will be described with reference to the drawings.
A sensor system according to an embodiment uses a sensor device as an IoT (Internet of Thing) device to collect various measurement values at various places in a building such as a factory. The sensor system manages the measured values measured by the sensor device. Measured values include, for example, numerical values such as temperature, humidity, or CO2 (carbon dioxide) concentration.
FIG. 1 shows a configuration example of a sensor system 1 according to an embodiment. As shown in FIG. 1, the sensor system 1 includes an
なお、センサシステム1は、図1が示すような構成の他に必要に応じた構成を具備したり、センサシステム1から特定の構成が除外されたりしてもよい。 Note that the sensor system 1 may have a configuration other than the configuration shown in FIG. 1 as necessary, or a specific configuration may be excluded from the sensor system 1 .
情報処理装置10は、第1のセンサデバイス20、第2のセンサデバイス30及び第3のセンサデバイス40がセンシングデータとして所定の計測値を取得し管理する。情報処理装置10は、第1のセンサデバイス20、第2のセンサデバイス30及び第3のセンサデバイス40から計測値を取得する。情報処理装置10は、各計測値を記憶する。また、情報処理装置10は、各計測値が示された情報(帳票情報)を外部装置に送信するものであってもよい。情報処理装置10については、後に詳述する。
The
第1のセンサデバイス20は、温度及び湿度を検針し、計測値を取得する。第1のセンサデバイス20は、この計測値を情報処理装置10に送信する。第1のセンサデバイス20については、後に詳述する。
The
第2のセンサデバイス30は、CO2濃度を検針し、計測値を取得する。第2のセンサデバイス30は、この計測値を情報処理装置10に送信する。第2のセンサデバイス30については、後に詳述する。
The
第3のセンサデバイス40は、消費電力を検針し、計測値を取得する。第3のセンサデバイス40は、この計測値検出結果を情報処理装置10に送信する。第3のセンサデバイス40については、後に詳述する。
The
次に、情報処理装置10について説明する。
図2は、情報処理装置10の構成例を示す。図2が示すように、情報処理装置10は、プロセッサ11、メモリ12、通信部13、操作部14及び表示部15などを備える。プロセッサ11は、データバス又は所定のインターフェースなどを通じてメモリ12、通信部13、操作部14及び表示部15と接続する。
Next, the
FIG. 2 shows a configuration example of the
なお、情報処理装置10は、図2が示すような構成の他に必要に応じた構成を具備したり、情報処理装置10から特定の構成が除外されたりしてもよい。
In addition to the configuration shown in FIG. 2 , the
プロセッサ11は、情報処理装置10全体の動作を制御する。たとえば、プロセッサ11は、第1のセンサデバイス20、第2のセンサデバイス30及び第3のセンサデバイス40から計測値を取得しメモリ12に記憶する。
The
たとえば、プロセッサ11は、CPUなどから構成される。また、プロセッサ11は、ASIC(Application Specific Integrated Circuit)などから構成されるものであってもよい。また、プロセッサ11は、FPGA(Field Programmable Gate Array)などから構成されるものであってもよい。
For example, the
メモリ12(記憶部)は、計測値を含め、種々のデータを記憶する。たとえば、メモリ12は、ROM、RAM及びNVMとして機能する。
たとえば、メモリ12は、制御プログラム及び制御データなどを記憶する。制御プログラム及び制御データは、情報処理装置10の仕様に応じて予め組み込まれる。たとえば、制御プログラムは、情報処理装置10で実現する機能をサポートするプログラムなどである。
The memory 12 (storage unit) stores various data including measured values. For example,
For example, the
また、メモリ12は、プロセッサ11の処理中のデータなどを一時的に記憶する。また、メモリ12は、アプリケーションプログラムの実行に必要なデータ及びアプリケーションプログラムの実行結果などを記憶してもよい。
The
メモリ12は、プロファイル及び帳票情報を記憶する。プロファイル及び帳票情報については、後術する。
The
通信部13は、第1のセンサデバイス20、第2のセンサデバイス30及び第3のセンサデバイス40などとデータを送受信するためのインターフェースである。通信部13は、無線で第1のセンサデバイス20、第2のセンサデバイス30及び第3のセンサデバイス40と通信を行う。たとえば、通信部13は、Bluetooth(登録商標)のプロトコルに基づいた通信を可能とするインターフェースである。また、通信部13は、無線LAN(Local Area Network)接続をサポートするインターフェースであってもよい。また、通信部13は、Bluetooth接続及び無線LAN接続など複数の通信方式をサポートするものであってもよい。
The
操作部14は、ユーザから種々の操作の入力を受け付ける。操作部14は、入力された操作を示す信号をプロセッサ11へ送信する。たとえば、操作部14は、マウス、キーボード又はタッチパネルなどから構成される。
The
表示部15は、プロセッサ11からの制御に基づいて情報を表示する。たとえば、表示部15は、液晶ディスプレイなどから構成される。操作部14がタッチパネルから構成される場合、表示部15は、操作部14と一体的に形成される。
The
情報処理装置10は、ユーザが持ち運び可能な携帯可能電子端末である。たとえば、情報処理装置10は、ノートPC、タブレットPC、スマートフォン又はウェアラブル端末などである。
The
次に、第1のセンサデバイス20について説明する。
図3は、第1のセンサデバイス20の構成例を示す。図3が示すように、第1のセンサデバイス20は、プロセッサ21、メモリ22、通信部23及びセンサ24などを備える。プロセッサ21は、データバス又は所定のインターフェースなどを通じてメモリ22、通信部23及びセンサ24に接続する。
Next, the
FIG. 3 shows a configuration example of the
なお、第1のセンサデバイス20は、図3が示すような構成の他に必要に応じた構成を具備したり、第1のセンサデバイス20から特定の構成が除外されたりしてもよい。
The
プロセッサ21は、第1のセンサデバイス20全体の動作を制御する。たとえば、プロセッサ21は、検出結果を情報処理装置10に送信する。
たとえば、プロセッサ21は、CPUなどから構成される。また、プロセッサ21は、ASICなどから構成されるものであってもよい。また、プロセッサ21は、FPGAなどから構成されるものであってもよい。
For example, the
メモリ22は、種々のデータを記憶する。たとえば、メモリ22は、ROM、RAM及びNVMとして機能する。
たとえば、メモリ22は、制御プログラム及び制御データなどを記憶する。制御プログラム及び制御データは、第1のセンサデバイス20の仕様に応じて予め組み込まれる。たとえば、制御プログラムは、第1のセンサデバイス20で実現する機能をサポートするプログラムなどである。
The
For example, the
また、メモリ22は、プロセッサ21の処理中のデータなどを一時的に記憶する。また、メモリ22は、アプリケーションプログラムの実行に必要なデータ及びアプリケーションプログラムの実行結果などを記憶してもよい。
The
通信部23は、情報処理装置10などとデータを送受信するためのインターフェースである。通信部23は、無線で情報処理装置10に接続する。たとえば、通信部23は、Bluetooth接続をサポートするインターフェースである。また、通信部23は、無線LAN接続をサポートするインターフェースであってもよい。
The
センサ24は、温度及び湿度を検出するためのセンサである。センサ24は、検出された温度及び湿度を示すデータをプロセッサ21に送信する。
なお、センサ24は、温度を検出するセンサと湿度を検出するセンサとから構成されるものであってもよい。
たとえば、第1のセンサデバイス20は、IoT機器である。
The
For example, the
次に、第2のセンサデバイス30について説明する。
図4は、第2のセンサデバイス30の構成例を示す。図4が示すように、第2のセンサデバイス30は、プロセッサ31、メモリ32、通信部33及びセンサ34などを備える。プロセッサ31は、データバス又は所定のインターフェースなどを通じてメモリ32、通信部33及びセンサ34に接続する。
Next, the
FIG. 4 shows a configuration example of the
なお、第2のセンサデバイス30は、図4が示すような構成の他に必要に応じた構成を具備したり、第2のセンサデバイス30から特定の構成が除外されたりしてもよい。
The
プロセッサ31は、第2のセンサデバイス30全体の動作を制御する。たとえば、プロセッサ31は、検出結果を情報処理装置10に送信する。
たとえば、プロセッサ31は、CPUなどから構成される。また、プロセッサ31は、ASICなどから構成されるものであってもよい。また、プロセッサ31は、FPGAなどから構成されるものであってもよい。
For example, the
メモリ32は、種々のデータを記憶する。たとえば、メモリ32は、ROM、RAM及びNVMとして機能する。
たとえば、メモリ32は、制御プログラム及び制御データなどを記憶する。制御プログラム及び制御データは、第2のセンサデバイス30の仕様に応じて予め組み込まれる。たとえば、制御プログラムは、第2のセンサデバイス30で実現する機能をサポートするプログラムなどである。
The
For example, the
また、メモリ32は、プロセッサ31の処理中のデータなどを一時的に記憶する。また、メモリ32は、アプリケーションプログラムの実行に必要なデータ及びアプリケーションプログラムの実行結果などを記憶してもよい。
The
通信部33は、情報処理装置10などとデータを送受信するためのインターフェースである。通信部33は、無線で情報処理装置10に接続する。たとえば、通信部33は、Bluetooth接続をサポートするインターフェースである。また、通信部33は、無線LAN接続をサポートするインターフェースであってもよい。
The
センサ34は、CO2濃度を検出するためのセンサである。センサ34は、検出されたCO2濃度を示すデータをプロセッサ31に送信する。
たとえば、第2のセンサデバイス30は、IoT機器である。
The
For example, the
次に、第3のセンサデバイス40について説明する。
図5は、第3のセンサデバイス40の構成例を示す。図5が示すように、第3のセンサデバイス40は、プロセッサ41、メモリ42、通信部43及びセンサ44などを備える。プロセッサ41は、データバス又は所定のインターフェースなどを通じてメモリ42、通信部43及びセンサ44に接続する。
Next, the
FIG. 5 shows a configuration example of the
なお、第3のセンサデバイス40は、図5が示すような構成の他に必要に応じた構成を具備したり、第3のセンサデバイス40から特定の構成が除外されたりしてもよい。
The
プロセッサ41は、第3のセンサデバイス40全体の動作を制御する。たとえば、プロセッサ41は、検出結果を情報処理装置10に送信する。
たとえば、プロセッサ41は、CPUなどから構成される。また、プロセッサ41は、ASICなどから構成されるものであってもよい。また、プロセッサ41は、FPGAなどから構成されるものであってもよい。
For example, the
メモリ42は、種々のデータを記憶する。たとえば、メモリ42は、ROM、RAM及びNVMとして機能する。
たとえば、メモリ42は、制御プログラム及び制御データなどを記憶する。制御プログラム及び制御データは、第3のセンサデバイス40の仕様に応じて予め組み込まれる。たとえば、制御プログラムは、第3のセンサデバイス40で実現する機能をサポートするプログラムなどである。
The
For example, the
また、メモリ42は、プロセッサ41の処理中のデータなどを一時的に記憶する。また、メモリ42は、アプリケーションプログラムの実行に必要なデータ及びアプリケーションプログラムの実行結果などを記憶してもよい。
The
通信部43は、情報処理装置10などとデータを送受信するためのインターフェースである。通信部43は、無線で情報処理装置10に接続する。たとえば、通信部43は、Bluetooth接続をサポートするインターフェースである。また、通信部43は、無線LAN接続をサポートするインターフェースであってもよい。
The
センサ44は、メータなどが示す消費電力を検出するためのセンサである。センサ44は、検出された消費電力を示すデータをプロセッサ41に送信する。
The
たとえば、第3のセンサデバイス40は、IoT機器である。たとえば、第3のセンサデバイス40は、スマートメータである。
For example, the
次に、プロファイルについて説明する。
プロファイルは、センサデバイス(第1のセンサデバイス20、第2のセンサデバイス30又は第3のセンサデバイス40)に接続するための通信プロトコルと当該センサデバイスから取得されるデータとを示す。
Next, profiles are described.
A profile indicates a communication protocol for connecting to a sensor device (
図6は、メモリ12が記憶するプロファイルの構成例を示す。図6が示すように、メモリ12は、複数のプロファイルを記憶する。ここでは、メモリ12は、第1乃至第6のプロファイルを記憶する。
FIG. 6 shows a configuration example of a profile stored in the
図6が示すように、プロファイルは、「通信プロトコル」と「取得データ」とを対応づけて記憶する。 As shown in FIG. 6, the profile stores "communication protocol" and "acquired data" in association with each other.
「通信プロトコル」は、センサデバイスと通信するためのプロトコルである。たとえば、「通信プロトコル」は、センサデバイスにアクセスするためのシーケンシャルなどを示す。ここでは、「通信プロトコル」は、第1乃至第3の通信パターンの何れかである。 A "communication protocol" is a protocol for communicating with a sensor device. For example, "communication protocol" indicates sequential or the like for accessing the sensor device. Here, the "communication protocol" is any one of the first to third communication patterns.
「取得データ」は、センサデバイスから取得されるデータであり、例えば、温度、湿度又は消費電力を夫々示す計測値である。 “Acquired data” is data acquired from a sensor device, and is, for example, measured values indicating temperature, humidity, or power consumption.
また、「取得データ」は、計測日時を示すものであってもよい。
また、「取得データ」は、センシングデータが検出されるタイミングを指定するものであってもよい。たとえば、「取得データ」は、現在の計測値、直近に計測された計測値、直近の1つ前に計測された計測値などを示すものであってもよい。
Also, the "acquired data" may indicate the date and time of measurement.
Also, the "acquired data" may specify the timing at which the sensing data is detected. For example, the "acquired data" may indicate the current measured value, the most recently measured value, the most recently measured value, or the like.
ここでは、第1及び第2のプロトコルは、第1のセンサデバイス20に接続するために用いられる。また、第3のプロトコルは、第2のセンサデバイス30に接続するために用いられる。第4乃至第6のプロトコルは、第3のセンサデバイス40に接続するために用いられる。
Here, the first and second protocols are used to connect to the
なお、メモリ12が記憶するプロファイルの個数及び内容は、特定の構成に限定されるものではない。
The number and contents of profiles stored in the
たとえば、プロファイルは、通信部13などを通じてインターネットなどのネットワークを通じて予めダウンロードされるものであってもよい。また、プロファイルは、適宜ネットワークからダウンロードされるものであってもよい。
For example, the profile may be downloaded in advance through a network such as the Internet through the
次に、第1のセンサデバイス20が実現する機能について説明する。第1のセンサデバイス20が実現する機能は、プロセッサ21が内部メモリ又はメモリ22などに記憶されるプログラムを実行することで実現される。
Next, functions realized by the
プロセッサ21は、検出結果を情報処理装置10に送信する機能を有する。
まず、プロセッサ21は、通信部23を通じて情報処理装置10に接続する。ここでは、メモリ22は、ID及びパスワードを予め記憶する。プロセッサ21は、情報処理装置10からID及びパスワードを受信してパスワード照合を行う。プロセッサ21は、パスワード照合に成功した場合、情報処理装置10との通信を確立する。
The
First, the
情報処理装置10に接続すると、プロセッサ21は、通信部23を通じて、温度又は湿度の計測値を要求するコマンドを受信する。当該コマンドを受信すると、プロセッサ21は、センサ24を用いて、当該コマンドに従って温度又は湿度を計測する。
When connected to the
温度又は湿度を計測すると、プロセッサ21は、通信部23を通じて、温度又は湿度の計測値を含むレスポンスを情報処理装置10に送信する。
After measuring the temperature or humidity, the
なお、プロセッサ21は、温度又は湿度の計測値を所定の間隔で検出しメモリ22に記憶してもよい。この場合、プロセッサ21は、メモリ22が記憶する計測値を示すレスポンスを情報処理装置10に送信してもよい。
The
次に、第2のセンサデバイス30が実現する機能について説明する。第2のセンサデバイス30が実現する機能は、プロセッサ31が内部メモリ又はメモリ32などに記憶されるプログラムを実行することで実現される。
Next, functions realized by the
プロセッサ31は、検出結果を情報処理装置10に送信する機能を有する。
まず、プロセッサ31は、通信部33を通じて情報処理装置10に接続する。ここでは、プロセッサ31は、パスワード照合なしで、情報処理装置10との通信を確立する。
The
First, the
情報処理装置10に接続すると、プロセッサ31は、通信部33を通じて、CO2濃度の計測値を要求するコマンドを受信する。当該コマンドを受信すると、プロセッサ31は、センサ34を用いて、当該コマンドに従ってCO2濃度を計測する。
When connected to the
CO2濃度を計測すると、プロセッサ31は、通信部33を通じて、CO2濃度の計測値を含むレスポンスを情報処理装置10に送信する。
After measuring the CO2 concentration, the
なお、プロセッサ31は、CO2濃度の計測値を所定の間隔で検出しメモリ32に記憶してもよい。この場合、プロセッサ31は、メモリ32が記憶する計測値を示すレスポンスを情報処理装置10に送信してもよい。
Note that the
次に、第3のセンサデバイス40が実現する機能について説明する。第3のセンサデバイス40が実現する機能は、プロセッサ41が内部メモリ又はメモリ42などに記憶されるプログラムを実行することで実現される。
Next, functions realized by the
プロセッサ41は、検出結果を情報処理装置10に送信する機能を有する。
ここでは、プロセッサ41は、センサ44を用いて所定の間隔(たとえば、数十分)で消費電力を計測する。消費電力を計測すると、プロセッサ41は、消費電力を計測した日時(計測日時)と計測値とを対応づけてメモリ42に記憶する。
The
Here,
プロセッサ41は、通信部43を通じて情報処理装置10に接続する。ここでは、メモリ42は、ID及びパスワードを予め記憶する。プロセッサ41は、情報処理装置10からID及びパスワードを受信してパスワード照合を行う。プロセッサ41は、パスワード照合に成功した場合、情報処理装置10との通信を確立する。
The
情報処理装置10に接続すると、プロセッサ41は、通信部43を通じて、消費電力の計測値を要求するコマンドを受信する。当該コマンドは、現在の計測値、又は、過去の計測値を要求するコマンドである。過去の計測値を要求する場合、当該コマンドは、計測値が計測されたタイミングを指定する。たとえば、当該コマンドは、直近の計測値、又は、直近から1つ前の計測値などを指定する。
When connected to the
当該コマンドが現在の計測値を示す場合、プロセッサ41は、当該コマンドを受信すると、センサ44を用いて、当該コマンドに従って消費電力を計測する。消費電力を計測すると、プロセッサ41は、通信部43を通じて、計測値を含むレスポンスを情報処理装置10に送信する。なお、レスポンスは、計測日時を含むものであってもよい。
If the command indicates the current measurement value, the
また、当該コマンドが過去の指針値の検出結果を示す場合、プロセッサ41は、当該コマンドを受信すると、当該コマンドが指定する検出結果及び計測日時を取得する。検出結果及び計測日時を取得すると、プロセッサ41は、通信部43を通じて、取得された検出結果及び計測日時を含むレスポンスを情報処理装置10に送信する。
In addition, when the command indicates the past detection result of the guideline value, the
次に、情報処理装置10が実現する機能について説明する。情報処理装置10が実現する機能は、プロセッサ11が内部メモリ又はメモリ12などに記憶されるプログラムを実行することで実現される。
Next, functions realized by the
まず、プロセッサ11は、第1のセンサデバイス20、第2のセンサデバイス30及び第3のセンサデバイス40からの計測値を記憶する帳票情報を設定する機能を有する。
プロセッサ11は、第1のセンサデバイス20、第2のセンサデバイス30及び第3のセンサデバイス40からの計測値を取得する前に帳票情報を設定する。
First, the
The
ここでは、ユーザは、情報処理装置10に計測値を取得させるために、情報処理装置10を所持した状態で、第1のセンサデバイス20、第2のセンサデバイス30又は第3のセンサデバイス40が存在する複数のエリアに進入するものとする。
Here, in order to cause the
図7は、実施形態においてユーザが進入するエリアを示す。図7が示すように、ユーザが進入するエリアとしてエリアA乃至Cが存在する。エリアA乃至Cには、第1のセンサデバイス20、第2のセンサデバイス30又は第3のセンサデバイス40の少なくとも1つが存在する。
FIG. 7 shows the area that the user enters in an embodiment. As shown in FIG. 7, areas A to C exist as areas into which users enter. At least one of the
ここで、第1のセンサデバイス20a乃至20cは、第1のセンサデバイス20の1つである。即ち、第1のセンサデバイス20a乃至20cは、第1のセンサデバイス20と同様の構成である。また、第1のセンサデバイス20a乃至20cには、それぞれ異なるUUIDが設定されている。また、第1のセンサデバイス20a乃至20cには、それぞれ異なるID及びパスワードが設定されている。
Here, the
また、第2のセンサデバイス30a及び30cは、第2のセンサデバイス30の1つである。即ち、第2のセンサデバイス30a及び30cは、第2のセンサデバイス30と同様の構成である。また、第2のセンサデバイス30a及び30cには、それぞれ異なるUUIDが設定されている。
Also, the
また、第3のセンサデバイス40a及び40bは、第3のセンサデバイス40の1つである。即ち、第3のセンサデバイス40a及び40bは、第3のセンサデバイス40と同様の構成である。また、第3のセンサデバイス40a及び40bには、それぞれ異なるUUIDが設定されている。また、第3のセンサデバイス40a及び40bには、それぞれ異なるID及びパスワードが設定されている。
Also, the
エリアAには、第1のセンサデバイス20a、第2のセンサデバイス30a及び第3のセンサデバイス40aが存在する。
エリアBには、第1のセンサデバイス20b及び第3のセンサデバイス40bが存在する。
エリアCには、第1のセンサデバイス20c及び第2のセンサデバイス30cが存在する。
たとえば、ユーザは、エリアA乃至Cに順に進入する。
In area A, there are a
In area B, there are a
In area C, there are a
For example, a user enters areas A to C in sequence.
次に、帳票情報について説明する。
図8は、帳票情報の構成例を示す。
図8が示すように、帳票情報は、「エリア」、「項目」、「結果」、「時間」、「プロファイル」、「UUID」及び「ID/PW」を対応付けたレコードから構成される。
Next, the form information will be explained.
FIG. 8 shows a configuration example of form information.
As shown in FIG. 8, the form information is composed of records in which "area", "item", "result", "time", "profile", "UUID" and "ID/PW" are associated with each other.
「エリア」は、情報処理装置10が計測値を取得する第1のセンサデバイス20、第2のセンサデバイス30又は第3のセンサデバイス40が存在するエリアを示す。即ち、「エリア」は、ユーザが情報処理装置10を所持した状態で進入するエリアを示す。ここでは、「エリア」は、エリアAを示す「A」、エリアBを示す「B」又はエリアCを示す「C」を示す。
"Area" indicates an area where the
「項目」は、センシングデータを示す。ここでは、「項目」は、「温度」、「CO2濃度」又は「消費電力」を示す。 "Item" indicates sensing data. Here, the "item" indicates "temperature", "CO2 concentration" or "power consumption".
「結果」は、計測値を示す。
「時間」は、計測日時を示す。
"Result" indicates the measured value.
"Time" indicates the date and time of measurement.
「プロファイル」は、計測値を送信するセンサデバイスと接続するために用いられるプロファイルの名称を示す。ここでは、「プロファイル」は、第1乃至第6のプロファイルの何れかである。なお、「プロファイル」は、プロファイルを識別する識別子などを示すものであってもよい。 "Profile" indicates the name of the profile used to connect with the sensor device that transmits the measured value. Here, "profile" is any one of the first to sixth profiles. Note that the "profile" may indicate an identifier or the like for identifying the profile.
「UUID」は、情報処理装置10が計測値を取得するセンサデバイスのUUIDを示す。
「ID/PW」は、当該センサデバイスに接続するためのID及びパスワードを示す。当該センサデバイスにID及びパスワードが設定されていない場合、「ID/PW」は、空欄でもよい。
“UUID” indicates the UUID of the sensor device from which the
"ID/PW" indicates an ID and password for connecting to the sensor device. If no ID and password are set for the sensor device, "ID/PW" may be left blank.
前述の通り、プロセッサ11は、第1のセンサデバイス20、第2のセンサデバイス30又は第3のセンサデバイス40から計測値を取得する前に、帳票情報を設定する。
As described above, the
プロセッサ11は、操作部14などを通じて、「エリア」、「項目」、「プロファイル」、「UUID」及び「ID/PW」などの事項の入力を受け付ける。各事項の入力を受け付けると、プロセッサ11は、各事項に基づいて、帳票情報を生成する。帳票情報を生成すると、プロセッサ11は、生成された徴表情報をメモリ12に記憶する。ここでは、帳票情報の「結果」及び「時間」は、空欄である。
The
なお、プロセッサ11は、操作部14などを通じて入力される操作などに従って帳票情報を適宜更新してもよい。
また、プロセッサ11は、外部装置から帳票情報を取得するものであってもよい。また、プロセッサ11は、何れかの事項を外部装置から取得するものであってもよい。
Note that the
Also, the
また、プロセッサ11は、センサデバイスから計測値を取得する機能を有する。
ここでは、ユーザは、情報処理装置10を所持した状態で、何れかのエリアに進入しているものとする。
In addition, the
Here, it is assumed that the user enters any area while holding the
プロセッサ11は、操作部14を通じて自身が存在するエリアの入力を受け付ける。エリアの入力を受け付けると、プロセッサ11は、帳票情報から、当該エリアに対応するレコードを取得する。
The
レコードを取得すると、プロセッサ11は、取得されたレコードから1つのレコードを設定する。1つのレコードを設定すると、プロセッサ11は、設定されたレコードが示すプロファイルをメモリ12から取得する。
Upon obtaining the records,
プロファイルを取得すると、プロセッサ11は、取得されたプロファイルの通信プロトコルを設定する。通信プロトコルを設定すると、プロセッサ11は、通信部13を通じて、設定された通信プロトコルに従ってセンサデバイスをスキャンする。ここでは、プロセッサ11は、設定された通信プロトコルに従ってセンサデバイスのUUIDを取得する。
Upon obtaining the profile,
UUIDを取得すると、プロセッサ11は、取得されたUUIDと設定されたレコードが示すUUIDとが一致するかを判定する。なお、複数のUUIDを取得した場合、プロセッサ11は、取得された複数のUUIDの何れか1つと設定されたレコードが示すUUIDとが一致するかを判定する。
After acquiring the UUID, the
両UUIDが一致すると判定すると、プロセッサ11は、当該センサデバイス(設定されたレコードが示すUUIDを有するセンサデバイス)にID及びパスワードを送信する。ID及びパスワードを送信すると、プロセッサ11は、当該センサデバイスに接続する。なお、プロセッサ11は、当該センサデバイスにID及びパスワードが設定されていない場合には、当該センサデバイスにID及びパスワードを送信することなく、当該センサデバイスに接続する。
When determining that both UUIDs match, the
当該センサデバイスに接続すると、プロセッサ11は、プロファイルが示す取得データを要求するコマンドを生成する。当該コマンドを生成すると、プロセッサ11は、通信部13を通じて、当該コマンドを当該センサデバイスに送信する。
Upon connecting to the sensor device,
プロセッサ11は、通信部13を通じて、計測値を含むレスポンスを当該センサデバイスから受信する。当該レスポンスを受信すると、プロセッサ11は、設定されたレコードの「結果」に、当該レスポンスが含む計測値を記憶する。なお、当該レスポンスが計測日時を含む場合、プロセッサ11は、設定されたレコードの「時間」に計測日時を記憶する。
The
なお、プロセッサ11は、取得されたUUIDと設定されたレコードが示すUUIDとが一致しないと判定した場合、又は、UUIDを取得できない場合、スキャンを再度行ってもよい。また、プロセッサ11は、取得されたUUIDと設定されたレコードが示すUUIDと一致しないと判定した場合、エラーを表示部15などに表示してもよい。
If the
プロセッサ11は、当該エリアに対応する各レコードについて同様の動作を行う。
The
当該エリアに対応する各レコードについて同様の動作を行うと、プロセッサ11は、操作部14を通じて、他のエリアの入力を受け付けるまで待機する。
After performing the same operation for each record corresponding to the area, the
他のエリアの入力を受け付けると、プロセッサ11は、当該他のエリアについて同様に動作する。
Upon receiving an input for another area,
次に、情報処理装置10の動作例について説明する。
図9は、情報処理装置10の動作例について説明するためのフローチャートである。
Next, an operation example of the
FIG. 9 is a flow chart for explaining an operation example of the
まず、情報処理装置10のプロセッサ11は、操作部14より、操作者により操作者自身が存在するエリアを示す所定の入力を受け付けたかを判定する(S11)。エリアの入力を受け付けていないと判定すると(S11、NO)、プロセッサ11は、S11に戻る。
First, the
エリアの入力を受け付けたと判定すると(S11、YES)、プロセッサ11は、帳票情報において、入力されたエリアに対応するレコードを1つ設定する(S12)。レコードを設定すると、プロセッサ11は、設定されたレコードからプロファイルを取得する(S13)。
When determining that the input of the area has been received (S11, YES), the
プロファイルを取得すると、プロセッサ11は、通信部13を通じて、プロファイルの通信プロトコルに従って当該エリアに存在するセンサデバイスからUUIDを取得する(S14)。UUIDを取得すると、プロセッサ11は、取得されたUUIDと設定されたレコードが示すUUIDとが一致するかを判定する(S15)。
After obtaining the profile, the
両UUIDが一致すると判定すると(S15、YES)、プロセッサ11は、通信部13を通じて、UUIDが示すセンサデバイスにID及びパスワードを送信する(S16)。
When determining that both UUIDs match (S15, YES), the
プロセッサ11は、センサデバイスに上記ID及びパスワードを送信することで、その後、当該センサデバイスが計測した計測値等の各種データの送受に関わる通信が可能になったとして、以下の動作を続けて行う。
By transmitting the above ID and password to the sensor device, the
プロセッサ11は、通信部13を通じて、プロファイルが示す取得データを要求するコマンドを当該センサデバイスに送信する(S17)。当該コマンドを当該センサデバイスに送信すると、プロセッサ11は、通信部13を通じて、検出結果を含むレスポンスを受信する(S18)。
The
当該レスポンスを受信すると、プロセッサ11は、当該レスポンスが含む検出結果を帳票情報に記憶する(S19)。
Upon receiving the response, the
検出結果などを帳票情報に記憶した場合、又は、両UUIDが一致しないと判定した場合(S15、NO)、プロセッサ11は、当該エリアに対応する他のレコードが存在するかを判定する(S20)。
When the detection result or the like is stored in the form information, or when it is determined that both UUIDs do not match (S15, NO), the
他のレコードが存在すると判定すると(S20、YES)、プロセッサ11は、S12に戻る。
他のレコードが存在しないと判定すると(S20、NO)、プロセッサ11は、S11に戻る。
If it is determined that another record exists (S20, YES), the
When determining that there is no other record (S20, NO), the
なお、両UUIDが一致しないと判定した場合(S15、NO)、又は、UUIDを取得できない場合、プロセッサ11は、S14に戻ってもよい。プロセッサ11は、所定の回数又は所定の期間、S14を行っても、両UUIDが一致しないと判定した場合、又は、UUIDを取得できない場合、S20に進んでもよい。
If it is determined that both UUIDs do not match (S15, NO), or if the UUID cannot be obtained, the
また、プロセッサ11は、両UUIDが一致しないと判定した場合(S15、NO)、又は、UUIDを取得できない場合、エラーを表示部15に表示してもよい。
Moreover, the
また、当該センサデバイスにID及びパスワードが設定されていない場合、プロセッサ11は、S16を実行しなくともよい。
Also, if no ID and password are set for the sensor device, the
また、センサデバイスからのレスポンスが計測日時を含む場合、プロセッサ11は、計測日時を帳票情報に記憶してもよい。
Further, when the response from the sensor device includes the date and time of measurement, the
また、プロセッサ11は、通信部13などを通じて、帳票情報を外部装置に送信するものであってもよい。
Also, the
また、プロセッサ11は、操作部14に入力される操作などに従って、一度に、帳票情報が示す各UUIDのセンサデバイスから計測値を取得してもよい。即ち、プロセッサ11は、エリアごとにレコードを設定せずに、各レコードを順に設定することで各センサデバイスから計測値を取得してもよい。
In addition, the
また、プロセッサ11は、自動で自身が存在するエリアを特定してもよい。たとえば、プロセッサ11は、位置測位システムを用いて自身が存在するエリアを特定してもよい。この場合、プロセッサ11は、自身がエリアに進入したことを検知すると、当該エリアにおいて各センサデバイスから検出結果を取得してもよい。
また、情報処理装置10は、自立して各エリアに移動するものであってもよい。
Alternatively, the
Further, the
また、情報処理装置10は、帳票情報をクラウドサーバに送信するものであってもよい。
Further, the
また、センサシステム1は、UUIDの代わりにセンサデバイスに固有のシリアル番号を用いてセンサデバイスを識別してもよい。また、センサシステム1は、UUIDの代わりにセンサデバイスの製造番号などを用いてセンサデバイスを識別してもよい。 Also, the sensor system 1 may identify the sensor device using a serial number unique to the sensor device instead of the UUID. Also, the sensor system 1 may identify the sensor device using the serial number of the sensor device instead of the UUID.
以上のように構成されたセンサシステムは、通信プロトコルと取得データとを示すプロファイルを記憶する。センサシステムは、センサデバイスとプロトコルとを予め対応付ける。センサシステムは、プロファイルに従って各センサデバイスから計測値を取得する。その結果、センサシステムは、それぞれセンサデバイスの仕様に応じてセンサデバイスに接続し計測値を取得することができる。よって、センサシステムは、効果的にセンサデバイスから計測値を取得することができる。 The sensor system configured as described above stores a profile indicating a communication protocol and acquired data. The sensor system associates sensor devices with protocols in advance. The sensor system acquires measurements from each sensor device according to the profile. As a result, the sensor system can connect to the sensor device according to the specifications of each sensor device and acquire the measured value. Therefore, the sensor system can effectively obtain measurements from the sensor device.
また、センサシステムは、センサデバイスのプロトコルごとに情報処理装置を用意する必要が無いため運用コストを削減することができる。 In addition, since the sensor system does not need to prepare an information processing device for each protocol of the sensor device, it is possible to reduce operating costs.
また、センサシステムは、ユーザが複数のシステムを運用することなくセンサデバイスのデータを取り込めるようになるため、運用費が最小限に抑えられ、システム追加導入による教育が不要となり、データの活用が容易になる、等の効果を生じる。 In addition, since the sensor system allows users to capture data from sensor devices without having to operate multiple systems, operating costs are kept to a minimum, training for additional system introduction is not required, and data utilization is easy. , and so on.
本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。 While several embodiments of the invention have been described, these embodiments have been presented by way of example and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, replacements, and modifications can be made without departing from the scope of the invention. These embodiments and modifications thereof are included in the scope and gist of the invention, and are included in the scope of the invention described in the claims and equivalents thereof.
1…センサシステム、10…情報処理装置、11…プロセッサ、12…メモリ、13…通信部、14…操作部、15…表示部、20(20a乃至20c)…第1のセンサデバイス、21…プロセッサ、22…メモリ、23…通信部、24…センサ、30(30a及び30c)…第2のセンサデバイス、31…プロセッサ、32…メモリ、33…通信部、34…センサ、40(40a及び40b)…第3のセンサデバイス、41…プロセッサ、42…メモリ、43…通信部、44…センサ。
DESCRIPTION OF SYMBOLS 1...
Claims (10)
前記プロセッサに、
センシングデータを取得するセンサデバイスの識別子と、前記センサデバイスと通信するための通信プロトコルとを対応付けたプロファイルを記憶部に記憶する機能と、
前記プロファイルが示す前記通信プロトコルに従って、前記識別子に対応する前記センサデバイスと通信を行う機能と、
前記通信にて前記センサデバイスから前記センシングデータを取得する機能と、
を実現させるプログラム。 A program executed by a processor of an information processing device,
to the processor;
a function of storing in a storage unit a profile that associates an identifier of a sensor device that acquires sensing data with a communication protocol for communicating with the sensor device;
a function of communicating with the sensor device corresponding to the identifier according to the communication protocol indicated by the profile;
a function of acquiring the sensing data from the sensor device through the communication;
program to realize
前記センシングデータを取得することは、前記プロファイルが示す前記センシングデータを取得することである、
請求項1に記載のプログラム。 The profile indicates sensing data obtained from the sensor device,
Acquiring the sensing data is acquiring the sensing data indicated by the profile,
A program according to claim 1.
請求項1又は2に記載のプログラム。 Connecting to the sensor device is acquiring an identifier according to the communication protocol, and connecting to the sensor device when the acquired identifier matches the identifier indicated by the profile.
3. A program according to claim 1 or 2.
請求項1乃至3の何れか1項に記載のプログラム。 connecting to the sensor device is wirelessly connecting to the sensor device;
A program according to any one of claims 1 to 3.
請求項4に記載のプログラム。 connecting to the sensor device is connecting to the sensor device using a Bluetooth connection;
5. A program according to claim 4.
請求項1乃至4の何れか1項に記載のプログラム。 storing the profiles is storing a plurality of the profiles in the storage unit;
A program according to any one of claims 1 to 4.
請求項1乃至6の何れか1項に記載のプログラム。 connecting to the sensor device is connecting to the sensor device by sending a password to the sensor device;
A program according to any one of claims 1 to 6.
請求項1乃至7の何れか1項に記載のプログラム。 The sensing data is either temperature, humidity, CO2 concentration or power consumption,
A program according to any one of claims 1 to 7.
センシングデータを取得するセンサデバイスの識別子と、前記通信部にて前記センサデバイスと通信するための通信プロトコルとを対応付けたプロファイルを記憶する記憶部と、
前記プロファイルが示す前記通信プロトコルに従って、前記識別子に対応する前記センサデバイスと通信を行い、前記通信にて前記センサデバイスから前記センシングデータを取得するプロセッサと、
を備える情報処理装置。 a communication unit that communicates with the sensor device;
a storage unit that stores a profile that associates an identifier of a sensor device that acquires sensing data with a communication protocol for communicating with the sensor device in the communication unit;
a processor that communicates with the sensor device corresponding to the identifier according to the communication protocol indicated by the profile and acquires the sensing data from the sensor device through the communication;
Information processing device.
センシングデータを取得するセンサデバイスの識別子と、前記センサデバイスと通信するための通信プロトコルとを対応付けたプロファイルを記憶部に記憶し、
前記プロファイルが示す前記通信プロトコルに従って、前記識別子に対応する前記センサデバイスと通信を行い
前記通信にて前記センサデバイスから前記センシングデータを取得する、
情報処理方法。 An information processing method performed by a processor, comprising:
storing in a storage unit a profile that associates an identifier of a sensor device that acquires sensing data with a communication protocol for communicating with the sensor device;
communicating with the sensor device corresponding to the identifier according to the communication protocol indicated by the profile, and acquiring the sensing data from the sensor device through the communication;
Information processing methods.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2021003504A JP2022108484A (en) | 2021-01-13 | 2021-01-13 | Program, information processing device and information processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2021003504A JP2022108484A (en) | 2021-01-13 | 2021-01-13 | Program, information processing device and information processing method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2022108484A true JP2022108484A (en) | 2022-07-26 |
Family
ID=82556566
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2021003504A Pending JP2022108484A (en) | 2021-01-13 | 2021-01-13 | Program, information processing device and information processing method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2022108484A (en) |
-
2021
- 2021-01-13 JP JP2021003504A patent/JP2022108484A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5569051B2 (en) | Biological information measuring device, biological information management system, and biological information management method | |
US10861268B2 (en) | Portable access control | |
US20140122350A1 (en) | System, apparatus, and method for license management | |
US20130110991A1 (en) | Registration method and registration apparatus | |
JP2018005908A (en) | Information processing system, information processing device, information processing method, and information processing program | |
JP2019032800A (en) | Sensor management unit, sensor device, method for managing sensor, and sensor management program | |
JP5849111B2 (en) | Medical measuring device and measuring system | |
US9071708B2 (en) | Device management apparatus and method generating area information of where a device is used based on location information of a terminal remotely using the device | |
JP4741973B2 (en) | Wireless LAN communication system and distance determination method between wireless LAN terminals | |
JP6399549B2 (en) | Method and system for preventing misuse of electronic ticket | |
CN103220445A (en) | Image processing apparatus that displays icon, method of controlling the same, image processing system, and storage medium | |
CN107784414B (en) | Production process parameter management system | |
JP6802354B2 (en) | Communication test equipment, communication test methods and programs | |
JP2022108484A (en) | Program, information processing device and information processing method | |
EP3514697A1 (en) | Electronic device and search keyword processing method thereof | |
KR20130094484A (en) | Medical instruments management system and method | |
JP6811928B2 (en) | A device for verifying the identity of the operating rules of sensor devices | |
CN109543391B (en) | Biological characteristic information dynamic matching method and device and biological characteristic identification system | |
JP2017010591A (en) | Visit authentication system | |
JP2014099011A (en) | Visit authentication system | |
JP6654206B2 (en) | Measurement system | |
US11973639B2 (en) | Information processing system, information processing method, and recording medium | |
JP2021152832A (en) | Control apparatus, control system, control method, and program | |
JP2017040963A (en) | Measurement result display program, measurement result screen generation program, and measurement result screen provision program | |
JP7102804B2 (en) | Information processing equipment and information processing programs |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD01 | Notification of change of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7421 Effective date: 20230105 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20231013 |