JP2019036017A - Controller, method for control, and computer program - Google Patents
Controller, method for control, and computer program Download PDFInfo
- Publication number
- JP2019036017A JP2019036017A JP2017155350A JP2017155350A JP2019036017A JP 2019036017 A JP2019036017 A JP 2019036017A JP 2017155350 A JP2017155350 A JP 2017155350A JP 2017155350 A JP2017155350 A JP 2017155350A JP 2019036017 A JP2019036017 A JP 2019036017A
- Authority
- JP
- Japan
- Prior art keywords
- battery
- control device
- server
- processing
- vehicle
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Electric Propulsion And Braking For Vehicles (AREA)
Abstract
Description
この発明は制御装置、制御方法、およびコンピュータプログラムに関し、特に、車載の制御装置、その制御方法、およびコンピュータプログラムに関する。 The present invention relates to a control device, a control method, and a computer program, and more particularly, to an in-vehicle control device, a control method thereof, and a computer program.
近年、自動車の技術分野においては、車両の高機能化が進行しており、多種多様な車載機器が車両に搭載されている。従って、車両には、各車載機器を制御するための制御装置である、所謂ECU(Electronic Control Unit)が多数搭載されている。 In recent years, in the technical field of automobiles, functions of vehicles have been advanced, and a wide variety of in-vehicle devices are mounted on vehicles. Therefore, a large number of so-called ECUs (Electronic Control Units), which are control devices for controlling each in-vehicle device, are mounted on the vehicle.
さらに、自動運転技術などの車両の高機能化に伴って、ECUも高機能化が見込まれる。そのため、ECUでも、一般的なコンピュータと同様の処理が可能になると見込まれる。 Furthermore, as the functions of vehicles such as automatic driving technology become higher, ECUs are also expected to have higher functions. For this reason, it is expected that the ECU can perform the same processing as that of a general computer.
ECUの高機能化を鑑みて、ECUによって分散処理システムを構成する技術が提案されている(たとえば特許文献1)。特許文献1に開示された車載端末(ECU)は走行中にサーバから処理の実行を依頼される車載端末であって、処理に必要なプログラムおよびデータをECUに予め格納させておき、走行中にサーバから処理の実行の依頼を受けると、当該プログラムを実行する。 In view of increasing the functionality of the ECU, a technique for configuring a distributed processing system by the ECU has been proposed (for example, Patent Document 1). The in-vehicle terminal (ECU) disclosed in Patent Document 1 is an in-vehicle terminal that is requested to execute processing from a server during traveling, and stores programs and data necessary for processing in the ECU in advance. When the processing request is received from the server, the program is executed.
しかしながら、ECUは車載機器を制御するため、走行中にはECUの処理負荷が高く、分散処理が不可能な場合がある。そのため、停車中に分散処理を実行することが考えられる。 However, since the ECU controls the in-vehicle device, there are cases where the processing load on the ECU is high during traveling and distributed processing is impossible. Therefore, it is conceivable to perform distributed processing while the vehicle is stopped.
一方で、停車中に分散処理を実行すると、分散処理によるバッテリ電力の消費のために、その後の走行に必要な電力が不足し、走行できない場合もある。 On the other hand, if the distributed processing is executed while the vehicle is stopped, the battery power consumed by the distributed processing may cause a shortage of power necessary for the subsequent travel, which may prevent the travel.
本発明のある局面における目的は、サーバから依頼された処理を実行可能な車載制御装置の制御装置であって、当該処理によって意図せずバッテリ不足となることを回避できる制御装置、制御方法、およびコンピュータプログラムを提供することである。 An object of one aspect of the present invention is a control device for an in-vehicle control device capable of executing a process requested by a server, and a control device, a control method, and a control device capable of avoiding an unintentional battery shortage due to the process. To provide a computer program.
ある実施の形態に従うと、制御装置は、サーバから処理の実行の要求を取得する第1の取得部と、バッテリへの電力供給の状態を、バッテリを管理する車載制御装置から取得する第2の取得部と、バッテリへの電力供給の状態に応じて、サーバから要求された処理の実行の可否を判定する判定処理を実行する制御部と、を備える。 According to an embodiment, the control device acquires a first acquisition unit that acquires a request for execution of processing from the server, and a second acquisition unit that acquires a state of power supply to the battery from an in-vehicle control device that manages the battery. An acquisition unit and a control unit that executes a determination process for determining whether or not to execute the process requested by the server according to the state of power supply to the battery.
他の実施の形態に従うと、制御方法は制御装置による車載制御装置の制御方法であって、サーバから処理の実行の要求を取得するステップと、バッテリへの電力供給の状態を、バッテリを管理する車載制御装置から取得するステップと、バッテリへの電力供給の状態に応じて、サーバから要求された処理の実行の可否を判定するステップと、を備える。 According to another embodiment, the control method is a control method of the in-vehicle control device by the control device, the step of acquiring a request to execute processing from the server, and the state of power supply to the battery, managing the battery A step of obtaining from the in-vehicle control device, and a step of determining whether or not to execute the process requested by the server according to the state of power supply to the battery.
他の実施の形態に従うと、コンピュータプログラムは制御装置としてコンピュータを機能させるためのコンピュータプログラムであって、コンピュータを、サーバから処理の実行の要求を取得する第1の取得部と、バッテリへの電力供給の状態を、バッテリを管理する車載制御装置から取得する第2の取得部と、バッテリへの電力供給の状態に応じて、サーバから要求された処理の実行の可否を判定する判定処理を実行する制御部、として機能させる。 According to another embodiment, the computer program is a computer program for causing a computer to function as a control device, the computer acquiring a first acquisition unit that acquires a request for execution of processing from a server, and power to a battery. A second acquisition unit that acquires a supply state from an in-vehicle control device that manages the battery, and a determination process that determines whether or not the process requested by the server can be executed according to the state of power supply to the battery Function as a control unit.
この発明によると、車載制御装置がサーバから依頼された処理を実行することによって、意図せずバッテリ不足となることを回避できる。 According to the present invention, it is possible to avoid an unintentional battery shortage by executing the processing requested from the server by the in-vehicle control device.
[実施の形態の説明]
本実施の形態には、少なくとも以下のものが含まれる。すなわち、
(1)本実施の形態に含まれる制御装置は、サーバから処理の実行の要求を取得する第1の取得部と、バッテリへの電力供給の状態を、バッテリを管理する車載制御装置から取得する第2の取得部と、バッテリへの電力供給の状態に応じて、サーバから要求された処理の実行の可否を判定する判定処理を実行する制御部と、を備える。
車載制御装置においてサーバから要求された処理が実行されることによって、当該車載制御装置を、分散処理システムの演算処理能力のリソースとして活用することができる。これにより、新たにサーバ等の演算装置を設けることなく、既存の車両に搭載されている車載制御装置を利用して分散処理が可能となるために、分散処理システムを容易に構築することができる。さらに、判定処理の基準を適切に設定することによって、車載制御装置で処理を実行することによる電力消費によって、バッテリ残量が車両の走行に必要な量よりも不足するという事態を防止することができる。
[Description of Embodiment]
This embodiment includes at least the following. That is,
(1) A control device included in the present embodiment acquires a first acquisition unit that acquires a request for execution of processing from a server, and a state of power supply to the battery from an in-vehicle control device that manages the battery. A second acquisition unit, and a control unit that executes a determination process for determining whether or not to execute the process requested by the server according to a state of power supply to the battery.
When the processing requested from the server is executed in the in-vehicle control device, the in-vehicle control device can be used as a resource of the arithmetic processing capability of the distributed processing system. Thereby, since it becomes possible to perform distributed processing using an in-vehicle control device mounted on an existing vehicle without newly providing a calculation device such as a server, a distributed processing system can be easily constructed. . Furthermore, by appropriately setting the criteria for the determination process, it is possible to prevent a situation in which the remaining battery level is less than the amount required for traveling of the vehicle due to power consumption by executing the process in the in-vehicle control device. it can.
(2)好ましくは、制御部は判定処理において、バッテリが電力供給を受けている場合に処理を実行可と判定し、制御部は、当該処理を実行可能な車載制御装置に処理の実行を指示する。
これにより、車載制御装置でサーバから要求された処理を実行することによる電力消費によって、バッテリ残量が車両の走行に必要な量よりも不足するという事態を防止することができる。
(2) Preferably, in the determination process, the control unit determines that the process can be performed when the battery is supplied with power, and the control unit instructs the in-vehicle control device capable of executing the process to execute the process. To do.
As a result, it is possible to prevent a situation in which the remaining battery level is insufficient from the amount necessary for traveling of the vehicle due to the power consumption by executing the processing requested from the server by the in-vehicle control device.
(3)好ましくは、第2の取得部はバッテリの蓄電量をさらに取得し、制御部は判定処理において、バッテリが電力供給を受けていない場合には、バッテリの蓄電量が規定された閾値以上である場合に処理を実行可と判定する。
閾値を適切に設定することによって、車載制御装置がサーバから要求された処理を実行することによる電力消費によって、蓄電量が車両の走行に必要な量よりも不足するという事態を防止することができるとともに、処理を実行可と判定する機会を増加させることができる。そのため、当該車載制御装置が分散処理システムの演算処理能力のリソースとして利用できる可能性が高くなり、分散処理システムの構築を容易にできる。
(3) Preferably, the second acquisition unit further acquires the amount of electricity stored in the battery, and the control unit determines that the amount of electricity stored in the battery is equal to or greater than a prescribed threshold when the battery is not supplied with power in the determination process. If it is, it is determined that the process can be executed.
By appropriately setting the threshold value, it is possible to prevent a situation in which the amount of stored electricity is less than the amount necessary for traveling of the vehicle due to power consumption by the in-vehicle control device executing processing requested by the server. At the same time, the opportunity to determine that the process is executable can be increased. Therefore, there is a high possibility that the in-vehicle control device can be used as a resource of the arithmetic processing capability of the distributed processing system, and the construction of the distributed processing system can be facilitated.
(4)好ましくは、制御部は判定処理において、バッテリが電力供給を受けていない場合には、処理の実行後のバッテリの予測蓄電量が規定された閾値以上である場合に処理を実行可と判定する。
車載制御装置がサーバから要求された処理の実行に要する消費電力量を用いて当該処理の実行の可否を判定するため、蓄電量が車両の走行に必要な量よりも不足するという事態を、より防止することができる。
(4) Preferably, in the determination process, when the battery is not supplied with power, the control unit is allowed to execute the process when the predicted charged amount of the battery after the process is executed is equal to or greater than a prescribed threshold value. judge.
Since the in-vehicle control device determines whether or not to execute the process using the power consumption required to execute the process requested from the server, the situation where the amount of stored power is insufficient than the amount necessary for the vehicle to travel is more Can be prevented.
(5)好ましくは、サーバから複数の処理の実行の要求を取得した場合に、制御部は判定処理において、バッテリが電力供給を受けていない場合には、複数の処理それぞれの実行後のバッテリの予測蓄電量と規定された閾値との比較に基づいて、複数の処理それぞれの実行の可否を判定する。
サーバから複数の処理の実行が要求された場合であっても、バッテリに対する負荷を考慮して実行可能な分散処理を選択することができる。
(5) Preferably, when a request for execution of a plurality of processes is acquired from the server, the control unit determines whether the battery after the execution of each of the plurality of processes is not performed in the determination process. Whether to execute each of the plurality of processes is determined based on a comparison between the predicted power storage amount and a prescribed threshold value.
Even when a server requests execution of a plurality of processes, it is possible to select a distributed process that can be executed in consideration of the load on the battery.
(6)好ましくは、制御部は、複数の処理のうちの、バッテリの予測蓄電量が閾値以上である1つの処理を実行可と判定する。
これにより、バッテリに対する負荷を考慮して実行可能な分散処理を選択することができる。
(6) Preferably, a control part determines with the one process in which the estimated electrical storage amount of a battery is more than a threshold value among several processes being executable.
This makes it possible to select a distributed process that can be executed in consideration of the load on the battery.
(7)好ましくは、制御部は、複数の処理のうちの2以上の処理について、当該2以上の処理の実行後のバッテリの予測蓄電量が閾値以上である場合に、2以上の処理を実行可と判定する。
これにより、バッテリに対する負荷を考慮して実行可能な分散処理を選択することができる。
(7) Preferably, the control unit executes two or more processes of two or more processes among the plurality of processes when the predicted power storage amount of the battery after the execution of the two or more processes is equal to or greater than a threshold value. Judge that it is possible.
This makes it possible to select a distributed process that can be executed in consideration of the load on the battery.
(8)好ましくは、制御部は、ユーザインタフェースを制御する車載制御装置に、処理の実行後のバッテリの予測蓄電量の、ユーザインタフェースでの出力を指示し、制御部は判定処理において、バッテリが電力供給を受けていない場合には、当該出力の後に処理の実行を指示するユーザ操作を受け付けた場合に、処理を実行可と判定する。
ユーザは、サーバから要求された処理による消費電力量に基づいて当該処理を実行するか否かを判断して指示することができるため、ユーザの使い勝手を向上させることができる。
(8) Preferably, the control unit instructs the in-vehicle control device that controls the user interface to output the predicted power storage amount of the battery after execution of the process at the user interface. When no power supply is received, it is determined that the process can be executed when a user operation instructing the execution of the process is received after the output.
Since the user can determine and instruct whether or not to execute the process based on the power consumption by the process requested from the server, the user-friendliness can be improved.
(9)好ましくは、サーバから複数の処理の実行の要求を取得した場合であって、バッテリが電力供給を受けていない場合には、制御部は、ユーザインタフェースを制御する車載制御装置に、複数の処理それぞれの実行後のバッテリの予測蓄電量の、ユーザインタフェースでの出力を指示し、制御部は判定処理において、当該出力の後に、複数の処理のうちの実行する処理の選択と当該処理の実行とを指示するユーザ操作を受け付けた場合に、選択された処理を実行可と判定する。
ユーザは、サーバから要求された複数の処理それぞれについての当該処理による消費電力量に基づいて当該処理を実行するか否かを判断して指示することができるため、ユーザの使い勝手を向上させることができる。
(9) Preferably, when a request for executing a plurality of processes is acquired from the server and the battery is not supplied with power, the control unit sets a plurality of in-vehicle control devices that control the user interface. Instructing the user interface to output the predicted amount of electricity stored in the battery after the execution of each of the processes, and the control unit in the determination process, after the output, selecting a process to be executed and performing the process When a user operation instructing execution is received, it is determined that the selected process is executable.
Since the user can determine and instruct whether or not to execute the process based on the power consumption of the process for each of a plurality of processes requested from the server, it is possible to improve the usability of the user. it can.
(10)好ましくは、ユーザインタフェースにおいて、予測蓄電量は、電力量を示す値、バッテリの全容量に対する割合、および航続距離、のうちの少なくとも1つで表される。
予測蓄電量がこのように表示されることによって、ユーザは、予測蓄電量を把握しやすくなり、サーバから要求された処理の実行の可否を判断しやすくなる。
(10) Preferably, in the user interface, the predicted power storage amount is represented by at least one of a value indicating the power amount, a ratio with respect to the total capacity of the battery, and a cruising distance.
By displaying the predicted power storage amount in this way, the user can easily grasp the predicted power storage amount and easily determine whether or not the processing requested by the server can be executed.
(11)好ましくは、制御部は、予測蓄電量に加えて、処理に要する時間と、処理の実行によってユーザが得ることのできる報酬とのうちの少なくとも1つを、ユーザインタフェースで出力させる。
このような情報が提示されることによって、ユーザは、様々な情報に基づいてサーバから要求された処理の実行の可否を判断することができる。
(11) Preferably, in addition to the predicted power storage amount, the control unit causes at least one of a time required for the process and a reward that the user can obtain by executing the process to be output by the user interface.
By presenting such information, the user can determine whether or not the processing requested by the server can be executed based on various information.
(12)好ましくは、制御部は、サーバからの要求が所定条件を満たす場合には判定処理を実行することなく処理を実行可とし、所定条件を満たさない場合に判定処理を実行して処理の実行の可否を判定する。
所定条件が用いられることによって、サーバから要求された処理の実行の可否の判定を容易にすることができる。
(12) Preferably, the control unit allows the process to be executed without executing the determination process when a request from the server satisfies a predetermined condition, and executes the determination process when the request does not satisfy the predetermined condition. Judge whether execution is possible.
By using the predetermined condition, it is possible to easily determine whether or not the process requested by the server can be executed.
(13)好ましくは、所定条件は、少なくとも、サーバからの要求を受信したタイミングに関する条件と、バッテリの蓄電量に関する条件と、を満たすことである。
上記条件が適切に設定されていることによって、処理の実行によって車両の走行に必要な蓄電量が不足するという事態を防止することができるとともに、当該処理が実行中であるために車両が走行できない、という事態も防止することができる。
(13) Preferably, the predetermined condition is to satisfy at least a condition related to a timing at which a request from the server is received and a condition related to a storage amount of the battery.
By appropriately setting the above conditions, it is possible to prevent a situation in which the amount of power necessary for traveling of the vehicle is insufficient due to execution of the process, and the vehicle cannot travel because the process is being performed. Can also be prevented.
(14)本実施の形態に含まれる制御方法は、(1)〜(13)のいずれか1つに記載の制御装置において車載制御装置を制御する方法である。
かかる制御方法は、上記(1)〜(13)の制御装置と同様の効果を奏する。
(14) The control method included in the present embodiment is a method of controlling the in-vehicle control device in the control device according to any one of (1) to (13).
This control method has the same effects as the control devices (1) to (13).
(15)本実施の形態に含まれるコンピュータプログラムは、コンピュータを、(1)〜(13)のいずれか1つに記載の制御装置として機能させる。
かかるコンピュータプログラムは、上記(1)〜(13)の制御装置と同様の効果を奏する。
(15) A computer program included in the present embodiment causes a computer to function as the control device according to any one of (1) to (13).
This computer program has the same effects as the control devices (1) to (13).
[実施の形態の詳細]
以下に、図面を参照しつつ、好ましい実施の形態について説明する。以下の説明では、同一の部品および構成要素には同一の符号を付してある。それらの名称および機能も同じである。したがって、これらの説明は繰り返さない。
[Details of the embodiment]
Hereinafter, preferred embodiments will be described with reference to the drawings. In the following description, the same parts and components are denoted by the same reference numerals. Their names and functions are also the same. Therefore, these descriptions will not be repeated.
<第1の実施の形態>
〔システムの全体構成〕
図1は、第1の実施形態にかかる分散処理システム(以下、単にシステムとも言う)の全体構成図である。分散処理システムは、分散処理を実行するシステムを指す。
<First Embodiment>
[Overall system configuration]
FIG. 1 is an overall configuration diagram of a distributed processing system (hereinafter also simply referred to as a system) according to a first embodiment. The distributed processing system refers to a system that executes distributed processing.
図1を参照して、本実施の形態にかかるシステムは、広域通信網2を介して通信可能な1または複数の車両1と、サーバ5と、を含む。車両1は、分散処理システムにおける演算処理能力のリソースとして機能する。サーバ5は、予め登録されたユーザが所有する1または複数の車両1と広域通信網2を介して通信可能である。車両1およびサーバ5は、さらに、広域通信網2を介してユーザインタフェース9とも通信可能である。ユーザインタフェース9は、たとえば、スマートフォンやタブレットなどのユーザの携帯可能な通信端末装置である。
Referring to FIG. 1, the system according to the present embodiment includes one or more vehicles 1 and a
サーバ5は、処理用のプログラムを保存する。当該プログラムは、異なるコンピュータによって実行可能な複数のプログラムからなる、分散処理可能なプログラムである。以降の説明において、上記処理用のプログラムを「全体プログラム」、全体プログラムを構成する上記複数のプログラムのそれぞれを「分散処理用プログラム」とも称する。サーバ5からの要求に応じてECU30が分散処理用プログラムを実行することを、分散処理を実行する、とも称する。
The
車両1には、車内通信線で接続された複数のECU30A,30B,…,30E(これらを総称してECU30とも称する)およびゲートウェイ10を含む車内ネットワーク(通信ネットワーク)4と、無線通信部15と、各ECU30によりそれぞれ制御される各種の車載機器と、が搭載されている。車載機器は、バッテリ(BAT)6を含む。車載機器に、ディスプレイ、スピーカ、カーナビゲーション装置等のユーザインタフェース7が含まれていてもよい。
The vehicle 1 includes an in-vehicle network (communication network) 4 including a plurality of
ECU30Aは、バッテリ6を管理するECUであって、バッテリ6の蓄電量(バッテリ残量とも言う)などのバッテリ状態を管理する。
ECU30Cは、車両1にユーザインタフェース7が搭載されている場合に、当該ユーザインタフェース7を制御するためのECUである。
ECU30B,30D,30Eは、それぞれ、その他の車載機器を制御するためのECUであって、いずれかのECU(またはすべてのECU)が、サーバ5から要求された処理(以下、分散処理とも称する)を実行可能な処理能力を有する。分散処理を実行可能な処理能力を有するECUは、たとえば、ADAS(Advanced Driver Assistance System:高度運転支援システム)ECUや、自動運転ECUなどの、カメラ画像やレーダのデータ等を処理する能力を持つECUである。
The
The
The
無線通信部15は、携帯電話網などの広域通信網2に通信可能に接続され、車内通信線によりゲートウェイ10に接続されている。無線通信部15は、たとえば、車載の専用通信端末である。その他、たとえば、ユーザが所有する携帯電話機、スマートフォン、タブレット型端末、ノートPC(Personal Computer)等の装置であってもよい。
The
ゲートウェイ10は、広域通信網2を介してサーバ5やユーザインタフェース9などの車外装置から無線通信部15が受信した情報を、車内通信線を介してECU30に送信する。また、ゲートウェイ10は、ECU30から取得した情報を無線通信部15に送信し、無線通信部15は、その情報をサーバ5やユーザインタフェース9などの車外装置に送信する。
The
複数のECU30同士は、車内通信線を介して情報を送受信する。複数のECUの中にはゲートウェイ10が含まれる。
The plurality of
なお、本実施の形態では、ゲートウェイ10が無線通信部15を介して車外装置と通信を行うが、ゲートウェイ10が無線通信の機能を有する場合には、ゲートウェイ10自身がサーバ5やユーザインタフェース9などの車外装置と無線通信を行う構成としてもよい。
In the present embodiment, the
〔ゲートウェイの内部構成〕
図2は、ゲートウェイ10の内部構成を示すブロック図である。
図2に示すように、ゲートウェイ10は、CPU11、RAM(Random Access Memory)12、記憶部13、および車内通信部14などを備える。ゲートウェイ10は、無線通信部15と車内通信線を介して接続されているが、これらは一つの装置で構成してもよい。
[Internal configuration of gateway]
FIG. 2 is a block diagram showing the internal configuration of the
As shown in FIG. 2, the
CPU11は、記憶部13に記憶された一または複数のプログラムをRAM12に読み出して実行することにより、ゲートウェイ10を本分散処理システムにおける制御装置として機能させる。
CPU11は、たとえば時分割で複数のプログラムを切り替えて実行することにより、複数のプログラムを並列的に実行可能である。なお、CPU11は複数のCPU群を代表するものであってもよい。この場合、CPU11の実現する機能は、複数のCPU群が協働して実現するものである。RAM12は、SRAM(Static RAM)またはDRAM(Dynamic RAM)等のメモリ素子で構成され、CPU11が実行するプログラムおよび実行に必要なデータ等が一時的に記憶される。
The CPU 11 causes the
The CPU 11 can execute a plurality of programs in parallel, for example, by switching and executing a plurality of programs in a time division manner. Note that the CPU 11 may represent a plurality of CPU groups. In this case, the functions realized by the CPU 11 are realized by the cooperation of a plurality of CPU groups. The
CPU11が実現するコンピュータプログラムは、CD−ROMやDVD−ROMなどの周知の記録媒体に記録した状態で譲渡することもできるし、サーバコンピュータなどのコンピュータ装置からの情報伝送によって譲渡することもできる。
この点は、後述のECU30のCPU31(図3参照)が実行するコンピュータプログラム、および、後述のサーバ5のCPU51(図4参照)が実行するコンピュータプログラムについても同様である。
The computer program realized by the CPU 11 can be transferred in a state of being recorded on a known recording medium such as a CD-ROM or DVD-ROM, or can be transferred by information transmission from a computer device such as a server computer.
The same applies to a computer program executed by a CPU 31 (see FIG. 3) of an
記憶部13は、フラッシュメモリ若しくはEEPROM等の不揮発性のメモリ素子などにより構成されている。記憶部13は、CPU11が実行するプログラムおよび実行に必要なデータ等を記憶する。さらに、記憶部13は、サーバ5からダウンロードされた、いずれかのECU30が実行する分散処理用のプログラムや当該プログラムに関する情報を一時的に記憶してもよい。
The
車内通信部14には、車両1に配設された車内通信線を介して複数のECU30が接続されている。車内通信部14は、たとえばCAN(Controller Area Network)の規格に応じて、ECU30との通信(CAN通信とも称する)を行う。車内通信部14の採用する通信規格はCANに限定されず、CANFD(CAN with Flexible Data Rate)、LIN(Local Interconnect Network)、Ethernet(登録商標)、またはMOST(Media Oriented Systems Transport:MOSTは登録商標)等の規格であってもよい。複数の車内通信線の中には、通信規格の異なるものが含まれていてもよい。
車内通信部14は、CPU11から与えられた情報を対象のECU30へ送信するとともに、ECU30から受信した情報をCPU11に与える。車内通信部14は、上記の通信規格だけでなく、車内ネットワーク4に用いる他の通信規格によって通信してもよい。
A plurality of
The in-
無線通信部15は、アンテナと、アンテナからの無線信号の送受信を実行する通信回路とを含む無線通信機よりなる。無線通信部15は、携帯電話網等の広域通信網2に接続されることにより車外装置との通信が可能である。
無線通信部15は、図示しない基地局により形成される広域通信網2を介して、CPU11から与えられた情報をサーバ5等の車外装置に送信するとともに、車外装置から受信した情報をCPU11に与える。
The
The
図2に示す無線通信部15に代えて、車両1内の中継装置として機能する有線通信部を採用してもよい。この有線通信部は、USB(Universal Serial Bus)またはRS232C等の規格に応じた通信ケーブルが接続されるコネクタを有し、通信ケーブルを介して接続された別の通信装置と有線通信を行う。
別の通信装置とサーバ5等の車外装置とが広域通信網2を通じた無線通信が可能である場合には、車外装置→別の通信装置→有線通信部→ゲートウェイ10の通信経路により、車外装置とゲートウェイ10とが通信可能になる。
Instead of the
When another communication device and a device outside the vehicle such as the
〔ECUの内部構成〕
図3は、ECU30の内部構成を示すブロック図である。
図3に示すように、ECU30は、CPU31、RAM32、記憶部33、および通信部34などを備える。ECU30は、車両1に搭載された対象機器を個別に制御する車載制御装置である。
[Internal configuration of ECU]
FIG. 3 is a block diagram showing an internal configuration of the
As shown in FIG. 3, the
CPU31は、記憶部33に予め記憶された一または複数のプログラムをRAM32に読み出して実行することにより実現される機能として、通常処理部311と、分散処理部312とを有する。通常処理部311で表されたCPU31の機能は、当該ECU30が担当する対象機器の動作を制御する。分散処理部312で表されたCPU31の機能は、当該ECU30を本分散処理システムにおける演算処理能力のリソースとして機能させ、サーバ5から要求された分散処理を実行する。CPU31もまた複数のCPU群を代表するものであってもよく、CPU31による制御は、複数のCPU群が協働することによる制御であってもよい。
RAM32は、SRAMまたはDRAM等のメモリ素子で構成され、CPU31が実行するプログラムおよび実行に必要なデータ等が一時的に記憶される。
The
The
記憶部33は、フラッシュメモリ若しくはEEPROM等の不揮発性のメモリ素子、或いは、ハードディスクなどの磁気記憶装置等により構成されている。
記憶部33は、CPU31が読み出して実行するプログラムを格納する。プログラムは、車内の制御対象である対象機器を制御するための情報処理をCPU31に実行させるためのコンピュータプログラムや当該プログラムを実行する際に用いるデータである制御プログラムなどのほか、分散処理用プログラムも含まれる。
The
The
通信部34には、車両1に配設された車内通信線を介してゲートウェイ10が接続されている。通信部34は、たとえばCAN、Ethernet、またはMOST等の規格に応じて、ゲートウェイ10との通信を行う。
通信部34は、CPU31から与えられた情報をゲートウェイ10へ送信するとともに、ゲートウェイ10から受信した情報をCPU31に与える。
The
The
〔サーバの内部構成〕
図4は、サーバ5の内部構成を示すブロック図である。
図4に示すように、サーバ5は、CPU51、ROM52、RAM53、記憶部54、および通信部55などを備える。
[Internal configuration of server]
FIG. 4 is a block diagram showing the internal configuration of the
As shown in FIG. 4, the
CPU51は、ROM52に予め記憶された一または複数のプログラムをRAM53に読み出して実行することにより、各ハードウェアの動作を制御し、サーバ5を分散処理システムにおけるサーバとして機能させる。CPU51もまた複数のCPU群を代表するものであってもよく、CPU51の実現する機能は、複数のCPU群が協働して実現するものであってもよい。
RAM53は、SRAMまたはDRAM等のメモリ素子で構成され、CPU51が実行するプログラムおよび実行に必要なデータ等が一時的に記憶される。
The
The
記憶部54は、フラッシュメモリ若しくはEEPROM等の不揮発性のメモリ素子、または、ハードディスクなどの磁気記憶装置等により構成されている。
通信部55は、所定の通信規格に則って通信処理を実行する通信装置よりなり、携帯電話網等の広域通信網2に接続されて当該通信処理を実行する。通信部55は、CPU51から与えられた情報を、広域通信網2を介して外部装置に送信するとともに、広域通信網2を介して受信した情報をCPU51に与える。
The
The
〔ゲートウェイの機能構成〕
ゲートウェイ10は、本分散処理システムにおける制御装置として機能して、演算処理能力のリソースであるECU30での分散処理の実行を制御する。図2を参照して、ゲートウェイ10のCPU11は当該制御を実現するための機能として、処理制御部111を含む。
[Gateway configuration]
The
ゲートウェイ10の実行する制御は、サーバ5から分散処理の要求を受ける処理と、バッテリ6への電力供給の状態に応じて分散処理の実行の可否を判定する判定処理と、を含む。そのため、処理制御部111は、第1取得部112と、第2取得部113と、判定部114と、を含む。
Control executed by the
第1取得部112で表されたCPU11の機能(以下、第1取得部112)は、サーバ5からの分散処理の実行の要求を取得する。サーバ5からの分散処理の実行の要求は、無線通信部15が受信する。第1取得部112は、無線通信部15から入力される信号より、サーバ5からの分散処理の実行の要求を取得する。分散処理の実行の要求は、サーバ5からの分散処理の実行を指示するコマンドの受信であってもよいし、サーバ5からの分散処理用プログラムの受信であってもよい。
The function of the CPU 11 represented by the first acquisition unit 112 (hereinafter, the first acquisition unit 112) acquires a request for execution of distributed processing from the
第2取得部113で表されたCPU11の機能(以下、第2取得部113)は、バッテリ6への電力供給の状態を取得する。バッテリ6への電力供給の状態は、バッテリ6への電力供給の有無を含む。
The function of the CPU 11 represented by the second acquisition unit 113 (hereinafter, the second acquisition unit 113) acquires the state of power supply to the
バッテリ6への電力供給がある状態は、たとえば、バッテリ6が図示しない充電装置に接続されていることを指す。または、バッテリ6への電力供給ある状態は、バッテリ6に対して充電動作が行われている状態であってもよい。
A state in which power is supplied to the
第2取得部113は、バッテリ6を管理するECU30AがCAN通信で送信する情報であるフレームを取得する。ECU30Aからのフレームには、バッテリ6が図示しない充電装置に接続されているか否かを示すデータ、または、バッテリ6に対して充電動作が行われているか否かを示すデータが含まれる。第2取得部113は、ECU30Aから取得したフレームに含まれる上記データを参照することによって、バッテリ6への電力供給の有無を特定する。
The
なお、バッテリ6への電力供給の有無は、ゲートウェイ10以外の装置で特定されてもよい。この場合、第2取得部113は、当該装置からバッテリ6への電力供給の状態を取得する。バッテリ6への電力供給の有無を特定する装置は、ECU30Aであってもよいし、バッテリ6自身であってもよい。
Note that the presence or absence of power supply to the
判定部114で表されたCPU11の機能(以下、判定部114)は、当該車両1が停車状態においてサーバ5から分散処理の実行が要求された場合に、判定処理を実行する。判定部114は、たとえば、ボデー系制御用ECU(ボデーECU)、パワートレイン制御用ECU(パワートレインECU)、配電制御ECU、スマートキーからの電子信号を用いたユーザ認証を実行するECU(スマートキー認証ECU)、などから取得したフレームに含まれる車両1の状態を示すデータを参照することによって、分散処理の実行の可否を判定可能である。
The function of the CPU 11 represented by the determination unit 114 (hereinafter, determination unit 114) executes the determination process when the server 1 is requested to execute the distributed process while the vehicle 1 is stopped. The
処理制御部111で表されたCPU11の機能(以下、処理制御部111)は、判定処理の結果にしたがって、ECU30で分散処理用プログラムの実行を開始させる。判定結果が分散処理が実行可能である場合、処理制御部111は分散処理の実行の指示を含むフレームを生成し、車内通信部14に対象のECU30に送信させる。また、第1取得部112がサーバ5から受信した分散処理用プログラムが記憶部13に記憶されている場合、処理制御部111は、車内通信部14に、上記指示とともにECU30に対して当該プログラムを送信させる。
The function of the CPU 11 represented by the process control unit 111 (hereinafter, process control unit 111) causes the
〔制御フロー〕
図5は、本実施の形態にかかるシステムにおいて、ゲートウェイ10で実行される制御処理の一例を表したフローチャートである。図5のフローチャートで表された処理は、ゲートウェイ10のCPU11が記憶部13に記憶されている制御用のプログラムをRAM12上に読み出して実行し、図2に示された各機能を発揮することによって実現される。
[Control flow]
FIG. 5 is a flowchart showing an example of control processing executed by the
図5を参照して、ゲートウェイ10のCPU11は、停車状態においてサーバ5から分散処理の要求を受信すると(ステップS101)、以降の判定処理を実行する。当該要求を受信したCPU11は、バッテリ6が電力供給を受けているか否を特定する。バッテリ6が電力供給を受けていることが特定された場合(ステップS103でYES)、CPU11は、分散処理の実行が可能と判定する(ステップS105)。この場合、CPU11は、分散処理を実行するECU30に対して、分散処理の実行を指示して(ステップS107)、一連の処理を終了する。
Referring to FIG. 5, when CPU 11 of
バッテリ6が電力供給を受けていることが特定されなかった場合、または、電力供給を受けていないことが特定された場合(ステップS103でNO)、CPU11は、分散処理の実行が不可と判定する(ステップS109)。この場合、CPU11は、上記ステップS107をスキップして、一連の処理を終了する。
When it is not specified that the
〔第1の実施の形態の効果〕
本実施の形態にかかるシステムでは、車両1に搭載されている分散処理用プログラムを実行可能な能力を有するECU30を、分散処理システムの演算処理能力のリソースとして活用することができる。車両1に搭載されているECU30を分散処理システムの演算処理能力のリソースとして活用することによって、新たにサーバ等の演算装置を設けることなく、既存の車両1のECU30を利用して分散処理が可能となる。そのため、分散処理システムを容易に構築することができる。
[Effect of the first embodiment]
In the system according to the present embodiment, the
車両1の停車中にサーバ5からの要求に応じてECU30が分散処理用プログラムを実行する場合、当該処理のためにバッテリ6の電力を消費する。そのため、ECU30が分散処理の実行のために消費する電力が大きい場合には、バッテリ残量が車両1の走行に必要な量よりも不足する可能性もある。
When the
これに対して、本システムでは、上記の制御が実行されることによって、停車状態においてサーバ5から分散処理が要求された場合に、バッテリ6が電力供給を受けている場合にはECU30が分散処理を実行し、そうでない場合にはECU30は分散処理を実行しない。これにより、バッテリ6が電力供給を受けていない状況下でECU30が分散処理を実行することによってバッテリ残量が車両の走行に必要な量よりも不足する、という事態を防止することができる。
On the other hand, in the present system, when the above processing is executed and the distributed processing is requested from the
<第2の実施の形態>
第1の実施の形態にかかるシステムでは、車両1が停車状態において、バッテリ6が電力供給を受けていない場合にはECU30において分散処理を実行しない。これにより、上記のようにバッテリ残量が車両の走行に必要な量よりも不足するという事態を防止することができる一方で、分散処理が実現されないという課題もある。
<Second Embodiment>
In the system according to the first embodiment, when the vehicle 1 is stopped and the
そこで、第2の実施の形態以降において、判定処理は、車両1が停車状態においてバッテリ6が電力供給を受けていない場合であっても分散処理を実行可能とする許可条件Cを設定し、当該条件を満たす場合には分散処理を実行可能と判定することを含む。許可条件Cは制御装置であるゲートウェイ10に予め記憶されており、一例として、図2に示されるように記憶部13に記憶されている。
Therefore, in the second and subsequent embodiments, the determination process sets permission conditions C that allow the distributed process to be executed even when the vehicle 1 is stopped and the
第2の実施の形態にかかるシステムでは、許可条件Cは、バッテリ残量が所定量以上であることである。そのため、判定部114は、上記所定量に相当する閾値Th1を記憶している。閾値Th1は、たとえば、通常の分散処理に必要な電力量が消費された場合であっても、その後のバッテリ残量が車両1の走行に必要な蓄電量を満たしていると想定される電力量に相当する値であって、たとえば、バッテリ6の最大蓄電量の80%である。閾値Th1は、予め判定部114に記憶されていてもよいし、ユーザやカーメーカーなどによって設定されてもよい。
In the system according to the second embodiment, the permission condition C is that the remaining battery level is a predetermined amount or more. Therefore, the
第2の実施の形態において、第2取得部113は、さらに、ECU30Aからバッテリ残量を取得する。判定部114は、車両1が停車中の状態においてバッテリ6が電力供給を受けていない場合であっても、バッテリ残量が閾値Th1以上である場合には、分散処理の実行が可能と判定する。バッテリ6が電力供給を受けていない場合であり、かつ、バッテリ残量が閾値Th1未満である場合には、判定部114は、分散処理の実行が不可と判定する。
In the second embodiment, the
図6は、第2の実施の形態にかかるシステムにおいてゲートウェイ10で実行される制御処理の一例を表したフローチャートである。図6のフローチャートで表された処理もまた、ゲートウェイ10のCPU11が記憶部13に記憶されている制御用のプログラムをRAM12上に読み出して実行し、図2に示された各機能を発揮することによって実現される。なお、図6において、図5のフローチャートと同じステップ番号が付された処理は、図5に示された処理と同じである。そのため、ここでの説明を繰り返さない。
FIG. 6 is a flowchart illustrating an example of a control process executed by the
図6を参照して、ゲートウェイ10のCPU11は、バッテリ6が電力供給を受けていると特定されなかった場合(ステップS103でNO)、バッテリ残量が閾値Th1以上であるか否かを判定する。バッテリ残量が閾値Th1以上である場合(ステップS201でYES)、CPU11は、分散処理の実行が可能と判定する(ステップS105)。この場合、CPU11は、分散処理を実行するECU30に対して、分散処理の実行を指示して(ステップS107)、一連の処理を終了する。
Referring to FIG. 6, CPU 11 of
バッテリ6が電力供給を受けていると特定されなかった場合であって(ステップS103でNO)、かつ、バッテリ残量が閾値Th1未満である場合(ステップS201でNO)、CPU11は、分散処理の実行が不可と判定する(ステップS109)。この場合、CPU11は、上記ステップS107をスキップして、一連の処理を終了する。
If it is not specified that the
第2の実施の形態にかかるシステムにおいて上記の制御が実行されることによって、車両1が停車中の状態においてサーバ5から分散処理が要求された場合に、バッテリ6が電力供給を受けていない場合であっても、バッテリ残量が一定量以上である場合にはECU30が分散処理を実行する。閾値Th1を適切に設定することによって、ECU30が分散処理を実行することで消費した電力量によって、バッテリ残量が車両の走行に必要な量よりも不足するという事態を防止することができるとともに、分散処理を実行可能と判定する機会を増加させることができる。そのため、当該車両1に搭載されているECU30が分散処理システムの演算処理能力のリソースとして用いられる可能性が高くなり、分散処理システムの構築を容易にできる。
When the above-described control is executed in the system according to the second embodiment, and when the distributed processing is requested from the
<第3の実施の形態>
第3の実施の形態にかかるシステムでは、許可条件Cは、分散処理実行後のバッテリ6の蓄電量の予測量(以下、バッテリ予測残量と称する)が所定量以上であることである。そのため、判定部114は、上記所定量に相当する閾値Th2を記憶している。閾値Th2は、たとえば、車両1の走行に必要な電気量、または、当該電気量に安全代(マージン)を加えた電気量に相当する値である。閾値Th2もまた、予め判定部114に記憶されていてもよいし、ユーザやカーメーカーなどによって設定されてもよい。
<Third Embodiment>
In the system according to the third embodiment, the permission condition C is that a predicted amount of the storage amount of the battery 6 (hereinafter referred to as a predicted battery remaining amount) after execution of the distributed processing is equal to or greater than a predetermined amount. Therefore, the
第3の実施の形態にかかるシステムにおいて、第2取得部113は、ECU30Aからバッテリ残量を取得する。そして、判定部114は、バッテリ予測残量PMを算出する。一例として、判定部114は、分散処理による消費電力量Pを取得し、バッテリ残量PCから除する(PM=PC−P)。判定部114が消費電力量Pを取得することは、消費電力量Pを算出することであってもよいし、サーバ5から消費電力量Pを示す情報を受信することであってもよい。
In the system according to the third embodiment, the
消費電力量Pは、一例として、予め記憶しているプログラムの単位サイズあたりのECU30での消費電力pを、サーバ5から受信した分散処理用プログラムのサイズSに消費電力pを乗じて得られる(P=p×S)。
For example, the power consumption amount P is obtained by multiplying the power consumption p in the
第3の実施の形態において、判定部114は、バッテリ6が電力供給を受けていない場合に、バッテリ予測残量PMを算出する。そして、バッテリ予測残量PMが閾値Th2以上である場合には、分散処理の実行が可能と判定する。バッテリ6が電力供給を受けていない場合であり、かつ、バッテリ予測残量PMが閾値Th2未満である場合、判定部114は、分散処理の実行が不可と判定する。
In the third embodiment, the
図7は、第3の実施の形態にかかるシステムにおいてゲートウェイ10で実行される制御処理の一例を表したフローチャートである。図7のフローチャートで表された処理もまた、ゲートウェイ10のCPU11が記憶部13に記憶されている制御用のプログラムをRAM12上に読み出して実行し、図2に示された各機能を発揮することによって実現される。なお、図7においても、図5のフローチャートと同じステップ番号が付された処理は、図5に示された処理と同じである。そのため、ここでの説明を繰り返さない。
FIG. 7 is a flowchart illustrating an example of a control process executed by the
図7を参照して、ゲートウェイ10のCPU11は、バッテリ6が電力供給を受けていると特定されなかった場合(ステップS103でNO)、バッテリ予測残量PMを算出する(ステップS301)。バッテリ予測残量PMが閾値Th2以上である場合(ステップS303でYES)、CPU11は、分散処理の実行が可能と判定する(ステップS105)。この場合、CPU11は、分散処理を実行するECU30に対して、分散処理の実行を指示して(ステップS107)、一連の処理を終了する。
Referring to FIG. 7, CPU 11 of
バッテリ6が電力供給を受けていると特定されなかった場合であって(ステップS103でNO)、かつ、バッテリ予測残量PMが閾値Th2未満である場合(ステップS303でNO)、CPU11は、分散処理の実行が不可と判定する(ステップS109)。この場合、CPU11は、上記ステップS107をスキップして、一連の処理を終了する。
If it is not specified that the
第3の実施の形態にかかるシステムにおいて上記の制御が実行されることによって、車両1が停車中の状態においてサーバ5から分散処理が要求された場合に、バッテリ6が電力供給を受けていない場合であっても、分散処理の実行後に予測されるバッテリ残量(バッテリ予測残量)が一定量以上である場合にはECU30が分散処理を実行する。本実施の形態にかかるシステムでは、分散処理に要する消費電力量を用いて分散処理の実行の可否を判定するため、バッテリ残量が車両の走行に必要な量よりも不足するという事態を、より防止することができる。
When the above-described control is executed in the system according to the third embodiment, and when the distributed processing is requested from the
<第4の実施の形態>
第4の実施の形態にかかるシステムでは、許可条件Cは、ユーザの許可があることである。そのため、判定部114は、上記のバッテリ予測残量を算出して、ユーザに提示する。判定部114でのバッテリ予測残量の算出は、第3の実施の形態にかかるシステムと同様である。
<Fourth embodiment>
In the system according to the fourth embodiment, the permission condition C is that the user has permission. For this reason, the
バッテリ予測残量の提示は、一例として、当該車両1のユーザの携帯するスマートフォンなどのユーザインタフェース9によって行われる。そのため、処理制御部111は、ユーザインタフェース9へのアクセス情報を予め記憶しておく。当該アクセス情報は、ユーザによって設定されてもよい。
As an example, the battery remaining battery level is presented by a
処理制御部111は、判定部114において算出されたバッテリ予測残量をユーザインタフェース9に表示するための情報を生成し、無線通信部15に、広域通信網2を介してユーザインタフェース9に送信させる。
The
車両1にディスプレイなどのユーザインタフェース7が含まれている場合、上記のユーザインタフェース9に替えて、または、加えて、ユーザインタフェース7によってバッテリ予測残量を提示してもよい。この場合、処理制御部111は、判定部114において算出されたバッテリ予測残量を示すデータを含むフレームを生成し、車内通信部14にユーザインタフェース7を制御するECU30Cに送信させるとともに、表示を指示する。
When the
図8は、ユーザインタフェース9に表示されるバッテリ予測残量を示す画面の一例を表した図である。図8を参照して、表示画面は、分散処理に関する情報を表示する領域C11と、当該分散処理の実行を指示するためのボタンC12と、実行しないことを指示するためのボタンC13と、を含む。
FIG. 8 is a diagram illustrating an example of a screen indicating the estimated battery remaining amount displayed on the
分散処理に関する情報は、たとえば、消費電力量を示す情報や、分散処理に要する時間を示す情報を含む。図8の画面例においては、消費電力を示す情報は、分散処理に必要な消費電力量のバッテリ残量に対する割合(20%)である。 The information regarding the distributed processing includes, for example, information indicating the power consumption amount and information indicating the time required for the distributed processing. In the screen example of FIG. 8, the information indicating the power consumption is the ratio (20%) of the power consumption required for the distributed processing to the remaining battery capacity.
好ましくは、領域C11は、バッテリ予測残量の表示C111を含む。表示C111は、分散処理実行前のバッテリ残量と、分散処理実行後のバッテリ予測残量との表示を含む。図例では、バッテリ残量が80%であり、バッテリ予測残量が60%である。表示C111は、たとえば、図示されたように、蓄電量に応じてセグメント数や面積や長さなどが異なる画像である。なお、バッテリ予測残量の表示C111は、図8に示されたように、バッテリ6の全容量(満充電した場合の電気量)に対する蓄電量の割合で表されてもよいし、電力量で表されてもよいし、当該蓄電量で走行可能な最大距離(航続距離)で表されてもよいし、これらのうちの2つ以上での表示が含まれてもよい。これは、以降の実施の形態においても同様である。バッテリ予測残量がこのように表示されることによって、ユーザは、バッテリ予測残量を把握しやすくなり、分散処理の実行の可否を判断しやすくなる。 Preferably, the area C11 includes a display C111 of the estimated battery remaining amount. The display C111 includes a display of the remaining battery level before execution of the distributed processing and the predicted remaining battery level after execution of the distributed processing. In the illustrated example, the remaining battery level is 80%, and the predicted battery level is 60%. The display C111 is, for example, an image in which the number of segments, the area, the length, and the like are different depending on the amount of stored electricity as illustrated. In addition, as shown in FIG. 8, the estimated battery remaining amount display C <b> 111 may be expressed as a ratio of the charged amount with respect to the entire capacity of the battery 6 (the amount of electricity when fully charged), or the amount of power. It may be represented by the maximum distance (cruising distance) that can be traveled with the amount of electricity stored, or may include display of two or more of these. The same applies to the following embodiments. By displaying the estimated battery remaining amount in this way, the user can easily grasp the estimated battery remaining amount and easily determine whether or not to execute the distributed processing.
これらの消費電力を示す情報をユーザインタフェース9に表示させるために、処理制御部111は消費電力量Pを算出する。消費電力量Pの算出は、一例として、第3の実施の形態にかかるシステムと同様の方法である。また、処理制御部111は、分散処理に要する時間Tを算出する。時間Tは、一例として、予め記憶している、プログラムの単位サイズあたりのECU30での処理時間tを、サーバ5から受信した分散処理用プログラムのサイズSに乗じて得られる(T=t×S)。
In order to display the information indicating the power consumption on the
第4の実施の形態において、判定部114は、当該画面をユーザインタフェース9に表示させた後に、ユーザから実行が指示された場合に、分散処理の実行が可能と判定する。実行の指示は、一例として、ユーザインタフェース9から受信する。ユーザインタフェース9は、図8の画面においてボタンC12またはボタンC13が操作(タッチ、または押下)されると、操作されたボタンを示す情報を広域通信網2を介してゲートウェイ10に送信する。判定部114は、無線通信部15から入力された信号が、ユーザインタフェース9からボタンC12が操作されたことを示す情報を受信したことを示す信号である場合に、分散処理の実行が可能と判定する。
In the fourth embodiment, the
好ましくは、分散処理に関する情報は、当該分散処理を実行することによって演算処理能力のリソースとなるECU30を搭載した車両1のユーザに与えられる報酬(インセンティブ)に関する情報を含む。報酬は、たとえば、金員や、特定の得点と変換可能なポイント、物品、などである。処理制御部111は、サーバ5から当該情報を受信して、当該情報を含む画面をユーザインタフェース9に表示するための情報を生成し、無線通信部15に、広域通信網2を介してユーザインタフェース9に送信させる。
Preferably, the information related to the distributed processing includes information related to a reward (incentive) given to the user of the vehicle 1 equipped with the
図9は、第4の実施の形態にかかるシステムにおいてゲートウェイ10で実行される制御処理の一例を表したフローチャートである。図9のフローチャートで表された処理もまた、ゲートウェイ10のCPU11が記憶部13に記憶されている制御用のプログラムをRAM12上に読み出して実行し、図2に示された各機能を発揮することによって実現される。なお、図9においても、図5のフローチャートと同じステップ番号が付された処理は、図5に示された処理と同じである。そのため、ここでの説明を繰り返さない。
FIG. 9 is a flowchart illustrating an example of a control process executed by the
図9を参照して、ゲートウェイ10のCPU11は、バッテリ6が電力供給を受けていると特定されなかった場合(ステップS103でNO)、バッテリ予測残量PMを算出する(ステップS403)。CPU11は、当該車両1のユーザと関連付けて予め記憶しているユーザインタフェース9に、バッテリ予測残量PMを含む、図8のような画面を表示させるための情報を送信する(ステップS405)。
Referring to FIG. 9, when it is not specified that
その後、分散処理の実行を指示するユーザ操作が入力されると(ステップS407でYES)、CPU11は、分散処理の実行が可能と判定する(ステップS105)。たとえば、ユーザインタフェース9から当該ユーザ操作がなされたことを示す情報が送信される。この場合、CPU11は、分散処理を実行するECU30に対して分散処理の実行を指示して(ステップS107)、一連の処理を終了する。
Thereafter, when a user operation instructing execution of the distributed processing is input (YES in step S407), the CPU 11 determines that the distributed processing can be executed (step S105). For example, information indicating that the user operation has been performed is transmitted from the
第4の実施の形態にかかるシステムでは、ユーザが車両1を駐車している間にサーバ5から分散処理の実行が要求されると、当該ユーザの携帯するスマートフォンなどのユーザインタフェース9に、図8の画面が表示されることが想定される。ユーザは、図8の画面を見ることによって、車両1の走行予定(距離等)などとバッテリ予測残量とを比較したり、車両1の走行予定(発車時刻)などと処理時間とを比較したり、それらと報酬とのバランスを考慮したりして、当該分散処理の実行の可否を判断することができる。
In the system according to the fourth embodiment, when execution of distributed processing is requested from the
第4の実施の形態にかかるシステムにおいて上記の制御が実行されることによって、車両1が停車中の状態においてサーバ5から分散処理が要求された場合に、バッテリ6が電力供給を受けていない場合であっても、当該処理による消費電力量に基づいてユーザが許可した場合にはECU30が分散処理を実行する。このため、ユーザの使い勝手を向上させることができる。
When the above-described control is executed in the system according to the fourth embodiment, and when the distributed processing is requested from the
このとき、図8に示されたように、分散処理による消費電力量のみならず、処理時間や報酬などもユーザインタフェース9によってユーザに提示されることで、ユーザは、様々な情報に基づいて分散処理の実行の可否を判断することができる。
At this time, as shown in FIG. 8, not only the power consumption by the distributed processing but also the processing time and reward are presented to the user by the
<変形例>
上記の例では、車両1が停車中の状態においてサーバ5から分散処理が要求された場合に、バッテリ6が電力供給を受けていない場合には、すべての分散処理についてユーザによる実行の可否の判断および操作が必要となる。そのため、ユーザによっては煩雑に感じる場合もある。そこで、変形例にかかるシステムでは、許可条件Cがユーザによって設定される条件である事前条件を含み、当該事前条件を満たす場合には判定処理を実行することなく実行可能と判定する。
<Modification>
In the above example, when distributed processing is requested from the
事前条件は、少なくとも、分散処理が要求される時刻が含まれる時間帯(第1条件)と、バッテリ残量の閾値Th1(第2条件)とを含む。第1条件は、分散処理が実行可能なECU30が他の処理を行っていない時間帯が想定される。他の処理を行っていない時間帯は、車両1が走行していない時間帯を含み、たとえば、0:00〜5:00および9:00〜17:00の時間帯である。第2条件は、上記のように、たとえばバッテリ6の最大蓄電量の80%である。なお、ここでは、第2条件とするバッテリ残量の閾値が第2の実施の形態における制御処理で用いられた閾値Th1と同じものとしているが、異なる閾値であってもよい。
The precondition includes at least a time zone (first condition) including a time at which distributed processing is required, and a threshold value Th1 (second condition) of the remaining battery level. The first condition is assumed to be a time period during which the
判定部114は、第1条件が満たされ、かつ、第2条件が満たされる場合には、判定処理を実行することなく分散処理を実行可能と判定する。たとえば、上の例の場合、サーバ5から分散処理の実行が要求された時刻が上記時間帯に属し、かつ、サーバ5から要求された時点におけるバッテリ残量が80%以上である場合、判定部114は、判定処理を実行することなく分散処理を実行可能と判定する。
When the first condition is satisfied and the second condition is satisfied, the
事前条件は、上記第1条件および第2条件に加えて、分散処理の依頼者を特定する情報(第3条件)や、単位処理時間あたりの報酬量(第4条件)などを含んでもよい。第3条件に関して、判定部114は、第1条件および第2条件を満たすことに加えて、たとえば、サーバ5が特定の依頼者に関連付けられたサーバであった場合に、判定処理を実行することなく分散処理を実行可能と判定する。第4条件に関して、判定部114は、第1条件および第2条件を満たすことに加えて、たとえば、単位処理時間あたりの報酬額が事前条件で規定された金額以上である場合に、判定処理を実行することなく分散処理を実行可能と判定する。
In addition to the first condition and the second condition, the precondition may include information (third condition) for specifying a requester of distributed processing, a reward amount per unit processing time (fourth condition), and the like. Regarding the third condition, in addition to satisfying the first condition and the second condition, the
変形例にかかるシステムでは、ゲートウェイ10のCPU11は、図9に示されたように、サーバ5から分散処理の要求を受信すると(ステップS101)、まず、事前条件を満たすか否かを確認する。そして、事前条件を満たす場合には(ステップS401でYES)、判定処理の実行をスキップして、分散処理の実行を指示する(ステップS107)。事前条件を満たさない場合に(ステップS401でNO)、ステップS403以降の判定処理を実行する。
In the system according to the modified example, when the CPU 11 of the
変形例にかかるシステムにおいて上記の制御が実行されることによって、ユーザが設定した事前条件を満たす場合には、ユーザが実行の要否を確認することなく分散処理が実行される。ユーザによる車両1の使用予定などに応じて予め事前条件を設定しておくことで、実行を指示するユーザ操作を抑えることができ、ユーザの使い勝手をより向上させることができる。 When the above-described control is executed in the system according to the modified example and the precondition set by the user is satisfied, the distributed processing is executed without confirming whether the user needs to execute. By setting a precondition in advance according to a user's use schedule of the vehicle 1 and the like, it is possible to suppress a user operation for instructing execution and to further improve the user's usability.
<第5の実施の形態>
第5の実施の形態にかかるシステムでは、許可条件Cは、バッテリ予測残量が所定量以上であることであって、サーバ5から複数の分散処理の実行が要求された場合に、その中から許可条件Cを満たす分散処理を実行可能と判定する。判定部114でのバッテリ予測残量の算出は、第3の実施の形態にかかるシステムと同様である。ここでは、上記所定量に相当する閾値が第3の実施の形態にかかるシステムと同じ閾値Th2とするが、他の閾値であってもよい。
<Fifth embodiment>
In the system according to the fifth embodiment, the permission condition C is that the estimated battery remaining amount is equal to or greater than a predetermined amount, and when the
第5の実施の形態において、判定部114は、車両1が停車中の状態においてバッテリ6が電力供給を受けていない場合に、各分散処理についてのバッテリ予測残量を算出する。一例として、判定部114は、当該複数の分散処理のうちの、バッテリ予測残量が閾値Th2以上となる分散処理を実行可能と判定する。
In the fifth embodiment, the
該当する分散処理が複数ある場合、一例として、判定部114は、該当する複数の分散処理のうちの、消費電力量が最大の分散処理を実行可能と判定する。これにより、分散処理システムにより大きく貢献することができる。または、消費電力量が最小の分散処理を実行可能と判定してもよい。これにより、当該処理を実行するECUの負荷を小さくすることができる。
When there are a plurality of corresponding distributed processes, for example, the
なお、分散処理を実行可能な複数のECUが当該車両1に搭載されている場合、判定部114は、該当する複数の分散処理のうちの、併せて処理した後のバッテリ予測残量が閾値Th2以上となる複数の分散処理を実行可能と判定してもよい。これにより、分散処理システムにより大きく貢献することができる。
When a plurality of ECUs capable of executing the distributed processing are mounted on the vehicle 1, the
図10は、第5の実施の形態にかかるシステムにおいてゲートウェイ10で実行される制御処理の一例を表したフローチャートである。図10のフローチャートで表された処理もまた、ゲートウェイ10のCPU11が記憶部13に記憶されている制御用のプログラムをRAM12上に読み出して実行し、図2に示された各機能を発揮することによって実現される。なお、図10についても、図5のフローチャートと同じステップ番号が付された処理は、図5に示された処理と同じである。そのため、ここでの説明は繰り返さない。
FIG. 10 is a flowchart illustrating an example of a control process executed by the
図10を参照して、ゲートウェイ10のCPU11は、サーバ5から複数の分散処理の実行の要求を受信すると(ステップS501)、バッテリ6が電力供給を受けていると特定されなかった場合(ステップS103でNO)、要求された各分散処理について、バッテリ予測残量を算出する(ステップS503)。
Referring to FIG. 10, when CPU 11 of
複数の分散処理のうち、バッテリ予測残量が閾値Th2以上の分散処理がある場合(ステップS505でYES)、当該分散処理の実行が可能と判定する(ステップS105)。バッテリ予測残量が閾値Th2以上である分散処理が複数ある場合、CPU11は、一例としてその中から消費電力量が最大となる分散処理を選択する(ステップS507)。そして、CPU11は、選択した分散処理の実行が可能と判定する(ステップS105)。CPU11は、分散処理を実行するECU30に対して、分散処理の実行を指示して(ステップS107)、一連の処理を終了する。
If there is a distributed process with a predicted battery remaining amount equal to or greater than the threshold Th2 among the plurality of distributed processes (YES in step S505), it is determined that the distributed process can be executed (step S105). When there are a plurality of distributed processes whose estimated battery remaining amount is equal to or greater than the threshold Th2, the CPU 11 selects a distributed process that maximizes the power consumption from among the distributed processes (step S507). Then, the CPU 11 determines that the selected distributed processing can be executed (step S105). The CPU 11 instructs the
サーバ5から要求された複数の分散処理のうちに、バッテリ予測残量が閾値Th2以上である分散処理が1つもない場合には(ステップS505でNO)、CPU11は、いずれの分散処理も実行が不可と判定する(ステップS109)。この場合、CPU11は、上記ステップS107をスキップして、一連の処理を終了する。
If none of the plurality of distributed processes requested by the
第5の実施の形態にかかるシステムにおいては、バッテリ6が電力供給を受けていると特定された場合に(ステップS103でYES)、一例として、CPU11は、サーバ5から実行を要求された複数の分散処理のうちの消費電力量が最大となる分散処理を選択する(ステップS507)。そして、CPU11は、選択した分散処理の実行が可能と判定する(ステップS105)。なお、分散処理を実行可能な複数のECUが当該車両1に搭載されている場合であって、サーバ5から要求された分散処理の数が当該ECUの数以下である場合に、CPU11は、ステップ507をスキップして、ステップS105で、サーバ5から実行を要求された複数の分散処理すべてを実行可能と判定してもよい。
In the system according to the fifth embodiment, when it is specified that the
上記ステップS501でサーバ5から複数の分散処理A,B,Cの実行の要求を受信し、上記ステップS503で分散処理A〜Cについて下のようにバッテリ予測残量が算出されたとする。
分散処理A:1400[Wh](消費電力量100[Wh])
分散処理B:1450[Wh](消費電力量50[Wh])
分散処理C:1100[Wh](消費電力量400[Wh])
Assume that a request to execute a plurality of distributed processes A, B, and C is received from the
Distributed processing A: 1400 [Wh] (power consumption 100 [Wh])
Distributed processing B: 1450 [Wh] (power consumption 50 [Wh])
Distributed processing C: 1100 [Wh] (power consumption 400 [Wh])
バッテリ6が電力供給を受けていない場合、閾値Th2が1200[Wh]であるときには、上記ステップS505で分散処理Cの実行が不可と判定される。処理A,Bについては、上記ステップS507で消費出力量が最大となる分散処理Aが選択され、実行可能と判定される。
If the
バッテリ6が電量供給を受けている場合、上記ステップS507で消費出力量が最大となる分散処理Cが選択され、実行可能と判定される。このように、第5の実施の形態にかかるシステムでは、車両1が停車中の状態において複数の分散処理の実行が要求された場合に、バッテリに対する負荷を考慮して実行可能な分散処理を選択することができる。
When the
また、他の例として、分散処理を実行可能な複数のECUが車両1に搭載されている場合には、各ECU30が、バッテリ予測残量の合計が一定量以上を満たす複数の分散処理を実行してもよい。これにより、より多くの分散処理を同時に実行でき、分散処理システムに大きく貢献することができる。
As another example, when a plurality of ECUs capable of executing distributed processing are mounted on the vehicle 1, each
<第6の実施の形態>
第6の実施の形態にかかるシステムでは、許可条件Cは、ユーザの許可があることであって、判定処理では、サーバ5から複数の分散処理の実行が要求された場合に、その中から許可条件Cを満たす分散処理が実行可能と判定される。そのため、判定部114は、サーバ5から実行が要求された複数の分散処理それぞれについてバッテリ予測残量を算出して、ユーザに提示する。判定部114でのバッテリ予測残量の算出は、第3の実施の形態にかかるシステムと同様である。処理制御部111でのバッテリ予測残量の提示は、第4の実施の形態にかかるシステムと同様である。
<Sixth Embodiment>
In the system according to the sixth embodiment, the permission condition C is that the user has permission. In the determination process, when the
図11(A)〜図11(C)は、それぞれ、ユーザインタフェース9に表示されるバッテリ予測残量を示す画面の一例を表した図である。これら画面は、サーバ5から以下の分散処理A,B,Cの実行が要求された場合に、ユーザインタフェース9に表示される画面である。詳しくは、図11(A)はいずれの分散処理も選択されていない状態、図11(B)は分散処理Aが選択された状態、図11(B)は分散処理Aと分散処理Bとの両方が選択された状態を示している。
分散処理A:消費電力量20%、処理時間30分、報酬1000円
分散処理B:消費電力量10%、処理時間10分、報酬500円
分散処理C:消費電力量50%、処理時間90分、報酬500円
FIG. 11A to FIG. 11C are diagrams each showing an example of a screen indicating the estimated battery remaining amount displayed on the
Distributed processing A:
図11(A)を参照して、表示画面は、分散処理に関する情報を表示する領域C21と、複数の分散処理(図例では分散処理A,B,C)それぞれを選択するためのボタンC22〜C24と、1または複数の選択された分散処理の実行を指示するためのボタンC23と、実行しないことを指示するためのボタンC26と、を含む。分散処理に関する情報はたとえば、第4の実施の形態と同様である。 Referring to FIG. 11A, the display screen includes an area C21 for displaying information on distributed processing, and buttons C22 to C22 for selecting each of a plurality of distributed processing (distributed processing A, B, C in the illustrated example). C24, a button C23 for instructing execution of one or a plurality of selected distributed processes, and a button C26 for instructing not to execute the process. The information regarding the distributed processing is the same as that in the fourth embodiment, for example.
好ましくは、図8の画面例と同様に、領域C21は、バッテリ予測残量の表示C211を含む。図11(A)に示される、いずれの分散処理も選択されていない状態で、表示C211は、バッテリ残量を示す。図例では、バッテリ残量が80%である。表示C211は、たとえば、図示されたように、蓄電量に応じてセグメント数や面積や長さなどが変化する画像である。 Preferably, similarly to the screen example of FIG. 8, the region C <b> 21 includes a battery predicted remaining amount display C <b> 211. In a state where no distributed processing is selected as shown in FIG. 11A, the display C211 indicates the remaining battery level. In the illustrated example, the remaining battery level is 80%. The display C211 is, for example, an image in which the number of segments, the area, the length, and the like change according to the amount of stored electricity as illustrated.
図11(B)を参照して、分散処理Aが選択されると、表示C211は、バッテリ残量(80%)から消費電力量20%を除いたバッテリ予測残量(60%)に変化する。図11(C)を参照して、分散処理Aと分散処理Bとが選択されると、表示C211は、バッテリ残量(80%)から消費電力量20%および消費電力量10%を除いたバッテリ予測残量(50%)に変化する。このように分散処理の選択に応じてバッテリ予測残量が表示されることで、ユーザは、バッテリ予測残量を考慮して実行する分散処理を選択し易くなる。また、図示されたように、バッテリ量が上記のような画像で表されることで、ユーザはバッテリ予測残量を一目で把握することができる。 Referring to FIG. 11B, when distributed processing A is selected, display C211 changes to a predicted battery remaining amount (60%) obtained by removing 20% of power consumption from the remaining battery amount (80%). . Referring to FIG. 11C, when distributed processing A and distributed processing B are selected, display C211 excludes 20% power consumption and 10% power consumption from the remaining battery power (80%). It changes to the estimated battery remaining amount (50%). As described above, the predicted battery remaining amount is displayed in accordance with the selection of the distributed processing, so that the user can easily select the distributed processing to be executed in consideration of the predicted battery remaining amount. Moreover, as shown in the drawing, the battery amount is represented by the image as described above, so that the user can grasp the estimated battery remaining amount at a glance.
第6の実施の形態においても、第4の実施の形態と同様に、判定部114は当該画面をユーザインタフェース9に表示させた後にユーザから実行する分散処理が選択され、当該処理の実行が指示された場合に、選択された分散処理の実行が可能と判定する。分散処理の選択および実行の指示は、第4の実施の形態と同様である。
Also in the sixth embodiment, as in the fourth embodiment, the
図12は、第6の実施の形態にかかるシステムにおいてゲートウェイ10で実行される制御処理の一例を表したフローチャートである。図10のフローチャートに表された処理もまた、ゲートウェイ10のCPU11が記憶部13に記憶されている制御用のプログラムをRAM12上に読み出して実行し、図2に示された各機能を発揮することによって実現される。なお、図12においても、図5のフローチャートと同じステップ番号が付された処理は、図5に示された処理と同じである。そのため、ここでの説明を繰り返さない。
FIG. 12 is a flowchart illustrating an example of a control process executed by the
図12を参照して、ゲートウェイ10のCPU11は、車両1が停車中の状態においてサーバ5から複数の分散処理の実行の要求を受信すると(ステップS601)、バッテリ6が電力供給を受けていると特定されなかった場合(ステップS103でNO)、要求された各分散処理について、バッテリ予測残量を算出する(ステップS603)。CPU11は、当該車両1のユーザと関連付けて予め記憶しているユーザインタフェース9に、各分散処理のバッテリ予測残量を含む、図11(A)〜図11(C)のような画面を表示させるための情報を送信する(ステップS605)。
Referring to FIG. 12, when CPU 11 of
その後、分散処理の選択および実行を指示するユーザ操作が入力されると(ステップS607でYES)、CPU11は、選択された分散処理の実行が可能と判定する(ステップS105)。この場合、CPU11は、分散処理を実行するECU30に対して分散処理の実行を指示して(ステップS107)、一連の処理を終了する。
Thereafter, when a user operation for instructing selection and execution of distributed processing is input (YES in step S607), the CPU 11 determines that the selected distributed processing can be executed (step S105). In this case, the CPU 11 instructs the
第6の実施の形態にかかるシステムにおいて上記の制御が実行されることによって、サーバ5から分散処理が要求された場合に、バッテリ6が電力供給を受けていない場合であっても、ユーザが実行を許可した分散処理についてECU30が実行する。これにより、ユーザは、サーバ5から実行が要求された複数の分散処理の中から実行する分散処理を選択して指示することができるため、ユーザの使い勝手を向上させることができる。
By executing the above control in the system according to the sixth embodiment, when the distributed processing is requested from the
このとき、図11に示されたように、各分散処理による消費電力量や、実行に要する時間や、報酬などの情報がユーザインタフェース9によってユーザに提示されるため、ユーザは、これらの情報に基づいて実行する分散処理を選択することができる。
At this time, as shown in FIG. 11, information such as the amount of power consumed by each distributed process, the time required for execution, and rewards is presented to the user by the
<変形例>
なお、第6の実施の形態の制御処理においても、第4の実施の形態での制御処理と同様に、事前条件を満たさない場合に判定処理を実行し、満たす場合には判定処理を実行せずに分散処理の実行可と判定してもよい。これにより、実行する分散処理を選択したり、実行を指示したりするユーザ操作を抑えることができ、ユーザの使い勝手をより向上させることができる。
<Modification>
In the control process of the sixth embodiment, as in the control process of the fourth embodiment, the determination process is executed when the precondition is not satisfied, and the determination process is executed when the precondition is satisfied. Alternatively, it may be determined that the distributed processing can be executed. As a result, user operations for selecting a distributed process to be executed or instructing execution can be suppressed, and user convenience can be further improved.
<他の例1>
なお、上の説明では、第4の実施の形態での制御処理および第6の実施の形態での制御処理において、変形例として事前条件を用いるものとしている。これにより、これら実施の形態にかかるシステムにおいて必要とされる、分散処理の実行を指示したり、実行する分散処理を選択したりするユーザ操作を抑え、ユーザの使い勝手を向上させることができるためである。
<Other example 1>
In the above description, a precondition is used as a modification in the control process in the fourth embodiment and the control process in the sixth embodiment. As a result, it is possible to suppress user operations required for the system according to these embodiments to instruct execution of distributed processing and to select distributed processing to be executed, and to improve user convenience. is there.
しかしながら、これら実施の形態4,6のみに限定されず、上記したいずれの実施の形態においても事前条件が用いられてもよい。たとえば、第1の実施の形態の制御処理においては、ステップS101でサーバ5から分散処理の実行の要求を受信した場合、CPU11は、事前条件が満たされる場合、つまり、少なくとも、受信時刻が所定の時間帯に属し(第1条件)、かつ、バッテリ残量が閾値Th1以上である場合(第2条件)、ステップS103の判定処理を実行することなく、ステップS105で当該処理を実行可能と判定してよい。
However, the present invention is not limited to these
実施の形態4,6以外の実施の形態にかかるシステムにおいて事前条件が用いられることによって、事前条件を満たすことが判定されると判定処理を不要とすることができる。それ故、制御処理を容易にすることができる。 By using the precondition in the systems according to the embodiments other than the fourth and sixth embodiments, it is possible to make the determination process unnecessary if it is determined that the precondition is satisfied. Therefore, the control process can be facilitated.
<他の例2>
以上の説明では、上記の制御処理が、すべて、ゲートウェイ10のCPU11によって行われているものとしている。しかしながら、上の例は一例に過ぎず、分散処理システム上のいずれの装置で行われてもよい。すなわち、分散処理システムにおける制御装置はゲートウェイ10に限定されず、他の装置であってもよい。他の例として、サーバ5側で制御処理の少なくとも一部が実行されてもよい。この場合、分散システムにおける制御装置は、サーバ5とゲートウェイ10とが協働して実現される。たとえば、図4に示されたように、サーバ5のCPU51は、取得部512、および判定部114に相当する判定部513で表された機能を有する。取得部512は、ゲートウェイ10の第2取得部113で取得されたバッテリ6への電力供給状態をゲートウェイ10から受信する。判定部513は判定処理を実行する。サーバ5は、判定部513での判定処理の結果にしたがって、ゲートウェイ10に対して分散処理の実行の要求を行う。
<Other example 2>
In the above description, it is assumed that all the control processes described above are performed by the CPU 11 of the
サーバ5側で制御処理を実行する場合であっても、上記した各実施の形態と同様に制御処理を実現することができる。サーバ5側で制御処理を実行することによって、サーバ5からゲートウェイ10への要求を判定結果に基づいて行うことができるため、分散処理システム全体での通信を抑えることができる。
Even when the control process is executed on the
開示された特徴は、1つ以上のモジュールによって実現される。たとえば、当該特徴は、回路素子その他のハードウェアモジュールによって、当該特徴を実現する処理を規定したソフトウェアモジュールによって、または、ハードウェアモジュールとソフトウェアモジュールとの組み合わせによって実現され得る。 The disclosed features are realized by one or more modules. For example, the feature can be realized by a circuit element or other hardware module, by a software module that defines processing for realizing the feature, or by a combination of a hardware module and a software module.
上述の動作をコンピュータに実行させるための、1つ以上のソフトウェアモジュールの組み合わせであるプログラムとして提供することもできる。このようなプログラムは、コンピュータに付属するフレキシブルディスク、CD−ROM(Compact Disk-Read Only Memory)、ROM、RAMおよびメモリカードなどのコンピュータ読取り可能な記録媒体にて記録させて、プログラム製品として提供することもできる。あるいは、コンピュータに内蔵するハードディスクなどの記録媒体にて記録させて、プログラムを提供することもできる。また、ネットワークを介したダウンロードによって、プログラムを提供することもできる。 It can also be provided as a program that is a combination of one or more software modules for causing a computer to execute the above-described operation. Such a program is recorded on a computer-readable recording medium such as a flexible disk attached to the computer, a CD-ROM (Compact Disk-Read Only Memory), a ROM, a RAM, and a memory card, and provided as a program product. You can also. Alternatively, the program can be provided by being recorded on a recording medium such as a hard disk built in the computer. A program can also be provided by downloading via a network.
なお、本開示にかかるプログラムは、コンピュータのオペレーティングシステム(OS)の一部として提供されるプログラムモジュールのうち、必要なモジュールを所定の配列で所定のタイミングで呼出して処理を実行させるものであってもよい。その場合、プログラム自体には上記モジュールが含まれずOSと協働して処理が実行される。このようなモジュールを含まないプログラムも、本開示にかかるプログラムに含まれ得る。 The program according to the present disclosure is a program module that is provided as a part of a computer operating system (OS) and calls necessary modules in a predetermined arrangement at a predetermined timing to execute processing. Also good. In that case, the program itself does not include the module, and the process is executed in cooperation with the OS. Such a program that does not include a module may also be included in the program according to the present disclosure.
また、本開示にかかるプログラムは他のプログラムの一部に組込まれて提供されるものであってもよい。その場合にも、プログラム自体には上記他のプログラムに含まれるモジュールが含まれず、他のプログラムと協働して処理が実行される。このような他のプログラムに組込まれたプログラムも、本開示にかかるプログラムに含まれ得る。提供されるプログラム製品は、ハードディスクなどのプログラム格納部にインストールされて実行される。なお、プログラム製品は、プログラム自体と、プログラムが記録された記録媒体とを含む。 Further, the program according to the present disclosure may be provided by being incorporated in a part of another program. Even in this case, the program itself does not include the module included in the other program, and the process is executed in cooperation with the other program. A program incorporated in such another program may also be included in the program according to the present disclosure. The provided program product is installed in a program storage unit such as a hard disk and executed. The program product includes the program itself and a recording medium on which the program is recorded.
今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は上記した説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。 The embodiment disclosed this time should be considered as illustrative in all points and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.
1 車両
2 広域通信網
4 車内ネットワーク
5 サーバ
6 バッテリ
7 ユーザインタフェース
9 ユーザインタフェース
10 ゲートウェイ
11 CPU
12 RAM
13 記憶部
14 車内通信部
15 無線通信部
30 ECU
31 CPU
32 RAM
33 記憶部
34 通信部
51 CPU
52 ROM
53 RAM
54 記憶部
55 通信部
111 処理制御部(制御部)
112 第1取得部
113 第2取得部
114 判定部(制御部)
311 通常処理部
312 分散処理部
512 取得部
513 判定部(制御部)
C11,C21 領域
C12,C13,C22〜C26 ボタン
C111,C211 表示
DESCRIPTION OF SYMBOLS 1
12 RAM
13
31 CPU
32 RAM
33
52 ROM
53 RAM
54
112
311 Normal processing unit 312 Distributed
C11, C21 area C12, C13, C22 to C26 button C111, C211 display
Claims (15)
バッテリへの電力供給の状態を、前記バッテリを管理する車載制御装置から取得する第2の取得部と、
前記バッテリへの電力供給の状態に応じて、前記サーバから要求された前記処理の実行の可否を判定する判定処理を実行する制御部と、を備える、制御装置。 A first acquisition unit that acquires a request for execution of processing from the server;
A second acquisition unit that acquires a state of power supply to the battery from an in-vehicle control device that manages the battery;
A control unit that executes a determination process that determines whether or not the process requested by the server can be executed in accordance with a state of power supply to the battery.
前記制御部は、前記処理を実行可能な車載制御装置に前記処理の実行を指示する、請求項1に記載の制御装置。 In the determination process, the control unit determines that the process can be performed when the battery is supplied with power,
The control device according to claim 1, wherein the control unit instructs an in-vehicle control device capable of executing the processing to execute the processing.
前記制御部は前記判定処理において、前記バッテリが電力供給を受けていない場合には、前記バッテリの蓄電量が規定された閾値以上である場合に前記処理を実行可と判定する、請求項1または請求項2に記載の制御装置。 The second acquisition unit further acquires a storage amount of the battery,
The control unit determines that the process is executable in the determination process when the battery is not supplied with electric power, and the stored amount of the battery is equal to or greater than a prescribed threshold value. The control device according to claim 2.
前記制御部は前記判定処理において、前記バッテリが電力供給を受けていない場合には、前記出力の後に前記処理の実行を指示するユーザ操作を受け付けた場合に前記処理を実行可と判定する、請求項1または請求項2に記載の制御装置。 The control unit instructs the in-vehicle control device that controls the user interface to output the predicted power storage amount of the battery after the execution of the process at the user interface,
In the determination process, the control unit determines that the process can be executed when a user operation instructing the execution of the process is received after the output when the battery is not receiving power supply. The control device according to claim 1 or claim 2.
前記制御部は、ユーザインタフェースを制御する車載制御装置に、前記複数の処理それぞれの実行後の前記バッテリの予測蓄電量の、前記ユーザインタフェースでの出力を指示し、
前記制御部は前記判定処理において、前記出力の後に、前記複数の処理のうちの実行する処理の選択と当該処理の実行とを指示するユーザ操作を受け付けた場合に、前記選択された処理を実行可と判定する、請求項1または請求項2に記載の制御装置。 When a request for executing a plurality of processes is acquired from the server, and the battery is not receiving power supply,
The control unit instructs the in-vehicle control device that controls the user interface to output the predicted power storage amount of the battery after execution of each of the plurality of processes at the user interface,
In the determination process, the control unit executes the selected process when a user operation instructing selection of a process to be executed and execution of the process is received after the output. The control device according to claim 1, wherein the control device is determined to be acceptable.
サーバから処理の実行の要求を取得するステップと、
バッテリへの電力供給の状態を、前記バッテリを管理する車載制御装置から取得するステップと、
前記バッテリへの電力供給の状態に応じて、前記サーバから要求された前記処理の実行の可否を判定するステップと、を備える、制御方法。 A control method of an in-vehicle control device by a control device,
Obtaining a processing execution request from the server;
Obtaining a state of power supply to the battery from an in-vehicle control device that manages the battery; and
Determining whether to execute the process requested by the server according to a state of power supply to the battery.
前記コンピュータを、
サーバから処理の実行の要求を取得する第1の取得部と、
バッテリへの電力供給の状態を、前記バッテリを管理する車載制御装置から取得する第2の取得部と、
前記バッテリへの電力供給の状態に応じて、前記サーバから要求された前記処理の実行の可否を判定する判定処理を実行する制御部、として機能させる、コンピュータプログラム。
A computer program for causing a computer to function as a control device,
The computer,
A first acquisition unit that acquires a request for execution of processing from the server;
A second acquisition unit that acquires a state of power supply to the battery from an in-vehicle control device that manages the battery;
A computer program that functions as a control unit that executes a determination process for determining whether or not to execute the process requested by the server according to a state of power supply to the battery.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017155350A JP2019036017A (en) | 2017-08-10 | 2017-08-10 | Controller, method for control, and computer program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017155350A JP2019036017A (en) | 2017-08-10 | 2017-08-10 | Controller, method for control, and computer program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2019036017A true JP2019036017A (en) | 2019-03-07 |
Family
ID=65637408
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017155350A Pending JP2019036017A (en) | 2017-08-10 | 2017-08-10 | Controller, method for control, and computer program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2019036017A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2020160661A (en) * | 2019-03-26 | 2020-10-01 | 本田技研工業株式会社 | Management server and program |
JP2020156513A (en) * | 2020-06-30 | 2020-10-01 | 井関農機株式会社 | Harvesting work method |
WO2020203022A1 (en) * | 2019-03-29 | 2020-10-08 | マツダ株式会社 | Computing system for automobile and processing method for reception data |
JPWO2020230353A1 (en) * | 2019-05-13 | 2021-10-21 | 株式会社Nttドコモ | Dialogue device |
EP3985638A4 (en) * | 2019-06-12 | 2023-07-19 | Hitachi, Ltd. | Route planning device, route planning method, and route planning system |
-
2017
- 2017-08-10 JP JP2017155350A patent/JP2019036017A/en active Pending
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2020160661A (en) * | 2019-03-26 | 2020-10-01 | 本田技研工業株式会社 | Management server and program |
JP7049288B2 (en) | 2019-03-26 | 2022-04-06 | 本田技研工業株式会社 | Management server and programs |
WO2020203022A1 (en) * | 2019-03-29 | 2020-10-08 | マツダ株式会社 | Computing system for automobile and processing method for reception data |
JP2020167607A (en) * | 2019-03-29 | 2020-10-08 | マツダ株式会社 | Automobile arithmetic system and reception data processing method |
JPWO2020230353A1 (en) * | 2019-05-13 | 2021-10-21 | 株式会社Nttドコモ | Dialogue device |
EP3985638A4 (en) * | 2019-06-12 | 2023-07-19 | Hitachi, Ltd. | Route planning device, route planning method, and route planning system |
JP2020156513A (en) * | 2020-06-30 | 2020-10-01 | 井関農機株式会社 | Harvesting work method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2019036017A (en) | Controller, method for control, and computer program | |
JP6624114B2 (en) | Charge / discharge system server and charge / discharge system | |
JP6881150B2 (en) | Control devices, control methods, and computer programs | |
CN104334411B (en) | Inter-vehicle information system, information terminal, application execution method | |
US20140028681A1 (en) | Electronic apparatus and power consumption display method | |
WO2014208561A1 (en) | Charging state management method, charging state management device, and program | |
CN103373292A (en) | In-car information system, information terminal, and application execution method | |
CN103359017A (en) | In-car information system, information terminal, and application execution method | |
EP3321766B1 (en) | Information processing system, information processing device, operation device, and power supply method | |
US20140280439A1 (en) | Method and Apparatus for Seamless Application Portability Over Multiple Environments | |
US11340891B2 (en) | Control device, control method, and computer program | |
WO2019035261A1 (en) | Control device, control method and computer program | |
CN105468354A (en) | Method and apparatus for sensor synthesis and arbitration between mobile devices and vehicles | |
WO2023020062A1 (en) | Terminal charging method and apparatus, electronic device and storage medium | |
US20150306968A1 (en) | Electric power management device, electric power control method, and mobile unit | |
JP5919637B2 (en) | Vehicle plug-in charging system and charging condition setting management device | |
CN105210034A (en) | Display control device, display control method, and program | |
JP2008257648A (en) | Information communication system, content output device, user side device, content distribution device, program for content output device, program for user side deivce and program for content distribution device | |
JP7116560B2 (en) | Management device, vehicle and program | |
WO2019188073A1 (en) | Control device, control method, and computer program | |
JP6087080B2 (en) | In-vehicle system | |
KR20230087326A (en) | Method for providing information related to charging of battery of vehicle and electronic device supporting the same | |
JP7439154B2 (en) | Battery management system and battery management method | |
JP6537554B2 (en) | Semiconductor device and electronic terminal | |
US20220258634A1 (en) | Charging control method for electric moving body, and electric moving body |