JP2023169051A - Communication device, communication system, and data storage method - Google Patents

Communication device, communication system, and data storage method Download PDF

Info

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
Application number
JP2022080503A
Other languages
Japanese (ja)
Inventor
ともえ 大築
Tomoe Otsuki
誠 奥原
Makoto Okuhara
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.)
Denso Ten Ltd
Original Assignee
Denso Ten Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Denso Ten Ltd filed Critical Denso Ten Ltd
Priority to JP2022080503A priority Critical patent/JP2023169051A/en
Publication of JP2023169051A publication Critical patent/JP2023169051A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Stored Programmes (AREA)

Abstract

To provide a communication device, a communication system, and a data storage method that can appropriately determine data to be used from data acquired from a plurality of nodes.SOLUTION: A communication device according to an embodiment 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 which is a storage unit that can be used by a plurality of applications, estimates feature information indicating characteristics of the data to store it in association with the data, and selects data to be used in processing of an application from the data stored in the bulletin board during execution of the application, based on a correspondence between designation information designated as conditions of data used by the application and the feature information.SELECTED DRAWING: Figure 1

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).

特開2017-170267号公報JP 2017-170267 Publication

ここで、ネットワークに接続された複数のノードは、それぞれ同じ種類のセンサを搭載する場合がある。しかしながら、従来の技術では、例えば、異なるノードから同じ種類のセンサデータを取得した場合、どのセンサデータを用いるかを適切に判断することが困難な場合がある。なお、このような問題は、センサデータに限られるものではなく、様々な種類のデータで起こりうる。 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.

図1は、実施形態に係る通信方法の概要を示す図である。FIG. 1 is a diagram showing an overview of a communication method according to an embodiment. 図2は、実施形態に係る通信装置の機能構成を示すブロック図である。FIG. 2 is a block diagram showing the functional configuration of the communication device according to the embodiment. 図3は、特徴情報を用いたデータの選択方法を示す図である。FIG. 3 is a diagram showing a data selection method using feature information. 図4は、特徴情報を用いたデータの選択方法を示す図である。FIG. 4 is a diagram showing a data selection method using feature information. 図5は、特徴情報を用いたデータの選択方法を示す図である。FIG. 5 is a diagram showing a data selection method using feature information. 図6は、実施形態に係る通信装置が実行する処理の処理手順を示すフローチャートである。FIG. 6 is a flowchart illustrating the procedure of processing executed by the communication device according to the embodiment. 図7は、実施形態に係る通信装置が実行する処理の処理手順を示すフローチャートである。FIG. 7 is a flowchart illustrating a procedure of processing executed by the communication device according to the embodiment.

以下、添付図面を参照して、本願の開示する通信装置、通信システムおよびデータ記憶方法の実施形態を詳細に説明する。なお、以下に示す実施形態により本発明が限定されるものではない。 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 nodes 10, and a server device 50. The communication device 1 and the plurality of nodes 10 are connected to a network such as, for example, a controller area network (CAN) of a vehicle communication network or Wi-Fi (registered trademark), and transmit and receive various information. Further, the communication device 1 and the server device 50 are connected to a network such as the Internet, and transmit and receive various information.

ノード10は、通信装置1と接続されて各種データの送信、または受信を行うもので、独立してある機能を実現する各種装置(通信装置1からのデータの利用、または通信装置1へのデータの提供、を行う)、測定データを通信装置1に提供する各種センサ、また通信装置1からのデータを報知(表示等)するディスプレイ装置やスピーカ装置等の出力デバイス、ユーザの操作内容を示すデータを通信装置1に提供するタッチパネル等の入力デバイス等である。 The node 10 is connected to the communication device 1 to transmit or receive various data, and is connected to various devices that independently realize certain functions (use of data from the communication device 1 or transfer data to the communication device 1). ), various sensors that provide measurement data to the communication device 1, output devices such as display devices and speaker devices that notify (display, etc.) data from the communication device 1, and data that indicates the content of user operations. This is an input device such as a touch panel that provides the communication device 1 with the following information.

そして、ノード10は、搭乗者により車両内に持ち込まれて、あるいは車両に近接状態にされて(車両周辺に位置されて)通信装置1に通信接続される装置、車両製造時に組み込まれる装置、車両製造後、および販売後にユーザ等により新たに追加設置される装置、と言った形態のものがある。なお、車両の構造により各ノード10の規模は異なるが、車両製造時に組み込まれる各種装置(ノード10)としては、例えばエンジン制御装置、操舵装置、制動装置、およびエアコン装置等がある。 The node 10 is a device that is brought into the vehicle by a passenger or brought into close proximity to the vehicle (located around the vehicle) and is communicatively connected to the communication device 1, a device that is incorporated during vehicle manufacturing, or a device that is installed in the vehicle. There are devices that are newly installed by users after manufacturing and sales. Although the scale of each node 10 differs depending on the structure of the vehicle, various devices (nodes 10) that are incorporated during vehicle manufacture include, for example, an engine control device, a steering device, a braking device, and an air conditioner device.

また、ユーザ等により新たに追加設置される装置(ノード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 node 10 within a range where they can communicate with the communication device 1.

また、特定のノード10は、当該ノード10の各種機能を実現するために必要な各種センサを構成部品として含む。ノード10が含む各種センサは、例えば、車速センサ、バイタルセンサ、車室の温度を検出する温度センサ、および車室のCO2濃度を検出するCO2センサ、車両の位置を検出するGPS(Global Positioning System)位置センサなどである。なお、バイタルセンサは生体情報を取得するセンサで、例えば、脳波を検出する脳波センサ、および脈拍を検出する脈拍センサ等である。 Further, a specific node 10 includes various sensors necessary for realizing various functions of the node 10 as components. Various sensors included in the node 10 include, for example, a vehicle speed sensor, a vital sensor, a temperature sensor that detects the temperature of the vehicle interior, a CO2 sensor that detects the CO2 concentration of the vehicle interior, and a GPS (Global Positioning System) that detects the position of the vehicle. Such as a position sensor. Note that the vital sensor is a sensor that acquires biological information, and includes, for example, an electroencephalogram sensor that detects brain waves, a pulse sensor that detects pulse, and the like.

また、独立してある機能を実現するノード10は、ECU(Electronic Control Unit)、所謂コントローラを構成部品として含む。ECUは、当該ECUが搭載されたノード10(装置)の動作を制御する。ECUは、例えば、パワートレインECU、運転支援系ECU、マルチメディア系ECU、エアコンECUである。 Further, the node 10 that independently realizes a certain function includes an ECU (Electronic Control Unit), a so-called controller, as a component. The ECU controls the operation of the node 10 (device) on which the ECU is mounted. The ECU is, for example, a power train ECU, a driving support ECU, a multimedia ECU, or an air conditioner ECU.

サーバ装置50は、各種機能を実現するプログラムである各種アプリケーション(以下、アプリ)を記憶しており、適当なアプリを通信装置1に提供する。これらアプリは、各種ノード10の出力するデータ、例えばノード10が内蔵するセンサのデータを利用するアプリである。そして、各アプリは、当該アプリを利用するために必要なデータ種別と、当該アプリが出力するデータ種別(制御用のデータ、指令データ(所謂コマンド)等)のデータに関連付けられて、サーバ装置50にアプリDB52として記憶されている。 The server device 50 stores various applications (hereinafter referred to as applications) that are programs that implement various functions, and provides appropriate applications to the communication device 1. These applications are applications that use data output from various nodes 10, for example, data from sensors built into the nodes 10. Each application is associated with data types necessary for using the application and data types output by the application (control data, instruction data (so-called commands), etc.), and is stored in the server device 50. The information is stored in the application DB 52.

また、サーバ装置50には、ノード10の種別(識別情報)とノード10の持つセンサ(測定データ)種別と、ノード10が使用できる外部からのデータ(制御用のデータ、指令データ(所謂コマンド)等)種別が関連付けられたデータベースが、ノード情報DB54として記憶されている。つまり、サーバ装置50は、ノード10の組み合わせに基づき、ノード情報DB54とアプリDB52により、当該ノード10の組み合わせに対して適当なアプリを選択することが可能となる。 The server device 50 also stores the type (identification information) of the node 10, the type of sensor (measurement data) possessed by the node 10, and external data (control data, command data (so-called command)) that can be used by the node 10. etc.) A database in which the types are associated is stored as the node information DB 54. That is, based on the combination of nodes 10, the server device 50 can select an appropriate application for the combination of nodes 10 using the node information DB 54 and the application DB 52.

通信装置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 node 10 and the server device 50, data processing, and the like. The communication device 1 includes a communication section 2, a container 421, a bulletin board 41, and a control section 3.

そして、通信部2は、通信装置1とサーバ装置50との間のデータ通信、および通信装置1と各ノード10間のデータ通信を行う。コンテナ421は、アプリを記憶するもので、書き込みおよび消去可能なメモリで構成される。また、各コンテナ421はメモリ領域を適宜分割する等の方法により構成され、各コンテナ421には1つのアプリが記憶されるようになっている。 The communication unit 2 performs data communication between the communication device 1 and the server device 50 and data communication between the communication device 1 and each node 10. The container 421 stores an application and is composed of writable and erasable memory. Furthermore, each container 421 is configured by appropriately dividing the memory area, and each container 421 stores one application.

掲示板41は、各ノード10からのセンサ測定値やその加工データ等を記憶するもので、メモリにより構成される。また、掲示板41は、ノード10からのアクセスが可能となっており、ノード10がノード10の持つセンサの測定値を書き込んだり、ノード10が掲示板41に記憶されたデータを読み取って利用したりすることができる。 The bulletin board 41 stores sensor measurement values and their processed data from each node 10, and is composed of a memory. Further, the bulletin board 41 can be accessed from the node 10, and the node 10 can write the measured values of the sensors possessed by the node 10, and the node 10 can read and use data stored in the bulletin board 41. be able to.

なお、コンテナ421および掲示板41は、通信装置1がオフの場合でも記憶データが保持されるように、不揮発性のメモリ(フラッシュメモリ、あるいはバックアップ電源付加、等)で構成される。 Note that the container 421 and bulletin board 41 are configured with nonvolatile memory (flash memory, backup power supply, etc.) so that stored data is retained even when the communication device 1 is off.

制御部3は、通信装置1の各種制御、例えば、通信部2、コンテナ421、掲示板41等の盛業、データ加工、データの送受信および書込/消去、等を行う、所謂コントローラで、マイクロコンピュータ等で構成される。また、制御部3は、コンテナ421に記憶されたアプリを実行するコンテナエンジンの機能も持つ。 The control unit 3 is a so-called controller that performs various controls of the communication device 1, for example, the operation of the communication unit 2, the container 421, the bulletin board 41, etc., data processing, data transmission/reception, writing/erasing, etc., and includes a microcomputer, etc. Consists of. The control unit 3 also has the function of a container engine that executes applications stored in the container 421.

通信装置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 node 10 or a container engine that executes an application, which will be described later. access and retrieve data). Specifically, in the communication system S, a communication device 1 that is a provider acquires data from a node 10 that is a publisher, and distributes the data to a container engine or node 10 that executes an application that is a subscriber.

なお、アプリは、ノード10から取得したデータを使用して、例えば、車両に搭載されたノード10における各種制御に関わる処理を行う。つまり、アプリは、掲示板に掲載されたデータを取り込んで使用することで処理を行い、処理結果に基づいてノード10の制御を行う。 Note that the application uses data acquired from the node 10 to perform, for example, processing related to various controls in the node 10 mounted on the vehicle. That is, the application performs processing by importing and using data posted on the bulletin board, and controls the node 10 based on the processing results.

このようなアプリにより、ノード10は、他のノード10が持つセンサ(当該ノード10が持たないセンサ)の測定値を利用した、より高度なあるいは他の機能を実現できる。例えば、ノード10であるエアコンが、自己の持つ車室内温度センサによる車室内温度に加え、他ノード10が持つ車室内湿度センサによる車室内湿度も使用して最適なエアコン制御を行えるようになる。なお、このような制御は、コンテナ421に記憶された対応するアプリが実行して、ノード10(この例ではエアコン)を制御することになる。また、エアコンが対応の機能を持っていれば、エアコンが掲示板41のデータを読み取って行うことも可能である。 With such an application, the node 10 can realize more advanced or other functions using the measured values of sensors possessed by other nodes 10 (sensors that the node 10 does not possess). For example, the air conditioner, which is the node 10, can perform optimal air conditioner control by using not only the vehicle interior temperature determined by its own vehicle interior temperature sensor, but also the vehicle interior humidity determined by the vehicle interior humidity sensor possessed by another node 10. Note that such control is executed by a corresponding application stored in the container 421 to control the node 10 (in this example, the air conditioner). Further, if the air conditioner has a corresponding function, the air conditioner can also read the data on the bulletin board 41 and perform the process.

また、アプリは通信装置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 server device 50 depending on the node 10 connected to the communication device 1. Specifically, identification information of each node 10 connected to the communication device 1 is transmitted to the server device 50. The server device 50 performs a verification process on the node information DB 54 using the received identification information of each node 10, and grasps the data type (content) that the communication device 1 can acquire from each node 10. Then, the server device 50 performs a collation process on the application DB using these data types (contents) ascertained, selects an appropriate application that can be used by the communication device 1, and provides (sends) the selected application to the communication device 1. Then, the communication device 1 stores the provided (received) application in the container 421 and uses it (the container engine executes the application).

以上が通信システム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 control unit 3 and bulletin board 41 in the communication device 1 will be explained. Note that the detailed configuration of the communication device 1 will be explained later in the explanation using FIG. 2, etc.

認証機能(制御部3の処理により実現)は、ノード10を認証する。具体的には、認証機能は、ノード10からノード10を認証するための認証情報を取得し、当該認証情報に基づきノード10の種別(識別番号等)を把握して、通信接続可否を判断(接続対象機器か、正規の機器か等を判断)し、また通信のための各種設定を行う。 The authentication function (realized by the processing of the control unit 3) authenticates the node 10. Specifically, the authentication function acquires authentication information for authenticating the node 10 from the node 10, grasps the type of the node 10 (identification number, etc.) based on the authentication information, and determines whether communication connection is possible ( (determine whether the device is a target device or a legitimate device, etc.) and make various settings for communication.

通信調整機能(制御部3の処理により実現)は、通信装置1における通信負荷に基づいて、各ノード10との通信方法を調整する。例えば、通信調整機能は、通信装置1の通信負荷が高い場合に、優先度が低いデータの通信を待機する、通信頻度を下げる、等と言った制御を行う機能である。なお、優先度が低いデータは、例えば、実行中のアプリが要求していないデータ等である。 The communication adjustment function (realized by the processing of the control unit 3) adjusts the communication method with each node 10 based on the communication load on the communication device 1. For example, the communication adjustment function is a function that performs control such as waiting for communication of low priority data, lowering communication frequency, etc. when the communication load of the communication device 1 is high. Note that data with a low priority is, for example, data that is not requested by an application that is being executed.

コンテナエンジン(制御部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 node 10, the container engine executes the application corresponding to the node 10. Then, as the application is executed, the container engine imports from the bulletin board data that is necessary for the processing performed by the application and satisfies conditions specified by characteristic information, which will be described later. The container engine then outputs the application execution results to the node 10.

掲示板41は、通信装置1の記憶部4に割り当てられた記憶領域で構成され、各ノード10から取得したデータを記憶する。具体的には、通信装置1は、各ノード10から取得したデータを、そのまま、あるいは取得元以外の各ノード10(当該データを必要とするノード10)によっても使用可能な形式に変換して、掲示板41に掲載(記憶)する。より具体的には、通信装置1は、ノード10から取得したデータを各ノード10が使用できるようにデータの規格を統一して、掲示板41に掲載(記憶)する。 The bulletin board 41 is composed of a storage area allocated to the storage unit 4 of the communication device 1, and stores data obtained from each node 10. Specifically, the communication device 1 converts the data acquired from each node 10 into a format that can be used as is or by each node 10 other than the acquisition source (node 10 that requires the data). Post (memorize) on the bulletin board 41. More specifically, the communication device 1 standardizes the data acquired from the nodes 10 so that each node 10 can use the data, and posts (stores) the data on the bulletin board 41.

掲示板41に記憶されるデータは、データの種類に対応したTOPIC毎に分類される。図1に示す例では、3つの位置情報(GPS)のデータは、位置情報用のTOPICに分類され、1つの心拍(HeartRate)のデータは、心拍用のTOPICに分類される。 The data stored in the bulletin board 41 is classified into TOPICs corresponding to the types of data. In the example shown in FIG. 1, three location information (GPS) data are classified into a TOPIC for location information, and one heartbeat (HeartRate) data is classified into a TOPIC for heartbeat.

掲示板41に記憶されたデータは、前述のようにノード10からアプリ実行要求があった場合に、コンテナエンジンによるアプリ実行に伴いコンテナエンジンに配信され(コンテナエンジンによりアクセスされ)、使用される。また、掲示板41に記憶されたデータは、ノード10が自身の持つアプリの実行に伴い、ノード10に配信され(ノード10によりアクセスされ)、使用される。 The data stored in the bulletin board 41 is distributed to the container engine (accessed by the container engine) and used as the container engine executes the application when there is an application execution request from the node 10 as described above. Furthermore, the data stored in the bulletin board 41 is distributed to (accessed by) the node 10 and used as the node 10 executes its own application.

情報付加機能(制御部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 node 10, the detection accuracy of the sensor, and the detection frequency of the sensor are added to data as characteristic information.

例えば、「[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 node 10. Note that the characteristic information added by the information addition function may be obtained from the node 10 that is the acquisition source, or may be obtained from an external server (having a database storing metadata of data corresponding to the node 10 types), etc. The communication device 1 may further estimate the information.

例えば、情報付加機能は、ノード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 node 10 in chronological order a predetermined number of times. Note that details of the method for estimating feature information will be described later.

そして、ノード10またはコンテナエンジンはアプリの実行に伴い、掲示板41のデータ(特徴情報付加済)の中から、特徴情報がアプリの要求する条件を満たすデータを取り込んで処理に使用する。 Then, as the application is executed, the node 10 or the container engine takes in data whose characteristic information satisfies the conditions required by the application from the data on the bulletin board 41 (to which characteristic information has been added) and uses it for processing.

例えば、GPSの位置データに関して、掲示板41に特徴[GPS_4_0.5]、特徴[GPS_5_0.8]、特徴[GPS_6_1.0]のデータが記憶されているとする。 For example, regarding GPS position data, assume that the bulletin board 41 stores data of a feature [GPS_4_0.5], a feature [GPS_5_0.8], and a feature [GPS_6_1.0].

この場合において、例えば、ノード10の実行するアプリが、GPSに関して、検知精度が下6桁以上で、かつ、検知頻度が1.0秒以内をデータの条件として要求している場合、「[GPS_6_1.0]」の特徴情報が付加されたデータがアプリの要求する条件を満たしているため、当該アプリは、かかるデータを処理に使用するデータとして選択して取得し、処理に用いる。 In this case, for example, if the application executed by the node 10 requests that the detection accuracy be at least the last six digits and the detection frequency be within 1.0 seconds regarding GPS, the data condition is "[GPS_6_1 .0]'' satisfies the conditions required by the application, the application selects and acquires such data as data to be used for processing, and uses it for processing.

また、この場合において、例えば、コンテナエンジンの実行するアプリが、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 communication section 2, a control section 3, and a storage section 4. The control unit 3 includes an acquisition unit 31 , a conversion unit 32 , an addition unit 33 , a container engine 34 , a communication adjustment unit 35 , and an authentication unit 36 . The storage unit 4 includes a bulletin board 41, a container unit 42, and a designated information storage unit 43.

通信部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 communication unit 2 has the communication function described above and is communicably connected to each node 10. The communication unit 2 uses, for example, wired systems such as CAN, Ethernet (registered trademark), LIN (Local Interconnect Network), USB (Universal Serial Bus), etc., and wireless systems such as Wi-Fi, LTE (Long Term Evolution), etc. It is realized by BLE (Bluetooth (registered trademark) Low Energy), Zigbee (registered trademark), UWB (Ultra-Wide Band), etc., and communicates with each node 10 by wire or wirelessly.

制御部3は、所謂コントローラで、たとえば、CPU(Central Processing Unit)、ROM(Read Only Memory)、RAM(Random Access Memory)、フラッシュメモリ、入出力ポートなどを有するコンピュータや各種の回路等により構成される。 The control unit 3 is a so-called controller, and includes, for example, a computer having a CPU (Central Processing Unit), a ROM (Read Only Memory), a RAM (Random Access Memory), a flash memory, an input/output port, etc., and various circuits. Ru.

コンピュータのCPUは、ROMに記憶されたプログラムを読み出して実行することによって、制御部3の取得部31、変換部32、付加部33、コンテナエンジン34、通信調整部35および認証部36として機能する。 The CPU of the computer functions as the acquisition unit 31, conversion unit 32, addition unit 33, container engine 34, communication adjustment unit 35, and authentication unit 36 of the control unit 3 by reading and executing programs stored in the ROM. .

また、制御部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, conversion unit 32, addition unit 33, container engine 34, communication adjustment unit 35, and authentication unit 36 of the control unit 3 may be implemented using an ASIC (Application Specific Integrated Circuit) or FPGA. (Field Programmable Gate Array) or the like, or by having multiple CPUs, ASICs, etc. share functions (for example, by configuring the container engine 34 with a separate CPU).

また、記憶部4は、RAMやフラッシュメモリで構成される。記憶部4は、適当な記憶領域設定等により、掲示板41や、コンテナ部42、指定情報記憶部43、各種プログラムの記憶部が形成され、各ノード10の各種センサによる測定データ、アプリ等の各種プログラム、等の各種情報等を記憶することができる。なお、通信装置1は、有線や無線のネットワークで接続された他のコンピュータ、サーバや可搬型記録媒体を介して上記したプログラムや各種情報を取得することとしてもよい。 Furthermore, the storage unit 4 is composed of a RAM or a flash memory. The storage unit 4 is configured with a bulletin board 41, a container unit 42, a designated information storage unit 43, and a storage unit for various programs by setting an appropriate storage area, etc., and stores measurement data from various sensors of each node 10, various applications, etc. Various information such as programs can be stored. Note that the communication device 1 may acquire the above-mentioned programs and various information via another computer, server, or portable recording medium connected via a wired or wireless network.

掲示板41は、ノード10から取得したデータを、取得元のノード10の特徴情報を付加して、掲載(記憶)する。また、掲示板41は、各ノード10、コンテナエンジン34が、データの登録、更新、読み取りができるように、適宜アクセス制御が行われる。 The bulletin board 41 posts (stores) data acquired from the node 10 with characteristic information of the node 10 from which the data was acquired. Furthermore, access to the bulletin board 41 is appropriately controlled so that each node 10 and container engine 34 can register, update, and read data.

コンテナ部42は、記憶部4に割り当てられた記憶領域で構成され、アプリをインストール(記憶)可能な複数のコンテナ421を含んで構成されている。各コンテナ421には、それぞれ1つのアプリが記憶される形式になっている。つまり、構成されたコンテナ421の数だけ、アプリをインストール可能である。アプリは、不図示の外部装置(アプリ提供用の外部サーバ等(図1図示のサーバ装置50))から取得され、空のコンテナ421(空コンテナ)に設定(記憶)される。また、不要となったアプリはコンテナ421から消去され、当該コンテナ421は空コンテナとなる。なお、アプリは、不要となった都度コンテナ421から消去してもよく、コンテナ421に余裕がある場合(空コンテナが別に存在する場合)には、新たなアプリのインストールに空コンテナが必要となった際に不要となったアプリを消去することとしてもよい。 The container unit 42 is configured with a storage area allocated to the storage unit 4, and includes a plurality of containers 421 in which applications can be installed (stored). Each container 421 stores one application. In other words, it is possible to install as many applications as there are configured containers 421. The application is acquired from an external device (not shown) (such as an external server for providing applications (server device 50 shown in FIG. 1)) and set (stored) in the empty container 421 (empty container). Additionally, applications that are no longer needed are deleted from the container 421, and the container 421 becomes an empty container. Note that an application may be deleted from the container 421 each time it is no longer needed, and if there is space in the container 421 (if there is another empty container), an empty container is required to install a new application. You may also delete apps that are no longer needed.

指定情報記憶部43は、コンテナ421にインストールされたアプリが要求するデータに関する特徴情報の指定条件を記憶する。指定情報は、コンテナ421にアプリをインストールした際に、インストール元である外部装置から取得され指定情報記憶部43に記憶される。つまり、指定情報はインストール元である外部装置からアプリのプログラムと共に提供され、アプリ(のプログラム)はコンテナ421に記憶され、指定情報は指定情報記憶部43に記憶される。なお、指定情報記憶部43をコンテナ421内に備える構成、つまりコンテナ421内にアプリのプログラムと当該アプリの指定情報を分離可能に記憶する構成を適用することも可能である。また、指定情報の詳細については、図3~図5で詳細に後述する。 The specification information storage unit 43 stores specification conditions for characteristic information regarding data requested by an application installed in the container 421. When the application is installed in the container 421, the specification information is acquired from the external device that is the installation source and is stored in the specification information storage section 43. That is, the specification information is provided together with the application program from the external device that is the installation source, the application (the program) is stored in the container 421, and the specification information is stored in the specification information storage section 43. Note that it is also possible to apply a configuration in which the specified information storage section 43 is provided in the container 421, that is, a configuration in which an application program and the specified information of the application are stored in a separable manner in the container 421. Further, details of the designation information will be described in detail later with reference to FIGS. 3 to 5.

次に、制御部3(取得部31、変換部32、付加部33、コンテナエンジン34、通信調整部35および認証部36)について詳細に説明する。 Next, the control section 3 (the acquisition section 31, the conversion section 32, the addition section 33, the container engine 34, the communication adjustment section 35, and the authentication section 36) will be explained in detail.

取得部31は、通信部2を介して、各種外部機器から各種情報を取得する。具体的には、取得部31は、各種ネットワークにより通信装置1に接続されたノード10からデータを、通信部2を介して取得する。具体的には、取得部31は、ノード10が有するセンサで検知されたセンサデータを取得する。 The acquisition unit 31 acquires various information from various external devices via the communication unit 2. Specifically, the acquisition unit 31 acquires data via the communication unit 2 from the node 10 connected to the communication device 1 through various networks. Specifically, the acquisition unit 31 acquires sensor data detected by a sensor included in the node 10.

また、取得部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 node 10 having an operation input function to the communication device 1 (for example, a terminal device of a user connected to the communication device 1). Based on an application installation operation input to a mobile terminal (smartphone, etc.)), an installation instruction to install the application into the container 421 is obtained from the terminal device. The acquisition unit 31 also acquires an update instruction for updating the application stored in the container 421 from the user's terminal device. Further, when a new node 10 is connected to the communication device 1, the acquisition unit 31 acquires information from the node 10 regarding the node 10, such as type information of the node 10, communication for communication connection with the node 10, etc. Connection information, sensor information regarding the sensor included in the node 10, etc. are acquired.

取得部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 container 421. Specifically, when acquiring an installation instruction or when a new node 10 is connected, the acquisition unit 31 transmits information about the connected node 10 to an external device that provides the application. The acquisition unit 31 then acquires an application provided from an external device according to the connected node 10 and stores it in the container 421. Note that the acquisition unit 31 may select an application to be installed (stored in the container 421) from among the applications acquired by the acquisition unit 31 by a user's selection operation. Alternatively, the acquisition unit 31 selects an app to be installed based on a user's selection operation from an appropriate app list sent from an external device before providing the app, sends information on the selected app to the external device, and sends information about the selected app to the external device. A method of having the user provide an application to be installed is also applicable.

また、取得部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 storage unit 4 as specification information. Further, when updating the application, the acquisition unit 31 acquires update information of the specified information from an external device and updates the specified information stored in the storage unit 4. Note that the acquisition unit 31 may directly acquire the designation information from the node 10.

また、取得部31は、通信接続された(通信可能な)ノード10からノード10を認証するための認証情報、例えば、ノード10の機器種別の情報、識別番号、通信方式、通信に必要なコード等の情報を取得する。なお、取得部31は、認証が必要な際に、例えば、通信装置1の電源がオンされた場合や、通信装置1に新たなノード10が接続された場合に、通信装置1に接続された各ノード10から認証情報を取得する。 The acquisition unit 31 also acquires authentication information for authenticating the node 10 from the nodes 10 that are communicatively connected (communicable), such as information on the device type of the node 10, an identification number, a communication method, and a code necessary for communication. and other information. It should be noted that the acquisition unit 31 is configured to detect a node connected to the communication device 1 when authentication is required, for example, when the power of the communication device 1 is turned on or when a new node 10 is connected to the communication device 1. Authentication information is acquired from each node 10.

変換部32は、取得部31がノード10から取得したデータを、取得元であるノード10以外の各ノード10が使用可能な形式に変換する。具体的には、変換部32は、取得したデータの規格(データ識別名、フォーマット等)を統一するよう変換する。 The conversion unit 32 converts the data acquired from the node 10 by the acquisition unit 31 into a format that can be used by each node 10 other than the node 10 that is the acquisition source. Specifically, the conversion unit 32 converts the acquired data so that the standards (data identification name, format, etc.) are unified.

付加部33は、変換部32による変換後のデータに対して、データの取得元であるノード10の特徴情報を付加する。特徴情報は、例えば、ノード10の名称や、ノード10が有するセンサの名称、センサの検知精度、センサの検知頻度、ノード10の装置種別、ノード10の設置方法等であり、基本的には取得部31がノード10から取得したノード10に関する識別情報や認証情報等に含まれる情報から推定した(識別情報や認証情報等に特徴情報自体が含まれ、当該情報を抽出する場合も含む)情報である。つまり、通信装置1の電源オン時、あるいは通信装置1に新たなノード10が接続された際等に、ノード10からノード10の特徴情報(あるいは特徴情報に関連する関連情報)を取得して、付加部33がこの取得した特徴情報(あるいは関連情報に基づく推定処理により得られた特徴情報)を使用する。なお、ノード10の種類(識別情報)に基づき、サーバ装置50(ノード種別と関連付いた特徴情報のデータベースを所有)から当該ノード10の特徴情報取得するようにしても良い。 The adding unit 33 adds characteristic information of the node 10 from which the data is obtained to the data converted by the converting unit 32. The characteristic information is, for example, the name of the node 10, the name of the sensor included in the node 10, the detection accuracy of the sensor, the detection frequency of the sensor, the device type of the node 10, the installation method of the node 10, etc., and is basically acquired. Information estimated from information included in identification information, authentication information, etc. regarding the node 10 acquired by the unit 31 from the node 10 (including cases where the identification information, authentication information, etc. include characteristic information itself and extract the information) be. That is, when the power of the communication device 1 is turned on, or when a new node 10 is connected to the communication device 1, characteristic information of the node 10 (or related information related to the characteristic information) is acquired from the node 10, The adding unit 33 uses this acquired feature information (or feature information obtained by estimation processing based on related information). Note that, based on the type (identification information) of the node 10, the characteristic information of the node 10 may be acquired from the server device 50 (which owns a database of characteristic information associated with the node type).

ノード10の特徴情報が得られない場合、付加部33が特徴情報をノード10から取得したデータを用いて推定する方法も可能である。例えば、付加部33は、ノード10からデータを時系列で連続して所定回数取得した結果に基づいて、ノード10におけるセンサの検知精度や検知頻度等の特徴情報を推定する。これにより、ノード10側で特徴情報を生成して送信するといった機能を新たに設計するといった変更を加える必要がないため、ノード10の製造メーカ側の負荷を軽減できる。なお、付加部33が付加する特徴情報の詳細や推定方法については図3~図5で後述する。 If the characteristic information of the node 10 cannot be obtained, a method in which the adding unit 33 estimates the characteristic information using data acquired from the node 10 is also possible. For example, the addition unit 33 estimates characteristic information such as the detection accuracy and detection frequency of the sensor in the node 10 based on the result of continuously acquiring data from the node 10 in chronological order a predetermined number of times. This eliminates the need to make changes such as designing a new function for generating and transmitting feature information on the node 10 side, and the load on the node 10 manufacturer side can be reduced. Note that the details of the feature information added by the adding unit 33 and the estimation method will be described later with reference to FIGS. 3 to 5.

コンテナエンジン34は、コンテナ421に記憶されたアプリを、掲示板41に記憶された各種データ等を必要に応じて取得して、実行することで各種機能実現のための処理を行う。具体的には、まず、コンテナエンジン34は、実行するアプリに対応する指定情報を指定情報記憶部43から読み込む。そして、コンテナエンジン34は、掲示板41に掲載されたデータの中から、読み込んだ指定情報の指定条件を満たす特徴情報のデータを選択して取り込む。そして、コンテナエンジン34は、取り込んだデータを使用してアプリの各種処理を行い、処理結果に基づく指示コマンドや制御データ等をノード10に送信する等して、ノード10を制御する。 The container engine 34 performs processing for realizing various functions by executing the application stored in the container 421 and acquiring various data stored in the bulletin board 41 as necessary. Specifically, first, the container engine 34 reads specification information corresponding to the application to be executed from the specification information storage section 43. Then, the container engine 34 selects and imports data of characteristic information that satisfies the specification conditions of the read specification information from among the data posted on the bulletin board 41. Then, the container engine 34 performs various processes of the application using the imported data, and controls the node 10 by transmitting instruction commands, control data, etc. to the node 10 based on the processing results.

具体例として、車両に搭載されたエアコンを制御するエアコンアプリを例に挙げて説明する。かかるアプリは、室温、心拍数および脈拍数のデータを使用して最適設定温度を生成し、当該最適設定温度をノード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 node 10, using the optimal temperature setting. Note that an in-vehicle air conditioner, a driver physical condition monitoring device, and a drowsy driving prevention device are connected to the communication device 1 as nodes 10, and along with the connection of these nodes 10, an air conditioner application is stored in the container 421. shall be. In addition, the in-vehicle air conditioner has a built-in room temperature sensor A that measures the temperature inside the vehicle, and the driver physical condition monitoring device has a built-in heartbeat sensor B and body temperature sensor C that measure the driver's heartbeat and body temperature. It is assumed that the driving prevention device has a built-in heartbeat sensor D that measures the heartbeat of the driver. Further, the specified information regarding the air conditioner application stored in the specified information storage unit 43 indicates that the measurement data of room temperature sensor A, body temperature sensor C, and heart rate sensor D satisfy the conditions, but that the heart rate sensor B does not satisfy the conditions. Assume that the condition is an air conditioner application condition.

かかる場合、通信装置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 conversion unit 32 converts the measurement data of each sensor acquired by the acquisition unit 31 into a format to be posted on the bulletin board 41. Further, the adding unit 33 adds characteristic information (measurement data of each sensor) corresponding to the measurement data converted by the conversion unit 32 based on the characteristic information of each node 10 acquired by the authentication unit 36 when each node 10 is connected. accuracy, frequency, etc.) and post it on the bulletin board 41. Note that the data posted on the bulletin board 41 is updated at any time according to the measurement operation of each sensor and the data acquisition operation of the acquisition unit 31 at the data measurement (update) frequency indicated by the characteristic information.

コンテナエンジン34は、エアコンアプリの実行により、エアコンアプリが処理で用いるデータを掲示板41から取り込む。この際、コンテナエンジン34は、指定情報記憶部43からエアコンアプリに関する指定情報を読み込み、指定情報の条件を満たす特徴情報を持つデータを取り込む。つまり、本例の場合、エアコンアプリに関する指定情報の条件を満たす室温センサA、体温センサCおよび心拍センサDのデータであるため、コンテナエンジン34はこれらセンサのデータを掲示板41から取り込む。 By executing the air conditioner application, the container engine 34 fetches data used in processing by the air conditioner application from the bulletin board 41. At this time, the container engine 34 reads the specified information regarding the air conditioner application from the specified information storage section 43, and takes in data having characteristic information that satisfies the conditions of the specified information. That is, in the case of this example, the container engine 34 imports the data of these sensors from the bulletin board 41 because the data is the room temperature sensor A, the body temperature sensor C, and the heart rate sensor D that satisfy the specified information conditions regarding the air conditioner application.

そして、コンテナエンジン34は、取り込んだ室温センサA、体温センサCおよび心拍センサDの、室温データ、体温データ、心拍データに基づいて最適温度を算出する。そして、コンテナエンジン34は、ノード10であるエアコンに算出した最適温度データを設定温度(制御目標温度)として出力する。これにより、エアコンの制御部であるエアコンECUは設定温度をエアコンアプリが算出した最適温度として、エアコンを制御する。 Then, the container engine 34 calculates the optimum temperature based on the room temperature data, body temperature data, and heartbeat data of the room temperature sensor A, body temperature sensor C, and heartbeat sensor D that have been taken in. Then, the container engine 34 outputs the calculated optimal temperature data to the air conditioner, which is the node 10, as a set temperature (control target temperature). As a result, the air conditioner ECU, which is the control unit of the air conditioner, controls the air conditioner by setting the set temperature as the optimum temperature calculated by the air conditioner application.

また、この最適温度データを掲示板41に掲載する設定がなされていた場合、取得部31はこの最適温度データを取得する。また、変換部32が掲示板41に掲載する様式に当該最適温度データを変換する。そして、付加部33が特徴情報(使用したセンサのデータの特徴情報に基づき生成)を付加して掲示板41に掲載し、各ノード10および各アプリが使用できるようにする。 Furthermore, if settings have been made to post this optimal temperature data on the bulletin board 41, the acquisition unit 31 acquires this optimal temperature data. Further, the conversion unit 32 converts the optimum temperature data into a format to be posted on the bulletin board 41. Then, the adding unit 33 adds characteristic information (generated based on the characteristic information of the data of the used sensor) and posts it on the bulletin board 41 so that each node 10 and each application can use it.

これにより、ノード10であるエアコンは、例えばドライバが設定した設定温度に室温が近づくようにする通常の温度制御よりも高度な、車室温やドライバの体調(体温データ、心拍データ)を考慮した車室温制御を行うことが可能となる。 As a result, the air conditioner, which is node 10, takes into account the car's room temperature and the driver's physical condition (body temperature data, heart rate data), which is more advanced than normal temperature control that keeps the room temperature close to the set temperature set by the driver. It becomes possible to control the room temperature.

なお、ノード10であるエアコンが(車室内)温度センサを持たない場合や、温度センサの精度が低い場合等においては、エアコンアプリとしては、単に他ノード10の温度センサの計測データをエアコンに出力するものであっても良い。つまり、コンテナエンジン34(アプリによる動作)は、掲示板41に掲載されたデータの中から、指定情報記憶部43に記憶されたアプリ(例えば、エアコンアプリ)に対応する指定情報の条件(例えば、温度誤差0.5度)を満たすデータ(例えば、室温データ)を選択して、制御対象のノード10に当該データをそのまま提供しても良い。 In addition, in cases where the air conditioner that is the node 10 does not have a temperature sensor (inside the vehicle) or when the accuracy of the temperature sensor is low, the air conditioner application simply outputs the measurement data of the temperature sensor of the other node 10 to the air conditioner. It may be something that you do. In other words, the container engine 34 (operated by an application) selects a specified information condition (for example, temperature It is also possible to select data (for example, room temperature data) that satisfies the error (error of 0.5 degrees) and provide the data as is to the node 10 to be controlled.

なお、コンテナエンジン34(アプリの内容)は、指定情報記憶部43に記憶された指定情報の条件を満たす特徴情報を持つデータが掲示板41に存在しない場合に、当該条件を満たす割合の最も高い特徴情報を持つデータ(条件に最も近い特徴情報を持つデータ)を選択してもよい。 Note that, when there is no data on the bulletin board 41 that has feature information that satisfies the conditions of the specified information stored in the specified information storage unit 43, the container engine 34 (the content of the application) selects the feature that satisfies the condition with the highest rate. Data with information (data with feature information closest to the condition) may be selected.

また、コンテナエンジン34(アプリの内容)は、指定情報記憶部43に記憶された指定情報の条件を満たす特徴情報を持つデータが掲示板41に存在しない場合、もしくは、当該条件に最も近い特徴情報を持つデータが掲示板41に存在しない場合に、当該条件を満たすデータを出力可能なノード10(センサ)の追加接続要求をユーザに端末装置等を用いて通知してもよい。 In addition, if there is no data on the bulletin board 41 that has characteristic information that satisfies the conditions of the specified information stored in the specified information storage unit 43, the container engine 34 (the content of the application) stores the characteristic information that is closest to the conditions. If the data does not exist on the bulletin board 41, a request for additional connection of a node 10 (sensor) capable of outputting data satisfying the condition may be notified to the user using a terminal device or the like.

また、コンテナエンジン34は、不要となったアプリをコンテナ421から消去する処理を行う。なお、不要となったアプリとは、例えば、処理結果を出力するノード10が存在しなくなった(通信装置1と非接続状態となった)アプリ、処理に必要なデータの提供元となるノード10が存在しなくなった(通信装置1と非接続状態となった)アプリ、等である。 The container engine 34 also performs processing to delete applications that are no longer needed from the container 421. Note that applications that are no longer needed include, for example, applications in which the node 10 that outputs processing results no longer exists (has become disconnected from the communication device 1), and nodes 10 that provide data necessary for processing. An application that no longer exists (has become disconnected from the communication device 1), etc.

通信調整部35は、ネットワークに接続された各ノード10との通信調整を行う。具体的には、通信調整部35は、通信装置1における通信負荷に基づいて、各ノード10との通信タイミング等を調整する。例えば、通信調整部35は、通信装置1の通信負荷が高い場合(通信中のノード10の数が予め定めた所定数以上である場合や、通信中のデータ量が予め定めた所定量以上である場合や、通信中のデータ量が予め定めた所定量以上である場合)に、優先度が低いデータの通信を待機する。優先度が低いデータは、例えば、アプリ側が要求していないデータや、センサの検知精度が低いデータ、センサの検知頻度が低いデータ、重要性・緊急性等が低い機能に関するデータ、等である。 The communication adjustment unit 35 performs communication adjustment with each node 10 connected to the network. Specifically, the communication adjustment unit 35 adjusts the timing of communication with each node 10, etc. based on the communication load on the communication device 1. For example, when the communication load of the communication device 1 is high (the number of communicating nodes 10 is more than a predetermined number, or the amount of data being communicated is more than a predetermined amount) (or when the amount of data being communicated is greater than or equal to a predetermined amount), the communication of low-priority data is waited for. Examples of low-priority data include data that is not requested by the application, data with low sensor detection accuracy, data with low sensor detection frequency, and data related to functions with low importance/urgency.

認証部36は、通信装置1に接続されたノード10を認証する。具体的には、認証部36は、取得部31が取得した認証情報に基づいて各ノード10を認証し、当該ノードに関する各種データの記憶、通信設定、通信接続設定、等を行う。 The authentication unit 36 authenticates the node 10 connected to the communication device 1. Specifically, the authentication unit 36 authenticates each node 10 based on the authentication information acquired by the acquisition unit 31, and performs storage of various data regarding the node, communication settings, communication connection settings, etc.

次に、図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 node 10, and the name of the sensor (sensor name) is added as a condition in the specified information regarding the application to be executed. , an example in which detection accuracy and detection frequency are specified.

図3に示すように、制御部3は、指定情報記憶部43に記憶された実行対象アプリに関する指定情報で条件指定されたセンサの名称、検知精度および検知頻度を満たす特徴情報を持つデータを、掲示板41の中から選択する。 As shown in FIG. 3, the control unit 3 stores data having characteristic information that satisfies the sensor name, detection accuracy, and detection frequency specified by the specification information regarding the execution target application stored in the specification information storage unit 43. Select from the bulletin board 41.

図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 information storage unit 43. , when there is no data on the bulletin board 41 that has feature information that satisfies the detection accuracy and detection frequency, the control unit 3 selects data with feature information that is close to the conditions specified by the specification information, such as "[GPS_6_1.0]34.123450". , 135.123450" (the detection frequency (interval) is 1.0 seconds, and the condition of 0.5 seconds or less is slightly not met, but the other conditions are met), or "[GPS_4_0.5] 34.1234, 135.1234 ” (detection accuracy is 4 digits after the decimal point, slightly less than the condition 6 digits after the decimal point, but other conditions are met).

かかる場合、指定情報における各条件項目(検知精度および検知頻度)に優先度を付けておき、かかる優先度が高い項目の条件が最も近い特徴情報のデータを選択する。例えば、検知精度の優先度を検知頻度よりも高く設定した場合、制御部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 control unit 3 selects the detection accuracy that is closest to the specified information condition (in this example, there are two pieces of data, so the closest one is). [GPS_6_1.0] 34.123450, 135.123450" data.

これにより、コンテナエンジン34は、アプリの実行に際して、アプリの要求する条件を満たすデータが掲示板41に存在しない場合であっても、当該条件を満たす割合の高い、好条件のデータを取り込んで、アプリを実行することができるため、比較的、好適な制御を行うことができる。 As a result, when executing the application, even if there is no data on the bulletin board 41 that satisfies the conditions requested by the application, the container engine 34 imports data with favorable conditions that have a high rate of satisfying the conditions, and the application Therefore, relatively suitable control can be performed.

次に、図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 control unit 3 sends data on the bulletin board 41 that has characteristic information that satisfies the sensor name and device name specified by the specified information regarding the execution target application stored in the specified information storage unit 43. Choose from among them.

図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 container engine 34 to capture and process sensor data of a specific device that meets the specified information conditions according to the application when executing the application, so that suitable control by the application can be performed. can. Additionally, if a specific device that meets the conditions of the specified information is not connected as a node 10, it is also useful to notify the user of this fact (for example, that advanced functionality can be achieved by connecting the specific device). In that case, the effect of promoting sales of the specific device can be expected.

次に、図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 node 10 may be obtained from the node 10, but in the case of a G sensor (acceleration sensor), the control unit 3 estimates it by the following method. It is also possible to do so.

制御部3は、Gセンサの検出値に基づいてセンサの設置方法を推定する。具体的には、制御部3は、Gセンサの検出値が高い周波数で小振幅の振動成分が多い場合に、Gセンサは車両に固定されている(「固定」)と推定し、低い周波数で大振幅の振動成分が多い場合に、Gセンサは車両に固定されていない(「自由」)、例えばユーザに装着されていると推定する。これは、Gセンサが車内に固定された場合、高い周波数で小振幅の振動成分が多い走行振動の影響を受けやすく、他方、乗員の腕等に装着されて自由に移動する場合、走行振動は人の人体で吸収され、それに代えて低い周波数で大振幅の振動成分が多い人の動きの影響を受けやすいためである。 The control unit 3 estimates the sensor installation method based on the detected value of the G sensor. Specifically, when the detected value of the G sensor has many small amplitude vibration components at a high frequency, the control unit 3 estimates that the G sensor is fixed to the vehicle ("fixed"), and detects the detected value at a low frequency. If there are many large-amplitude vibration components, it is estimated that the G sensor is not fixed to the vehicle ("free"), for example, that it is attached to the user. This is because when the G sensor is fixed inside the vehicle, it is easily affected by driving vibrations, which have many vibration components with high frequencies and small amplitudes.On the other hand, when it is attached to the passenger's arm and moves freely, driving vibrations are This is because it is absorbed by the human body, and instead is susceptible to the effects of human movement, which has many low-frequency, large-amplitude vibration components.

制御部3は、指定情報記憶部43に記憶された実行対象アプリに関する指定情報で条件指定されたセンサの名称および設置方法を満たす特徴情報を持つデータを、掲示板41の中から選択する。 The control unit 3 selects data from the bulletin board 41 that has characteristic information that satisfies the sensor name and installation method specified by the specified information regarding the execution target application stored in the specified information storage unit 43.

なお、図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 container engine 34 selects and acquires this data from the bulletin board 41.

また、「[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 container engine 34 also selects and acquires this data from the bulletin board 41.

そして、コンテナエンジン34は、これら選択取得した2種のセンサのデータを用いて、対象のアプリを実行い、該当のノード10にアプリの実行結果に基づく出力を行う。 Then, the container engine 34 executes the target application using the selected and acquired data of the two types of sensors, and outputs to the corresponding node 10 based on the execution result of the application.

なお、このようなデータを使用するアプリとしては、例えば、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 container engine 34 needs to process data on vehicle movement and human movement separately. Therefore, as described above, the control unit 3 controls the container so that it can distinguish between data from a G sensor fixed to the vehicle and data from a G sensor not fixed to the vehicle (fixed to a person). It operates to provide data to the engine 34 (app).

次に、図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 node 10 to posting it on the bulletin board 41, and FIG. 7 shows the process related to the application that takes in and processes the data posted on the bulletin board 41. There is.

図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 control unit 3 determines whether or not there has been a change in the connected node 10. If there is a change (Yes), the process moves to step S102, and if there is no change (No), the process moves to step S103. Note that when the power is turned on, it is determined that all connected nodes 10 have changed connections (new connections). In step S102, the control unit 3 performs device authentication of the node 10 where the connection has changed, and moves to step S103.

ステップS103において、制御部3は、認証した各ノード10からデータを取得して、ステップS104に移る。ステップS104において、制御部3は、各ノード10から取得したデータを各アプリやノード10で使用できる形式に変換して、例えば規格化した形式に変換して、ステップS105に移る。ステップS105において、制御部3は、ステップS102における認証処理の際に得た各ノード10(のセンサ)情報に基づき各ノード10(のセンサ)の特徴情報を推定し、あるいは過去の各ノード10(のセンサ)から取得したセンサ計測データに基づき各ノード10(のセンサ)特徴情報を推定し、ステップS106に移る。 In step S103, the control unit 3 acquires data from each authenticated node 10, and moves to step S104. In step S104, the control unit 3 converts the data acquired from each node 10 into a format that can be used by each application and node 10, for example, into a standardized format, and moves to step S105. In step S105, the control unit 3 estimates the characteristic information of each node 10 (sensor) based on the (sensor) information of each node 10 obtained during the authentication process in step S102, or estimates the characteristic information of each node 10 (sensor) in the past, or The characteristic information of each node 10 (sensor) is estimated based on the sensor measurement data acquired from the sensor (sensor), and the process moves to step S106.

つづいて、ステップS106において、制御部3は、ステップS105で推定した特徴情報をステップS104で変換したデータに付加し、ステップS107に移る。そして、ステップS107において、制御部3は、特徴情報を付加したデータを掲示板41に掲載し、処理を終了する。 Subsequently, in step S106, the control unit 3 adds the feature information estimated in step S105 to the data converted in step S104, and moves to step S107. Then, in step S107, the control unit 3 posts the data to which the feature information has been added on the bulletin board 41, and ends the process.

次に、アプリに関する処理について、図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 control unit 3 determines whether a new application is being installed (as described above, there has been a change in the connection state of the node 10, and the communication device 1 It is determined whether the application to be installed has been determined (automatically determined based on various conditions or determined based on the operation of the node 10 user), and if the application to be installed has been determined (Yes), step S202 If it is not in the determined state (No), the process moves to step S204. In step S202, the control unit 3 acquires the application determined to be installed from the server device 50, stores (installs) it in the container 421, and moves to step S203. In step S203, the control unit 3 acquires the specification information of the application stored in the container 421 from the server device 50, stores it in the specification information storage unit 43, and moves to step S204.

つづいて、ステップS204において、制御部3は、実行要求状態(ユーザのアプリ実行要求操作、各ノード10のアプリ実行要求等に基づく)にあるコンテナ421にインストールされたアプリを実行し、ステップS205に移る。ステップS205において、制御部3は、実行するアプリが使用するデータであって、当該アプリに対応する指定情報の示す条件を満たす特徴情報を持つデータが、掲示板41にあるか否かを判定し、条件を満たす特徴情報のデータがある場合(Yes)は当該データをアプリが使用するデータとして決定し、ステップS206に移り、無い場合(No)はステップS208に移る。 Subsequently, in step S204, the control unit 3 executes the application installed in the container 421 in the execution request state (based on the user's application execution request operation, the application execution request of each node 10, etc.), and proceeds to step S205. Move. In step S205, the control unit 3 determines whether or not there is data on the bulletin board 41 that is data used by the application to be executed and has characteristic information that satisfies the conditions indicated by the specified information corresponding to the application, If there is data with characteristic information that satisfies the condition (Yes), the data is determined as data to be used by the application, and the process moves to step S206; if there is no data (No), the process moves to step S208.

ステップS208において、制御部3は、実行するアプリに対応する指定情報の示す条件を満たす割合が予め定めた所定割合より高い特徴情報のデータが掲示板41にあるか否かを判定し、あれば(Yes)当該データをアプリが使用するデータとして決定し、ステップS206に移り、無ければ(No)ステップS209に移る。 In step S208, the control unit 3 determines whether or not there is data on the bulletin board 41 for characteristic information in which the ratio of satisfying the conditions indicated by the specified information corresponding to the application to be executed is higher than a predetermined ratio, and if there is ( (Yes) The data is determined as data to be used by the application, and the process moves to step S206. If there is no data (No), the process moves to step S209.

そして、ステップS206において、制御部3は、使用するデータとして決定したデータを掲示板41から取り込み、ステップS207に移る。ステップS207において、制御部3は、取り込んだデータを使用してアプリの処理を実行し、処理結果を対応するノード10へ出力する等して処理を終了する。 Then, in step S206, the control unit 3 imports the data determined as the data to be used from the bulletin board 41, and moves to step S207. In step S207, the control unit 3 executes the processing of the application using the captured data, outputs the processing result to the corresponding node 10, etc., and ends the processing.

また、ステップS209において、制御部3は、指定情報の示す条件を満たすデータを出力できるセンサを持つノード10の追加接続依頼をユーザに通知し(表示等)、処理を終了する。なお、ステップS209については、条件を満たすデータが無いこと(条件を満たすデータを提供できるノードが接続されていないこと)をユーザへ通知し、アプリの実行を停止するようにしてもよい。 Further, in step S209, the control unit 3 notifies the user of a request for additional connection of the node 10 having a sensor capable of outputting data that satisfies the conditions indicated by the specified information (display, etc.), and ends the process. Note that in step S209, the user may be notified that there is no data that satisfies the condition (no node that can provide data that satisfies the condition is connected), and the execution of the application may be stopped.

上述してきたように、実施形態に係る通信装置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 nodes 10 can be connected, and includes a controller (control unit 3). The controller captures data from the connected node 10, stores the captured data in a bulletin board 41 that is a storage unit 4 that can be used by multiple applications, estimates feature information indicating the characteristics of the data, and applies the data to the data. The data stored in association with each other and used in the processing of the application is selected from the data stored in the bulletin board 41 when the application is executed, based on the correspondence between the specification information and characteristic information specified as conditions for the data used by the application. select.

これにより、各アプリケーション実行時に、当該アプリケーションのデータ要求内容とデータの取得元であるノード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 node 10 that is the data acquisition source, and select the data to be used when executing the application. Be able to make appropriate decisions.

さらなる効果や変形例は、当業者によって容易に導き出すことができる。このため、本発明のより広範な態様は、以上のように表しかつ記述した特定の詳細および代表的な実施形態に限定されるものではない。したがって、添付の特許請求の範囲およびその均等物によって定義される総括的な発明の概念の精神または範囲から逸脱することなく、様々な変更が可能である。 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 Communication device 2 Communication unit 3 Control unit 4 Storage unit 10 Node 31 Acquisition unit 32 Conversion unit 33 Addition unit 34 Container engine 35 Communication adjustment unit 36 Authentication unit 41 Bulletin board 42 Container unit 43 Specification information storage unit 421 Container S Communication system

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.
JP2022080503A 2022-05-16 2022-05-16 Communication device, communication system, and data storage method Pending JP2023169051A (en)

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)

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