JP2024005055A - Communication device and communication system - Google Patents

Communication device and communication system Download PDF

Info

Publication number
JP2024005055A
JP2024005055A JP2022105045A JP2022105045A JP2024005055A JP 2024005055 A JP2024005055 A JP 2024005055A JP 2022105045 A JP2022105045 A JP 2022105045A JP 2022105045 A JP2022105045 A JP 2022105045A JP 2024005055 A JP2024005055 A JP 2024005055A
Authority
JP
Japan
Prior art keywords
vehicle
control data
communication device
node
data
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
JP2022105045A
Other languages
Japanese (ja)
Inventor
友理 坂口
Yuri Sakaguchi
誠 奥原
Makoto Okuhara
ともえ 大築
Tomoe Otsuki
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 JP2022105045A priority Critical patent/JP2024005055A/en
Publication of JP2024005055A publication Critical patent/JP2024005055A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a communication device and a communication system capable of properly controlling an on-vehicle apparatus.
SOLUTION: A communication device in an embodiment is a communication device connectable to multiple nodes and includes a controller. The controller controls an on-vehicle apparatus mounted on a vehicle by transmitting, to the on-vehicle apparatus, control data for the on-vehicle apparatus generated based on data acquired from a connected node. The controller determines whether to control the on-vehicle apparatus with the control data based on vehicle information showing a vehicle state.
SELECTED DRAWING: Figure 1A
COPYRIGHT: (C)2024,JPO&INPIT

Description

本発明は、通信装置および通信システムに関する。 The present invention relates to a communication device and a communication system.

従来、車両ネットワークを介して車種やメーカ、製造年度に依存しない方法で車両データにアクセス可能とする方法が知られている(例えば、特許文献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 (see, for example, Patent Document 1). Further, in this type of technology, there is a technique of generating control data for an on-vehicle device using stored vehicle data and transmitting the control data to the on-vehicle device to control the on-vehicle device.

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

しかしながら、従来の技術では、車両の走行状態等によっては、制御データに基づく車載器の制御が適切ではない状況が起こりうる。 However, with the conventional technology, depending on the driving state of the vehicle, a situation may arise in which the control of the onboard equipment based on the control data is not appropriate.

本発明は、上記に鑑みてなされたものであって、車載器の制御を適切に行うことができる通信装置および通信システムを提供することを目的とする。 The present invention has been made in view of the above, and an object of the present invention is to provide a communication device and a communication system that can appropriately control vehicle-mounted equipment.

上述した課題を解決し、目的を達成するために、本発明に係る通信装置は、複数のノードが接続可能な通信装置であって、コントローラを有する。前記コントローラは、接続されたノードから取得したデータに基づき生成した車両に搭載された車載器の制御データを、前記車載器に送信して前記車載器の制御を行う。前記コントローラは、前記車両の状態を示す車両情報に基づいて、前記制御データによる前記車載器の制御の可否を決定する。 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 controls the on-vehicle device by transmitting control data for the on-vehicle device mounted on the vehicle, which is generated based on data acquired from the connected node, to the on-vehicle device. The controller determines whether or not the on-vehicle device can be controlled based on the control data, based on vehicle information indicating a state of the vehicle.

本発明によれば、車載器の制御を適切に行うことができる。 According to the present invention, on-vehicle equipment can be appropriately controlled.

図1Aは、実施形態に係る通信システムの概要を示す図である。FIG. 1A is a diagram showing an overview of a communication system according to an embodiment. 図1Bは、実施形態に係るコントローラが有する制御可否決定機能を説明する説明図である。FIG. 1B is an explanatory diagram illustrating a controllability determination function that the controller according to the embodiment has. 図2は、実施形態に係る通信装置の機能構成を示すブロック図である。FIG. 2 is a block diagram showing the functional configuration of the communication device according to the embodiment. 図3は、実施形態に係る通信装置が実行する処理の処理手順を示すフローチャートである。FIG. 3 is a flowchart showing a processing procedure of processing executed by the communication device according to the embodiment.

以下、添付図面を参照して、本願の開示する通信装置および通信システムの実施形態を詳細に説明する。なお、以下に示す実施形態により本発明が限定されるものではない。 DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, embodiments of a communication device and a communication system 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.

まず、図1Aを用いて、実施形態に係る通信システムの概要について説明する。図1Aは、実施形態に係る通信システムの概要を示す概念図である。なお、図1Aでは、通信システム全般の動作を分かりやすくするため、構成要素(構成的表現)、機能要素(機能的表現)を、適宜、混在使用している。 First, an overview of a communication system according to an embodiment will be described using FIG. 1A. FIG. 1A is a conceptual diagram showing an overview of a communication system according to an embodiment. In addition, in FIG. 1A, in order to make it easy to understand the operation of the communication system in general, constituent elements (structural expression) and functional elements (functional expression) are used in a mixed manner as appropriate.

図1Aに示すように、通信システムSは、通信装置1と、複数のノード10と、サーバ装置50とを含む。そして、通信装置1および複数のノード10は、セントラルゲートウェイ(以下、CGW)20を介して、あるいはCGW20を介さずに車両用通信網のCAN(Controller Area Network)や、Wi-Fi(登録商標)等のネットワークに接続されて互いに通信が可能となり、各種情報を送受信する。なお、CGW20を介して接続されるノード10は、セキュリティ性の高い各種機器で、例えば車両の走行制御に関係する駆動系装置等が該当し、ユーザの持つスマートフォン等の携帯機器に関してはCGW20を介さずに通信装置1に接続する場合が多くなる。また、通信装置1およびサーバ装置50は、例えば、インターネット網等のネットワークに接続され、各種情報を送受信する。 As shown in FIG. 1A, 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 the vehicle communication network CAN (Controller Area Network) or Wi-Fi (registered trademark) via a central gateway (hereinafter referred to as CGW) 20 or without via the CGW 20. They are connected to networks such as , and can communicate with each other to send and receive various information. Note that the nodes 10 connected via the CGW 20 are various devices with high security, such as drive system devices related to vehicle driving control, and mobile devices such as smartphones owned by users are connected via the CGW 20. In many cases, the communication device 1 is connected to the communication device 1 without being connected. 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 includes an on-vehicle device mounted on a vehicle. The on-vehicle device 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 connected to the communication device 1, a device that is incorporated during vehicle manufacture, or a device that is installed after the vehicle is manufactured. , and devices that are newly installed by users after 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 manufacturing include, for example, an engine control device, a steering device, a braking device, a power window device, an air conditioner device, etc. .

また、ユーザ等により新たに追加設置される装置(ノード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), a rain sensor, 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. These include a position sensor and a rain sensor (raindrop sensor) that detects rainfall. 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に提供する。つまり、サーバ装置50は、アプリケーションプログラム提供装置である。これらアプリは、各種ノード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. In other words, the server device 50 is an application program providing device. 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 then associated with the data types necessary to use the application, the data types output by the application (control data, command data (so-called commands), etc.), and the permission condition information data described below. and stored in the server device 50 as an 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 controller 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 controller 3 is a controller that performs various controls of the communication device 1, such as controlling the communication unit 2, container 421, bulletin board 41, etc., data processing, data transmission/reception, writing/erasing, etc. configured. The controller 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やコンテナエンジンが、掲示板41にアクセスしてデータを取得する)。具体的には、通信システム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. 41 to obtain 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における各種制御に関わる処理を行う。つまり、アプリは、掲示板41に掲載されたデータを取り込んで使用することで車載器等のノード10を制御するための制御データを生成し、当該制御データを通信部2を介して制御対象のノード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 generates control data for controlling the node 10 such as an on-vehicle device by importing and using data posted on the bulletin board 41, and transmits the control data to the node to be controlled via the communication unit 2. 10, the target node 10 is controlled.

このようなアプリにより、ノード10は、他のノード10が持つセンサ(当該ノード10が持たないセンサ)の測定値を利用した、より高度なあるいは他の機能を実現できる。例えば、ノード10であるエアコンが、自己の持つ車室内温度センサによる車室内温度に加え、他ノード10が持つ車室内湿度センサによる車室内湿度も使用して最適なエアコン制御を行えるようになる。なお、このような制御は、コンテナ421に記憶された対応するアプリが実行して、ノード10(この例ではエアコン)を制御することになる。また、ノード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 node 10 (for example, an air conditioner) has a corresponding function, the air conditioner (for example, an 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 controller 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の処理により実現)は、通信装置1のコンテナに記憶されたアプリを実行する。具体的には、コンテナエンジンは、ノード10からアプリの実行要求を受け付けた場合に、当該ノード10に対応するアプリを実行する。そして、コンテナエンジンは、アプリの実行に伴い、アプリが行う処理に必要なデータを掲示板41から取り込む。そして、コンテナエンジンは、アプリの実行結果により生成された制御データを制御対象のノード10へ出力する。 The container engine (realized by the processing of the controller 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 takes in data necessary for the processing performed by the application from the bulletin board 41. Then, the container engine outputs control data generated based on the execution results of the application to the node 10 to be controlled.

掲示板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毎に分類される。例えば、異なるノード10からそれぞれ得られた位置情報(GPS)のデータについては、位置情報用のTOPICに分類され、異なるノード10からそれぞれ得られた心拍(HeartRate)のデータは、心拍用のTOPICに分類される。 The data stored in the bulletin board 41 is classified into TOPICs corresponding to the types of data. For example, data on location information (GPS) obtained from different nodes 10 is classified into TOPIC for location information, and data on heart rate (HeartRate) obtained from different nodes 10 is classified into TOPIC for heartbeat. being classified.

掲示板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の処理により実現)は、車両の状態を示す車両情報に基づいて、コンテナエンジンのアプリ実行により生成された制御データによる制御対象車載器(ノード10)の制御の可否を決定する。具体的には、制御可否決定機能は、生成した制御データを車載器へ送信するか否かを決定する。 The control capability determination function (realized by the processing of the controller 3) determines whether or not the control target onboard equipment (node 10) can be controlled by the control data generated by the application execution of the container engine, based on vehicle information indicating the state of the vehicle. decide. Specifically, the controllability determining function determines whether or not to transmit the generated control data to the on-vehicle device.

ここで、制御可否決定機能について、図1Bを用いて説明する。図1Bは、実施形態に係るコントローラ3が有する制御可否決定機能を説明する説明図である。なお、図1Bでは、車両のパワーウインドウ装置に対してパワーウインドウをオープンする制御を指示する制御データが生成された例を示している。 Here, the controllability determination function will be explained using FIG. 1B. FIG. 1B is an explanatory diagram illustrating a controllability determination function that the controller 3 according to the embodiment has. Note that FIG. 1B shows an example in which control data that instructs a power window device of a vehicle to control opening of a power window is generated.

図1Bに示すように、コントローラ3は、制御データを生成した場合、車両の状態を示す車両情報と、許可条件DBに登録された許可条件情報とを比較する。車両情報は、例えば、掲示板41から取り込んだデータである。許可条件DBは、制御データの内容毎の許可条件情報を含むデータベースである。許可条件DBの各データは、通信装置1に新たなアプリの追加があった場合に、サーバ装置50から新たに追加されたアプリに付加されて提供される当該アプリに関する許可条件情報よって更新される。なお、許可条件DBの各データは、サーバ50(アプリDB52)へのアプリ登録に際して、当該登録アプリに付随する情報として、アプリ開発者等により登録される。 As shown in FIG. 1B, when the controller 3 generates control data, it compares vehicle information indicating the state of the vehicle with permission condition information registered in the permission condition DB. The vehicle information is, for example, data imported from the bulletin board 41. The permission condition DB is a database containing permission condition information for each content of control data. When a new application is added to the communication device 1, each data in the permission condition DB is updated with permission condition information related to the newly added application provided by the server device 50. . Note that each piece of data in the permission condition DB is registered by an application developer or the like as information accompanying the registered application when the application is registered in the server 50 (application DB 52).

そして、コントローラ3は、車両の状態が許可条件を満たす場合に、アプリ実行により生成された制御データによる車載器の制御を許可すると判断し、当該制御データを制御対象のノード10に送信する(送信を許可する)。 Then, when the state of the vehicle satisfies the permission conditions, the controller 3 determines to permit control of the onboard equipment using the control data generated by executing the application, and transmits the control data to the node 10 to be controlled (transmission ).

具体的には、図1Bに示す例では、コントローラ3は、制御データ「パワーウインドウ:OPEN」が生成された場合、許可条件DBの中から「パワーウインドウ:OPEN」に対応する許可条件情報である「車速条件:60Km以下の場合許可」、「天候:晴れまたは曇りの場合許可」を取り込む。また、コントローラ3は、許可条件情報に対応する車両情報「車速条件:40Km」、「天候:曇り」を掲示板41から取り込み、これら情報と許可条件情報を比較する。この場合、許可条件「車速条件:60Km以下の場合許可」、「天候:晴れまたは曇り場合許可」を、車両状態「車速条件:40Km」、「天候:曇り」が満たすので、コントローラ3は、「パワーウインドウ:OPEN」を行っても良いと判断し、「パワーウインドウ:OPEN」の情報(指令信号)をパワーウインドウ装置にCGW20を介して送信する。 Specifically, in the example shown in FIG. 1B, when the control data "power window: OPEN" is generated, the controller 3 generates permission condition information corresponding to "power window: OPEN" from the permission condition DB. Incorporate ``Vehicle speed condition: Permitted if it is 60 km or less'' and ``Weather: Permitted if it is sunny or cloudy.'' Further, the controller 3 takes in vehicle information "vehicle speed condition: 40 km" and "weather: cloudy" corresponding to the permission condition information from the bulletin board 41, and compares these pieces of information with the permission condition information. In this case, the vehicle conditions "vehicle speed condition: 40 km" and "weather: cloudy" satisfy the permission conditions "vehicle speed condition: permitted when 60 km or less" and "weather: permitted when sunny or cloudy", so the controller 3 It is determined that "power window: OPEN" may be performed, and information (command signal) for "power window: OPEN" is transmitted to the power window device via the CGW 20.

なお、コントローラ3は、車両情報の各データのうち、少なくとも1つのデータが許可条件情報における条件を満たしていない場合には、制御データの送信を行わない、つまり当該制御を禁止する。なお、制御データによっては、車両情報の各データのうち少なくとも1つのデータが許可条件情報における条件を満たしている場合に当該制御を禁止すると言う場合等、制御データに適したいろいろな条件が存在するので、許可条件DBには制御データに応じた各種条件(各種条件の組み合わせ方法も含めた)が記憶されることになる。 Note that the controller 3 does not transmit the control data, that is, prohibits the control, when at least one data among each data of the vehicle information does not satisfy the conditions in the permission condition information. Note that depending on the control data, there are various conditions suitable for the control data, such as a case where the control is prohibited when at least one data among each data of the vehicle information satisfies the conditions in the permission condition information. Therefore, various conditions (including methods of combining various conditions) corresponding to the control data are stored in the permission condition DB.

具体的には、図1Bの例において、車両情報における天候のデータが雨であった場合には、当該車両状態が許可条件情報における天候の条件(「天候:晴れ」)を満たさないため、コントローラ3は制御データ「パワーウインドウ:OPEN」のパワーウインドウ装置へ送信を禁止、つまり「パワーウインドウ:OPEN」の制御を禁止する。 Specifically, in the example of FIG. 1B, if the weather data in the vehicle information is rain, the controller 3 prohibits the transmission of the control data "power window: OPEN" to the power window device, that is, prohibits the control of "power window: OPEN".

このように、実施形態に係る通信装置1によれば、車両情報に基づいて、生成した制御データによる制御対象ノード10(車載器)の制御の可否を決定することで、車両の状態に適していない車載器の制御を回避できる。従って、実施形態に係る通信装置1によれば、車両の状態に応じた車載器の適切な制御を行うことができる。 As described above, according to the communication device 1 according to the embodiment, by determining whether or not the control target node 10 (vehicle-mounted device) can be controlled by the generated control data based on the vehicle information, it is possible to It is possible to avoid controlling on-board equipment that is not available. Therefore, according to the communication device 1 according to the embodiment, it is possible to appropriately control the on-vehicle device according to the state of the vehicle.

次に、図2を用いて、実施形態に係る通信装置1の構成例について説明する。図2は、実施形態に係る通信装置1の機能構成を示すブロック図である。図2に示すように、通信装置1は、通信部2と、コントローラ3と、記憶部4とを備える。コントローラ3は、取得部31と、変換部32と、コンテナエンジン33と、許可部34とを備える。記憶部4は、掲示板41と、コンテナ部42と、許可条件DB43とを備える。 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 controller 3, and a storage section 4. The controller 3 includes an acquisition section 31, a conversion section 32, a container engine 33, and a permission section 34. The storage unit 4 includes a bulletin board 41, a container unit 42, and a permission condition DB 43.

通信部2は、上述した通信機能を有し、各ノード10と通信装置1とを通信可能に接続する。通信部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 connects each node 10 and the communication device 1 communicably. 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 controller 3 is constituted by a computer and various circuits having, for example, a CPU (Central Processing Unit), a ROM (Read Only Memory), a RAM (Random Access Memory), a flash memory, an input/output port, and the like.

コンピュータのCPUは、ROMに記憶されたプログラムを読み出して実行することによって、コントローラ3の取得部31、変換部32、コンテナエンジン33および許可部34として機能する。 The CPU of the computer functions as the acquisition unit 31, conversion unit 32, container engine 33, and permission unit 34 of the controller 3 by reading and executing programs stored in the ROM.

また、コントローラ3の取得部31、変換部32、コンテナエンジン33および許可部34のうち、少なくともいずれか一つまたは全部をASIC(Application Specific Integrated Circuit)やFPGA(Field Programmable Gate Array)等のハードウェアで構成することもでき、さらに複数のCPU、ASIC等を機能分担させて(例えば、コンテナエンジン33を別CPUで構成する)構成することもできる。 In addition, at least one or all of the acquisition unit 31, conversion unit 32, container engine 33, and permission unit 34 of the controller 3 may be implemented using hardware such as an ASIC (Application Specific Integrated Circuit) or an FPGA (Field Programmable Gate Array). Furthermore, it is also possible to configure the system by having multiple CPUs, ASICs, etc. share functions (for example, by configuring the container engine 33 with a separate CPU).

また、記憶部4は、RAMやフラッシュメモリで構成される。記憶部4は、適当な記憶領域設定等により、掲示板41や、コンテナ部42、許可条件DB43、各種プログラムの記憶部が形成され、各ノード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 permission condition DB 43, and a storage unit for various programs by setting an appropriate storage area, and stores measurement data from various sensors of each node 10, various programs such as applications, It is possible to store various information such as. 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から取得したデータを掲載(記憶)する。また、掲示板41は、各ノード10、コンテナエンジン33、許可部34が、データの登録、更新、読み取りができるように、コントローラ3によって適宜アクセス制御が行われる。 The bulletin board 41 posts (stores) data acquired from the node 10. Access to the bulletin board 41 is appropriately controlled by the controller 3 so that each node 10, container engine 33, and permission unit 34 can register, update, and read data.

コンテナ部42は、記憶部4に割り当てられた記憶領域で構成され、アプリをインストール(記憶)可能な複数のコンテナ421を含んで構成されている。各コンテナ421には、それぞれ1つのアプリが記憶される形式になっている。つまり、構成されたコンテナ421の数だけ、アプリをインストール可能である。アプリは、不図示の外部装置(アプリ提供用の外部サーバ等(図1A図示のサーバ装置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. 1A)) and set (stored) in an 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.

許可条件DB43は、コンテナ421にインストールされたアプリの実行によって生成された制御データによるノード10の制御を許可するか否かを決定するための許可条件を示す許可条件情報を記憶する。許可条件情報は、コンテナ421にアプリをインストールした際に、インストール元である外部装置(サーバ装置50)から当該アプリに付随して取得され許可条件DB43に記憶される。つまり、許可条件情報は、インストール元である外部装置からアプリのプログラムと共に提供され、アプリ(のプログラム)はコンテナ421に記憶され、許可条件情報は許可条件DB43に記憶される。なお、許可条件DB43をコンテナ421内に備える構成、つまりコンテナ421内にアプリのプログラムと当該アプリの許可条件情報を分離可能(区切り符号データを挟んでプログラムと許可条件情報を記憶し、使用する際に使用する情報を分離して取り出す)に記憶する構成を適用することも可能である。なお、許可条件情報は、車両に組付けられるノード10の制御に関するものの場合、車両組付け時に作業者の作業により許可条件情報を許可条件DB43に記憶させるようにすることもできる。 The permission condition DB 43 stores permission condition information indicating permission conditions for determining whether to permit control of the node 10 by control data generated by executing an application installed in the container 421. When an application is installed in the container 421, the permission condition information is acquired along with the application from the external device (server device 50) that is the installation source, and is stored in the permission condition DB 43. That is, the permission condition 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 permission condition information is stored in the permission condition DB 43. In addition, the configuration in which the permission condition DB 43 is provided in the container 421, that is, the application program and the permission condition information of the application can be separated in the container 421 (the program and permission condition information are stored with delimiter data in between, and when used It is also possible to apply a configuration in which the information used for the process is stored separately (separately and retrieved). In addition, when the permission condition information is related to the control of the node 10 to be assembled into a vehicle, the permission condition information can also be stored in the permission condition DB 43 through the work of a worker when assembling the vehicle.

次に、コントローラ3(取得部31、変換部32、コンテナエンジン33および許可部34)について詳細に説明する。 Next, the controller 3 (the acquisition unit 31, the conversion unit 32, the container engine 33, and the permission unit 34) will be described 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. For example, 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 or the like. 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は、アプリ提供前に外部装置から送信される適当なアプリリストからユーザの選択操作に基づきインストールするアプリを選択し、当該選択したアプリの情報を外部装置に送信する。そして、取得部31は、これに対して外部装置から提供(送信)されたアプリをインストールする(コンテナ421に記憶する)方法も適用可能である。 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, and sends information about the selected app to the external device. The acquisition unit 31 can also apply a method of installing (storing in the container 421) an application provided (transmitted) from an external device.

また、取得部31は、ユーザの入力操作、あるいは外部装置等からのアプリのバージョンアップ情報に基づき、バージョンアップ対象アプリの更新プログラムを取得し、コンテナ421に記憶されたアプリのアップデート(更新処理)を行う。 In addition, the acquisition unit 31 acquires an update program for the application to be upgraded based on user input operations or application upgrade information from an external device, etc., and updates the application stored in the container 421 (update processing). I do.

また、取得部31は、外部装置からアプリをインストールする際、アプリによって生成される制御データの許可条件を示す許可条件情報を外部装置から取得し、許可条件情報として記憶部4の許可条件DB43に記憶する。また、取得部31は、アプリのアップデートを行う際、許可条件情報の更新情報を外部装置から取得し、記憶部4の許可条件DB43に記憶された対応する許可条件情報を更新する。なお、取得部31は、ノード10から直接許可条件情報を取得してもよい(ノード10が自身の制御に関する許可条件情報を記憶している場合)。 Further, when installing an application from an external device, the acquisition unit 31 acquires permission condition information indicating permission conditions for control data generated by the application from the external device, and stores the permission condition information in the permission condition DB 43 of the storage unit 4 as permission condition information. Remember. Further, when updating the application, the acquisition unit 31 acquires update information of permission condition information from an external device, and updates the corresponding permission condition information stored in the permission condition DB 43 of the storage unit 4. Note that the acquisition unit 31 may directly acquire permission condition information from the node 10 (if the node 10 stores permission condition information regarding its own control).

また、取得部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は、コンテナ421に記憶されたアプリを、掲示板41に記憶された各種データ等を必要に応じて取得して、実行することで各種機能実現のための処理を行う。 The container engine 33 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.

具体的には、まず、コンテナエンジン33は、アプリ実行により、掲示板41に掲載されたデータの中から、アプリの実行に必要な(制御データの生成に必要な)データを選択して取り込む。そして、コンテナエンジン33は、取り込んだデータを使用してアプリの各種処理を行い、処理結果としてノード10を生成するための制御データを生成する。 Specifically, first, by executing the application, the container engine 33 selects and imports data necessary for executing the application (necessary for generating control data) from among the data posted on the bulletin board 41. Then, the container engine 33 performs various processes of the application using the imported data, and generates control data for generating the node 10 as a processing result.

そして、コンテナエンジン33は、後段の許可部34によって制御データによる制御が許可された場合に、生成した制御データを対象のノード10へ送信することで、ノード10を制御する。 The container engine 33 then controls the node 10 by transmitting the generated control data to the target node 10 when control based on the control data is permitted by the subsequent permission unit 34 .

また、コンテナエンジン33は、不要となったアプリをコンテナ421から消去する処理を行う。なお、不要となったアプリとは、例えば、処理結果を出力するノード10が存在しなくなった(通信装置1と非接続状態となった)アプリ、処理に必要なデータの提供元となるノード10が存在しなくなった(通信装置1と非接続状態となった)アプリ、等である。 The container engine 33 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.

許可部34は、車両の状態を示す車両情報に基づいて、制御データによる車載器の制御の可否を決定する。具体的には、許可部34は、許可条件DB43の中から、判定対象の制御データ、つまりアプリ実行により生成した制御データに対応する許可条件情報を読み出し、当該許可条件情報の条件項目に対応した車両情報を掲示板41から取得する。 The permission unit 34 determines whether or not the on-vehicle equipment can be controlled using the control data, based on vehicle information indicating the state of the vehicle. Specifically, the permission unit 34 reads the permission condition information corresponding to the control data to be determined, that is, the control data generated by executing the application, from the permission condition DB 43, and reads the permission condition information corresponding to the control data to be determined, that is, the control data generated by executing the application, and reads the permission condition information corresponding to the condition item of the permission condition information. Vehicle information is acquired from the bulletin board 41.

つづいて、許可部34は、取得した車両情報と、許可条件情報における条件(許可条件)とを比較し、車両情報(車両の状態)が許可条件を満たすか否かを判定する。そして、許可部34は、車両情報(車両の状態)が許可条件を満たすと判定した場合、コンテナエンジン33に対してアプリ実行により生成された制御データに基づく車載器の制御を許可する。つまり、許可部34は、アプリ実行により生成された制御データを車載器へ送信することを許可する、すなわちコントローラ3は車載器へのアプリ実行により生成された制御データの送信を実行する。 Subsequently, the permission unit 34 compares the acquired vehicle information with the conditions (permission conditions) in the permission condition information, and determines whether the vehicle information (vehicle status) satisfies the permission conditions. When the permission unit 34 determines that the vehicle information (vehicle status) satisfies the permission conditions, the permission unit 34 allows the container engine 33 to control the onboard equipment based on the control data generated by executing the application. That is, the permission unit 34 allows the control data generated by executing the application to be transmitted to the on-vehicle device, that is, the controller 3 executes the transmission of the control data generated by executing the application to the on-vehicle device.

一方、許可部34は、車両情報が許可条件を満たさないと判定した場合、コンテナエンジン33に対してアプリ実行により生成された制御データに基づく車載器の制御を禁止する。つまり、許可部34は、アプリ実行により生成された制御データを車載器へ送信することを禁止する、すなわちコントローラ3は車載器への制御データの送信を中止する。これにより、アプリ実行により生成された制御データに基づく制御に車両の状態が適さない場合に、車載器は当該制御データに基づく制御は行われないことになる。 On the other hand, if the permission unit 34 determines that the vehicle information does not satisfy the permission conditions, it prohibits the container engine 33 from controlling the onboard equipment based on the control data generated by executing the application. That is, the permission unit 34 prohibits the control data generated by the application execution from being transmitted to the on-vehicle device, that is, the controller 3 stops transmitting the control data to the on-vehicle device. As a result, if the state of the vehicle is not suitable for control based on the control data generated by executing the application, the on-vehicle device will not perform control based on the control data.

また、許可部34は、車両情報が許可条件を満たさないと判定した状況が予め設定された所定回数以上連続した場合、車両の搭乗者に対してアラートを通知する。具体的には、許可部34は、車両情報が許可条件を満たさないと判定する都度、NGカウンタをアップカウントし(許可条件を満たす場合はNGカウンタをリセット(クリア)する)、NGカウント(NGカウンタの値)が所定値以上となった場合に、上記のアラートを通知する。なお、NGカウンタはアプリ毎(生成される制御データ毎)に設けられ、自以降アプリに対応するNGカウンタで上述のカウント処理が行われる。 Further, the permission unit 34 notifies the occupant of the vehicle of an alert when a situation in which it is determined that the vehicle information does not satisfy the permission conditions continues for a predetermined number of times or more. Specifically, each time it is determined that the vehicle information does not satisfy the permission conditions, the permission unit 34 increments the NG counter (if the permission conditions are met, resets (clears) the NG counter), and sets the NG count (NG When the counter value (counter value) exceeds a predetermined value, the above alert is notified. Note that the NG counter is provided for each application (for each generated control data), and the above-mentioned counting process is performed with the NG counter corresponding to the application.

これにより、搭乗者は、車両やアプリの異常状態、例えば、車両に異常(あるいは異常発生の予兆)が発生し車両状態が通常と異なった状態となっている(車両メンテナンスの必要性通知)、車両における各種設定(ユーザによる設定)の状態がアプリ実行により生成された制御データに基づく制御に適さない状態となっている(車両設定の変更の必要性通知)、設置状態アプリに外部ノイズ等による異常が発生している(アプリ再インストール等の必要性通知)こと等をアラートにより把握することができる。 As a result, the passenger can be notified of an abnormal state of the vehicle or application, for example, an abnormality (or a sign of an abnormality) has occurred in the vehicle and the vehicle condition is different from normal (notification of the need for vehicle maintenance), The status of various settings (settings by the user) on the vehicle is not suitable for control based on control data generated by running the app (notification of need to change vehicle settings), installation status app is affected by external noise, etc. It is possible to understand through alerts that an abnormality has occurred (notification of the need to reinstall the app, etc.).

また、許可部34は、車両情報が許可条件を満たさないと判定した状況が予め設定された所定回数以上連続した場合、制御データを生成したアプリの実行を禁止する指示をコンテナエンジン33へ通知する。つまり、許可部34は、アプリによる対象の制御データの生成を禁止する。これにより、無駄なアプリ実行を防止でき、コントローラの処理負荷を低減できる。 Further, if the situation in which it is determined that the vehicle information does not satisfy the permission conditions continues for a preset number of times or more, the permission unit 34 notifies the container engine 33 of an instruction to prohibit execution of the application that has generated the control data. . In other words, the permission unit 34 prohibits the application from generating target control data. This prevents unnecessary application execution and reduces the processing load on the controller.

次に、図3を用いて、実施形態に係る通信装置1(コントローラ3)が実行する処理の処理手順について説明する。図3は、実施形態に係る通信装置1が実行する処理の処理手順を示すフローチャートで、(A)は共通の基本処理(各アプリに基づく処理ではなく、別の基本処理プログラムによる処理)、(B)各アプリの制御データ生成処理(各アプリに共通の部分)を示すものである。先ず、図3(A)に示した基本処理について説明する。なお、図3(A)に示す基本処理は、通信装置1の稼働時(電源オン時)に、繰り返し実行される。 Next, the processing procedure of the process executed by the communication device 1 (controller 3) according to the embodiment will be described using FIG. 3. FIG. 3 is a flowchart showing the processing procedure of the processing executed by the communication device 1 according to the embodiment, in which (A) is a common basic processing (processing not based on each application but processing by another basic processing program), ( B) Shows control data generation processing for each application (common part for each application). First, the basic processing shown in FIG. 3(A) will be explained. Note that the basic processing shown in FIG. 3A is repeatedly executed when the communication device 1 is in operation (when the power is turned on).

具体的には、まず、コントローラ3は、各ノード10等から各種データを取得する(ステップS101)。つづいて、コントローラ3は、取得した各種データを各アプリが使用できる形式に変換して掲示板41に掲載(掲示板41の対応するデータを更新)する(ステップS102)。 Specifically, first, the controller 3 acquires various data from each node 10 and the like (step S101). Subsequently, the controller 3 converts the acquired various data into a format that can be used by each application and posts it on the bulletin board 41 (updates the corresponding data on the bulletin board 41) (step S102).

つづいて、コントローラ3は、別途実行されたアプリにより生成され、対応する車載器に送信される制御データがあるか判断し(アプリによる制御データの対象車載器への送信要求があるか否かを判断し)(ステップS103)、当該制御データがあれば(ステップS103:Yes)、ステップS104に移り、無ければ(ステップS103:No)、処理を終了する。 Next, the controller 3 determines whether there is control data generated by a separately executed application and transmitted to the corresponding on-vehicle device (determines whether there is a request for transmission of control data to the target on-vehicle device by the application). (step S103), if the control data exists (step S103: Yes), the process moves to step S104; if not (step S103: No), the process ends.

つづいて、コントローラ3は、許可条件DB43から制御データに対応する許可条件情報と、掲示板41、あるいは各ノード10(各種センサ)等から許可条件情報が指定する車両状況に関する車両情報を取得する(ステップS104)。 Subsequently, the controller 3 acquires permission condition information corresponding to the control data from the permission condition DB 43 and vehicle information regarding the vehicle status specified by the permission condition information from the bulletin board 41 or each node 10 (various sensors) (step S104).

つづいて、コントローラ3は、取得した車両情報と、許可条件情報における条件(許可条件)とを比較して、車両情報が許可条件を満たすか否かを判定し(ステップS105)、車両情報が許可条件を満たす場合(ステップS105:Yes)、生成した制御データを対象の車載器へ送信する(ステップS106)。 Next, the controller 3 compares the acquired vehicle information with the conditions (permission conditions) in the permission condition information, determines whether the vehicle information satisfies the permission conditions (step S105), and determines whether the vehicle information satisfies the permission conditions. If the conditions are met (step S105: Yes), the generated control data is transmitted to the target onboard device (step S106).

つづいて、コントローラ3は、NGカウンタをリセットし(ステップS107)、処理を終了する。 Subsequently, the controller 3 resets the NG counter (step S107), and ends the process.

一方、ステップS105において、コントローラ3は、車両情報が許可条件を満たさない場合(ステップS105:No)、NGカウンタをカウントアップする(ステップS108)。 On the other hand, in step S105, if the vehicle information does not satisfy the permission conditions (step S105: No), the controller 3 counts up the NG counter (step S108).

つづいて、コントローラ3は、アップ後のNGカウンタのカウント値が閾値以上であるか否かを判定し(ステップS109)、NGカウンタのカウント値が閾値以上である場合(ステップS109:Yes)、搭乗者に対してアラートを通知し(ステップS110)、処理を終了する。なお、コントローラ3は、NGカウンタのカウント値が閾値未満である場合(ステップS109:No)、処理を終了する。 Subsequently, the controller 3 determines whether or not the count value of the NG counter after increasing is equal to or greater than the threshold value (step S109), and if the count value of the NG counter is equal to or greater than the threshold value (step S109: Yes), the controller 3 The user is notified of an alert (step S110), and the process ends. Note that, when the count value of the NG counter is less than the threshold value (step S109: No), the controller 3 ends the process.

次に、図3(B)に示した各アプリの制御データ生成処理について説明する。なお、図3(B)に示す制御データ生成処理は、ユーザによる制御データ生成操作をトリガに、あるいは車両状態が制御データ生成開始条件を満たしたことをトリガに、実行される。 Next, the control data generation process for each application shown in FIG. 3(B) will be described. Note that the control data generation process shown in FIG. 3B is executed using a control data generation operation by the user as a trigger, or when the vehicle state satisfies a control data generation start condition.

具体的には、まず、コントローラ3(コンテナエンジン33)は、掲示板41から、実行するアプリの処理に必要な各種データを取得する(ステップS201)。つづいて、コントローラ3(コンテナエンジン33)は、取得した各種データに基づき対象の車載器に対する制御データを生成するし(ステップS202)。そして、コントローラ3は生成した当該制御データの対象車載器への送信要求を(許可部35に対して)行い(ステップS203)、処理を終了する。 Specifically, first, the controller 3 (container engine 33) acquires various data necessary for processing the application to be executed from the bulletin board 41 (step S201). Subsequently, the controller 3 (container engine 33) generates control data for the target onboard device based on the various acquired data (step S202). Then, the controller 3 makes a request (to the permission unit 35) to transmit the generated control data to the target vehicle-mounted device (step S203), and ends the process.

上述してきたように、実施形態に係る通信装置1は、複数のノード10が接続可能な通信装置1であって、コントローラ3を有する。コントローラ3は、接続されたノード10から取得したデータに基づき生成した車載器の制御データを、車載器に送信して車載器の制御を行う。なお、コントローラ3は、車両の状態を示す車両情報に基づいて、当該制御データによる車載器の制御の可否を決定する。 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 the controller 3. The controller 3 transmits control data for the on-vehicle device generated based on data acquired from the connected node 10 to the on-vehicle device to control the on-vehicle device. Note that the controller 3 determines whether or not the on-vehicle equipment can be controlled using the control data, based on vehicle information indicating the state of the vehicle.

これにより、上述の生成された制御データに基づく車載器の制御に車両の現在の状態が適していない場合には、当該制御データによる制御は行われないため、つまり適切な制御のみが行われることになり、車載器の制御を適切に行うことができる。 As a result, if the current state of the vehicle is not suitable for controlling the onboard equipment based on the control data generated above, control based on the control data will not be performed; in other words, only appropriate control will be performed. The onboard equipment can be controlled appropriately.

さらなる効果や変形例は、当業者によって容易に導き出すことができる。このため、本発明のより広範な態様は、以上のように表しかつ記述した特定の詳細および代表的な実施形態に限定されるものではない。したがって、添付の特許請求の範囲およびその均等物によって定義される総括的な発明の概念の精神または範囲から逸脱することなく、様々な変更が可能である。 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 許可部
41 掲示板
42 コンテナ部
43 許可条件DB
50 サーバ装置
421 コンテナ
S 通信システム
1 Communication device 2 Communication unit 3 Controller 4 Storage unit 10 Node 31 Acquisition unit 32 Conversion unit 33 Container engine 34 Permission unit 41 Bulletin board 42 Container unit 43 Permission condition DB
50 Server device 421 Container S Communication system

Claims (9)

複数のノードが接続可能な通信装置であって、
接続されたノードから取得したデータに基づき生成した車両に搭載された車載器の制御データを、前記車載器に送信して前記車載器の制御を行うコントローラを有し、
前記コントローラは、
前記車両の状態を示す車両情報に基づいて、前記制御データによる前記車載器の制御の可否を決定する
通信装置。
A communication device to which multiple nodes can be connected,
a controller that controls the on-vehicle device by transmitting control data for the on-vehicle device mounted on the vehicle, generated based on data acquired from the connected node, to the on-vehicle device;
The controller includes:
A communication device that determines whether or not the on-vehicle device can be controlled by the control data based on vehicle information indicating a state of the vehicle.
前記制御データによる前記車載器の制御の許可条件を示す許可条件情報を記憶する記憶部をさらに備え、
前記コントローラは、
前記車両情報が前記許可条件情報における許可条件を満たすか否かにより、前記制御データによる前記車載器の制御の可否を決定する
請求項1に記載の通信装置。
further comprising a storage unit that stores permission condition information indicating permission conditions for controlling the on-vehicle device using the control data,
The controller includes:
The communication device according to claim 1, wherein whether or not the vehicle-mounted device can be controlled by the control data is determined depending on whether the vehicle information satisfies a permission condition in the permission condition information.
前記ノードは前記車載器を含む
請求項1に記載の通信装置。
The communication device according to claim 1, wherein the node includes the on-vehicle device.
前記コントローラは、
前記制御データによる前記車載器の制御を禁止すると決定した状況が予め定めた所定回数以上連続する場合、前記車両の搭乗者に対してアラートを通知する
請求項1~3のいずれか1つに記載の通信装置。
The controller includes:
According to any one of claims 1 to 3, an alert is notified to a passenger of the vehicle when a situation in which it is determined that control of the on-vehicle device by the control data is prohibited continues for a predetermined number of times or more. communication equipment.
前記コントローラは、
前記制御データによる前記車載器の制御を禁止すると決定した状況が予め定めた所定回数以上連続する場合、前記制御データの生成を禁止する
請求項1~3のいずれか1つに記載の通信装置。
The controller includes:
The communication device according to any one of claims 1 to 3, wherein generation of the control data is prohibited if a situation in which it is determined that control of the on-vehicle device by the control data is prohibited continues for a predetermined number of times or more.
前記制御データの生成を行うための各アプリケーションプログラムを記憶するコンテナを形成する記憶部をさらに備え、
前記コントローラは、
接続された複数のノードに応じて実行するアプリケーションプログラムを前記コンテナから選択して実行することにより、前記制御データを生成する
請求項1~3のいずれか1つに記載の通信装置。
further comprising a storage unit forming a container for storing each application program for generating the control data,
The controller includes:
The communication device according to any one of claims 1 to 3, wherein the control data is generated by selecting and executing an application program from the container to be executed according to a plurality of connected nodes.
アプリケーションプログラムが使用するデータを記憶する掲示板を形成する記憶部を備え、
前記コントローラは、
接続された複数のノードから取得したデータを、前記各アプリケーションプログラムが使用できる形態に変換して前記掲示板に記憶する
請求項6に記載の通信装置。
comprising a storage unit forming a bulletin board for storing data used by the application program;
The controller includes:
The communication device according to claim 6, wherein data acquired from a plurality of connected nodes is converted into a format that can be used by each of the application programs and stored on the bulletin board.
前記コントローラは、
接続されたノードを識別する情報を、外部のアプリケーションプログラム提供装置に送信し、
前記アプリケーションプログラム提供装置から送信される接続されたノードに応じたアプリケーションプログラムを受信し、前記コンテナに記憶する
請求項6に記載の通信装置。
The controller includes:
Sends information identifying the connected node to an external application program providing device,
The communication device according to claim 6, wherein the communication device receives an application program corresponding to a connected node transmitted from the application program providing device and stores it in the container.
複数のノードが接続可能な車両に搭載された通信装置と、前記車両に搭載された車載器とを有する通信システムであって、
前記通信装置は、
接続されたノードから取得したデータに基づき前記車載器の制御データを生成し、
前記車両の状態を示す車両情報に基づいて、前記制御データによる前記車載器の制御の可否を決定して、前記車載器の制御が可と決定した場合に前記制御データを前記車載器に送信し、
前記車載器は、
前記通信装置から送信された制御データを受信し、当該制御データに基づき車載器の動作制御を行う、
通信システム。
A communication system comprising a communication device mounted on a vehicle to which a plurality of nodes can be connected, and an on-vehicle device mounted on the vehicle, the communication system comprising:
The communication device includes:
Generate control data for the onboard device based on data acquired from the connected node,
Based on vehicle information indicating a state of the vehicle, it is determined whether or not the on-vehicle device can be controlled by the control data, and when it is determined that the on-vehicle device can be controlled, the control data is transmitted to the on-vehicle device. ,
The on-vehicle device is
receiving control data transmitted from the communication device and controlling the operation of the on-vehicle device based on the control data;
Communications system.
JP2022105045A 2022-06-29 2022-06-29 Communication device and communication system Pending JP2024005055A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022105045A JP2024005055A (en) 2022-06-29 2022-06-29 Communication device and communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2022105045A JP2024005055A (en) 2022-06-29 2022-06-29 Communication device and communication system

Publications (1)

Publication Number Publication Date
JP2024005055A true JP2024005055A (en) 2024-01-17

Family

ID=89539596

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022105045A Pending JP2024005055A (en) 2022-06-29 2022-06-29 Communication device and communication system

Country Status (1)

Country Link
JP (1) JP2024005055A (en)

Similar Documents

Publication Publication Date Title
CN104951332B (en) Vehicle remote feature update with targeting
US10137906B2 (en) Method and apparatus for persistent transferrable customizable vehicle settings
US11934823B2 (en) Electronic control system for vehicle, program update approval determination method and program update approval determination program
US10705826B2 (en) Control apparatus, program updating method, and computer program
US20210141631A1 (en) Electronic control system for vehicle, program update approval determination method and program update approval determination program
CN105635245B (en) Method and system for vehicle computing system to communicate with device
US20150230044A1 (en) Updating vehicle software using a smartphone
CN104980490A (en) Vehicle telematics data exchange
US20170344355A1 (en) Updating vehicle system modules
US10919496B2 (en) Method and apparatus for wireless valet key configuration and relay
JP7225596B2 (en) Program update system, program update server and vehicle
US10970063B2 (en) Relay apparatus, transfer method, and computer program
US11340891B2 (en) Control device, control method, and computer program
EP2891978A1 (en) System and method for distributing software updates
KR20210133599A (en) Apparatus for over the air updating and method thereof in vehicle
KR20150144623A (en) Method and system for updating software for vehicle using smart phone
CN111033503A (en) Vehicle security system and vehicle security method
CN105468354A (en) Method and apparatus for sensor synthesis and arbitration between mobile devices and vehicles
US20190001905A1 (en) Method and apparatus for condition triggered vehicle setting configuration
US20130190947A1 (en) Server, vehicle control system, and vehicle control method thereof
CN104683126B (en) Network management based on CAN
US11924726B2 (en) In-vehicle control device, information processing device, vehicle network system, method of providing application program, and recording medium with program recorded thereon
JP2024005055A (en) Communication device and communication system
US20220326931A1 (en) System and method for managing update of electronic control unit of vehicle
WO2024116619A1 (en) Management device, in-vehicle device, management method, and management program