JP2009298235A - Communication device, communication system, communication method and computer program - Google Patents

Communication device, communication system, communication method and computer program Download PDF

Info

Publication number
JP2009298235A
JP2009298235A JP2008153271A JP2008153271A JP2009298235A JP 2009298235 A JP2009298235 A JP 2009298235A JP 2008153271 A JP2008153271 A JP 2008153271A JP 2008153271 A JP2008153271 A JP 2008153271A JP 2009298235 A JP2009298235 A JP 2009298235A
Authority
JP
Japan
Prior art keywords
data
communication
ecu
stored
communication device
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
JP2008153271A
Other languages
Japanese (ja)
Inventor
Takenori Abe
武徳 阿部
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.)
Sumitomo Wiring Systems Ltd
AutoNetworks Technologies Ltd
Sumitomo Electric Industries Ltd
Original Assignee
Sumitomo Wiring Systems Ltd
AutoNetworks Technologies Ltd
Sumitomo Electric Industries 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 Sumitomo Wiring Systems Ltd, AutoNetworks Technologies Ltd, Sumitomo Electric Industries Ltd filed Critical Sumitomo Wiring Systems Ltd
Priority to JP2008153271A priority Critical patent/JP2009298235A/en
Publication of JP2009298235A publication Critical patent/JP2009298235A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a communication device, a communication system, a communication method and a computer program capable of alternatively executing the processing by other communication apparatuses without fixing the processing content of each communication apparatus, saving the capacity of a storage means of each communication apparatus, and reducing the communication load by the transmission and reception of the data. <P>SOLUTION: By the function of a platform 102a, a control unit 10a performs the storage and updating of the data group in a temporary storage area 11a in common with other ECU and performs the transmission and reception of the data by a communication unit 13a. The control unit 10a refers to configuration information 123a when transmitting the data to other ECU by the function of the platform 102a, and generates other data from one or a plurality of data included in the data group stored in the temporary storage area 11a. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、複数の通信装置間でデータを相互に送受信し、連携して処理を行なう通信システムに関する。特に、各通信装置の処理の内容を固定せず、いずれの通信装置でも他の通信装置による処理を代替して行なうことができ、且つ各通信装置の記憶手段の容量を節約し、通信装置間のデータの送受信による通信負荷を低減させることができる通信装置、通信システム、通信方法及びコンピュータプログラムに関する。   The present invention relates to a communication system in which data is mutually transmitted and received among a plurality of communication devices, and processing is performed in cooperation. In particular, the processing content of each communication device is not fixed, any communication device can perform processing by another communication device instead, and the capacity of the storage means of each communication device can be saved. The present invention relates to a communication device, a communication system, a communication method, and a computer program that can reduce a communication load due to data transmission / reception.

近年では、種々の制御を行なう制御装置に通信機能を備えさせて複数接続し、各制御装置に夫々機能を割り振って相互にデータを交換し、連携して多様な処理を行なわせるシステムが各分野で利用されている。例えば、車両に配される車載LAN(Local Area Network)の分野では、ECU(電子制御装置;Electronic Control Unit)は通信機能を有し、各ECUに夫々特定の処理を行なわせて相互にデータを交換することにより、システムとして多様な機能を実現させている(例えば、特許文献1参照)。   In recent years, there have been various systems in which various control devices that perform various controls are provided with communication functions, connected to each other, and each control device is assigned a function, exchanges data with each other, and performs various processes in cooperation with each other. It is used in. For example, in the field of an in-vehicle LAN (Local Area Network) arranged in a vehicle, an ECU (Electronic Control Unit) has a communication function, and each ECU performs a specific process to exchange data with each other. By exchanging, various functions are realized as a system (see, for example, Patent Document 1).

複数の制御装置が相互に連携して多様な処理を行なわせる場合、各制御装置の機能を特化させるよりも、各制御装置が同様の機能を実現することが可能な構成とし、設定に応じて相互に代替して処理を行なうことができるようにすることもできる。具体的には、各制御装置に特定の機能を実現させるための各制御用アプリケーションプログラムから共通機能を分離し、共通機能をプラットフォームとなるプログラムで実現するように構成する。共通機能としては例えば、制御用アプリケーションプログラムの実行に用いられるデータの記憶、更新及び送受信、並びに相互の時間同期の処理等がある。   When multiple control devices cooperate with each other to perform various processes, rather than specialize the functions of each control device, each control device can achieve the same function, depending on the setting. It is also possible to perform processing in place of each other. Specifically, the common function is separated from each control application program for causing each control device to realize a specific function, and the common function is realized by a program serving as a platform. The common functions include, for example, storage, update and transmission / reception of data used for execution of the control application program, mutual time synchronization processing, and the like.

これにより、通信仕様の定義が変化した場合にはプラットフォームのプログラムを改変し、全制御装置に改変後のプラットフォームのプログラムを実行させればよい。この場合、各制御用アプリケーションプログラムの内容を変更する必要がなく、プログラムの再利用性が高くなる。また、制御装置毎に送受信するデータを定義することなく、データの定義を共通化しておくことにより、送受信されるデータ量を定義情報分削減することも可能である。   Thereby, when the definition of the communication specification changes, the platform program may be modified, and the modified platform program may be executed by all the control devices. In this case, it is not necessary to change the contents of each control application program, and the reusability of the program is improved. Also, by defining the data definition in common without defining the data to be transmitted / received for each control device, the amount of data transmitted / received can be reduced by the definition information.

また、各制御装置の物理的配置などの制限、又は制御装置の故障等に応じて一の制御装置の機能を他の制御装置でも実現させることができる柔軟なシステム構成が求められる場合がある。この場合、上述のように各制御アプリケーションプログラムで実現される機能とプラットフォームの機能とが分離される構成により、一の制御装置が実行していた制御アプリケーションプログラムを他の制御装置に実行させるようにすることで機能を再配置することができる。また、一の制御装置が記憶して用いていたデータを共通のプラットフォームの機能により他の制御装置にも共通して記憶させる構成とすることにより、容易に再配置が可能となる。
特開2007−329578号公報
Further, there may be a demand for a flexible system configuration in which the function of one control device can be realized by another control device in accordance with restrictions on the physical arrangement of the control devices or the like, or failure of the control device. In this case, the function realized by each control application program and the platform function are separated as described above so that the control application program executed by one control apparatus is executed by another control apparatus. By doing so, the functions can be rearranged. In addition, the data stored and used by one control device can be easily rearranged by using a common platform function so that other control devices can store the data in common.
JP 2007-329578 A

上述のように、各制御装置が有するプラットフォームの機能により一の制御装置が記憶して用いていたデータを他の制御装置にも共通して記憶させる構成によって、制御装置は同一のデータを相互に送受信し記憶するので容易に機能の再配置が可能である。しかしながら、各制御装置が完全に同一のデータを記憶している必要は必ずしもない。にも拘らず、全データを送受信して夫々同一のデータを常時記憶している構成とした場合、記憶容量を無駄に消費し、更に通信負荷が増大する可能性がある。   As described above, with the configuration in which the data stored and used by one control device is stored in common with other control devices by the platform function of each control device, the control device stores the same data mutually. The functions can be easily rearranged because they are transmitted and received and stored. However, it is not always necessary that each control device stores completely the same data. Nevertheless, if the configuration is such that all data is transmitted and received and the same data is always stored, the storage capacity is wasted and communication load may further increase.

本発明は斯かる事情に鑑みてなされたものであり、複数の通信機能を有する装置が夫々相互に機能を代替することが可能であり、且つ、各装置が共通して記憶するデータを完全に同期させない構成とすることにより各装置の記憶容量を節約し、各装置間のデータ通信負荷を低減させることができる通信装置、通信システム、通信方法及びコンピュータプログラムを提供することを目的とする。   The present invention has been made in view of such circumstances, and it is possible for devices having a plurality of communication functions to mutually replace functions, and to completely store data stored in common by each device. An object of the present invention is to provide a communication device, a communication system, a communication method, and a computer program that can save the storage capacity of each device by reducing the synchronization and reduce the data communication load between the devices.

第1発明に係る通信装置は、他の通信装置との通信手段を備える通信装置において、複数の異なるアプリケーションプログラムを実行する手段と、他の通信装置と共通のプラットフォームプログラムを実行する手段と、データを記憶する記憶手段と、前記プラットフォームプログラムの処理により、前記記憶手段と前記アプリケーションプログラムとのデータの授受、他の通信装置とのデータの送受信、及び前記通信手段により他の通信装置から受信したデータの前記記憶手段への記憶を、他の通信装置と共通に行なう手段と、前記プラットフォームプログラムの処理により、前記記憶手段が記憶したデータの内の一又は複数を用いて他のデータを生成する生成手段とを備え、前記生成手段が生成したデータを前記通信手段により他の通信装置へ送信するようにしてあることを特徴とする。   A communication apparatus according to a first aspect of the present invention is a communication apparatus comprising means for communicating with another communication apparatus, means for executing a plurality of different application programs, means for executing a platform program common to other communication apparatuses, and data Storage means for storing data, data transmission / reception between the storage means and the application program, transmission / reception of data with other communication devices, and data received from other communication devices by the communication means by processing of the platform program Generating the other data using one or more of the data stored in the storage means by means of processing of the platform program and means for performing storage in the storage means in common with other communication devices Means for generating data generated by the generating means by means of the communication means. Characterized in that you have to transmit to.

第2発明に係る通信装置は、前記記憶手段が記憶するデータから他のデータを生成するためのデータ間の関係式を含むデータ定義情報を記憶する手段と、前記プラットフォームプログラムの処理により、前記データ定義情報を参照する手段とを備えることを特徴とする。   According to a second aspect of the present invention, there is provided a communication apparatus comprising: means for storing data definition information including a relational expression between data for generating other data from data stored in the storage means; Means for referring to the definition information.

第3発明に係る通信装置は、他の通信装置のデータ定義情報を記憶する手段を備え、前記生成手段は、前記他の通信装置のデータ定義情報に基づき、データを生成するようにしてあることを特徴とする。   A communication apparatus according to a third aspect of the invention comprises means for storing data definition information of another communication apparatus, and the generation means generates data based on the data definition information of the other communication apparatus. It is characterized by.

第4発明に係る通信システムは、相互に通信可能に接続されており、他の通信装置との通信手段を備える複数の通信装置を含む通信システムにおいて、各通信装置は、複数の異なるアプリケーションプログラムを実行する手段と、他の通信装置と共通のプラットフォームプログラムを実行する手段と、データを記憶する記憶手段と、前記プラットフォームプログラムの処理により、前記記憶手段と前記アプリケーションプログラムとのデータの授受、他の通信装置とのデータの送受信、及び前記通信手段により他の通信装置から受信したデータの前記記憶手段への記憶を、他の通信装置と共通に行なう手段と、前記プラットフォームプログラムの処理により、前記記憶手段が記憶したデータの内の一又は複数を用いて他のデータを生成する生成手段とを備え、前記生成手段が生成したデータを前記通信手段により他の通信装置へ送信するようにしてあることを特徴とする。   A communication system according to a fourth aspect of the present invention is a communication system including a plurality of communication devices connected to each other so as to communicate with each other, and each communication device has a plurality of different application programs. Means for executing, means for executing a common platform program with other communication devices, storage means for storing data, and processing of the platform program, exchange of data between the storage means and the application program, other Data is transmitted / received to / from the communication device, and data received from the other communication device by the communication unit is stored in the storage unit in common with the other communication device, and the storage is performed by the processing of the platform program. The raw data used to generate other data using one or more of the data stored by the means And means, characterized in that the data to which the generating means has generated are to be transmitted to another communication device by the communication unit.

第5発明に係る通信方法は、他の通信装置との通信手段を備える通信装置がデータ通信を行なう方法において、複数の異なるアプリケーションプログラムの内のいずれか一又は複数を実行し、他の通信装置と共通のプラットフォームプログラムを実行し、前記プラットフォームプログラムの処理により、前記アプリケーションプログラムへの記憶してあるデータの授受、他の通信装置とのデータの送受信、及び前記通信手段により他の通信装置から受信したデータの記憶を他の通信装置と共通に行ない、他の通信装置が各アプリケーションプログラムの実行に用いるデータを他のデータを用いて生成するためのデータ間の関係式を含むデータ定義情報を記憶しておき、前記プラットフォームプログラムの処理により、前記他の通信装置のデータ定義情報に基づき、記憶したデータの内の一又は複数を用いて他のデータを生成することを特徴とする。   According to a fifth aspect of the present invention, there is provided a communication method in which a communication device including means for communicating with another communication device performs data communication. The communication method executes any one or a plurality of different application programs, and the other communication device. A common platform program, exchange of stored data to the application program, transmission / reception of data to / from another communication device, and reception from another communication device by the communication means The data is stored in common with other communication devices, and data definition information including relational expressions between the data for generating data used by other communication devices for executing each application program using other data is stored. In addition, the data of the other communication device is obtained by the processing of the platform program. Based on the definition information, and generating other data by using one or more of the stored data.

第6発明に係るコンピュータプログラムは、複数の異なるアプリケーションプログラムの内のいずれか一又は複数を実行する手段と、他のコンピュータとの通信手段とを備えるコンピュータに、各アプリケーションプログラムの実行に用いるデータを記憶させ、前記通信手段によるデータの送受信を制御させるコンピュータプログラムにおいて、コンピュータに、他のコンピュータが各アプリケーションプログラムの実行に用いるデータを生成するためのデータ間の関係式を含むデータ定義情報に基づき、自身が記憶している一又は複数のデータを用いてデータを生成するステップ、及び、生成したデータを前記他のコンピュータへ送信するステップを実行させることを特徴とする。   According to a sixth aspect of the present invention, there is provided a computer program comprising: a computer having means for executing one or more of a plurality of different application programs; and communication means for communicating with other computers. In a computer program for storing and controlling transmission and reception of data by the communication means, based on data definition information including relational expressions between data for generating data used by other computers to execute each application program in a computer, A step of generating data using one or a plurality of data stored in itself and a step of transmitting the generated data to the other computer are executed.

第1発明、及び第4発明にあっては、各通信装置は夫々が実行するアプリケーションプログラムと、他の通信装置と共通のプラットフォームプログラムを実行する。各通信装置はプラットフォームプログラムの処理により、他の通信装置と共通してアプリケーションプログラムが用いるデータの記憶、授受、及び送受信を実現する。ただし、通信装置はデータを送信するに際し、自身が記憶するデータの一又は複数のデータから生成したデータを送信する。他の通信装置は、生成されたデータを受信して記憶する。アプリケーションプログラムが生成後のデータを用いる場合には、全データの送受信をしない構成としてもデータ不足とはならず、他の通信装置は一の通信装置に代替して前記生成後のデータを用いてアプリケーションプログラムを実行することが可能である。各通信装置で全データを送受信し、同一のデータを全通信装置で記憶する構成よりも、一の通信装置で一又は複数のデータから生成されたデータを他の通信装置が記憶する構成により、通信装置が記憶するデータ量及び送受信されるデータ量が削減される。   In the first invention and the fourth invention, each communication device executes an application program executed by each communication device and a platform program common to other communication devices. Each communication device realizes storage, transmission / reception, and transmission / reception of data used by an application program in common with other communication devices by processing of the platform program. However, when transmitting data, the communication device transmits data generated from one or more data stored in the communication device. Other communication devices receive and store the generated data. When the application program uses the generated data, it does not run out of data even if the configuration does not transmit or receive all data, and other communication devices use the generated data instead of the one communication device. An application program can be executed. Rather than a configuration in which all communication devices transmit and receive all data and the same data is stored in all communication devices, a configuration in which another communication device stores data generated from one or more data in one communication device, The amount of data stored in the communication device and the amount of data transmitted and received are reduced.

第2発明にあっては、通信装置は記憶するデータを用いて他のデータを生成するためのデータ間の関係式を含むデータ定義に関する情報、所謂コンフィグレーション情報を記憶する。これにより、他の通信装置に代替して異なるアプリケーションプログラムを実行する場合、プラットフォームプログラムを改変することなしにコンフィグレーション情報を置き換えることにより、適切にデータの記憶及び各アプリケーションプログラムへのデータの授受が可能となる。   In the second invention, the communication device stores information on data definition including so-called configuration information including relational expressions between data for generating other data using the stored data. As a result, when different application programs are executed in place of other communication devices, the configuration information is replaced without modifying the platform program, so that data can be properly stored and transferred to each application program. It becomes possible.

第3発明、第5発明及び第6発明にあっては、通信装置は他の通信装置が記憶するデータのコンフィグレーション情報を記憶し、該コンフィグレーション情報に基づき他の通信装置へ生成後のデータを送信する。これにより、他の通信装置夫々にコンフィグレーション情報を置き換えるのみで各通信装置は他の通信装置へ適切に生成後のデータを送信することが可能である。   In the third invention, the fifth invention, and the sixth invention, the communication device stores the configuration information of the data stored in the other communication device, and the data after generation to the other communication device based on the configuration information. Send. Thereby, each communication apparatus can transmit the data after generation | occurrence | production appropriately to another communication apparatus only by replacing configuration information to each other communication apparatus.

本発明による場合、通信システムを構成する通信装置は、アプリケーションプログラムを実行すると共に他の通信装置と共通する動作を実現するプラットフォームプログラムを実行する。プラットフォームプログラムの処理により、各通信装置は相互に自身が実行しているアプリケーションプログラム以外のアプリケーションプログラムで用いるデータをも送受信して記憶する。したがって、いずれの通信装置でも他の通信装置が実行していた処理を代替して行なうことができる。また、他の通信装置へデータを送受信する場合、自身が記憶しているデータから他のデータを生成して送信する。したがって、通信装置間で全データの送受信を行なうよりも各通信装置の記憶手段の容量を節約することができ、且つデータの送受信による通信負荷を低減させることができる。   According to the present invention, the communication device constituting the communication system executes an application program and a platform program that realizes an operation common to other communication devices. Through the processing of the platform program, each communication device also transmits and receives data used by application programs other than the application program being executed by itself. Therefore, any communication device can perform processing that is being performed by another communication device. Further, when data is transmitted / received to / from another communication device, other data is generated from the data stored therein and transmitted. Therefore, it is possible to save the capacity of the storage means of each communication device, and to reduce the communication load due to data transmission / reception, compared to the case where all data is transmitted / received between the communication devices.

以下、本発明をその実施の形態を示す図面に基づいて具体的に説明する。   Hereinafter, the present invention will be specifically described with reference to the drawings showing embodiments thereof.

なお、以下に示す実施の形態では、本発明に係る通信装置を車両に搭載される種々の制御を行なうECU(Electronic Control Unit)に適用し、各ECU間を通信線で接続して連携した処理を行なう制御システムを例に説明する。   In the embodiment shown below, the communication device according to the present invention is applied to an ECU (Electronic Control Unit) that performs various controls mounted on a vehicle, and the ECUs are connected to each other through a communication line to cooperate with each other. A control system that performs the above will be described as an example.

図1は、本実施の形態における制御システムの構成を示すブロック図である。制御システムは、ECU1a,1b,…と、通信線2と、センサ31,32と、アクチュエータ41,42とを含む。ECU1a,1b,…はいずれも通信線2にバス型に接続されており相互に通信が可能である。また、ECU1aには、センサ31,32、及びアクチュエータ41が接続されており、ECU1bにはアクチュエータ42が接続されている。ECU1bにも他のセンサが接続されていてもよい。   FIG. 1 is a block diagram showing a configuration of a control system in the present embodiment. The control system includes ECUs 1a, 1b,..., A communication line 2, sensors 31, 32, and actuators 41, 42. ECUs 1a, 1b,... Are connected to the communication line 2 in a bus shape and can communicate with each other. Sensors 31 and 32 and an actuator 41 are connected to the ECU 1a, and an actuator 42 is connected to the ECU 1b. Another sensor may be connected to the ECU 1b.

ECU1aは各構成部の動作を制御するCPU(Central Processing Unit)、MPU(Micro Processing Unit)等を用いた制御部10aと、高速にアクセス可能なメモリを用いた一時記憶領域11aと、不揮発性メモリを用いた記憶部12aと、通信線2を介した通信を実現する通信部13aと、センサ31,32から入力される信号を受け付ける入力部14aと、接続されているアクチュエータ41へ制御信号を出力する出力部15aとを備える。ECU1bの構成はECU1aと同様であるので、ECU1aと対応する符号を付して各構成部の詳細な説明を省略する。なお本実施の形態におけるECU1bは、センサとは接続されておらず、アクチュエータ42に接続されている。   The ECU 1a includes a control unit 10a using a CPU (Central Processing Unit), an MPU (Micro Processing Unit), and the like that control the operation of each component, a temporary storage area 11a using a memory that can be accessed at high speed, and a nonvolatile memory A control signal is output to the storage unit 12a using the communication unit 13a, the communication unit 13a that realizes communication via the communication line 2, the input unit 14a that receives signals input from the sensors 31 and 32, and the connected actuator 41. And an output unit 15a. Since the configuration of the ECU 1b is the same as that of the ECU 1a, reference numerals corresponding to those of the ECU 1a are attached and detailed descriptions of the respective components are omitted. In addition, ECU1b in this Embodiment is not connected with the sensor, but is connected to the actuator 42. FIG.

ECU1aの制御部10aは、図示しない車両のバッテリー、オルタネータ等の電力供給装置から電力の供給を受けて各構成部の動作を制御するようにしてある。   The control unit 10a of the ECU 1a receives power from a power supply device such as a vehicle battery and an alternator (not shown) to control the operation of each component.

一時記憶領域11aにはSRAM(Static Random Access Memory)、DRAM(Dynamic Random Access Memory)等のメモリを利用する。一時記憶領域11aには、制御部10aによる処理の過程で発生する各種情報が記憶される。また、一時記憶領域11aには後述するようにセンサ31,32から入力された信号が表す測定値等のデータ、及び他のECU1b,…から送信されて受信したデータ等のデータ群が記憶される。   A memory such as SRAM (Static Random Access Memory) or DRAM (Dynamic Random Access Memory) is used for the temporary storage area 11a. Various information generated in the course of processing by the control unit 10a is stored in the temporary storage area 11a. Further, as will be described later, data such as measured values represented by signals input from the sensors 31 and 32 and data groups such as data transmitted and received from other ECUs 1b and so on are stored in the temporary storage area 11a. .

記憶部12aには、フラッシュメモリ、EPROM(Erasable Programmable Read Only Memory)、EEPROM(Electrically Erasable Programmable Read Only Memory)等のメモリを利用する。制御部10aが読み出して実行するためのアプリケーションプログラム121a、プラットフォームプログラム122a、及び後述するコンフィグレーション情報123aが記憶されている。また、記憶部12aには、センサ31,32、アクチュエータ41等の外部装置を認識し、外部装置との信号の入出力を制御するための入出力ドライバソフト(図示せず)、通信部13aとの信号の入出力を制御し、通信部13aを介した通信を実現するための通信ドライバソフト(図示せず)が記憶されている。   A memory such as a flash memory, an EPROM (Erasable Programmable Read Only Memory), or an EEPROM (Electrically Erasable Programmable Read Only Memory) is used for the storage unit 12a. An application program 121a, a platform program 122a, and configuration information 123a described later are stored for the control unit 10a to read and execute. In addition, the storage unit 12a includes input / output driver software (not shown) for recognizing external devices such as the sensors 31 and 32 and the actuator 41 and controlling input / output of signals with the external device, and the communication unit 13a. Communication driver software (not shown) for controlling the input / output of these signals and realizing communication via the communication unit 13a is stored.

一時記憶領域11a及び記憶部12aは、制御部10aと共にマイクロコンピュータの一部として構成されてもよい。   The temporary storage area 11a and the storage unit 12a may be configured as a part of the microcomputer together with the control unit 10a.

通信部13aはネットワークコントローラを有し、制御部10aによる通信線2を介した他のECU1b,…との通信を実現する。本実施の形態における通信部13aは具体的に、CAN(Control Area Network)プロトコルに準じた通信を実現する。   The communication unit 13a has a network controller, and realizes communication with the other ECUs 1b,... Via the communication line 2 by the control unit 10a. Specifically, the communication unit 13a in the present embodiment realizes communication conforming to a CAN (Control Area Network) protocol.

入力部14aは、ECU1aに接続されるセンサ31,32とのインタフェースである。入力部14aはセンサ31,32から出力される測定値等を表わす信号を取り出して制御部10aへ出力する。入力部14aはA/D変換機能を有していてもよい。   The input unit 14a is an interface with the sensors 31 and 32 connected to the ECU 1a. The input unit 14a takes out a signal representing a measurement value or the like output from the sensors 31 and 32 and outputs it to the control unit 10a. The input unit 14a may have an A / D conversion function.

出力部15aは、ECU1aに接続されるアクチュエータ41とのインタフェースである。出力部15aは、制御部10aから出力されるアクチュエータ41の制御信号をアクチュエータ41へ出力する。出力部15aはD/A変換機能を有していてもよい。   The output unit 15a is an interface with the actuator 41 connected to the ECU 1a. The output unit 15 a outputs a control signal for the actuator 41 output from the control unit 10 a to the actuator 41. The output unit 15a may have a D / A conversion function.

このように構成されるECU1aの制御部10aは、センサ31,32から出力される信号から取得できる測定値等のデータに基づき、アクチュエータ41の動作を制御すべく動作する。例えばECU1aは車室内のイルミネーション制御を行なうECUであって、センサ31,32が夫々運転席のドア及び助手席のドアの開閉を検知する機能を有するドアセンサであり、制御部10aによりセンサ31,32のいずれか一方でもドアが開いたことを検知した場合に室内灯を点灯させる信号を出力するなどのイルミネーション制御を行なう。   The control unit 10a of the ECU 1a configured as described above operates to control the operation of the actuator 41 based on data such as measurement values that can be acquired from signals output from the sensors 31 and 32. For example, the ECU 1a is an ECU that performs illumination control in the passenger compartment, and the sensors 31, 32 are door sensors each having a function of detecting the opening / closing of the driver's door and the passenger's door, and the control unit 10a detects the sensors 31, 32. Illumination control such as outputting a signal to turn on the indoor lamp when it is detected that either of the doors is opened is performed.

ECU1bの内部構成も同様であるが、本実施の形態における制御システムではECU1bにはセンサが接続されていない。ECU1bは、他のECU1a,…が取得するデータを通信線2を介して受信し、受信したデータを用いてアクチュエータ42の動作を制御するなど、他の制御を行なうようにしてある。   The internal configuration of ECU 1b is the same, but in the control system in the present embodiment, no sensor is connected to ECU 1b. The ECU 1b receives data acquired by the other ECUs 1a,... Via the communication line 2, and performs other controls such as controlling the operation of the actuator 42 using the received data.

図2は、本実施の形態におけるECU1aの制御部10aが実現する機能を概念的に説明する説明図である。ECU1bの制御部10bによる機能も同様であり、詳細な説明を省略する。   FIG. 2 is an explanatory diagram conceptually illustrating functions realized by the control unit 10a of the ECU 1a in the present embodiment. The function by the control part 10b of ECU1b is also the same, and detailed description is abbreviate | omitted.

ECU1aの制御部10aは、記憶部12aに記憶してあるアプリケーションプログラム121aを読み出して実行することにより、各種制御アプリ101a,101a,…として機能する。ECU1aの制御部10aにより実現される制御アプリ101a,101a,…としての機能は、ECU1bの制御部10bにより実現される制御アプリとは異なるように構成してある。記憶部12a及び記憶部12bに記憶してあるアプリケーションプログラム121a,121a,…、121b,121bが同一であっても、設定によりECU1aとECU1bとで夫々異なる一又は複数のアプリケーションプログラム121a,…、121b,…を実行する。   The control unit 10a of the ECU 1a functions as various control applications 101a, 101a,... By reading and executing the application program 121a stored in the storage unit 12a. The functions as control applications 101a, 101a,... Realized by the control unit 10a of the ECU 1a are configured to be different from the control applications realized by the control unit 10b of the ECU 1b. Even if the application programs 121a, 121a,..., 121b, 121b stored in the storage unit 12a and the storage unit 12b are the same, one or a plurality of application programs 121a,. , ... are executed.

制御部10aは、記憶部12aの通信ドライバソフトに基づき通信部13aを制御し、通信ドライバ103aとして機能する。制御部10aは、通信ドライバ103aの機能により通信部13aでデータを受信した場合にこれを検知し、プラットフォーム102aへ通知する。更に制御部10aは、記憶部12aの入出力ドライバソフトに基づき入力部14a及び出力部15aを制御し、入出力ドライバ104aの機能を実現する。例えば、制御部10aは入出力ドライバ104aの機能により、センサ31,32から信号を検知すると共に、制御アプリ101aからの命令に応じてアクチュエータ41への制御信号の出力を行なう。   The control unit 10a controls the communication unit 13a based on the communication driver software in the storage unit 12a and functions as the communication driver 103a. When the communication unit 13a receives data by the function of the communication driver 103a, the control unit 10a detects this and notifies the platform 102a. Further, the control unit 10a controls the input unit 14a and the output unit 15a based on the input / output driver software of the storage unit 12a, thereby realizing the function of the input / output driver 104a. For example, the control unit 10a detects signals from the sensors 31 and 32 by the function of the input / output driver 104a, and outputs a control signal to the actuator 41 in accordance with a command from the control application 101a.

ECU1aの記憶部12aとECU1bの記憶部12bには夫々、プラットフォームプログラム122a,122bが記憶されている。プラットフォームプログラム122a,122bは、ECU1a,1bが夫々実行する制御アプリ101a,101a,…、101b,…からの命令に基づくデータの読み書き、データの送受信等の共通する処理を実現するプログラムである。例えば、制御部10aはプラットフォーム102aの機能により、通信ドライバ103aからの通知を受けてデータの受信を検知した場合、一時記憶領域11aのデータ群への書き込みを行なう。   Platform programs 122a and 122b are stored in the storage unit 12a of the ECU 1a and the storage unit 12b of the ECU 1b, respectively. The platform programs 122a and 122b are programs that realize common processes such as data reading / writing and data transmission / reception based on commands from the control applications 101a, 101a,..., 101b,. For example, if the function of the platform 102a receives the notification from the communication driver 103a and detects the reception of data, the control unit 10a writes to the data group in the temporary storage area 11a.

制御部10aと制御部10bが夫々読み出して実行するアプリケーションプログラム121a、121bの内容は異なり、制御アプリ101aと制御アプリ101bとでは実現される機能が異なる。これに対し、プラットフォームプログラム122a,122bの内容は共通である。ECU1aの制御部10aは、プラットフォームプログラム122aを記憶部12aから読み出して実行し、他のECU1b,…と共通する処理をプラットフォーム102aの機能により実行する。制御部10aはプラットフォーム102aの機能により、制御アプリ101a,101a,…からの命令に基づきデータの読み書き、入出力ドライバ104aを介したセンサ31,32及びアクチュエータ41の制御、通信ドライバ103aを介したデータの送受信を他のECU1b,…と共通して行なうようにしてある。   The contents of the application programs 121a and 121b read and executed by the control unit 10a and the control unit 10b are different, and the functions realized by the control application 101a and the control application 101b are different. On the other hand, the contents of the platform programs 122a and 122b are common. The control unit 10a of the ECU 1a reads the platform program 122a from the storage unit 12a and executes it, and executes processing common to the other ECUs 1b,. The control unit 10a uses the functions of the platform 102a to read / write data based on commands from the control applications 101a, 101a,..., Control the sensors 31 and 32 and the actuator 41 via the input / output driver 104a, and data via the communication driver 103a. Are transmitted and received in common with the other ECUs 1b,.

ECU1aはプラットフォーム102aの機能により、他のECU1b,…と共通してデータの記憶・更新、及び送受信を行なう。このとき、ECU1aとECU1bとは、夫々センサ等から取得した測定値、制御部10a,10bにより算出した算出値、又は制御値等のデータを相互に送受信し、記憶しておく。データはECU1a,ECU1bが実行中のアプリケーションプログラム121a,121bにより用いられるか否かに関わらず、送受信される。このように各ECU1a,ECU1bで共通にデータを記憶しておくことにより、例えばECU1aの制御部10aが読み出して実行していたアプリケーションプログラム121aと同一内容のアプリケーションプログラム121bを、他のECU1bの制御部10bが読み出して実行した場合、ECU1aはECU1bが用いていたデータを一時記憶領域11bのデータ群に記憶しているので、ECU1bが実現していた機能を容易に代替して実現することが可能である。   The ECU 1a performs data storage / update and transmission / reception in common with other ECUs 1b,... By the function of the platform 102a. At this time, the ECU 1a and the ECU 1b mutually transmit and receive data such as measured values acquired from sensors or the like, calculated values calculated by the control units 10a and 10b, or control values, and the like. The data is transmitted and received regardless of whether or not it is used by the application programs 121a and 121b being executed by the ECU 1a and ECU 1b. By storing data in common in each ECU 1a and ECU 1b in this way, for example, the application program 121b having the same contents as the application program 121a read and executed by the control unit 10a of the ECU 1a is transferred to the control unit of the other ECU 1b. When 10b reads and executes, since the ECU 1a stores the data used by the ECU 1b in the data group of the temporary storage area 11b, the function realized by the ECU 1b can be easily replaced and realized. is there.

なお、ECU1aとECU1bとでは詳細なハードウェア構成が異なる場合でも、プラットフォーム102a,102bとしての機能により、差異を吸収するようにしてある。これにより、同一の内容のアプリケーションプログラム121a,121bを実行させるに際し、アプリケーションプログラム121a,121bの内容を各ECUに合わせて改変することなしに、汎用的に適用することが可能な点でプログラムの再利用性が高められている。   Even if the detailed hardware configuration differs between the ECU 1a and the ECU 1b, the difference is absorbed by the functions as the platforms 102a and 102b. Accordingly, when executing the application programs 121a and 121b having the same contents, the program can be re-used in that it can be applied universally without modifying the contents of the application programs 121a and 121b according to each ECU. Usability is increased.

本実施の形態におけるECU1aの記憶部12aには、一時記憶領域11aに記憶するデータ群の構成を定義するコンフィグレーション情報123aが記憶してある。また、ECU1aの記憶部12aに記憶してあるコンフィグレーション情報123aには、他のECU1bの一時記憶領域11bに記憶するデータ群の構成を定義する情報も含まれる。   In the storage unit 12a of the ECU 1a in the present embodiment, configuration information 123a that defines the configuration of a data group stored in the temporary storage area 11a is stored. Further, the configuration information 123a stored in the storage unit 12a of the ECU 1a includes information defining the configuration of the data group stored in the temporary storage area 11b of the other ECU 1b.

図3は、本実施の形態1におけるECU1aの記憶部12aに記憶されているコンフィグレーション情報123aの内容例を示す説明図である。コンフィグレーション情報123aは、ECU1a自身の一時記憶領域11aに記憶されるデータ群の構成、及び他のECU1bの一時記憶領域11bに記憶されるデータ群の構成を表わす。   FIG. 3 is an explanatory diagram illustrating an example of the contents of the configuration information 123a stored in the storage unit 12a of the ECU 1a according to the first embodiment. The configuration information 123a represents the configuration of the data group stored in the temporary storage area 11a of the ECU 1a itself and the configuration of the data group stored in the temporary storage area 11b of the other ECU 1b.

図3の説明図に示す内容例では、ECU1aのECU IDである「ECU1」に対応付けてECU1aで記憶されるデータの定義が記憶されている。具体的には、ECU1aではデータ「A」及びデータ「B」が一時記憶領域11aに記憶されることが定義されている。同様に、ECU1bのECU IDである「ECU2」に対応付けてECU1bで記憶されるデータの定義が記憶されている。ECU1bでは、データ「A」とデータ「B」との論理和(OR)であるデータ「C」が一時記憶領域11bに記憶されることが定義されている。したがって、上述にて各ECU1a,1b,…がデータを送受信することにより共通してデータを記憶するとしたが詳細には、図3の説明図に示すコンフィグレーション情報123aのように、ECU1aとECU1bとでは記憶されるデータ群の構成が異なる。   In the content example shown in the explanatory diagram of FIG. 3, the definition of data stored in the ECU 1a is stored in association with “ECU1” which is the ECU ID of the ECU 1a. Specifically, it is defined in the ECU 1a that data “A” and data “B” are stored in the temporary storage area 11a. Similarly, the definition of data stored in the ECU 1b is stored in association with “ECU2” which is the ECU ID of the ECU 1b. In the ECU 1b, it is defined that data “C” that is a logical sum (OR) of data “A” and data “B” is stored in the temporary storage area 11b. Therefore, in the above description, the ECUs 1a, 1b,... Store the data in common by transmitting and receiving data. However, in detail, as in the configuration information 123a shown in the explanatory diagram of FIG. Then, the configuration of the stored data group is different.

ECU1aの制御部10aは、プラットフォーム102aの機能により、例えば自身が接続されているセンサ31,32からデータ「A」及びデータ「B」を取得した場合、コンフィグレーション情報123aを参照して一時記憶領域11aに記憶する。そして制御部10aは、他のECU1b,…にも共通して記憶させるためにデータを送信する。ただし本実施の形態におけるECU1aの制御部10aは、自身が取得したデータを他のECU1b,…へ送信するに際し、コンフィグレーション情報123aを参照し、コンフィグレーション情報123aに基づいてデータを送信する。   When the control unit 10a of the ECU 1a acquires the data “A” and the data “B” from the sensors 31 and 32 to which the control unit 10a is connected, for example, by referring to the configuration information 123a, the temporary storage area 11a. And the control part 10a transmits data in order to memorize | store in common with other ECU1b. However, the control unit 10a of the ECU 1a in the present embodiment refers to the configuration information 123a and transmits data based on the configuration information 123a when transmitting the data acquired by itself to the other ECUs 1b,.

制御部10aはプラットフォーム102aの機能により、以下に示す場合はいずれも、図3に示した記憶部12aのコンフィグレーション情報123aを参照し、コンフィグレーション情報123aの内容に基づいた処理を行なう。例えば制御部10aがプラットフォーム102aの機能により一時記憶領域11aへのデータの書き込みを行なう場合、制御アプリ101a,101aからの命令に基づき一時記憶領域11aからデータを読み出しを行なう場合、及び、通信ドライバ103aの機能により他のECU1b,…へデータを送信する場合である。   In any of the following cases, the control unit 10a refers to the configuration information 123a in the storage unit 12a shown in FIG. 3 and performs processing based on the contents of the configuration information 123a in the following cases. For example, when the control unit 10a writes data to the temporary storage area 11a by the function of the platform 102a, when reading data from the temporary storage area 11a based on a command from the control applications 101a and 101a, and the communication driver 103a This is a case where data is transmitted to other ECUs 1b,.

ECU1aの制御部10aが、プラットフォーム102aの機能によりデータを取得した場合にデータを他のECU1b,…へ送信する処理をフローチャートを参照して説明する。   A process in which the control unit 10a of the ECU 1a transmits data to other ECUs 1b,... When the data is acquired by the function of the platform 102a will be described with reference to a flowchart.

図4は、本実施の形態におけるECU1aの制御部10aによるデータの送信の処理手順の一例を示すフローチャートである。制御部10aは、プラットフォーム102aの機能により、センサ31,32から出力される信号からデータを取得したか否かを判断する(ステップS1)。詳細には、制御部10aは、プラットフォーム102aの機能により、入出力ドライバ104aを介して周期的にセンサ31,32から出力される信号からデータを取得するようにしてもよいし、制御アプリ101aからの命令を受け付けてセンサ31,32からの信号からデータを取得するようにしてもよい。また、センサ31,32から出力される信号を、入力ドライバ104aが検知してプラットフォーム102aに通知することにより、制御部10aがセンサ31,32からデータを取得するようにしてもよい。   FIG. 4 is a flowchart illustrating an example of a processing procedure of data transmission by the control unit 10a of the ECU 1a in the present embodiment. The control unit 10a determines whether or not data has been acquired from the signals output from the sensors 31 and 32 by the function of the platform 102a (step S1). Specifically, the control unit 10a may acquire data from signals periodically output from the sensors 31 and 32 via the input / output driver 104a by the function of the platform 102a, or from the control application 101a. May be received and data may be acquired from signals from the sensors 31 and 32. Further, the control unit 10a may acquire data from the sensors 31 and 32 by detecting the signals output from the sensors 31 and 32 by the input driver 104a and notifying the platform 102a.

制御部10aは、データを取得していないと判断した場合(S1:NO)、処理をステップS1へ戻す。制御部10aは、データを取得したと判断した場合(S1:YES)、プラットフォーム102aの機能により、記憶部12aに記憶されているコンフィグレーション情報123aを参照する(ステップS2)。制御部10aはプラットフォーム102aの機能により、ステップS1でセンサ31,32から取得したデータを、ステップS2で参照したコンフィグレーション情報123aに基づいて一時記憶領域11aのデータ群に記憶する(ステップS3)。   When it is determined that the data is not acquired (S1: NO), the control unit 10a returns the process to step S1. When determining that the data has been acquired (S1: YES), the control unit 10a refers to the configuration information 123a stored in the storage unit 12a by the function of the platform 102a (step S2). The control unit 10a stores the data acquired from the sensors 31 and 32 in step S1 in the data group of the temporary storage area 11a based on the configuration information 123a referred to in step S2 by the function of the platform 102a (step S3).

そして制御部10aはプラットフォーム102aの機能により、ステップS2で参照したコンフィグレーション123aに基づき、ステップS1でセンサ31,32から取得したデータを用いた複合データが他のECU1b,…におけるデータ定義に含まれているか否かを判断する(ステップS4)。制御部10aは、複合データが他のECU1b,…におけるデータ定義に含まれていると判断した場合(S4:YES)、プラットフォーム102aの機能により、コンフィグレーション情報123aにおける定義に基づいて複合データを生成する(ステップS5)。そして制御部10aはプラットフォーム102aの機能により、生成したデータを通信ドライバ103aを介して他のECU1b,…へ送信し(ステップS6)、センサ31,32から取得したデータに対する処理を終了する。   Based on the configuration 123a referred to in step S2, the control unit 10a includes the composite data using the data acquired from the sensors 31 and 32 in step S1 in the data definition in the other ECUs 1b,. It is judged whether it is (step S4). When it is determined that the composite data is included in the data definition in the other ECUs 1b,... (S4: YES), the control unit 10a generates composite data based on the definition in the configuration information 123a by the function of the platform 102a. (Step S5). And the control part 10a transmits the produced | generated data to other ECU1b, ... via the communication driver 103a with the function of the platform 102a (step S6), and complete | finishes the process with respect to the data acquired from the sensors 31 and 32. FIG.

制御部10aは、ステップS4において、取得したデータを用いた複合データが他のECU1b,…におけるデータ定義に含まれていないと判断した場合(S4:NO)、そのままデータを通信ドライバ103aを介して他のECU1b,…へ送信する。なお、ステップS1で取得したデータが他のECU1b,…に対応するデータ定義のいずれにも含まれていない場合には送信自体を省略するようにしてもよい。この場合、ステップS4,S5,S6が省略される。   When it is determined in step S4 that the composite data using the acquired data is not included in the data definition in the other ECUs 1b,... (S4: NO), the control unit 10a directly uses the data via the communication driver 103a. It transmits to other ECU1b. If the data acquired in step S1 is not included in any of the data definitions corresponding to the other ECUs 1b,..., Transmission itself may be omitted. In this case, steps S4, S5 and S6 are omitted.

制御部10aがプラットフォーム102aの機能により、図4のフローチャートに示した処理手順を実行することによって制御部10aが入出力ドライバ104aを介してセンサ31,32から取得したデータは原則として他のECU1b,…へも送信される。なお、他のECU1b,…で当該データを使用するか否かによらず送信される。このように、本実施の形態では、各ECU1a,1b,…夫々のプラットフォーム102a,102b,…の機能により通信線2に接続されている全ECU1a,1b,…全体で自動的に共有しておく。これにより、ECU1bがアプリケーションプログラムの再配置によってECU1aが実行していたアプリケーションプログラムを実行することとなった場合に、既に一時記憶領域1bに前記アプリケーションプログラムが用いるデータが記憶されているので容易に機能を代替することが可能である。   The control unit 10a executes the processing procedure shown in the flowchart of FIG. 4 by the function of the platform 102a, so that the data acquired from the sensors 31 and 32 by the control unit 10a via the input / output driver 104a is in principle the other ECU 1b, Also sent to ... It is transmitted regardless of whether the data is used by other ECUs 1b,. As described above, in the present embodiment, all ECUs 1a, 1b,... Connected to the communication line 2 by the functions of the respective platforms 1a, 1b,. . As a result, when the ECU 1b executes the application program that the ECU 1a has executed by rearranging the application program, the data used by the application program is already stored in the temporary storage area 1b, so that the function can be easily performed. Can be substituted.

図5は、本実施の形態におけるECU1a,1bでデータが送受信される過程、及び記憶される過程を模式的に示す説明図である。図5の説明図ではECU1a,1bのハードウェア構成、各ハードウェアにより実現される機能、及び記憶されるデータを概念的にブロックにて示している。   FIG. 5 is an explanatory diagram schematically showing a process in which data is transmitted and received and stored in the ECUs 1a and 1b in the present embodiment. In the explanatory diagram of FIG. 5, the hardware configuration of the ECUs 1a and 1b, the functions realized by the hardware, and the stored data are conceptually shown in blocks.

ECU1aの制御部10aは一の制御アプリ101aの機能により、センサ31,32から取得できるデータ「A」及びデータ「B」を用いてアクチュエータ41を制御する処理を行なう。この場合、制御アプリ101aとして機能する制御部10aは、アクチュエータ41の制御の処理の際には、データ「A」及びデータ「B」の論理和の要求をプラットフォーム102aへ通知する。プラットフォーム102aとして機能する制御部10aは、制御アプリ101aからの要求を受け付けて一時記憶領域11aからデータ「A」及びデータ「B」を読み出し、論理和をとって制御アプリ101aへ受け渡す。制御部10aは制御アプリ101aとして、データ「A」及びデータ「B」の論理和を用いてアクチュエータ41の制御に用いる。例えば、データ「A」は運転席のドアの開閉を示し、データ「B」は助手席のドアの開閉を示し、制御部10aが制御アプリ101aにより室内灯の点灯/消灯を制御する機能を実現する場合は、いずれかのドアが開いている場合に室内灯を点灯させるためにデータ「A」とデータ「B」との論理和を用いる。   The control unit 10a of the ECU 1a performs a process of controlling the actuator 41 using the data “A” and the data “B” that can be acquired from the sensors 31 and 32 by the function of the one control application 101a. In this case, the control unit 10a functioning as the control application 101a notifies the platform 102a of a logical sum request for the data “A” and the data “B” when the actuator 41 is controlled. The control unit 10a functioning as the platform 102a receives a request from the control application 101a, reads the data “A” and the data “B” from the temporary storage area 11a, takes a logical sum, and transfers the result to the control application 101a. The control unit 10a is used to control the actuator 41 using the logical sum of the data “A” and the data “B” as the control application 101a. For example, data “A” indicates the opening / closing of the door of the driver's seat, data “B” indicates the opening / closing of the door of the passenger seat, and the control unit 10a realizes the function of controlling the lighting / extinguishing of the indoor lamp by the control application 101a. In this case, the logical sum of the data “A” and the data “B” is used to turn on the room lamp when any of the doors is open.

ECU1aの制御部10aが制御アプリ10aの機能によってデータ「A」及びデータ「B」を用いる間、制御部10aはプラットフォーム102aの機能により、取得したデータ「A」及びデータ「B」を他のECU1bへも送信する。ただし上述のように、制御部10aはプラットフォーム102aの機能により、記憶部12aのコンフィグレーション情報123a(図3参照)を参照し、ECU1bが記憶するデータ「C」はデータ「A」及びデータ「B」を用いた複合データであることを認識する。そして制御部10aは、コンフィグレーション情報123aに基づいて、データ「A」及びデータ「B」の論理和であるデータ「C」を生成してからECU1bへ送信する。   While the control unit 10a of the ECU 1a uses the data “A” and the data “B” by the function of the control application 10a, the control unit 10a uses the function of the platform 102a to transfer the acquired data “A” and the data “B” to another ECU 1b. Also send to. However, as described above, the control unit 10a refers to the configuration information 123a (see FIG. 3) in the storage unit 12a by the function of the platform 102a, and the data “C” stored in the ECU 1b is the data “A” and the data “B”. ”Is recognized. Then, the control unit 10a generates data “C” that is a logical sum of the data “A” and the data “B” based on the configuration information 123a, and transmits the data “C” to the ECU 1b.

これにより、ECU1bの一時記憶領域11bには、制御部10bのプラットフォーム102bの機能により受信したデータ「C」が記憶される。後にECU1aが実現していた機能をECU1bが代わりに実現するようにアプリケーションの再配置が行なわれた場合でも、スムーズに機能を代替することが可能である。具体的には、ECU1aの制御部10aが実行していたアプリケーションプログラム121aを、ECU1bの制御部10bが代わりに実行し、アクチュエータ42を制御することによって同一の機能を実現する場合でも、容易に代替が可能である。ECU1bがECU1aによりそれまで実行されていたものと同一のアプリケーションプログラム121bを実行して制御アプリ101bとして機能する場合、データ「A」及びデータ「B」の論理和であるデータ「C」を用いることは変わらない。したがって、ECU1aとECU1bとで記憶されているデータ群の構成が異なっていても問題とならない。   Thereby, the data “C” received by the function of the platform 102b of the control unit 10b is stored in the temporary storage area 11b of the ECU 1b. Even when the application is rearranged so that the ECU 1b can realize the function that the ECU 1a has realized later, the function can be replaced smoothly. Specifically, even when the application program 121a executed by the control unit 10a of the ECU 1a is executed instead by the control unit 10b of the ECU 1b and the actuator 42 is controlled to realize the same function, the application program 121a can be easily replaced. Is possible. When the ECU 1b executes the same application program 121b that has been executed by the ECU 1a and functions as the control application 101b, the data “C” that is the logical sum of the data “A” and the data “B” is used. Will not change. Therefore, there is no problem even if the configurations of the data groups stored in the ECU 1a and the ECU 1b are different.

このようにECU1a,1b,…が構成されることにより、データ「A」及びデータ「B」が夫々通信線2を介して送受信される場合に比して、データ量が削減されるので通信線2における通信負荷の低減が期待される。更に、一時記憶領域11bには二つのデータから生成された一のデータを記憶するので、記憶容量を節約することができる。特に、車両に搭載されるECU1a,1bでは小型化、軽量化が望まれる。この場合、記憶容量を節約することによって小型化、軽量化を実現することができるという優れた効果を奏する。   Since the ECUs 1a, 1b,... Are configured in this way, the data amount is reduced compared to the case where the data “A” and the data “B” are transmitted and received via the communication line 2, respectively. 2 is expected to reduce the communication load. Furthermore, since one piece of data generated from two pieces of data is stored in the temporary storage area 11b, the storage capacity can be saved. In particular, the ECUs 1a and 1b mounted on the vehicle are desired to be reduced in size and weight. In this case, there is an excellent effect that a reduction in size and weight can be realized by saving the storage capacity.

上述の例ではデータ「A」及びデータ「B」の二つのデータから一つのデータ「C」を制御部10aが生成する例を挙げた。しかしながら、制御部10aが制御アプリ101aの機能により多数のデータを用いた演算結果を制御に用いる場合など、夫々のデータを他のECU1bへも送信するよりも演算結果のデータをプラットフォーム102aの機能により算出しておき送信する場合に送受信されるデータ量が有効に削減される。   In the above example, the control unit 10a generates one data “C” from the two data “A” and “B”. However, when the control unit 10a uses a calculation result using a large number of data for the control by the function of the control application 101a, the calculation result data is transmitted by the function of the platform 102a rather than transmitting each data to the other ECU 1b. When calculating and transmitting, the amount of data transmitted and received is effectively reduced.

また、上述のようにECU1a,1bの制御部10a,10bがプラットフォームプログラム122a,122bに基づき実行するプラットフォーム102a,102bの機能は共通する。夫々一時記憶領域11a,11bに記憶するデータ群の構成を変えたいときには、コンフィグレーション情報123a,123bを適宜変更すればよい。プラットフォームプログラム122a,122bの改変が必要ない。例えば、データ「C」の定義がデータ「A」及びデータ「B」の論理和でなく、更に他のデータ「D」も含めた論理和へ変更される場合には、以下のようにコンフィグレーション情報123aを書き換え、データ「C」を生成するECU1aの記憶部12aに記憶すればよい。データ「C」の定義におけるデータ「A」及びデータ「B」の関係式{(データA)OR(データB)}を関係式{(データA)OR(データB)OR(データD)}に書き換える。これにより、制御部10aからECU1bへ送信されるデータ「C」は新たに定義された内容のデータとなる。ECU1b側では、各プログラム、コンフィグレーション情報123b、及びデータ群が改変されることなしに、処理を続行することが可能である。   As described above, the functions of the platforms 102a and 102b executed by the control units 10a and 10b of the ECUs 1a and 1b based on the platform programs 122a and 122b are common. When it is desired to change the configuration of the data groups stored in the temporary storage areas 11a and 11b, the configuration information 123a and 123b may be changed as appropriate. There is no need to modify the platform programs 122a and 122b. For example, when the definition of the data “C” is changed from the logical sum of the data “A” and the data “B” to the logical sum including the other data “D”, the configuration is as follows: The information 123a may be rewritten and stored in the storage unit 12a of the ECU 1a that generates the data “C”. The relational expression {(data A) OR (data B)} of data “A” and data “B” in the definition of data “C” is changed to relational expression {(data A) OR (data B) OR (data D)}. rewrite. Thereby, the data “C” transmitted from the control unit 10a to the ECU 1b becomes data of newly defined contents. On the ECU 1b side, it is possible to continue the processing without modifying each program, configuration information 123b, and data group.

また、取得されるデータの演算結果が用いられる場合は当初から、複合データが記憶されるように入出力ドライバ104aを構成してもよい。しかしながらこの場合、複合データの内容を変更する場合に入出力ドライバソフトの改変が必要となる。これに対し、本発明では上述のようにコンフィグレーション情報123aの書き換えのみで、プラットフォームプログラム122a,122b及び入出力ドライバソフトの書き換えが不要となる点、システムの処理の変更が容易となる。   Further, when the calculation result of the acquired data is used, the input / output driver 104a may be configured so that the composite data is stored from the beginning. However, in this case, the input / output driver software must be modified when changing the contents of the composite data. On the other hand, in the present invention, as described above, only rewriting the configuration information 123a eliminates the need to rewrite the platform programs 122a and 122b and the input / output driver software, and the system processing can be easily changed.

上述のようなハードウェア構成で全ECU1a,1b,…が全データを送受信する構成とすると、通信線2における通信負荷が増大する。しかしながら、制御部10aは図5の説明図に示したように、コンフィグレーション情報123aに基づきデータを生成してから送信する。これにより、送受信されるデータ量が削減される。また、コンフィグレーション情報123aのデータ定義に含まれていないデータを送信しないことにより、アプリケーションプログラムの再配置に関係ないデータまで送受信されて通信線2の通信負荷が増大することを回避できるという優れた効果を奏する。   When all the ECUs 1a, 1b,... Are configured to transmit and receive all data with the hardware configuration described above, the communication load on the communication line 2 increases. However, as illustrated in the explanatory diagram of FIG. 5, the control unit 10a generates data based on the configuration information 123a and transmits the data. Thereby, the amount of data transmitted and received is reduced. In addition, by not transmitting data that is not included in the data definition of the configuration information 123a, it is possible to avoid an increase in the communication load of the communication line 2 due to transmission / reception of data not related to the rearrangement of the application program. There is an effect.

上述に示した実施の形態では、本発明は車両に搭載されるECUに適用される例を示した。しかしながら本発明はこれに限らず、通信手段を備えて相互にデータを送受信して連携により制御を行なうコンピュータ装置に適用することができる。   In the embodiment described above, the present invention is applied to an ECU mounted on a vehicle. However, the present invention is not limited to this, and can be applied to a computer apparatus that includes communication means and transmits / receives data to / from each other and performs control in cooperation.

なお、上述のように開示された本実施の形態はすべての点で例示であって、制限的なものではないと考えられるべきである。本発明の範囲は、上記した意味ではなく、特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。   It should be understood that the embodiment disclosed above is illustrative in all respects and is not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the meanings described above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.

本実施の形態における制御システムの構成を示すブロック図である。It is a block diagram which shows the structure of the control system in this Embodiment. 本実施の形態におけるECUの制御部が実現する機能を概念的に説明する説明図である。It is explanatory drawing which illustrates notionally the function which the control part of ECU in this Embodiment implement | achieves. 本実施の形態1におけるECUの記憶部に記憶されているコンフィグレーション情報の内容例を示す説明図である。It is explanatory drawing which shows the example of the content of the configuration information memorize | stored in the memory | storage part of ECU in this Embodiment 1. FIG. 本実施の形態におけるECUの制御部によるデータの送信の処理手順の一例を示すフローチャートである。It is a flowchart which shows an example of the process sequence of the transmission of the data by the control part of ECU in this Embodiment. 本実施の形態におけるECUでデータが送受信される過程、及び記憶される過程を模式的に示す説明図である。It is explanatory drawing which shows typically the process in which data are transmitted / received by ECU in this Embodiment, and the process stored.

符号の説明Explanation of symbols

1a,1b ECU
10a,10b 制御部
101a,101b 制御アプリ
102a,102b プラットフォーム
11a,11b 一時記憶領域
12a,12b 記憶部
121a,121b アプリケーションプログラム
122a,122b プラットフォームプログラム
1a, 1b ECU
10a, 10b Control unit 101a, 101b Control application 102a, 102b Platform 11a, 11b Temporary storage area 12a, 12b Storage unit 121a, 121b Application program 122a, 122b Platform program

Claims (6)

他の通信装置との通信手段を備える通信装置において、
複数の異なるアプリケーションプログラムを実行する手段と、
他の通信装置と共通のプラットフォームプログラムを実行する手段と、
データを記憶する記憶手段と、
前記プラットフォームプログラムの処理により、前記記憶手段と前記アプリケーションプログラムとのデータの授受、他の通信装置とのデータの送受信、及び前記通信手段により他の通信装置から受信したデータの前記記憶手段への記憶を、他の通信装置と共通に行なう手段と、
前記プラットフォームプログラムの処理により、前記記憶手段が記憶したデータの内の一又は複数を用いて他のデータを生成する生成手段と
を備え、
前記生成手段が生成したデータを前記通信手段により他の通信装置へ送信するようにしてあること
を特徴とする通信装置。
In a communication device comprising means for communicating with other communication devices,
Means for executing a plurality of different application programs;
Means for executing a common platform program with other communication devices;
Storage means for storing data;
Through the processing of the platform program, data exchange between the storage means and the application program, transmission / reception of data with other communication devices, and storage of data received from other communication devices by the communication means into the storage means Means for performing in common with other communication devices;
Generating means for generating other data using one or more of the data stored in the storage means by processing of the platform program;
The communication device, wherein the data generated by the generating means is transmitted to another communication device by the communication means.
前記記憶手段が記憶するデータから他のデータを生成するためのデータ間の関係式を含むデータ定義情報を記憶する手段と、
前記プラットフォームプログラムの処理により、前記データ定義情報を参照する手段と
を備えることを特徴とする請求項1に記載の通信装置。
Means for storing data definition information including relational expressions between data for generating other data from data stored in the storage means;
The communication apparatus according to claim 1, further comprising: means for referencing the data definition information by processing of the platform program.
他の通信装置のデータ定義情報を記憶する手段を備え、
前記生成手段は、前記他の通信装置のデータ定義情報に基づき、データを生成するようにしてあること
を特徴とする請求項2に記載の通信装置。
Means for storing data definition information of another communication device;
The communication device according to claim 2, wherein the generation unit is configured to generate data based on data definition information of the other communication device.
相互に通信可能に接続されており、他の通信装置との通信手段を備える複数の通信装置を含む通信システムにおいて、
各通信装置は、
複数の異なるアプリケーションプログラムを実行する手段と、
他の通信装置と共通のプラットフォームプログラムを実行する手段と、
データを記憶する記憶手段と、
前記プラットフォームプログラムの処理により、前記記憶手段と前記アプリケーションプログラムとのデータの授受、他の通信装置とのデータの送受信、及び前記通信手段により他の通信装置から受信したデータの前記記憶手段への記憶を、他の通信装置と共通に行なう手段と、
前記プラットフォームプログラムの処理により、前記記憶手段が記憶したデータの内の一又は複数を用いて他のデータを生成する生成手段と
を備え、
前記生成手段が生成したデータを前記通信手段により他の通信装置へ送信するようにしてあること
を特徴とする通信システム。
In a communication system including a plurality of communication devices that are communicably connected to each other and have a communication means with other communication devices.
Each communication device
Means for executing a plurality of different application programs;
Means for executing a common platform program with other communication devices;
Storage means for storing data;
Through the processing of the platform program, data exchange between the storage means and the application program, transmission / reception of data with other communication devices, and storage of data received from other communication devices by the communication means into the storage means Means for performing in common with other communication devices;
Generating means for generating other data using one or more of the data stored in the storage means by processing of the platform program;
A communication system, wherein the data generated by the generating means is transmitted to another communication device by the communication means.
他の通信装置との通信手段を備える通信装置がデータ通信を行なう方法において、
複数の異なるアプリケーションプログラムの内のいずれか一又は複数を実行し、
他の通信装置と共通のプラットフォームプログラムを実行し、
前記プラットフォームプログラムの処理により、前記アプリケーションプログラムへの記憶してあるデータの授受、他の通信装置とのデータの送受信、及び前記通信手段により他の通信装置から受信したデータの記憶を他の通信装置と共通に行ない、
他の通信装置が各アプリケーションプログラムの実行に用いるデータを他のデータを用いて生成するためのデータ間の関係式を含むデータ定義情報を記憶しておき、
前記プラットフォームプログラムの処理により、前記他の通信装置のデータ定義情報に基づき、記憶したデータの内の一又は複数を用いて他のデータを生成する
ことを特徴とする通信方法。
In a method for performing data communication by a communication device comprising means for communicating with another communication device,
Execute any one or more of a plurality of different application programs;
Run a platform program common to other communication devices,
Transfer of stored data to the application program, transmission / reception of data to / from other communication devices, and storage of data received from other communication devices by the communication means by processing of the platform program. In common with
Stores data definition information including relational expressions between data for generating data used for execution of each application program by other communication devices using other data,
A communication method characterized by generating other data by using one or a plurality of stored data based on data definition information of the other communication device by processing of the platform program.
複数の異なるアプリケーションプログラムの内のいずれか一又は複数を実行する手段と、他のコンピュータとの通信手段とを備えるコンピュータに、各アプリケーションプログラムの実行に用いるデータを記憶させ、前記通信手段によるデータの送受信を制御させるコンピュータプログラムにおいて、
コンピュータに、
他のコンピュータが各アプリケーションプログラムの実行に用いるデータを生成するためのデータ間の関係式を含むデータ定義情報に基づき、自身が記憶している一又は複数のデータを用いてデータを生成するステップ、及び、
生成したデータを前記他のコンピュータへ送信するステップ
を実行させることを特徴とするコンピュータプログラム。
A computer comprising means for executing one or more of a plurality of different application programs and communication means with another computer is stored with data used for execution of each application program. In a computer program for controlling transmission and reception,
On the computer,
A step of generating data using one or a plurality of data stored by itself based on data definition information including a relational expression between the data for generating data used by other computers to execute each application program; as well as,
A computer program for executing the step of transmitting the generated data to the other computer.
JP2008153271A 2008-06-11 2008-06-11 Communication device, communication system, communication method and computer program Pending JP2009298235A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008153271A JP2009298235A (en) 2008-06-11 2008-06-11 Communication device, communication system, communication method and computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008153271A JP2009298235A (en) 2008-06-11 2008-06-11 Communication device, communication system, communication method and computer program

Publications (1)

Publication Number Publication Date
JP2009298235A true JP2009298235A (en) 2009-12-24

Family

ID=41545599

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008153271A Pending JP2009298235A (en) 2008-06-11 2008-06-11 Communication device, communication system, communication method and computer program

Country Status (1)

Country Link
JP (1) JP2009298235A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9124508B2 (en) 2011-05-23 2015-09-01 Nec Corporation Communication control device communication control system, communication control method and program
WO2019021668A1 (en) * 2017-07-25 2019-01-31 日立オートモティブシステムズ株式会社 Vehicle control device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9124508B2 (en) 2011-05-23 2015-09-01 Nec Corporation Communication control device communication control system, communication control method and program
WO2019021668A1 (en) * 2017-07-25 2019-01-31 日立オートモティブシステムズ株式会社 Vehicle control device
JP2019028506A (en) * 2017-07-25 2019-02-21 日立オートモティブシステムズ株式会社 Vehicle controller

Similar Documents

Publication Publication Date Title
JP6954422B2 (en) Concurrency device, concurrency method and concurrency system
US11392305B2 (en) Vehicle information communication system
JP2020107355A (en) Virtual machine monitor, and update method of software and firmware
WO2018096755A1 (en) Parallel processing device and parallel processing program
WO2014148003A1 (en) Program rewrite system for onboard electronic control device and onboard relay device
US7664900B2 (en) Multiprocessor system and method for processing memory access
WO2007074905A1 (en) Network equipment system
JP2009175947A (en) In-vehicle electronic controller and information updating method for the same
JP2010033435A (en) Control apparatus, control method, and computer program
JP2020195035A (en) Communication system and communication control method
CN104683126B (en) Network management based on CAN
JP2009298235A (en) Communication device, communication system, communication method and computer program
JP5365584B2 (en) Control device
KR101601074B1 (en) ECU Updating Apparatus, ECU Updating Method and ECU Updating Network using the same
WO2019142288A1 (en) Plc, network unit, cpu unit, and data transmission method
JP2013147209A (en) Electronic device
JP7091630B2 (en) Electronic control device
JP2008226111A (en) Duplication controller system and operation system controller
JP2010286897A (en) Electronic control unit, and program rewriting method
JP2010033436A (en) Control apparatus, control method, and computer program
JP2006236371A (en) Control system
JP7040404B2 (en) Vehicle relay device
JP2012048390A (en) Control system, control device, control method, and computer program
JP5998689B2 (en) In-vehicle control system
JP4734096B2 (en) Elevator control system