JP2023169051A - Communication device, communication system, and data storage method - Google Patents
Communication device, communication system, and data storage method Download PDFInfo
- Publication number
- JP2023169051A JP2023169051A JP2022080503A JP2022080503A JP2023169051A JP 2023169051 A JP2023169051 A JP 2023169051A JP 2022080503 A JP2022080503 A JP 2022080503A JP 2022080503 A JP2022080503 A JP 2022080503A JP 2023169051 A JP2023169051 A JP 2023169051A
- Authority
- JP
- Japan
- Prior art keywords
- data
- node
- application
- communication device
- information
- 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
- 238000004891 communication Methods 0.000 title claims abstract description 147
- 238000000034 method Methods 0.000 title claims abstract description 56
- 238000013500 data storage Methods 0.000 title claims abstract description 7
- 238000012545 processing Methods 0.000 claims abstract description 39
- 238000001514 detection method Methods 0.000 claims description 48
- 230000008676 import Effects 0.000 claims description 7
- 230000006870 function Effects 0.000 description 25
- 230000008569 process Effects 0.000 description 22
- 238000009434 installation Methods 0.000 description 17
- 238000005259 measurement Methods 0.000 description 13
- 238000006243 chemical reaction Methods 0.000 description 10
- 230000036760 body temperature Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 8
- 238000004519 manufacturing process Methods 0.000 description 6
- 230000033001 locomotion Effects 0.000 description 5
- 238000010187 selection method Methods 0.000 description 5
- 230000008859 change Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 238000012806 monitoring device Methods 0.000 description 3
- 230000002265 prevention Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 201000003152 motion sickness Diseases 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 210000004556 brain Anatomy 0.000 description 1
- 239000000470 constituent Substances 0.000 description 1
- 230000002349 favourable effect Effects 0.000 description 1
- 238000012905 input function Methods 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000001737 promoting effect Effects 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Landscapes
- Arrangements For Transmission Of Measured Signals (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Stored Programmes (AREA)
Abstract
Description
本発明は、通信装置、通信システムおよびデータ記憶方法に関する。 The present invention relates to a communication device, a communication system, and a data storage method.
従来、車両ネットワークを介して車種やメーカ、製造年度に依存しない方法で車両データをアクセス可能とする方法が知られている。また、この種の技術では、記憶したデータを複数の装置で共有して使用する技術がある(例えば、特許文献1参照)。 BACKGROUND ART Conventionally, a method is known in which vehicle data can be accessed via a vehicle network in a manner that does not depend on the vehicle model, manufacturer, or year of manufacture. Furthermore, in this type of technology, there is a technology in which stored data is shared and used by a plurality of devices (for example, see Patent Document 1).
ここで、ネットワークに接続された複数のノードは、それぞれ同じ種類のセンサを搭載する場合がある。しかしながら、従来の技術では、例えば、異なるノードから同じ種類のセンサデータを取得した場合、どのセンサデータを用いるかを適切に判断することが困難な場合がある。なお、このような問題は、センサデータに限られるものではなく、様々な種類のデータで起こりうる。 Here, a plurality of nodes connected to the network may each be equipped with the same type of sensor. However, with the conventional technology, for example, when the same type of sensor data is acquired from different nodes, it may be difficult to appropriately determine which sensor data to use. Note that such problems are not limited to sensor data, and can occur with various types of data.
本発明は、上記に鑑みてなされたものであって、複数のノードから取得したデータの中から使用するデータを適切に判断することができる通信装置、通信システムおよびデータ記憶方法を提供することを目的とする。 The present invention has been made in view of the above, and it is an object of the present invention to provide a communication device, a communication system, and a data storage method that can appropriately determine data to be used from among data acquired from a plurality of nodes. purpose.
上述した課題を解決し、目的を達成するために、本発明に係る通信装置は、複数のノードが接続可能な通信装置であって、コントローラを有する。前記コントローラは、接続されたノードからデータを取り込み、取り込んだ当該データを複数のアプリケーションで利用可能な記憶部である掲示板に記憶し、前記データの特徴を示す特徴情報を推定して、前記データに関連付けて記憶し、アプリケーション実行時に、当該アプリケーションの処理で使用するデータを、前記掲示板に記憶されたデータから、当該アプリケーションが使用するデータの条件として指定する指定情報と前記特徴情報との対応関係に基づき選択する。 In order to solve the above-mentioned problems and achieve the objects, a communication device according to the present invention is a communication device to which a plurality of nodes can be connected, and includes a controller. The controller captures data from the connected nodes, stores the captured data in a bulletin board that is a storage unit that can be used by multiple applications, estimates characteristic information indicating the characteristics of the data, and applies the data to the data. When the application is executed, the data used in the processing of the application is stored in association with the data stored in the bulletin board, and the correspondence between the specified information specified as a condition for the data used by the application and the characteristic information is determined. Select based on.
本発明によれば、複数のノードから取得したデータの中から使用するデータを適切に判断することができる。 According to the present invention, it is possible to appropriately determine which data to use from among data acquired from a plurality of nodes.
以下、添付図面を参照して、本願の開示する通信装置、通信システムおよびデータ記憶方法の実施形態を詳細に説明する。なお、以下に示す実施形態により本発明が限定されるものではない。 DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, embodiments of a communication device, a communication system, and a data storage method disclosed in the present application will be described in detail with reference to the accompanying drawings. Note that the present invention is not limited to the embodiments described below.
まず、図1を用いて、実施形態に係る通信システムの概要について説明する。図1は、実施形態に係る通信システムの概要を示す概念図である。なお、図1では、通信システム全般の動作を分かりやすくするため、構成要素(構成的表現)、機能要素(機能的表現)を、適宜、混在使用している。 First, an overview of a communication system according to an embodiment will be described using FIG. 1. FIG. 1 is a conceptual diagram showing an overview of a communication system according to an embodiment. Note that in FIG. 1, constituent elements (structural representation) and functional elements (functional representation) are used in a mixed manner as appropriate to make the overall operation of the communication system easier to understand.
図1に示すように、通信システムSは、通信装置1と、複数のノード10と、サーバ装置50とを含む。そして、通信装置1および複数のノード10は、例えば、車両用通信網のCAN(Controller Area Network)や、Wi-Fi(登録商標)等のネットワークに接続され、各種情報を送受信する。また、通信装置1およびサーバ装置50は、例えば、インターネット網等のネットワークに接続され、各種情報を送受信する。
As shown in FIG. 1, the communication system S includes a communication device 1, a plurality of
ノード10は、通信装置1と接続されて各種データの送信、または受信を行うもので、独立してある機能を実現する各種装置(通信装置1からのデータの利用、または通信装置1へのデータの提供、を行う)、測定データを通信装置1に提供する各種センサ、また通信装置1からのデータを報知(表示等)するディスプレイ装置やスピーカ装置等の出力デバイス、ユーザの操作内容を示すデータを通信装置1に提供するタッチパネル等の入力デバイス等である。
The
そして、ノード10は、搭乗者により車両内に持ち込まれて、あるいは車両に近接状態にされて(車両周辺に位置されて)通信装置1に通信接続される装置、車両製造時に組み込まれる装置、車両製造後、および販売後にユーザ等により新たに追加設置される装置、と言った形態のものがある。なお、車両の構造により各ノード10の規模は異なるが、車両製造時に組み込まれる各種装置(ノード10)としては、例えばエンジン制御装置、操舵装置、制動装置、およびエアコン装置等がある。
The
また、ユーザ等により新たに追加設置される装置(ノード10)としては、例えばナビゲーション装置、ドライブレコーダ装置、およびオーディオ・ビジュアル装置等がある。また、搭乗者により車両に持ち込まれる(あるいは近接状態にされる)装置(ノード10)としては、スマートフォン、携帯電話、スマートウォッチ、ゲーム機(通信機能付き)、デスクトップ型PC、ノート型PC、およびタブレット型PC等がある。 Additionally, devices (nodes 10) that are newly installed by users and the like include, for example, navigation devices, drive recorder devices, audio/visual devices, and the like. Devices (nodes 10) brought into the vehicle by passengers (or brought into close proximity) include smartphones, mobile phones, smart watches, game consoles (with communication functions), desktop PCs, notebook PCs, and There are tablet PCs, etc.
また、各種センサ(各種装置内蔵分以外)としては、例えば、湿度センサ(車内環境確認用)等がある。そして、出力デバイスおよび出力デバイスとしては、例えば、集中操作パネルや後席用ディスプレイ等がある。 Further, various sensors (other than those built into various devices) include, for example, a humidity sensor (for checking the interior environment of the vehicle), and the like. Examples of the output device and the output device include a centralized operation panel and a rear seat display.
なお、車両製造時に組み込まれる各種装置例、追加設置される装置例、車両に持ち込まれる装置例に分類したが、例示した装置は当該分類に限られるものではなく、他の分類に属するものである場合もある。例えば、ナビゲーション装置は車両製造時に組み込まれる場合もある。さらに、他の車両の各種装置、および信号機などのインフラ機器等も、通信装置1との通信が可能な範囲においては、ノード10となり得る。
Although we have categorized the various devices that are incorporated into the vehicle during vehicle manufacturing, those that are additionally installed, and the devices that are brought into the vehicle, the illustrated devices are not limited to these categories and belong to other categories. In some cases. For example, navigation devices may be installed during vehicle manufacture. Furthermore, various devices of other vehicles, infrastructure equipment such as traffic lights, etc. can also serve as the
また、特定のノード10は、当該ノード10の各種機能を実現するために必要な各種センサを構成部品として含む。ノード10が含む各種センサは、例えば、車速センサ、バイタルセンサ、車室の温度を検出する温度センサ、および車室のCO2濃度を検出するCO2センサ、車両の位置を検出するGPS(Global Positioning System)位置センサなどである。なお、バイタルセンサは生体情報を取得するセンサで、例えば、脳波を検出する脳波センサ、および脈拍を検出する脈拍センサ等である。
Further, a
また、独立してある機能を実現するノード10は、ECU(Electronic Control Unit)、所謂コントローラを構成部品として含む。ECUは、当該ECUが搭載されたノード10(装置)の動作を制御する。ECUは、例えば、パワートレインECU、運転支援系ECU、マルチメディア系ECU、エアコンECUである。
Further, the
サーバ装置50は、各種機能を実現するプログラムである各種アプリケーション(以下、アプリ)を記憶しており、適当なアプリを通信装置1に提供する。これらアプリは、各種ノード10の出力するデータ、例えばノード10が内蔵するセンサのデータを利用するアプリである。そして、各アプリは、当該アプリを利用するために必要なデータ種別と、当該アプリが出力するデータ種別(制御用のデータ、指令データ(所謂コマンド)等)のデータに関連付けられて、サーバ装置50にアプリDB52として記憶されている。
The
また、サーバ装置50には、ノード10の種別(識別情報)とノード10の持つセンサ(測定データ)種別と、ノード10が使用できる外部からのデータ(制御用のデータ、指令データ(所謂コマンド)等)種別が関連付けられたデータベースが、ノード情報DB54として記憶されている。つまり、サーバ装置50は、ノード10の組み合わせに基づき、ノード情報DB54とアプリDB52により、当該ノード10の組み合わせに対して適当なアプリを選択することが可能となる。
The
通信装置1は、車両に搭載され、ノード10やサーバ装置50との各種データの送受信、データの加工等を実行する。通信装置1は、通信部2と、コンテナ421と、掲示板41と、制御部3と、を有する。
The communication device 1 is mounted on a vehicle and performs transmission and reception of various data with the
そして、通信部2は、通信装置1とサーバ装置50との間のデータ通信、および通信装置1と各ノード10間のデータ通信を行う。コンテナ421は、アプリを記憶するもので、書き込みおよび消去可能なメモリで構成される。また、各コンテナ421はメモリ領域を適宜分割する等の方法により構成され、各コンテナ421には1つのアプリが記憶されるようになっている。
The
掲示板41は、各ノード10からのセンサ測定値やその加工データ等を記憶するもので、メモリにより構成される。また、掲示板41は、ノード10からのアクセスが可能となっており、ノード10がノード10の持つセンサの測定値を書き込んだり、ノード10が掲示板41に記憶されたデータを読み取って利用したりすることができる。
The
なお、コンテナ421および掲示板41は、通信装置1がオフの場合でも記憶データが保持されるように、不揮発性のメモリ(フラッシュメモリ、あるいはバックアップ電源付加、等)で構成される。
Note that the
制御部3は、通信装置1の各種制御、例えば、通信部2、コンテナ421、掲示板41等の盛業、データ加工、データの送受信および書込/消去、等を行う、所謂コントローラで、マイクロコンピュータ等で構成される。また、制御部3は、コンテナ421に記憶されたアプリを実行するコンテナエンジンの機能も持つ。
The
通信装置1は、例えば、Publish/Subscribe方式に基づいたMQTT(Message Queuing Telemetry Transport)を用いて、データをノード10やアプリを実行する後述のコンテナエンジンに配信する(ノード10やコンテナエンジンが、掲示板にアクセスしてデータを取得する)。具体的には、通信システムSでは、プロバイダである通信装置1が、Publisherであるノード10からデータを取得し、Subscriberであるアプリを実行するコンテナエンジンやノード10にデータを配信する。
The communication device 1 uses, for example, MQTT (Message Queuing Telemetry Transport) based on the Publish/Subscribe method to distribute data to a
なお、アプリは、ノード10から取得したデータを使用して、例えば、車両に搭載されたノード10における各種制御に関わる処理を行う。つまり、アプリは、掲示板に掲載されたデータを取り込んで使用することで処理を行い、処理結果に基づいてノード10の制御を行う。
Note that the application uses data acquired from the
このようなアプリにより、ノード10は、他のノード10が持つセンサ(当該ノード10が持たないセンサ)の測定値を利用した、より高度なあるいは他の機能を実現できる。例えば、ノード10であるエアコンが、自己の持つ車室内温度センサによる車室内温度に加え、他ノード10が持つ車室内湿度センサによる車室内湿度も使用して最適なエアコン制御を行えるようになる。なお、このような制御は、コンテナ421に記憶された対応するアプリが実行して、ノード10(この例ではエアコン)を制御することになる。また、エアコンが対応の機能を持っていれば、エアコンが掲示板41のデータを読み取って行うことも可能である。
With such an application, the
また、アプリは通信装置1に接続されたノード10に応じて、サーバ装置50から適宜選択されて取得されることになる。具体的には、通信装置1に接続された各ノード10の識別情報がサーバ装置50に送信される。サーバ装置50では、受信した各ノード10の識別情報を用いてノード情報DB54の照合処理を行ない、通信装置1が各ノード10から取得可能なデータ種別(内容)を把握する。そして、サーバ装置50は、把握したこれらデータ種別(内容)に用いてアプリDBの照合処理を行ない、通信装置1が利用可能な適当なアプリを選択し、通信装置1に提供(送信)する。そして、通信装置1は提供を受けた(受信した)アプリをコンテナ421に記憶し、利用する(コンテナエンジンが当該アプリを実行する)。
Further, the application is appropriately selected and acquired from the
以上が通信システムS(通信装置1)の基本的な構成および機能の概要であるが、次に通信装置1における、制御部3および掲示板41の特徴ある機能について説明する。なお、通信装置1の詳細構成については、後述の図2を用いた説明等で説明する。
The basic configuration and functions of the communication system S (communication device 1) have been outlined above. Next, the characteristic functions of the
認証機能(制御部3の処理により実現)は、ノード10を認証する。具体的には、認証機能は、ノード10からノード10を認証するための認証情報を取得し、当該認証情報に基づきノード10の種別(識別番号等)を把握して、通信接続可否を判断(接続対象機器か、正規の機器か等を判断)し、また通信のための各種設定を行う。
The authentication function (realized by the processing of the control unit 3) authenticates the
通信調整機能(制御部3の処理により実現)は、通信装置1における通信負荷に基づいて、各ノード10との通信方法を調整する。例えば、通信調整機能は、通信装置1の通信負荷が高い場合に、優先度が低いデータの通信を待機する、通信頻度を下げる、等と言った制御を行う機能である。なお、優先度が低いデータは、例えば、実行中のアプリが要求していないデータ等である。
The communication adjustment function (realized by the processing of the control unit 3) adjusts the communication method with each
コンテナエンジン(制御部3の処理により実現)は、通信装置1のコンテナに記憶されたアプリを実行する。具体的には、コンテナエンジンは、ノード10からアプリの実行要求を受け付けた場合に、当該ノード10に対応するアプリを実行する。そして、コンテナエンジンは、アプリの実行に伴い、アプリが行う処理に必要なデータであり、後述する特徴情報が指定された条件を満たすデータを掲示板から取り込む。そして、コンテナエンジンは、アプリの実行結果をノード10へ出力する。
The container engine (realized by the processing of the control unit 3) executes the application stored in the container of the communication device 1. Specifically, when receiving an application execution request from a
掲示板41は、通信装置1の記憶部4に割り当てられた記憶領域で構成され、各ノード10から取得したデータを記憶する。具体的には、通信装置1は、各ノード10から取得したデータを、そのまま、あるいは取得元以外の各ノード10(当該データを必要とするノード10)によっても使用可能な形式に変換して、掲示板41に掲載(記憶)する。より具体的には、通信装置1は、ノード10から取得したデータを各ノード10が使用できるようにデータの規格を統一して、掲示板41に掲載(記憶)する。
The
掲示板41に記憶されるデータは、データの種類に対応したTOPIC毎に分類される。図1に示す例では、3つの位置情報(GPS)のデータは、位置情報用のTOPICに分類され、1つの心拍(HeartRate)のデータは、心拍用のTOPICに分類される。
The data stored in the
掲示板41に記憶されたデータは、前述のようにノード10からアプリ実行要求があった場合に、コンテナエンジンによるアプリ実行に伴いコンテナエンジンに配信され(コンテナエンジンによりアクセスされ)、使用される。また、掲示板41に記憶されたデータは、ノード10が自身の持つアプリの実行に伴い、ノード10に配信され(ノード10によりアクセスされ)、使用される。
The data stored in the
情報付加機能(制御部3の処理により実現)は、掲示板に掲載されたデータの特徴を示す特徴情報を付加する。図1では、ノード10が有するセンサの名称、センサの検知精度およびセンサの検知頻度を特徴情報としてデータに付加した例を示す。
The information addition function (realized by the processing of the control unit 3) adds characteristic information indicating the characteristics of data posted on the bulletin board. FIG. 1 shows an example in which the name of the sensor included in the
例えば、「[GPS_4_0.5]34.1234,135.1234」は、「[GPS_4_0.5]」が特徴情報に相当し、「34.1234,135.1234」が実際のセンサで検知されたデータ、すなわち、位置情報に相当する。 For example, in "[GPS_4_0.5]34.1234,135.1234", "[GPS_4_0.5]" corresponds to the feature information, and "34.1234,135.1234" corresponds to the data detected by the actual sensor. , that is, corresponds to position information.
具体的には、特徴情報である「[GPS_4_0.5]」は、センサの名称がGPS(Global Positioning System)であり、検知精度が下4桁までであり、検知頻度が0.5秒間隔であることを示している。 Specifically, the characteristic information "[GPS_4_0.5]" indicates that the sensor name is GPS (Global Positioning System), the detection accuracy is up to the last four digits, and the detection frequency is every 0.5 seconds. It shows that there is.
言い換えれば、情報付加機能によって付加される特徴情報は、ノード10から取得したデータのメタデータである。なお、情報付加機能によって付加される特徴情報は、取得元であるノード10から取得してもよく、また外部のサーバ(ノード10種別に対応したデータのメタデータが記憶されたデータベースを保有)等から取得してもよく、さらに通信装置1が推定してもよい。
In other words, the feature information added by the information addition function is metadata of the data acquired from the
例えば、情報付加機能は、ノード10からデータを時系列で連続して所定回数取得した結果に基づいて、センサの検知精度や検知頻度を推定する。なお、特徴情報の推定方法の詳細については後述する。
For example, the information addition function estimates the detection accuracy and detection frequency of the sensor based on the results of continuously acquiring data from the
そして、ノード10またはコンテナエンジンはアプリの実行に伴い、掲示板41のデータ(特徴情報付加済)の中から、特徴情報がアプリの要求する条件を満たすデータを取り込んで処理に使用する。
Then, as the application is executed, the
例えば、GPSの位置データに関して、掲示板41に特徴[GPS_4_0.5]、特徴[GPS_5_0.8]、特徴[GPS_6_1.0]のデータが記憶されているとする。
For example, regarding GPS position data, assume that the
この場合において、例えば、ノード10の実行するアプリが、GPSに関して、検知精度が下6桁以上で、かつ、検知頻度が1.0秒以内をデータの条件として要求している場合、「[GPS_6_1.0]」の特徴情報が付加されたデータがアプリの要求する条件を満たしているため、当該アプリは、かかるデータを処理に使用するデータとして選択して取得し、処理に用いる。
In this case, for example, if the application executed by the
また、この場合において、例えば、コンテナエンジンの実行するアプリが、GPSに関して、検知精度が下4桁以上で、かつ、検知頻度が0.5秒以内をデータの条件として要求している場合、「[GPS_4_0.5]」の特徴情報が付加されたデータがアプリの要求する条件を満たしているため、当該アプリは、かかるデータを処理に使用するデータとして選択して取得し、処理に用いる。 In addition, in this case, for example, if the application executed by the container engine requires the detection accuracy to be at least the last four digits and the detection frequency to be within 0.5 seconds regarding GPS, as the data condition, [GPS_4_0.5]" satisfies the conditions required by the application, so the application selects and acquires such data as data to be used for processing, and uses it for processing.
このように、実施形態に係る車載システムにおける通信方法によれば、データに特徴情報を付加して掲示板に記憶することで、データの特徴情報を参照して同じ種類のデータの中から実行するアプリに適したデータを選択することができる。 As described above, according to the communication method in the in-vehicle system according to the embodiment, by adding characteristic information to data and storing it on the bulletin board, an application that refers to the characteristic information of the data and executes it from among the same type of data. You can select the appropriate data.
次に、図2を用いて、実施形態に係る通信装置1の構成例について説明する。図2は、実施形態に係る通信装置1の機能構成を示すブロック図である。図2に示すように、通信装置1は、通信部2と、制御部3と、記憶部4とを備える。制御部3は、取得部31と、変換部32と、付加部33と、コンテナエンジン34と、通信調整部35と、認証部36とを備える。記憶部4は、掲示板41と、コンテナ部42と、指定情報記憶部43とを備える。
Next, a configuration example of the communication device 1 according to the embodiment will be described using FIG. 2. FIG. 2 is a block diagram showing the functional configuration of the communication device 1 according to the embodiment. As shown in FIG. 2, the communication device 1 includes a
通信部2は、上述した通信機能を有し、各ノード10と通信可能に接続される。通信部2は、例えば、有線方式であるCAN、イーサネット(登録商標)、LIN(Local Interconnect Network)、USB(Universal Serial Bus)等や、無線方式であるWi-Fi、LTE(Long Term Evolution)、BLE(Bluetooth(登録商標) Low Energy)、Zigbee(登録商標)、UWB(Ultra-Wide Band)等によって実現され、各ノード10と有線または無線により通信を行う。
The
制御部3は、所謂コントローラで、たとえば、CPU(Central Processing Unit)、ROM(Read Only Memory)、RAM(Random Access Memory)、フラッシュメモリ、入出力ポートなどを有するコンピュータや各種の回路等により構成される。
The
コンピュータのCPUは、ROMに記憶されたプログラムを読み出して実行することによって、制御部3の取得部31、変換部32、付加部33、コンテナエンジン34、通信調整部35および認証部36として機能する。
The CPU of the computer functions as the acquisition unit 31,
また、制御部3の取得部31、変換部32、付加部33、コンテナエンジン34、通信調整部35および認証部36のうち、少なくともいずれか一つまたは全部をASIC(Application Specific Integrated Circuit)やFPGA(Field Programmable Gate Array)等のハードウェアで構成することもでき、さらに複数のCPU、ASIC等を機能分担させて(例えば、コンテナエンジン34を別CPUで構成する)構成することもできる。
Furthermore, at least one or all of the acquisition unit 31,
また、記憶部4は、RAMやフラッシュメモリで構成される。記憶部4は、適当な記憶領域設定等により、掲示板41や、コンテナ部42、指定情報記憶部43、各種プログラムの記憶部が形成され、各ノード10の各種センサによる測定データ、アプリ等の各種プログラム、等の各種情報等を記憶することができる。なお、通信装置1は、有線や無線のネットワークで接続された他のコンピュータ、サーバや可搬型記録媒体を介して上記したプログラムや各種情報を取得することとしてもよい。
Furthermore, the
掲示板41は、ノード10から取得したデータを、取得元のノード10の特徴情報を付加して、掲載(記憶)する。また、掲示板41は、各ノード10、コンテナエンジン34が、データの登録、更新、読み取りができるように、適宜アクセス制御が行われる。
The
コンテナ部42は、記憶部4に割り当てられた記憶領域で構成され、アプリをインストール(記憶)可能な複数のコンテナ421を含んで構成されている。各コンテナ421には、それぞれ1つのアプリが記憶される形式になっている。つまり、構成されたコンテナ421の数だけ、アプリをインストール可能である。アプリは、不図示の外部装置(アプリ提供用の外部サーバ等(図1図示のサーバ装置50))から取得され、空のコンテナ421(空コンテナ)に設定(記憶)される。また、不要となったアプリはコンテナ421から消去され、当該コンテナ421は空コンテナとなる。なお、アプリは、不要となった都度コンテナ421から消去してもよく、コンテナ421に余裕がある場合(空コンテナが別に存在する場合)には、新たなアプリのインストールに空コンテナが必要となった際に不要となったアプリを消去することとしてもよい。
The
指定情報記憶部43は、コンテナ421にインストールされたアプリが要求するデータに関する特徴情報の指定条件を記憶する。指定情報は、コンテナ421にアプリをインストールした際に、インストール元である外部装置から取得され指定情報記憶部43に記憶される。つまり、指定情報はインストール元である外部装置からアプリのプログラムと共に提供され、アプリ(のプログラム)はコンテナ421に記憶され、指定情報は指定情報記憶部43に記憶される。なお、指定情報記憶部43をコンテナ421内に備える構成、つまりコンテナ421内にアプリのプログラムと当該アプリの指定情報を分離可能に記憶する構成を適用することも可能である。また、指定情報の詳細については、図3~図5で詳細に後述する。
The specification
次に、制御部3(取得部31、変換部32、付加部33、コンテナエンジン34、通信調整部35および認証部36)について詳細に説明する。
Next, the control section 3 (the acquisition section 31, the
取得部31は、通信部2を介して、各種外部機器から各種情報を取得する。具体的には、取得部31は、各種ネットワークにより通信装置1に接続されたノード10からデータを、通信部2を介して取得する。具体的には、取得部31は、ノード10が有するセンサで検知されたセンサデータを取得する。
The acquisition unit 31 acquires various information from various external devices via the
また、取得部31は、ユーザによる端末装置(通信装置1の入力操作機(タッチパネル等)、あるいは通信装置1への操作入力機能を有するノード10(例えば、通信装置1に通信接続されたユーザの携帯端末(スマートホン等)))へのアプリインストール操作入力に基づき、当該端末装置からアプリをコンテナ421にインストールするインストール指示を取得する。また、取得部31は、ユーザの端末装置からコンテナ421に記憶されたアプリのアップデートを行うアップデート指示を取得する。また、取得部31は、通信装置1に新たなノード10が接続された際に、当該ノード10から当該ノード10に関する情報、例えば、ノード10の種別情報、ノード10との通信接続のための通信接続用情報、ノード10の有するセンサに関するセンサ情報等を取得する。
The acquisition unit 31 also uses a terminal device (an input operation device (touch panel, etc.) of the communication device 1) by a user, or a
取得部31は、外部装置(サーバ装置50)からインストール対象アプリを取得し、コンテナ421に記憶する。具体的には、取得部31は、インストール指示を取得した場合、あるいは新たなノード10が接続された場合、アプリを提供する外部装置に接続されたノード10の情報を送信する。そして、取得部31は、接続されたノード10に応じて外部装置から提供されたアプリを取得して、コンテナ421に記憶する。なお、取得部31は、インストールする(コンテナ421に記憶する)アプリを、取得部31が取得したアプリからユーザの選択操作により選択するようにしても良い。あるいは、取得部31は、アプリ提供前に外部装置から送信される適当なアプリリストからユーザの選択操作に基づきインストールするアプリを選択し、当該選択したアプリの情報を外部装置に送信し、外部装置からインストールするアプリを提供してもらう方法も適用可能である。
The acquisition unit 31 acquires an installation target application from an external device (server device 50) and stores it in the
また、取得部31は、ユーザの入力操作、あるいは外部装置等からのアプリのバージョンアップ情報に基づき、バージョンアップ対象アプリを取得し、コンテナ421に記憶されたアプリのアップデート(更新処理)を行う。 Further, the acquisition unit 31 acquires an application to be upgraded based on a user's input operation or application upgrade information from an external device, etc., and updates the application stored in the container 421 (update processing).
また、取得部31は、外部装置からアプリをインストールする際、アプリが使用するデータの指定条件に関する指定情報を外部装置から取得し、指定情報として記憶部4に記憶する。また、取得部31は、アプリのアップデートを行う際、指定情報の更新情報を外部装置から取得し、記憶部4に記憶された指定情報を更新する。なお、取得部31は、ノード10から直接指定情報を取得してもよい。
Further, when installing an application from an external device, the acquisition unit 31 acquires specification information regarding specification conditions for data used by the application from the external device, and stores it in the
また、取得部31は、通信接続された(通信可能な)ノード10からノード10を認証するための認証情報、例えば、ノード10の機器種別の情報、識別番号、通信方式、通信に必要なコード等の情報を取得する。なお、取得部31は、認証が必要な際に、例えば、通信装置1の電源がオンされた場合や、通信装置1に新たなノード10が接続された場合に、通信装置1に接続された各ノード10から認証情報を取得する。
The acquisition unit 31 also acquires authentication information for authenticating the
変換部32は、取得部31がノード10から取得したデータを、取得元であるノード10以外の各ノード10が使用可能な形式に変換する。具体的には、変換部32は、取得したデータの規格(データ識別名、フォーマット等)を統一するよう変換する。
The
付加部33は、変換部32による変換後のデータに対して、データの取得元であるノード10の特徴情報を付加する。特徴情報は、例えば、ノード10の名称や、ノード10が有するセンサの名称、センサの検知精度、センサの検知頻度、ノード10の装置種別、ノード10の設置方法等であり、基本的には取得部31がノード10から取得したノード10に関する識別情報や認証情報等に含まれる情報から推定した(識別情報や認証情報等に特徴情報自体が含まれ、当該情報を抽出する場合も含む)情報である。つまり、通信装置1の電源オン時、あるいは通信装置1に新たなノード10が接続された際等に、ノード10からノード10の特徴情報(あるいは特徴情報に関連する関連情報)を取得して、付加部33がこの取得した特徴情報(あるいは関連情報に基づく推定処理により得られた特徴情報)を使用する。なお、ノード10の種類(識別情報)に基づき、サーバ装置50(ノード種別と関連付いた特徴情報のデータベースを所有)から当該ノード10の特徴情報取得するようにしても良い。
The adding
ノード10の特徴情報が得られない場合、付加部33が特徴情報をノード10から取得したデータを用いて推定する方法も可能である。例えば、付加部33は、ノード10からデータを時系列で連続して所定回数取得した結果に基づいて、ノード10におけるセンサの検知精度や検知頻度等の特徴情報を推定する。これにより、ノード10側で特徴情報を生成して送信するといった機能を新たに設計するといった変更を加える必要がないため、ノード10の製造メーカ側の負荷を軽減できる。なお、付加部33が付加する特徴情報の詳細や推定方法については図3~図5で後述する。
If the characteristic information of the
コンテナエンジン34は、コンテナ421に記憶されたアプリを、掲示板41に記憶された各種データ等を必要に応じて取得して、実行することで各種機能実現のための処理を行う。具体的には、まず、コンテナエンジン34は、実行するアプリに対応する指定情報を指定情報記憶部43から読み込む。そして、コンテナエンジン34は、掲示板41に掲載されたデータの中から、読み込んだ指定情報の指定条件を満たす特徴情報のデータを選択して取り込む。そして、コンテナエンジン34は、取り込んだデータを使用してアプリの各種処理を行い、処理結果に基づく指示コマンドや制御データ等をノード10に送信する等して、ノード10を制御する。
The
具体例として、車両に搭載されたエアコンを制御するエアコンアプリを例に挙げて説明する。かかるアプリは、室温、心拍数および脈拍数のデータを使用して最適設定温度を生成し、当該最適設定温度をノード10である車載エアコン装置を制御するアプリとする。なお、通信装置1には、ノード10として車載エアコン装置、ドライバ体調監視装置、および居眠り運転防止装置が接続されており、これらノード10の接続に伴い、エアコンアプリがコンテナ421に記憶されているものとする。また、車載エアコン装置は車室内温度を計測する室温センサAを内蔵しており、またドライバ体調監視装置はドライバの心拍と体温を計測する心拍センサBと体温センサCを内蔵しており、そして居眠り運転防止装置はドライバの心拍を計測する心拍センサDを内蔵しているものとする。また、指定情報記憶部43に記憶されたエアコンアプリに関する指定情報は、室温センサA、体温センサC、心拍センサDの測定データは条件を満たしているが、心拍センサBは条件を満たさないと言うエアコンアプリ条件であるとする。
As a specific example, an air conditioner application that controls an air conditioner installed in a vehicle will be described. This application is an application that generates an optimal temperature setting using data on the room temperature, heart rate, and pulse rate, and controls the vehicle air conditioner, which is the
かかる場合、通信装置1の取得部31は、車載エアコン装置、ドライバ体調監視装置、および居眠り運転防止装置の各センサである、室温センサA、心拍センサB、体温センサCおよび心拍センサDの各計測データを取得する。そして、変換部32は、取得部31の取得した各センサの計測データを掲示板41に掲示する形式に変換する。また、付加部33は、各ノード10の接続時に認証部36によって取得される等した各ノード10の特徴情報に基づき、変換部32で変換された計測データに対応する特徴情報(各センサの計測精度、頻度等)を付加して、掲示板41に掲載する。なお、掲示板41の掲載でデータは、各センサの計測動作、取得部31のデータ取得動作に従い、特徴情報で示されるデータ計測(更新)頻度で随時更新される。
In such a case, the acquisition unit 31 of the communication device 1 measures each of the room temperature sensor A, heart rate sensor B, body temperature sensor C, and heart rate sensor D, which are the sensors of the in-vehicle air conditioner, driver physical condition monitoring device, and drowsy driving prevention device. Get data. The
コンテナエンジン34は、エアコンアプリの実行により、エアコンアプリが処理で用いるデータを掲示板41から取り込む。この際、コンテナエンジン34は、指定情報記憶部43からエアコンアプリに関する指定情報を読み込み、指定情報の条件を満たす特徴情報を持つデータを取り込む。つまり、本例の場合、エアコンアプリに関する指定情報の条件を満たす室温センサA、体温センサCおよび心拍センサDのデータであるため、コンテナエンジン34はこれらセンサのデータを掲示板41から取り込む。
By executing the air conditioner application, the
そして、コンテナエンジン34は、取り込んだ室温センサA、体温センサCおよび心拍センサDの、室温データ、体温データ、心拍データに基づいて最適温度を算出する。そして、コンテナエンジン34は、ノード10であるエアコンに算出した最適温度データを設定温度(制御目標温度)として出力する。これにより、エアコンの制御部であるエアコンECUは設定温度をエアコンアプリが算出した最適温度として、エアコンを制御する。
Then, the
また、この最適温度データを掲示板41に掲載する設定がなされていた場合、取得部31はこの最適温度データを取得する。また、変換部32が掲示板41に掲載する様式に当該最適温度データを変換する。そして、付加部33が特徴情報(使用したセンサのデータの特徴情報に基づき生成)を付加して掲示板41に掲載し、各ノード10および各アプリが使用できるようにする。
Furthermore, if settings have been made to post this optimal temperature data on the
これにより、ノード10であるエアコンは、例えばドライバが設定した設定温度に室温が近づくようにする通常の温度制御よりも高度な、車室温やドライバの体調(体温データ、心拍データ)を考慮した車室温制御を行うことが可能となる。
As a result, the air conditioner, which is
なお、ノード10であるエアコンが(車室内)温度センサを持たない場合や、温度センサの精度が低い場合等においては、エアコンアプリとしては、単に他ノード10の温度センサの計測データをエアコンに出力するものであっても良い。つまり、コンテナエンジン34(アプリによる動作)は、掲示板41に掲載されたデータの中から、指定情報記憶部43に記憶されたアプリ(例えば、エアコンアプリ)に対応する指定情報の条件(例えば、温度誤差0.5度)を満たすデータ(例えば、室温データ)を選択して、制御対象のノード10に当該データをそのまま提供しても良い。
In addition, in cases where the air conditioner that is the
なお、コンテナエンジン34(アプリの内容)は、指定情報記憶部43に記憶された指定情報の条件を満たす特徴情報を持つデータが掲示板41に存在しない場合に、当該条件を満たす割合の最も高い特徴情報を持つデータ(条件に最も近い特徴情報を持つデータ)を選択してもよい。
Note that, when there is no data on the
また、コンテナエンジン34(アプリの内容)は、指定情報記憶部43に記憶された指定情報の条件を満たす特徴情報を持つデータが掲示板41に存在しない場合、もしくは、当該条件に最も近い特徴情報を持つデータが掲示板41に存在しない場合に、当該条件を満たすデータを出力可能なノード10(センサ)の追加接続要求をユーザに端末装置等を用いて通知してもよい。
In addition, if there is no data on the
また、コンテナエンジン34は、不要となったアプリをコンテナ421から消去する処理を行う。なお、不要となったアプリとは、例えば、処理結果を出力するノード10が存在しなくなった(通信装置1と非接続状態となった)アプリ、処理に必要なデータの提供元となるノード10が存在しなくなった(通信装置1と非接続状態となった)アプリ、等である。
The
通信調整部35は、ネットワークに接続された各ノード10との通信調整を行う。具体的には、通信調整部35は、通信装置1における通信負荷に基づいて、各ノード10との通信タイミング等を調整する。例えば、通信調整部35は、通信装置1の通信負荷が高い場合(通信中のノード10の数が予め定めた所定数以上である場合や、通信中のデータ量が予め定めた所定量以上である場合や、通信中のデータ量が予め定めた所定量以上である場合)に、優先度が低いデータの通信を待機する。優先度が低いデータは、例えば、アプリ側が要求していないデータや、センサの検知精度が低いデータ、センサの検知頻度が低いデータ、重要性・緊急性等が低い機能に関するデータ、等である。
The
認証部36は、通信装置1に接続されたノード10を認証する。具体的には、認証部36は、取得部31が取得した認証情報に基づいて各ノード10を認証し、当該ノードに関する各種データの記憶、通信設定、通信接続設定、等を行う。
The
次に、図3~図5を用いて、ノード10(センサのデータ)の特徴情報を用いたデータの選択方法について説明する。図3~図5は、特徴情報を用いたデータの選択方法を示す図である。 Next, a data selection method using characteristic information of the node 10 (sensor data) will be described with reference to FIGS. 3 to 5. 3 to 5 are diagrams showing a data selection method using feature information.
図3では、ノード10の特徴情報として、センサの名称(センサ名)、検知精度および検知頻度がセンサの計測データに付加され、また実行対象アプリに関する指定情報における条件としてセンサの名称(センサ名)、検知精度および検知頻度が指定されている例を示す。
In FIG. 3, the name of the sensor (sensor name), detection accuracy, and detection frequency are added to the measurement data of the sensor as characteristic information of the
図3に示すように、制御部3は、指定情報記憶部43に記憶された実行対象アプリに関する指定情報で条件指定されたセンサの名称、検知精度および検知頻度を満たす特徴情報を持つデータを、掲示板41の中から選択する。
As shown in FIG. 3, the
図3に示す例では、「[GPS_6_0.5]34.123456,135.123456」のデータの特徴(センサ名:GPSセンサ、検知精度:小数点以下6桁、検知頻度(間隔):0.5秒)が実行対象アプリのデータ条件(センサ名:GPSセンサ、検知精度:小数点以下6桁以上、検知頻度(間隔):0.5秒以内)を満たすため、このデータを選択する。また、図3に示す例では、「[HeartRate_1_10]65」のデータの特徴(センサ名:心拍センサ、検知精度:小数点以下1桁、検知頻度(間隔):10秒)が実行対象アプリのデータ条件(センサ名:心拍センサ、検知精度:小数点以下0桁、検知頻度(間隔):30秒以内)を満たすため、このデータを選択する。 In the example shown in Figure 3, the characteristics of the data "[GPS_6_0.5] 34.123456, 135.123456" (Sensor name: GPS sensor, Detection accuracy: 6 digits after the decimal point, Detection frequency (interval): 0.5 seconds ) satisfies the data conditions of the execution target application (Sensor name: GPS sensor, Detection accuracy: 6 or more digits after the decimal point, Detection frequency (interval): 0.5 seconds or less), this data is selected. In addition, in the example shown in Figure 3, the data characteristics of "[HeartRate_1_10]65" (sensor name: heart rate sensor, detection accuracy: 1 digit after the decimal point, detection frequency (interval): 10 seconds) are the data conditions of the execution target application. (Sensor name: heart rate sensor, detection accuracy: 0 digits after the decimal point, detection frequency (interval): within 30 seconds), so this data is selected.
なお、仮に、「[GPS_6_0.5]34.123456,135.123456」のデータが存在しない場合、すなわち、指定情報記憶部43に記憶された実行対象アプリに関する指定情報で条件指定されたセンサの名称、検知精度および検知頻度を満たす特徴情報を持つデータが掲示板41に存在しない場合、制御部3は、指定情報で指定された条件に近い特徴情報のデータ、例えば「[GPS_6_1.0]34.123450,135.123450」(検知頻度(間隔)が1.0秒で、条件0.5秒以内を若干満たさないが、他条件は満たす)、あるいは「[GPS_4_0.5]34.1234,135.1234」(検知精度が小数点以下4桁で、条件小数点以下6桁を若干満たさないが、他条件は満たす)を選択する。
In addition, if the data of "[GPS_6_0.5]34.123456, 135.123456" does not exist, that is, the name of the sensor conditionally specified by the specification information regarding the execution target application stored in the specification
かかる場合、指定情報における各条件項目(検知精度および検知頻度)に優先度を付けておき、かかる優先度が高い項目の条件が最も近い特徴情報のデータを選択する。例えば、検知精度の優先度を検知頻度よりも高く設定した場合、制御部3は、検知精度が指定情報の条件に最も近い(本例では2つのデータが存在するので、近い方となる)「[GPS_6_1.0]34.123450,135.123450」のデータを選択する。
In such a case, a priority is given to each condition item (detection accuracy and detection frequency) in the specified information, and the data of the feature information that is closest to the condition of the item with such high priority is selected. For example, when the priority of detection accuracy is set higher than the detection frequency, the
これにより、コンテナエンジン34は、アプリの実行に際して、アプリの要求する条件を満たすデータが掲示板41に存在しない場合であっても、当該条件を満たす割合の高い、好条件のデータを取り込んで、アプリを実行することができるため、比較的、好適な制御を行うことができる。
As a result, when executing the application, even if there is no data on the
次に、図4では、実行対象アプリに関する指定情報における条件としてセンサの名称(センサ名)とデバイスの名称(デバイス名)が指定されている(検知精度および検知頻度の条件指定無)例を示す。 Next, FIG. 4 shows an example in which the sensor name (sensor name) and the device name (device name) are specified as conditions in the specified information regarding the execution target application (no conditions for detection accuracy and detection frequency specified). .
図4に示すように、制御部3は、指定情報記憶部43に記憶された実行対象アプリに関する指定情報で条件指定されたセンサの名称およびデバイス名を満たす特徴情報を持つデータを、掲示板41の中から選択する。
As shown in FIG. 4, the
図4に示す例では、「[GPS_カーナビ]34.1234,135.1234」のデータの特徴(センサ名:GPSセンサ、デバイス名:カーナビ)が実行対象アプリのデータ条件(センサ名:GPSセンサ、デバイス名:カーナビ)を満たすため、このデータを選択する。また、図4に示す例では、「[HeartRate_スマートウォッチ]65」のデータの特徴(センサ名:HeartRate(心拍センサ)、デバイス名:スマートウォッチ)が実行対象アプリのデータ条件(センサ名:心拍センサ、デバイス名:スマートウォッチ)を満たすため、このデータを選択する。 In the example shown in FIG. 4, the data characteristics (sensor name: GPS sensor, device name: car navigation) of "[GPS_car navigation] 34.1234, 135.1234" are the data conditions of the execution target application (sensor name: GPS sensor, Select this data to meet the requirements (device name: car navigation system). In addition, in the example shown in FIG. 4, the data characteristics of "[HeartRate_smartwatch]65" (sensor name: HeartRate (heart rate sensor), device name: smart watch) are the data conditions of the execution target application (sensor name: heart rate sensor). , device name: smartwatch) to select this data.
これにより、コンテナエンジン34は、アプリの実行に際して、アプリに応じた指定情報の条件に適合した特定の装置のセンサデータを取り込み、処理を行うことができるため、アプリによる好適な制御を行うことができる。また、指定情報の条件に適合した特定の装置がノード10として接続されていない場合に、その旨(例えば、特定の装置を接続すると高度な機能を実現できる旨)をユーザに報知することも有用で、その場合には当該特定の装置の販売を促進する効果が期待できる。
This allows the
次に、図5では、実行対象アプリに関する指定情報における条件としてセンサの名称(センサ名)と設置方法(固定/自由)が指定されている(検知精度および検知頻度の条件指定、等無)例を示す。なお、ノード10におけるセンサの設置方法(固定/自由)に関する特徴データは、ノード10からから取得してもよいが、Gセンサ(加速度センサ)の場合、次のような方法により制御部3が推定することも可能である。
Next, in Figure 5, an example is shown in which the name of the sensor (sensor name) and the installation method (fixed/free) are specified as conditions in the specified information regarding the application to be executed (no conditions specified for detection accuracy and detection frequency, etc.) shows. Note that the characteristic data regarding the installation method (fixed/free) of the sensor in the
制御部3は、Gセンサの検出値に基づいてセンサの設置方法を推定する。具体的には、制御部3は、Gセンサの検出値が高い周波数で小振幅の振動成分が多い場合に、Gセンサは車両に固定されている(「固定」)と推定し、低い周波数で大振幅の振動成分が多い場合に、Gセンサは車両に固定されていない(「自由」)、例えばユーザに装着されていると推定する。これは、Gセンサが車内に固定された場合、高い周波数で小振幅の振動成分が多い走行振動の影響を受けやすく、他方、乗員の腕等に装着されて自由に移動する場合、走行振動は人の人体で吸収され、それに代えて低い周波数で大振幅の振動成分が多い人の動きの影響を受けやすいためである。
The
制御部3は、指定情報記憶部43に記憶された実行対象アプリに関する指定情報で条件指定されたセンサの名称および設置方法を満たす特徴情報を持つデータを、掲示板41の中から選択する。
The
なお、図5に示す例は、アプリ実行には、2つの各条件(センサ名:Gセンサ、設置方法(固定/自由):固定)を満たす、2種のセンサのデータが必要な例である。 The example shown in Figure 5 is an example in which data from two types of sensors that satisfy two conditions (sensor name: G sensor, installation method (fixed/free): fixed) are required to run the application. .
「[G_固定]0.1,0.1,0」のデータの特徴(センサ名:Gセンサ、設置方法(固定/自由):固定)が、実行対象アプリのデータ条件(センサ名:Gセンサ、設置方法(固定/自由):固定)を満たすため、コンテナエンジン34は、このデータを掲示板41から選択して取得する。
The data characteristics of "[G_fixed] 0.1, 0.1, 0" (sensor name: G sensor, installation method (fixed/free): fixed) are the data conditions of the execution target application (sensor name: G sensor , installation method (fixed/free): fixed), the
また、「[G_自由]-0.2,0.2,0.1」のデータの特徴(センサ名:Gセンサ、設置方法(固定/自由):自由)が実行対象アプリのデータ条件(センサ名:Gセンサ、設置方法(固定/自由):自由)を満たすため、コンテナエンジン34は、このデータも掲示板41から選択して取得する。
In addition, the data characteristics of "[G_freedom] -0.2, 0.2, 0.1" (sensor name: G sensor, installation method (fixed/free): free) are the data conditions of the execution target application (sensor name: G sensor, installation method (fixed/free): free), the
そして、コンテナエンジン34は、これら選択取得した2種のセンサのデータを用いて、対象のアプリを実行い、該当のノード10にアプリの実行結果に基づく出力を行う。
Then, the
なお、このようなデータを使用するアプリとしては、例えば、Gセンサの検出値により乗員の酔いを検知するアプリがある。このようなアプリでは、乗員の酔いは、車の動き(固定のGセンサ)と、人の動き(自由のGセンサ)とから解析を行う。このため、コンテナエンジン34は、車の動きと人の動きのデータを分離して処理する必要がある。このため、制御部3は、上述のように、車両に固定されたGセンサによるデータか、車両に固定されていない(人に固定されている)Gセンサによるデータかを区別できるように、コンテナエンジン34(アプリ)にデータを提供するように動作する。
Note that an example of an application that uses such data is an application that detects motion sickness of an occupant based on a detection value of a G sensor. In such apps, occupant motion sickness is analyzed based on the movement of the car (fixed G sensor) and the movement of the person (free G sensor). Therefore, the
次に、図6および図7を用いて、実施形態に係る通信装置1(制御部3)が実行する処理の処理手順について説明する。図6および図7は、実施形態に係る通信装置1が実行する処理の処理手順を示すフローチャートである。図6では、ノード10からデータを取得して掲示板41に掲載するまでのデータ掲載処理を示しており、図7では、掲示板41に掲載されたデータを取り込んで処理を行うアプリに関する処理を示している。
Next, the processing procedure of the process executed by the communication device 1 (control unit 3) according to the embodiment will be described using FIGS. 6 and 7. FIGS. 6 and 7 are flowcharts illustrating processing procedures executed by the communication device 1 according to the embodiment. 6 shows the data posting process from acquiring data from the
図6に示すデータ掲載処理は、通信装置1の稼働時(電源オン時)に繰り返し実行される。制御部3は、先ずステップS101において、接続されているノード10に変化があったかどうか判断し、変化があれば(Yes)ステップS102に移り、変化が無ければ(No)ステップS103に移る。なお、電源投入時は、接続されている全ノード10が接続に変化があった(新規接続)と判断される。ステップS102において、制御部3は、接続変化のあったノード10の機器認証を行い、ステップS103に移る。
The data posting process shown in FIG. 6 is repeatedly executed when the communication device 1 is in operation (when the power is turned on). First, in step S101, the
ステップS103において、制御部3は、認証した各ノード10からデータを取得して、ステップS104に移る。ステップS104において、制御部3は、各ノード10から取得したデータを各アプリやノード10で使用できる形式に変換して、例えば規格化した形式に変換して、ステップS105に移る。ステップS105において、制御部3は、ステップS102における認証処理の際に得た各ノード10(のセンサ)情報に基づき各ノード10(のセンサ)の特徴情報を推定し、あるいは過去の各ノード10(のセンサ)から取得したセンサ計測データに基づき各ノード10(のセンサ)特徴情報を推定し、ステップS106に移る。
In step S103, the
つづいて、ステップS106において、制御部3は、ステップS105で推定した特徴情報をステップS104で変換したデータに付加し、ステップS107に移る。そして、ステップS107において、制御部3は、特徴情報を付加したデータを掲示板41に掲載し、処理を終了する。
Subsequently, in step S106, the
次に、アプリに関する処理について、図7を用いて説明する。このアプリに関する処理は、アプリのインストールおよびアプリに基づく処理を含み、通信装置1の稼働時(電源オン時)に繰り返し実行される。 Next, processing related to the application will be explained using FIG. 7. Processing related to this application includes installation of the application and processing based on the application, and is repeatedly executed when the communication device 1 is in operation (when the power is turned on).
制御部3は、先ずステップS201において、新たなアプリのインストール状態にあるか(上述のようにノード10に接続状態の変化があり、サーバ装置50との間の通信や処理を通じて、通信装置1がインストールするアプリを決定した状態(各種条件に基づく自動判断、あるいはノード10ユーザの操作に基づき判断))であるか否かを判断し、インストールするアプリの決定状態であれば(Yes)、ステップS202に移り、決定状態でなければ(No)、ステップS204に移る。ステップS202において、制御部3は、インストールすると決定したアプリをサーバ装置50から取得してコンテナ421に記憶(インストール)し、ステップS203に移る。ステップS203において、制御部3は、コンテナ421に記憶したアプリの指定情報をサーバ装置50から取得して指定情報記憶部43に記憶し、ステップS204に移る。
First, in step S201, the
つづいて、ステップS204において、制御部3は、実行要求状態(ユーザのアプリ実行要求操作、各ノード10のアプリ実行要求等に基づく)にあるコンテナ421にインストールされたアプリを実行し、ステップS205に移る。ステップS205において、制御部3は、実行するアプリが使用するデータであって、当該アプリに対応する指定情報の示す条件を満たす特徴情報を持つデータが、掲示板41にあるか否かを判定し、条件を満たす特徴情報のデータがある場合(Yes)は当該データをアプリが使用するデータとして決定し、ステップS206に移り、無い場合(No)はステップS208に移る。
Subsequently, in step S204, the
ステップS208において、制御部3は、実行するアプリに対応する指定情報の示す条件を満たす割合が予め定めた所定割合より高い特徴情報のデータが掲示板41にあるか否かを判定し、あれば(Yes)当該データをアプリが使用するデータとして決定し、ステップS206に移り、無ければ(No)ステップS209に移る。
In step S208, the
そして、ステップS206において、制御部3は、使用するデータとして決定したデータを掲示板41から取り込み、ステップS207に移る。ステップS207において、制御部3は、取り込んだデータを使用してアプリの処理を実行し、処理結果を対応するノード10へ出力する等して処理を終了する。
Then, in step S206, the
また、ステップS209において、制御部3は、指定情報の示す条件を満たすデータを出力できるセンサを持つノード10の追加接続依頼をユーザに通知し(表示等)、処理を終了する。なお、ステップS209については、条件を満たすデータが無いこと(条件を満たすデータを提供できるノードが接続されていないこと)をユーザへ通知し、アプリの実行を停止するようにしてもよい。
Further, in step S209, the
上述してきたように、実施形態に係る通信装置1は、複数のノード10が接続可能な通信装置1であって、コントローラ(制御部3)を有する。コントローラは、接続されたノード10からデータを取り込み、取り込んだ当該データを複数のアプリケーションで利用可能な記憶部4である掲示板41に記憶し、データの特徴を示す特徴情報を推定して、データに関連付けて記憶し、アプリケーション実行時に、当該アプリケーションの処理で使用するデータを、掲示板41に記憶されたデータから、当該アプリケーションが使用するデータの条件として指定する指定情報と特徴情報との対応関係に基づき選択する。
As described above, the communication device 1 according to the embodiment is a communication device 1 to which a plurality of
これにより、各アプリケーション実行時に、当該アプリケーションのデータ要求内容とデータの取得元であるノード10の特徴情報を比較して、当該アプリケーションの実行に際して用いるデータを選択できるので、アプリケーションの処理に用いるデータの選択を適切に判断することができる。
As a result, when each application is executed, it is possible to compare the data request content of the application with the characteristic information of the
さらなる効果や変形例は、当業者によって容易に導き出すことができる。このため、本発明のより広範な態様は、以上のように表しかつ記述した特定の詳細および代表的な実施形態に限定されるものではない。したがって、添付の特許請求の範囲およびその均等物によって定義される総括的な発明の概念の精神または範囲から逸脱することなく、様々な変更が可能である。 Further advantages and modifications can be easily deduced by those skilled in the art. Therefore, the broader aspects of the invention are not limited to the specific details and representative embodiments shown and described above. Accordingly, various changes may be made without departing from the spirit or scope of the general inventive concept as defined by the appended claims and their equivalents.
1 通信装置
2 通信部
3 制御部
4 記憶部
10 ノード
31 取得部
32 変換部
33 付加部
34 コンテナエンジン
35 通信調整部
36 認証部
41 掲示板
42 コンテナ部
43 指定情報記憶部
421 コンテナ
S 通信システム
1
Claims (9)
前記コントローラは、
接続されたノードからデータを取り込み、取り込んだ当該データを複数のアプリケーションで利用可能な記憶部である掲示板に記憶し、前記データの特徴を示す特徴情報を推定して、前記データに関連付けて記憶し、アプリケーション実行時に、当該アプリケーションの処理で使用するデータを、前記掲示板に記憶されたデータから、当該アプリケーションが使用するデータの条件として指定する指定情報と前記特徴情報との対応関係に基づき選択する、
通信装置。 A communication device to which a plurality of nodes can be connected, having a controller,
The controller includes:
It imports data from a connected node, stores the imported data in a bulletin board that is a storage unit that can be used by multiple applications, estimates characteristic information indicating the characteristics of the data, and stores it in association with the data. , when an application is executed, data to be used in processing of the application is selected from data stored in the bulletin board based on the correspondence between specification information specified as a condition for data used by the application and the characteristic information;
Communication device.
前記ノードから取得したデータに基づいて前記特徴情報を推定する
請求項1に記載の通信装置。 The controller includes:
The communication device according to claim 1, wherein the feature information is estimated based on data acquired from the node.
前記特徴情報は、前記ノードから取得したセンサが検知するデータ種別とセンサの検知性能の情報を含む、
請求項1に記載の通信装置。 The data acquired from the node is sensor data detected by a sensor included in the node,
The characteristic information includes information on the data type detected by the sensor acquired from the node and the detection performance of the sensor.
The communication device according to claim 1.
前記特徴情報は、外部情報提供装置から取得したノードに関するセンサの検知データ種別と検知性能の情報を含む、
請求項1に記載の通信装置。 The data acquired from the node is sensor data detected by a sensor included in the node,
The feature information includes information on sensor detection data type and detection performance regarding the node acquired from an external information providing device;
The communication device according to claim 1.
前記特徴情報は、
センサの検知データ種別とセンサの配置方法に関する情報を含む
請求項1に記載の通信装置。 The data acquired from the node is sensor data detected by a sensor included in the node,
The characteristic information is
The communication device according to claim 1, further comprising information regarding a sensor detection data type and a sensor arrangement method.
前記コントローラは、アプリケーションを提供する外部サーバ装置から提供された、接続されたノードに応じたアプリケーションと当該アプリケーションに対応する指定情報とを、前記コンテナと前記指定情報記憶部に記憶する、
請求項1に記載の通信装置。 It has a container that is a storage unit that stores an application, and a specified information storage unit that is a storage unit that stores the specified information,
The controller stores an application corresponding to the connected node and specification information corresponding to the application provided from an external server device providing the application in the container and the specification information storage unit.
The communication device according to claim 1.
実行するアプリケーションに対応する前記指定情報で示された条件を満たす前記特徴情報を持つデータが前記掲示板に存在しない場合、前記掲示板に記憶されたデータの中から、前記指定情報で示された条件に近い前記特徴情報のデータを選択する
請求項6に記載の通信装置。 The controller includes:
If there is no data on the bulletin board that has the characteristic information that satisfies the conditions indicated by the specification information corresponding to the application to be executed, data that satisfies the conditions indicated by the specification information from among the data stored in the bulletin board is The communication device according to claim 6, wherein data of the feature information that is close to each other is selected.
前記通信装置に接続される複数のノードと、
を備え、
前記通信装置は、
接続されたノードからデータを取り込み、取り込んだ当該データを複数のアプリケーションで利用可能な記憶部である掲示板に記憶し、前記データの特徴を示す特徴情報を推定して、前記データに関連付けて記憶し、アプリケーション実行時に、当該アプリケーションの処理で使用するデータを、前記掲示板に記憶されたデータから、当該アプリケーションが使用するデータの条件として指定する指定情報と前記特徴情報の対応関係に基づき選択し、アプリケーションの実行結果を前記ノードに送信し、
前記ノードは、
前記通信装置から送信されるアプリケーションの実行結果に応じた動作を行う、
通信システム。 a communication device;
a plurality of nodes connected to the communication device;
Equipped with
The communication device includes:
It imports data from a connected node, stores the imported data in a bulletin board that is a storage unit that can be used by multiple applications, estimates characteristic information indicating the characteristics of the data, and stores it in association with the data. , when an application is executed, the data to be used in the processing of the application is selected from the data stored in the bulletin board based on the correspondence between the specification information specified as a condition of the data used by the application and the characteristic information, and the application Send the execution result to the node,
The node is
performing an operation according to an execution result of the application transmitted from the communication device;
Communications system.
接続されたノードからデータを取り込み、
前記ノードから取り込んだデータの特徴を示す特徴情報を推定し、
前記ノードから取り込んだデータと、前記特徴情報を関連付けて、当該ノードから取り込んだデータを複数のアプリケーションで利用可能な記憶部である掲示板に、記憶する、
データ記憶方法。 A data storage method for a communication device that stores data acquired from a node in a communication device to which a plurality of nodes can be connected, the method comprising:
Ingest data from connected nodes,
Estimating feature information indicating the characteristics of the data imported from the node,
storing the data imported from the node in a bulletin board that is a storage unit that can be used by a plurality of applications by associating the data imported from the node with the characteristic information;
Data storage method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2022080503A JP2023169051A (en) | 2022-05-16 | 2022-05-16 | Communication device, communication system, and data storage method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2022080503A JP2023169051A (en) | 2022-05-16 | 2022-05-16 | Communication device, communication system, and data storage method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2023169051A true JP2023169051A (en) | 2023-11-29 |
Family
ID=88923354
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2022080503A Pending JP2023169051A (en) | 2022-05-16 | 2022-05-16 | Communication device, communication system, and data storage method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2023169051A (en) |
-
2022
- 2022-05-16 JP JP2022080503A patent/JP2023169051A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9428197B2 (en) | Method and apparatus for persistent transferrable customizable vehicle settings | |
CN105523038B (en) | Vehicle operation based on activity tracking | |
US9214085B2 (en) | Vehicle gateway device | |
CN105589347B (en) | Vehicle user identification using user pattern data | |
US20170222994A1 (en) | Apparatus and method to securely control a remote operation | |
CN104972990B (en) | Workload estimation for mobile device function integration | |
US20080261643A1 (en) | Extensible infotainment/telematics system | |
WO2016183825A1 (en) | Method for positioning sounding location, and terminal device | |
CN105468354B (en) | The method and device that sensor between mobile device and vehicle is synthesized and arbitrated | |
EP3300296B1 (en) | Electronic device and gateway, and control method therefor | |
EP3179320B1 (en) | Method and device for processing real-time vehicle traveling data | |
US20170019503A1 (en) | Method and apparatus for seamless application portability over multiple environments | |
US11218837B2 (en) | Method for determining position in vehicle using vehicle movement and apparatus therefor | |
US20140009304A9 (en) | Extensible infotainment/telematics system with process control shifting | |
CN104683126B (en) | Network management based on CAN | |
US10462193B2 (en) | Vehicle add-on multimedia playback and capture devices | |
CN106537341A (en) | Operating system startup acceleration | |
US20130331142A9 (en) | Extensible infotainment/telematics system having fixed base unit control of a portable communication device | |
US11924726B2 (en) | In-vehicle control device, information processing device, vehicle network system, method of providing application program, and recording medium with program recorded thereon | |
JP2023169051A (en) | Communication device, communication system, and data storage method | |
CN116723560A (en) | Network awakening method and device, electronic equipment and vehicle | |
JP2023094108A (en) | Communication device, application program providing device, information processing system, and data providing method | |
JP2024005055A (en) | Communication device and communication system | |
US20200029188A1 (en) | Server Device, Occupant Determination Method, and Occupant Determination Support Method | |
JP2017016575A (en) | Driving control device, driving control method, and driving control program |