JP6544192B2 - Cooperation system - Google Patents

Cooperation system Download PDF

Info

Publication number
JP6544192B2
JP6544192B2 JP2015207487A JP2015207487A JP6544192B2 JP 6544192 B2 JP6544192 B2 JP 6544192B2 JP 2015207487 A JP2015207487 A JP 2015207487A JP 2015207487 A JP2015207487 A JP 2015207487A JP 6544192 B2 JP6544192 B2 JP 6544192B2
Authority
JP
Japan
Prior art keywords
transmission
unit
transmission message
data
processing
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.)
Active
Application number
JP2015207487A
Other languages
Japanese (ja)
Other versions
JP2017079013A (en
Inventor
敏彦 武田
敏彦 武田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Denso Corp
Original Assignee
Denso Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Denso Corp filed Critical Denso Corp
Priority to JP2015207487A priority Critical patent/JP6544192B2/en
Priority to DE102016220652.4A priority patent/DE102016220652B4/en
Publication of JP2017079013A publication Critical patent/JP2017079013A/en
Application granted granted Critical
Publication of JP6544192B2 publication Critical patent/JP6544192B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/61Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources taking into account QoS or priority requirements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40215Controller Area Network CAN
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40267Bus for use in transportation systems
    • H04L2012/40273Bus for use in transportation systems the transportation system being a vehicle

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Small-Scale Networks (AREA)
  • Multi Processors (AREA)
  • Bus Control (AREA)

Description

本発明は、第1の制御部と第2の制御部との間で連携処理を行わせるための連携システムに関する。   The present invention relates to a cooperation system for performing cooperation processing between a first control unit and a second control unit.

例えば特許文献1には、車両に搭載された複数のECU間での機能連携のための情報を、各ECUの車両制御用アプリケーションが使用するよりも事前に共有可能とした車載用情報処理装置が記載されている。   For example, Patent Document 1 discloses an on-vehicle information processing apparatus capable of sharing in advance information for functional cooperation between a plurality of ECUs mounted on a vehicle, rather than using a vehicle control application of each ECU. Have been described.

この車両用情報処理装置は、他のECUとの機能連携に関連するタグデータが付与されたデータを記憶する機能連携タグ付データ記憶部と、車両の状況情報に応じて機能連携タグ付きデータ記憶部に記憶されているタグデータを参照して、他のECUとの機能連携用のプログラムの実行局面を特定する機能連携メモリ制御部と、機能連携メモリ制御部において機能連携の実行局面と特定された場合、他のECUと機能連携するため機能連携用OSを起動すると共に、機能連携のため送受信される機能連携用パケットデータを生成する機能連携OS制御部と、機能連携用パケットデータを送受信する機能連携パケット送受信部と、を備える。   This vehicle information processing apparatus stores a function cooperation tagged data storage unit that stores data to which tag data related to function cooperation with another ECU is attached, and a function cooperation tagged data storage according to vehicle status information Function cooperation memory control unit that specifies an execution phase of a program for function cooperation with another ECU with reference to tag data stored in the unit, and an execution phase of function cooperation specified in the function cooperation memory control unit In this case, the OS for functional cooperation is activated to perform functional cooperation with another ECU, and the functional cooperation OS control unit that generates functional cooperation packet data to be transmitted / received for functional cooperation, transmits / receives functional cooperation packet data And a function cooperation packet transmission / reception unit.

特開2011−14033号公報JP, 2011-14033, A

上述した車載用情報処理装置では、機能連携パケット送受信部は、マイコンのメモリのアドレス上にマッピングされた機能連携送信レジスタ及び機能連携受信レジスタと通信コントローラとを備える。通信コントローラは、送信時には機能連携送信レジスタにセットされたデータを内部バッファに取り込み、プロトコル解釈部によって車載LAN用のプロトコルに変換した後、通信を開始する。   In the above-described in-vehicle information processing apparatus, the function cooperation packet transmission / reception unit includes a function cooperation transmission register, a function cooperation reception register, and a communication controller mapped on an address of a memory of a microcomputer. At the time of transmission, the communication controller takes in the data set in the function cooperation transmission register into the internal buffer, converts it into the on-board LAN protocol by the protocol interpretation unit, and starts communication.

しかしながら、機能連携送信レジスタにデータがセットされたときに、通信コントローラが、他のデータ送信を行っている場合には、そのデータ送信の重要度に係わらず、そのデータ送信が完了するまで、機能連携送信レジスタにセットされたデータの送信を待機する必要がある。このような通信待ちが発生すると、機能連携に遅延が生じてしまう虞がある。   However, when data is set in the function linkage transmission register, if the communication controller is transmitting another data, the function is continued until the data transmission is completed regardless of the importance of the data transmission. It is necessary to wait for the transmission of data set in the cooperative transmission register. When such a communication wait occurs, there is a possibility that a delay occurs in the function coordination.

本発明は、上述した点に鑑みてなされたものであり、連携処理に用いられるデータの通信遅れに起因する、連携処理の遅延を極力回避することが可能な連携システムを提供することを目的とする。   The present invention has been made in view of the above-described point, and it is an object of the present invention to provide a cooperation system capable of avoiding, as much as possible, delay of cooperation processing caused by communication delay of data used for cooperation processing. Do.

上述した目的を達成するために、本発明による連携システムは、第1の制御部(10)と第2の制御部(20)との間で連携処理を行わせるためのものであって、
第1の制御部は、
連携処理に用いられる連携処理用データに関して、所定のフォーマットに従う送信メッ
セージを生成するための生成処理を行う第1の処理部(11)と、
連携処理用データは、少なくとも、第1の制御部と第2の制御部とで、極力時間遅れな
く共有されるべき即時データを含み、
即時データの送信メッセージに加え、他の送信メッセージも第2の制御部へ送信する送
信部(12、18)と、
即時データの送信メッセージの生成処理の完了後、遅滞なく送信部により即時データの
送信メッセージを送信可能とするため、事前に送信部を予約する第1の予約部(17)と
、を備え、
第2の制御部は、
第1の制御部から送信される送信メッセージを受信する受信部(21、22)と、
受信部にて受信された送信メッセージから即時データを含む連携処理用データを取り出
して、連携処理用データを用いて連携処理を行う第2の処理部(28)と、を備え
第2の処理部は、受信部にて受信された送信メッセージから連携処理用データを取り出して、連携処理用データを用いて連携処理を行うことに加え、他の処理も行うものであり、
第2の制御部は、さらに、連携処理用データとしての即時データの送信メッセージの受信後、遅滞なく第2の処理部が連携処理を実行することができるように、受信部において即時データの送信メッセージの受信時刻での当該送信メッセージの受信を予約するとともに、受信部における即時データの送信メッセージの受信完了時刻に対応して、第2の処理部を予約する第2の予約部(27)を備え、
送信部は、所定の時間間隔で送信メッセージの送信タイミングが到来する定時送信を行うものであり、即時データの送信メッセージは、定時送信におけるいずれかの送信タイミングに合わせて送信され、
第1の予約部は、送信部の予約として、即時データの送信メッセージを送信可能な送信タイミングの中で最も早い送信タイミングを予約するとともに、送信部から、予約した送信タイミングに対応する送信予定時刻を第2の制御部へ送信し、
第2の予約部は、受信部から送信予定時刻を受け取り、当該送信予定時刻に基づいて、即時データの送信メッセージの受信完了時刻を算出し、算出した受信完了時刻に対応して、第2の処理部を予約する
In order to achieve the above-described object, the cooperation system according to the present invention is for performing cooperation processing between the first control unit (10) and the second control unit (20),
The first controller is
A first processing unit (11) that performs generation processing for generating a transmission message according to a predetermined format with respect to cooperation processing data used for cooperation processing;
The cooperation processing data includes at least immediate data to be shared by the first control unit and the second control unit without delay as much as possible.
A transmitter (12, 18) for transmitting other transmission messages to the second control unit in addition to the transmission message of the immediate data;
And a first reservation unit (17) which reserves the transmission unit in advance in order to enable transmission of the transmission message of immediate data by the transmission unit after completion of the generation process of the transmission message of the immediate data.
The second controller is
A receiver (21, 22) for receiving a transmission message transmitted from the first controller;
A second processing unit (28) for taking out cooperation processing data including immediate data from the transmission message received by the reception unit and performing cooperation processing using the cooperation processing data ;
The second processing unit extracts cooperation processing data from the transmission message received by the reception unit and performs other processing in addition to performing cooperation processing using the cooperation processing data,
The second control unit further transmits the immediate data in the receiving unit so that the second processing unit can execute the cooperation processing without delay after receiving the transmission message of the immediate data as the cooperation processing data. A second reservation unit (27) configured to reserve the reception of the transmission message at the reception time of the message and to reserve the second processing unit corresponding to the reception completion time of the transmission message of the immediate data in the reception unit; Equipped
The transmission unit performs scheduled transmission at which the transmission timing of the transmission message arrives at a predetermined time interval, and the transmission message of the immediate data is transmitted according to any transmission timing in the scheduled transmission,
The first reservation unit reserves, as the reservation of the transmission unit, the earliest transmission timing among the transmission timings capable of transmitting the transmission message of the immediate data, and the transmission scheduled time corresponding to the reserved transmission timing from the transmission unit To the second control unit,
The second reservation unit receives the scheduled transmission time from the receiving unit, calculates the reception completion time of the transmission message of the immediate data based on the scheduled transmission time, and corresponds to the calculated reception completion time. Reserve the processing unit .

このように、本発明による連携システムでは、第1の予約部を備え、当該第1の予約部が、即時データの送信メッセージのために、事前に送信部を予約する。このため、送信部が、予約された時刻に、他のメッセージを送信している事態の発生を極力回避することができる。その結果、送信部は、即時データの送信メッセージの生成が完了すると、遅滞なく、その送信メッセージの送信を行うことができる。従って、連携処理に用いられる連携処理用データの中で、特に即時性が求められる即時データの通信遅延を極力回避することができ、連携処理の遅延を抑制することが可能となる。   As described above, in the cooperation system according to the present invention, the first reservation unit is provided, and the first reservation unit reserves the transmission unit in advance for the transmission message of the immediate data. For this reason, it is possible to avoid, as much as possible, the occurrence of a situation where the transmitting unit is transmitting another message at the reserved time. As a result, the transmission unit can transmit the transmission message without delay when the generation of the transmission message of the immediate data is completed. Therefore, it is possible to avoid, as much as possible, the communication delay of the immediate data which is required particularly for the immediacy among the cooperation processing data used for the cooperation processing, and to suppress the delay of the cooperation processing.

上記括弧内の参照番号は、本発明の理解を容易にすべく、後述する実施形態における具体的な構成との対応関係の一例を示すものにすぎず、なんら本発明の範囲を制限することを意図したものではない。   The reference numerals in the parentheses above merely show an example of the correspondence with specific configurations in the embodiments to be described later so as to facilitate understanding of the present invention, and it is intended to limit the scope of the present invention in any way. It is not intended.

また、上述した特徴以外の、特許請求の範囲の各請求項に記載した技術的特徴に関しては、後述する実施形態の説明及び添付図面から明らかになる。   The technical features described in the claims of the claims other than the features described above will be apparent from the description of the embodiments to be described later and the accompanying drawings.

第1実施形態に係る連携システムの構成を示す構成図である。It is a block diagram which shows the structure of the cooperation system which concerns on 1st Embodiment. 第1ECUから第2ECUにメッセージを送信する際の通信スケジュールの一例を示す図である。It is a figure which shows an example of the communication schedule at the time of transmitting a message from 1st ECU to 2nd ECU. 第1ECUにおいて、即時データが発生したときの送信処理の一例を説明するための説明図である。FIG. 8 is an explanatory diagram for describing an example of transmission processing when immediate data occurs in the first ECU. 第1ECUにおける、連携処理用データの送信処理を示すフローチャートである。It is a flowchart which shows transmission processing of the data for cooperation processing in 1st ECU. 第2ECUにおける、連携処理用データの受信処理を示すフローチャートである。It is a flowchart which shows reception processing of the data for cooperation processing in 2nd ECU. 第2実施形態に係る連携システムの構成を示す構成図である。It is a block diagram which shows the structure of the cooperation system which concerns on 2nd Embodiment. 第2実施形態に係る連携システムの第2ECUにおける、連携処理用データの受信処理を示すフローチャートである。It is a flowchart which shows reception processing of the data for cooperation processing in 2nd ECU of the cooperation system which concerns on 2nd Embodiment. 第3実施形態に係る連携システムの構成を示す構成図である。It is a block diagram which shows the structure of the cooperation system which concerns on 3rd Embodiment. 第3実施形態に係る連携システムの第1ECUにおける、連携処理用データの送信処理の一例を説明するための説明図である。It is an explanatory view for explaining an example of transmission processing of data for cooperation processing in 1st ECU of a cooperation system concerning a 3rd embodiment. 第3実施形態に係る連携システムの第1ECUにおける、連携処理用データの送信処理を示すフローチャートである。It is a flow chart which shows transmission processing of data for cooperation processing in 1st ECU of a cooperation system concerning a 3rd embodiment. 第3実施形態に係る連携システムの第2ECUにおける、連携処理用データの受信処理を示すフローチャートである。It is a flowchart which shows reception processing of the data for cooperation processing in 2nd ECU of the cooperation system which concerns on 3rd Embodiment. 第4実施形態に係る連携システムの構成を示す構成図である。It is a block diagram which shows the structure of the cooperation system which concerns on 4th Embodiment. 第4実施形態に係る連携システムにおいて、イベント割込み処理の一例を示すフローチャートである。In a cooperation system concerning a 4th embodiment, it is a flow chart which shows an example of event interruption processing. 第5実施形態に係る連携システムにおいて、イベント割込み処理の他の例を示すフローチャートである。In a cooperation system concerning a 5th embodiment, it is a flow chart which shows other examples of event interruption processing. 第6実施形態に係る連携システムの構成を示す構成図である。It is a block diagram which shows the structure of the cooperation system which concerns on 6th Embodiment. 第6実施形態に係る連携システムにおいて、データ中継装置による中継処理を示すフローチャートである。In the cooperation system which concerns on 6th Embodiment, it is a flowchart which shows the relay process by a data relay apparatus.

以下、本発明の実施形態に係る連携システムを図面を参照しつつ説明する。なお、以下に説明する各実施形態において、同様の構成には同じ参照番号を付与し、また、フローチャートにおける同様の処理には、同じステップ番号を付与することにより、詳細な説明を省略する場合がある。   Hereinafter, a cooperation system according to an embodiment of the present invention will be described with reference to the drawings. In each embodiment described below, the same reference numeral is given to the same configuration, and the same process in the flowchart may be omitted by providing the same step number. is there.

(第1実施形態)
まず、図1〜図5に基づき、第1実施形態に係る連携システムについて説明する。本実施形態に係る連携システムは、例えば車両において、各種の車載機器を制御する複数のECUを備えた制御システムに適用され、その制御システムにおける、第1の制御部としての第1ECU10と、第2の制御部としての第2ECU20との間で、円滑な連携処理を行うことを可能にするものである。連携処理の具体例としては、例えば、ハイブリッド車両において、エンジンの発生トルクとモータジェネレータの発生トルクとの合計トルクが、目標トルクに一致するように、エンジンECUとモータジェネレータECUとが、各々の制御処理を連携して行う例を挙げることができる。また、他の具体例として、ブレーキ装置による制動トルクとモータジェネレータによる回生制動トルクとの合計トルクが、目標制動トルクに一致するように、ブレーキECUとモータジェネレータECUとが、各々の制御処理を連携して行う例を挙げることもできる。ただし、連携処理の例はこれらに限られず、複数のECUがそれぞれの制御処理を行う際に、一方のECUが他方のECUの制御状態に関する情報を必要とする場合には、本実施形態に係る連携システムを適用することができる。
First Embodiment
First, the cooperation system according to the first embodiment will be described based on FIGS. 1 to 5. The cooperation system according to the present embodiment is applied to, for example, a control system including a plurality of ECUs for controlling various in-vehicle devices in a vehicle, and a first ECU 10 as a first control unit in the control system, and a second It is possible to perform smooth cooperation processing with the second ECU 20 as the control unit. As a specific example of the cooperation processing, for example, in the hybrid vehicle, the engine ECU and the motor generator ECU control each other so that the total torque of the generated torque of the engine and the generated torque of the motor generator matches the target torque. An example can be given in which the processing is performed in cooperation. Further, as another specific example, the brake ECU and the motor generator ECU cooperate with each other for control processing so that the total torque of the braking torque by the brake device and the regenerative braking torque by the motor generator matches the target braking torque. An example can also be given. However, examples of cooperation processing are not limited thereto, and when one of the ECUs needs information on the control state of the other ECU when a plurality of ECUs perform their control processing, the embodiment relates to the present embodiment. A cooperative system can be applied.

図1に示すように、第1ECU10と第2ECU20とは、通信ライン1を介して、相互にデータの送受信を行うことが可能に構成されている。通信ライン1は、第1ECU10と第2ECU20との間の通信のために専用に設けられたものであっても良いし、例えば、CAN(登録商標)やLINなどの車内LANのように、多数のECUによって共用される通信ラインであっても良い。なお、通信ライン1が、多数のECUによって共用される場合、後述する送信予定時刻通知データの送信メッセージや、即時データの送信メッセージに対し、相対的に優先度の高いIDを付与する。これにより、送信予定時刻通知データの送信メッセージや、即時データの送信メッセージに関して、他の送信メッセージとの競合による送信遅延を抑制することができる。   As shown in FIG. 1, the first ECU 10 and the second ECU 20 are configured to be able to mutually transmit and receive data via the communication line 1. The communication line 1 may be dedicated for communication between the first ECU 10 and the second ECU 20. For example, as in the case of an in-vehicle LAN such as CAN (registered trademark) or LIN, a large number of communication lines 1 may be provided. It may be a communication line shared by the ECUs. When the communication line 1 is shared by a large number of ECUs, an ID having a relatively high priority is assigned to a transmission message of transmission scheduled time notification data described later and a transmission message of immediate data. As a result, it is possible to suppress the transmission delay due to the competition with another transmission message regarding the transmission message of the transmission scheduled time notification data and the transmission message of the immediate data.

以下においては、説明の便宜上、第1ECU10から第2ECU20へデータが送信される例について説明するが、第2ECU20から第1ECU10へもデータ送信を行い得ることは言うまでもない。   In the following, for convenience of explanation, although an example in which data is transmitted from the first ECU 10 to the second ECU 20 will be described, it is needless to say that data transmission can also be performed from the second ECU 20 to the first ECU 10.

第1ECU10は、図1に示すように、第1処理部11、第1通信ドライバー12、第1予約部17、及び第1通信物理層18を有している。なお、これらの構成の内、第1通信ドライバー12と第1通信物理層18とが、送信部に相当する。   As shown in FIG. 1, the first ECU 10 includes a first processing unit 11, a first communication driver 12, a first reservation unit 17, and a first communication physical layer 18. Among these configurations, the first communication driver 12 and the first communication physical layer 18 correspond to a transmitter.

第1処理部11は、CPUを備え、例えば、第1ECU10と第2ECU20との連携処理に用いられる連携処理用データなどに関して、所定のフォーマットに従う送信メッセージを生成するための生成処理を実行する。この送信メッセージには、その送信メッセージに含まれるデータの種類を示す情報や、使用される通信パケットの種別を示す情報が含まれる。なお、第1ECU10と第2ECU20間で送受信されるメッセージは、連携処理用データに関するものだけであっても良いし、連携処理用データ以外のデータに関するメッセージも送受信されても良い。また、第1処理部11が備えるCPUは、複数のコアからなるマルチコア型のCPUであっても良いし、1つのコアからなるシングルコア型のCPUであっても良い。   The first processing unit 11 includes a CPU, and executes, for example, a generation process for generating a transmission message according to a predetermined format with respect to data for cooperation processing and the like used in cooperation processing between the first ECU 10 and the second ECU 20. The transmission message includes information indicating the type of data included in the transmission message, and information indicating the type of communication packet to be used. The messages transmitted and received between the first ECU 10 and the second ECU 20 may be only those relating to data for cooperation processing, and messages relating to data other than the data for cooperation processing may also be transmitted and received. Further, the CPU included in the first processing unit 11 may be a multi-core CPU including a plurality of cores, or may be a single core CPU including one core.

上述した連携処理用データには、連携処理を行う際に、第1ECU10と第2ECU20とでほぼリアルタイムで共有すべき、第1ECU10から即時の送信が必要な即時データが含まれる。また、連携処理用データには、第1ECU10と第2ECU20とで共有し、その共有したデータに基づき各々の制御処理を連動させる必要があるが、第2ECU20で利用されるまでにある程度の時間的猶予が許容される連動データも含まれても良い。さらに、連携処理用データには、例えば、変化の時定数が大きかったり、第2ECU20にて、比較的長い時間間隔で参照すれば良かったりするような、時間的な制約が最も緩い参照データも含まれても良い。   The data for cooperation processing described above includes immediate data that the first ECU 10 and the second ECU 20 should share in substantially real time when the cooperation processing is performed, and which requires immediate transmission from the first ECU 10. In addition, although it is necessary to share the data for cooperation processing between the first ECU 10 and the second ECU 20, and interlock each control processing on the basis of the shared data, a certain time delay before being used by the second ECU 20 Interlocking data may also be included. Furthermore, the data for linkage processing includes, for example, reference data with the least time constraint, such as having a large time constant of change or making it possible to refer to the second ECU 20 at relatively long time intervals. It may be done.

なお、連携処理用データが、即時の送信が必要な即時データ、利用までにある程度の時間的猶予が許容される連動データ、及び時間的制約が最も緩い参照データの3種類に区分けされる例について説明した。しかしながら、時間的制約による連携処理用データの種類の区分に関して、即時データとそれ以外のデータの2種類に区分しても良いし、逆に4種類以上に区分しても良い。   In addition, about the example in which the data for cooperation processing is divided into three types of immediate data that requires immediate transmission, interlocked data that allows a certain amount of temporal delay before use, and reference data with the least time constraint. explained. However, with regard to the classification of types of data for linkage processing due to temporal constraints, it may be classified into two types of immediate data and other data, or conversely, it may be classified into four or more types.

また、第1処理部11は、後述する第1予約部17による指示に応じて、連携処理用データの中で、最も素早く送信する必要がある即時データについて、その送信メッセージを送信する予定時刻を、事前に第2ECU20に通知するための送信予定時刻通知データを生成する。第2ECU20に事前に送信予定時刻を通知することにより、第2ECU20では、即時データを受領したときに、即座に、即時データに基づく連携処理を実行できるように、メモリやCPUなどのリソースを確保しておくことが可能になる。なお、第2ECU20が、この予定時刻通知データを受信した場合に、送信予定時刻通知データをどのように利用するかに関しては、後に詳細に説明する。   In addition, in response to an instruction from the first reservation unit 17 to be described later, the first processing unit 11 sets a scheduled time for transmitting a transmission message for immediate data that needs to be transmitted most quickly among the data for cooperation processing. The transmission scheduled time notification data for notifying the second ECU 20 in advance is generated. By notifying the second ECU 20 of the scheduled transmission time in advance, the second ECU 20 secures resources such as memory and CPU so that cooperation processing based on the immediate data can be executed immediately upon receipt of the immediate data. It will be possible to In addition, when 2nd ECU20 receives this estimated time notification data, it demonstrates in detail later about how to use transmission estimated time notification data.

さらに、第1処理部11は、上述した送信メッセージの生成処理に加え、制御対象機器を制御するための各種の演算処理や、制御対象機器や各種のセンサの異常診断処理など、その他の処理も実行する。   Furthermore, in addition to the generation process of the transmission message described above, the first processing unit 11 also performs other processing such as various arithmetic processing for controlling the control target device, and abnormality diagnosis processing of the control target device and various sensors. Run.

第1通信ドライバー12は、第1処理部11によって生成された送信メッセージを、その送信メッセージに含まれるデータの種類情報や、使用される通信パケットの種別情報に応じて区分して格納する複数のレジスタを備える。図1に示された例では、第1通信ドライバー12は、時刻通知レジスタ13、高速レジスタ14、中速レジスタ15、及び低速レジスタ16を備えている。時刻通知レジスタ13は、上述した送信予定時刻通知データの送信メッセージを格納するためのものである。高速レジスタ14は、上述した即時データの送信メッセージを含む、送信を即時に行う必要がある送信メッセージを格納するためのものである。中速レジスタ15は、上述した連動データの送信メッセージを含む、送信にある程度の時間的猶予がある送信メッセージを格納するためのものである。そして、低速レジスタ16は、上述した参照データの送信メッセージを含む、時間的制約が最も緩い送信メッセージを格納するためのものである。高速レジスタ14、中速レジスタ15、及び低速レジスタ16は、それぞれ、複数の送信メッセージを格納できるように、複数設けられている。   The first communication driver 12 divides and stores the transmission message generated by the first processing unit 11 according to the type information of data included in the transmission message and the type information of the communication packet to be used. It has a register. In the example shown in FIG. 1, the first communication driver 12 includes a time notification register 13, a high speed register 14, a medium speed register 15, and a low speed register 16. The time notification register 13 is for storing a transmission message of the above-mentioned scheduled transmission time notification data. The high speed register 14 is for storing a transmission message which needs to be transmitted immediately, including the transmission message of the above-mentioned immediate data. The medium-speed register 15 is for storing a transmission message with some time delay for transmission, including the transmission message of interlocked data described above. The low speed register 16 is for storing a transmission message with the least time constraint, including the transmission message of the reference data described above. A plurality of high-speed registers 14, medium-speed registers 15, and low-speed registers 16 are provided so as to store a plurality of transmission messages.

第1通信ドライバー12は、高速レジスタ14、中速レジスタ15、及び低速レジスタ16に格納された送信メッセージを、予め定められた通信スケジュールに従って、第1通信物理層18を介して送信させる。図2に、通信スケジュールの一例を示す。第1通信ドライバー12は、図2に示すように、第1通信物理層18を介して、高速レジスタ14に格納された送信メッセージを最も短い時間間隔で送信タイミングが到来する高速パケットにより送信する。また、第1通信ドライバー12は、第1通信物理層18を介して、中速レジスタ15に格納された送信メッセージを、高速パケットよりも長い時間間隔で送信タイミングが到来する中速パケットにより送信する。なお、高速パケット及び中速パケットは、それぞれ、高速レジスタ14及び中速レジスタ15に送信メッセージが格納されていない場合、各々の送信タイミングが到来しても、送信されることはない。そして、第1通信ドライバー12は、低速レジスタ16に格納された送信メッセージを、中速パケットよりも長い時間間隔で送信タイミングが到来する低速パケットにより送信する。ただし、低速パケットは、より優先度の高い高速パケットや中速パケットの送信が行われない空き時間がある場合、その空き時間に送信されても良い。これは、中速パケットについても同様である。また、第1通信ドライバー12は、中速レジスタ15と低速レジスタ16との両方を備えるのではなく、いずれか一方のみを備えるものであっても良い。   The first communication driver 12 transmits the transmission message stored in the high speed register 14, the medium speed register 15 and the low speed register 16 through the first communication physical layer 18 in accordance with a predetermined communication schedule. FIG. 2 shows an example of the communication schedule. As shown in FIG. 2, the first communication driver 12 transmits the transmission message stored in the high speed register 14 by the high speed packet whose transmission timing arrives at the shortest time interval via the first communication physical layer 18. In addition, the first communication driver 12 transmits, via the first communication physical layer 18, the transmission message stored in the medium speed register 15 by the medium speed packet whose transmission timing arrives at a longer time interval than the high speed packet. . When the transmission message is not stored in the high-speed register 14 and the medium-speed register 15, respectively, the high-speed packet and the medium-speed packet are not transmitted even when their transmission timings come. Then, the first communication driver 12 transmits the transmission message stored in the low speed register 16 by the low speed packet whose transmission timing arrives at a longer time interval than the medium speed packet. However, low speed packets may be sent during idle time when there is idle time when transmission of high speed packets or medium speed packets with higher priority is not performed. The same is true for medium speed packets. Further, the first communication driver 12 may not have both the medium speed register 15 and the low speed register 16 but may have only one of them.

一方、第1通信ドライバー12は、時刻通知レジスタ13に送信予定時刻通知データの送信メッセージが格納された場合には、上述した高速パケット、中速パケット、及び低速パケットの送信の合間を縫って、極力早いタイミングで時刻通知パケットを送信する。例えば、図3には、時刻T1において、即時データが発生した場合に、その即時データに対応する送信予定時刻通知データの時刻通知パケットが、高速パケット通信の合間の時刻T2に送信される例が示されている。もし、送信予定時刻通知データの送信メッセージが時刻通知レジスタ13に格納されたときに、高速パケットなどの送信中であった場合には、第1通信ドライバー12は、送信中の高速パケットの送信完了を待って、時刻通知パケットの送信を行えば良い。   On the other hand, when the transmission message of the transmission scheduled time notification data is stored in the time notification register 13, the first communication driver 12 sews the interval between the transmission of the high speed packet, the medium speed packet, and the low speed packet described above. Send a time notification packet as early as possible. For example, FIG. 3 shows an example in which, when immediate data is generated at time T1, a time notification packet of scheduled transmission time notification data corresponding to the immediate data is transmitted at time T2 between high speed packet communications. It is shown. If the transmission message of the scheduled transmission time notification data is stored in the time notification register 13 and the high speed packet is being transmitted, the first communication driver 12 completes the transmission of the high speed packet being transmitted. Wait and send a time notification packet.

第1予約部17は、第1処理部11における演算処理などにより、即時データが発生した場合に、その発生から送信までを極力短時間に行うことができるようにするために、送信タイミングの予約(すなわち、即時データの送信メッセージを格納する高速レジスタ14の予約)、及びその送信メッセージの生成処理のために第1処理部11の予約を行う。さらに、第1予約部17は、即時データを含む送信メッセージの送信予定時刻を第2ECU20に通知する送信予定時刻通知データの送信メッセージを生成するよう、第1処理部11に指示する。   In the case where immediate data is generated due to arithmetic processing or the like in the first processing unit 11, the first reservation unit 17 makes a reservation of transmission timing in order to be able to perform from generation to transmission in as short a time as possible. (That is, reservation of the high-speed register 14 for storing the transmission message of the immediate data) and reservation of the first processing unit 11 for processing of generating the transmission message. Furthermore, the first reservation unit 17 instructs the first processing unit 11 to generate a transmission message of transmission scheduled time notification data for notifying the second ECU 20 of the transmission scheduled time of the transmission message including the immediate data.

具体的には、図3に示すように、時刻T1に即時データが発生すると、第1予約部17は、まず、高速パケットの送信タイミングの中で、即時データを送信可能な最も早い送信タイミングを予約する。つまり、第1予約部17は、即時データの送信データの生成処理に要する時間を見込んで、その時間経過後、最も早く到来する送信タイミングを予約する。図3に示す例では、第1予約部17は、時刻T4の送信タイミングを予約している。なお、第1通信ドライバー12は、複数の高速レジスタ14に格納された送信メッセージを、高速レジスタ14の並び順に沿って順番に高速パケットにより送信する。そのため、送信タイミングの予約は、第1通信ドライバー12のいずれかの高速レジスタ14を予約することと等価である。   Specifically, as shown in FIG. 3, when immediate data occurs at time T1, the first reservation unit 17 first determines, among the transmission timings of high-speed packets, the earliest transmission timing at which immediate data can be transmitted. Reserve. That is, the first reservation unit 17 reserves the transmission timing that arrives the earliest after the time elapses, in anticipation of the time required for the process of generating the transmission data of the immediate data. In the example shown in FIG. 3, the first reservation unit 17 reserves the transmission timing at time T4. The first communication driver 12 transmits the transmission messages stored in the plurality of high-speed registers 14 by high-speed packets in order along the arrangement order of the high-speed registers 14. Therefore, reservation of transmission timing is equivalent to reserving one of the high-speed registers 14 of the first communication driver 12.

もし、予約しようとした高速レジスタ14にすでに別の送信メッセージが格納されていた場合には、第1予約部17は、空いている中で最も早く送信タイミングが到来する高速レジスタ14を予約しても良い。あるいは、第1予約部17は、格納されている別の送信メッセージについて、送信タイミングが1周期遅れるように、高速レジスタ14の格納データを移動させることで、予約しようとした高速レジスタ14を利用できるようにしても良い。   If another transmission message has already been stored in the high-speed register 14 to be reserved, the first reservation unit 17 reserves the high-speed register 14 at which the transmission timing comes earliest among the vacant ones. Also good. Alternatively, the first reservation unit 17 can use the high-speed register 14 to be reserved by moving the stored data of the high-speed register 14 so that the transmission timing is delayed by one cycle for another transmission message stored. You may do so.

そして、第1予約部17は、即時データの送信タイミングの予約後、その予約した送信タイミングに対応する送信予定時刻通知データの送信メッセージの生成を第1処理部11に指示する。第1処理部11によって、送信予定時刻通知データの送信メッセージの生成が完了すると、時刻通知レジスタ13に格納される。なお、第1予約部17が、送信予定時刻通知データの送信メッセージの生成し、時刻通知レジスタ13に格納するようにしても良い。このように、送信予定時刻通知データの送信メッセージが時刻通知レジスタ13に格納されると、図3に示すように、時刻通知パケットにより、送信予定時刻通知データを含む送信メッセージが第2ECU20に送信される。   Then, after reservation of the transmission timing of the immediate data, the first reservation unit 17 instructs the first processing unit 11 to generate a transmission message of transmission scheduled time notification data corresponding to the reserved transmission timing. When the generation of the transmission message of the transmission scheduled time notification data is completed by the first processing unit 11, it is stored in the time notification register 13. Note that the first reservation unit 17 may generate a transmission message of transmission scheduled time notification data and store the message in the time notification register 13. As described above, when the transmission message of the transmission scheduled time notification data is stored in the time notification register 13, the transmission message including the transmission scheduled time notification data is transmitted to the second ECU 20 by the time notification packet as shown in FIG. Ru.

さらに、第1予約部17は、予約した送信タイミングまでに、即時データの送信メッセージの準備が確実に完了できるように、第1処理部11を予約する。この予約の具体的な形態として、例えば、即時データの送信メッセージの生成処理を送信タイミングまでに完了できるよう、送信タイミングから所定時間遡ったある時刻から、時間ベースにて、第1処理部11の予約を行っても良い。あるいは、第1処理部11のCPUが複数コアを有しており、空きコアが有る場合には、その空きコアを予約しても良い。図3には、時間ベースにて、時刻T3から第1処理部11を予約した例が示されている。   Furthermore, the first reservation unit 17 reserves the first processing unit 11 so that preparation of the transmission message of immediate data can be surely completed by the reserved transmission timing. As a specific form of this reservation, for example, in order to complete the generation process of the transmission message of the immediate data by the transmission timing, the first processing unit 11 is You may make a reservation. Alternatively, when the CPU of the first processing unit 11 has a plurality of cores and there is a vacant core, the vacant core may be reserved. FIG. 3 shows an example in which the first processing unit 11 is reserved from time T3 on a time basis.

なお、第1処理部11にて実行中の現行処理が、予約の開始時刻までに終了しない場合、第1処理部11は、現行処理を一時中断し、割込みにより、即時データの送信メッセージの生成処理を実行するようにすれば良い。   If the current process being executed in the first processing unit 11 does not end by the start time of the reservation, the first processing unit 11 temporarily suspends the current process and generates an immediate data transmission message by an interrupt. It suffices to execute the process.

次に、第2ECU20について説明する。第2ECU20は、図1に示すように、第2通信物理層21、第2通信ドライバー22、第2予約部27、及び第2処理部28を有している。なお、これらの構成の内、第2通信物理層21と第2通信ドライバー22とが、送信部に相当する。第2通信物理層21は、第1通信物理層18から送信された各種の通信パケットを受信し、その通信パケットに含まれる送信メッセージを、第2通信ドライバー22へ転送する。   Next, the second ECU 20 will be described. As shown in FIG. 1, the second ECU 20 includes a second communication physical layer 21, a second communication driver 22, a second reservation unit 27, and a second processing unit 28. Among these configurations, the second communication physical layer 21 and the second communication driver 22 correspond to a transmitter. The second communication physical layer 21 receives various communication packets transmitted from the first communication physical layer 18, and transfers a transmission message included in the communication packet to the second communication driver 22.

第2通信ドライバー22は、受信した送信メッセージに含まれるデータの種類情報や、使用された通信パケットの種別情報を参照することにより、送信メッセージを区分して格納する複数のレジスタを備えている。図1に示された例では、第2通信ドライバー22は、複数のレジスタとして、時刻通知レジスタ23、高速レジスタ24、中速レジスタ25、及び低速レジスタ26を備えている。時刻通知レジスタ23は、時刻通知パケットにより送信された、送信予定時刻通知データを含む送信メッセージを格納する。高速レジスタ24は、高速パケットにより送信された送信メッセージを格納する。この高速パケットにより送信された送信メッセージには、即時データの送信メッセージが含まれる。中速レジスタ25は、中速パケットにより送信された送信メッセージを格納する。また、低速レジスタ26は、低速パケットにより送信された送信メッセージを格納する。   The second communication driver 22 is provided with a plurality of registers for dividing and storing transmission messages by referring to type information of data included in the received transmission message and type information of the used communication packet. In the example shown in FIG. 1, the second communication driver 22 includes a time notification register 23, a high speed register 24, a medium speed register 25, and a low speed register 26 as a plurality of registers. The time notification register 23 stores a transmission message including transmission scheduled time notification data transmitted by the time notification packet. The high speed register 24 stores the transmission message transmitted by the high speed packet. The transmission message transmitted by the high-speed packet includes a transmission message of immediate data. The medium speed register 25 stores the transmission message transmitted by the medium speed packet. The low speed register 26 also stores the transmission message transmitted by the low speed packet.

第2処理部28は、CPUを備え、第2通信ドライバー22の高速レジスタ24、中速レジスタ25、低速レジスタ26に格納された送信メッセージから、連携処理用データなどを取り出す処理を行う。また、第2処理部28は、取り出した連携処理用データを用いて連携処理を実行する。さらに、第2処理部28は、制御対象機器や各種のセンサの異常診断処理など、その他の処理も実行する。この第2処理部28が備えるCPUは、第1処理部11と同様に、複数のコアからなるマルチコア型のCPUであっても良いし、1つのコアからなるシングルコア型のCPUであっても良い。   The second processing unit 28 includes a CPU, and performs processing for extracting data for cooperation processing and the like from transmission messages stored in the high speed register 24, the medium speed register 25, and the low speed register 26 of the second communication driver 22. In addition, the second processing unit 28 executes the collaboration process using the retrieved collaboration process data. Furthermore, the second processing unit 28 executes other processing such as abnormality diagnosis processing of the control target device and various sensors. Like the first processing unit 11, the CPU included in the second processing unit 28 may be a multi-core CPU including a plurality of cores, or may be a single core CPU including one core. good.

なお、第2処理部28は、取り出した連携処理用データが即時データであった場合には、事前に、その即時データに基づく処理を実行することが予約されている。そのため、第2処理部28は、即時データを取り出すと、即座に、即時データに基づく連携処理の実行を開始する。一方、第2処理部28は、中速レジスタ25又は低速レジスタ26に格納された送信メッセージに関しては、例えば、格納時に設定された処理時刻や、所定周期で定期的に訪れる定時処理時刻に、連携処理用データなどのデータを抽出し、一旦、図示しないメモリの所定エリアに保存しておく。そして、記憶したデータを利用するタスクが起動されたときに、保存されたデータに基づき、所定の処理を実行する。   In addition, when the taken-out data for cooperation processing is immediate data, the second processing unit 28 is reserved in advance to execute processing based on the immediate data. Therefore, when the second processing unit 28 takes out the immediate data, the second processing unit 28 immediately starts executing the cooperation processing based on the immediate data. On the other hand, the second processing unit 28 cooperates with the transmission message stored in the medium speed register 25 or the low speed register 26, for example, at the processing time set at the time of storage or at the regular processing time periodically visiting at a predetermined cycle. Data such as processing data is extracted and temporarily stored in a predetermined area of a memory (not shown). Then, when a task using stored data is activated, predetermined processing is performed based on the stored data.

第2予約部27は、送信予定時刻通知データに基づいて、即時データを含む送信メッセージを格納する高速レジスタ24の予約、及び第2処理部28の予約を行う。これにより、第1ECU10から即時データを含む送信メッセージが送信されたときに、特定の高速レジスタ24に格納することができる。また、第2処理部28は、特定の高速レジスタ24に格納された送信メッセージから、即座に即時データを抽出して、連携処理を実行することが可能になる。このため、その即時データを含む送信メッセージの受信から、即時データに基づく連携処理の実行までを極力短時間に行うことができるようになる。   The second reservation unit 27 performs reservation of the high-speed register 24 storing the transmission message including the immediate data and reservation of the second processing unit 28 based on the transmission scheduled time notification data. Thereby, when a transmission message including immediate data is transmitted from the first ECU 10, it can be stored in the specific high-speed register 24. In addition, the second processing unit 28 can immediately extract immediate data from the transmission message stored in the specific high-speed register 24 and execute cooperation processing. For this reason, it is possible to perform from the reception of the transmission message including the immediate data to the execution of the cooperation processing based on the immediate data in a short time as much as possible.

具体的には、第2予約部27は、時刻通知レジスタ23に送信予定時刻通知データを含む送信メッセージが格納されると、その送信予定時刻通知データを抽出する。なお、第2予約部27は、送信予定時刻通知データの抽出を、第2処理部28に指示しても良い。送信予定時刻通知データを抽出すると、第2予約部27は、送信予定時刻に使用可能な高速レジスタ24を予約する。これにより、即時データを含む送信メッセージが格納される予定の高速レジスタ24が特定される。   Specifically, when the transmission message including the scheduled transmission time notification data is stored in the time notification register 23, the second reservation unit 27 extracts the scheduled transmission time notification data. Note that the second reservation unit 27 may instruct the second processing unit 28 to extract transmission scheduled time notification data. When the scheduled transmission time notification data is extracted, the second reservation unit 27 reserves the high-speed register 24 available at the scheduled transmission time. Thereby, the high speed register 24 in which the transmission message including the immediate data is to be stored is specified.

第2予約部は、さらに、送信予定時刻に基づいて、送信メッセージの受信が完了する時刻を算出し、この受信完了時刻に対応して、第2処理部28を予約する。これにより、予約した時間になると、第2処理部28に、特定の高速レジスタ24に格納された送信メッセージから即時データを取り出させ、その即時データに基づく連携処理を行わせることが可能になる。なお、第2処理部28の予約は、第1処理部11の予約と同様に、時間ベースにて、第2処理部28の予約を行っても良いし、空きコアを予約するようにしても良い。   The second reservation unit further calculates the time at which the reception of the transmission message is completed based on the scheduled transmission time, and reserves the second processing unit 28 corresponding to the reception completion time. As a result, when the reserved time is reached, it is possible to cause the second processing unit 28 to extract immediate data from the transmission message stored in the specific high-speed register 24 and to perform cooperative processing based on the immediate data. In addition, as for the reservation of the second processing unit 28, similarly to the reservation of the first processing unit 11, the reservation of the second processing unit 28 may be performed on a time basis, or the vacant core may be reserved. good.

次に、図4のフローチャートを参照しつつ、第1ECU10における、連携処理用データの送信処理について説明する。なお、図4のフローチャートに示す処理は、例えば第1処理部11により連携処理用データが生成されるなど、連携処理用データが発生したときに実行される。   Next, transmission processing of data for cooperation processing in the first ECU 10 will be described with reference to the flowchart in FIG. 4. The process illustrated in the flowchart of FIG. 4 is executed when, for example, data for cooperation processing is generated by the first processing unit 11 or the like, and data for cooperation processing is generated.

まず、ステップS100では、連携処理用データが発生したときに、その連携処理用データが即時データであるか否かを判定する。ステップS100における判定処理により、即時データと判定された場合、ステップS110の処理に進む。一方、即時データではないと判定された場合、ステップS160の処理に進む。   First, in step S100, when data for cooperation processing is generated, it is determined whether the data for cooperation processing is immediate data. If it is determined by the determination process in step S100 that the data is immediate data, the process proceeds to step S110. On the other hand, if it is determined that the data is not immediate data, the process proceeds to step S160.

ステップS110では、高速レジスタ14の中で、即時データを送信可能な最も早い送信タイミングに対応する高速レジスタ14を予約する。続くステップS120では、送信予定時刻通知データを含む送信メッセージを第2ECU20に送信することにより、第2ECU20に対して、送信予定時刻を通知する。   In step S110, in the high speed register 14, the high speed register 14 corresponding to the earliest transmission timing capable of transmitting immediate data is reserved. In the subsequent step S120, the transmission scheduled time is notified to the second ECU 20 by transmitting a transmission message including the transmission scheduled time notification data to the second ECU 20.

ステップS130では、予約した送信タイミングまでに、即時データの送信メッセージの準備が完了できるように、第1処理部11を予約する。そして、ステップS140では、予約した第1処理部11にて、即時データの送信メッセージの生成処理を行わせる。これにより、確実に送信タイミングに間に合うように、即時データの送信メッセージを生成することができる。そして、ステップS150において、生成した即時データの送信メッセージを、予約した高速レジスタ14に格納する。これにより、所定の通信スケジュールにおける高速パケットの送信タイミングが到来したとき、即時データの送信メッセージは第2ECU20に送信される。最後に、ステップS220において、送信履歴を更新し、図4のフローチャートに示す処理を終了する。   In step S130, the first processing unit 11 is reserved so that preparation of the transmission message of the immediate data can be completed by the reserved transmission timing. Then, in step S140, the reserved first processing unit 11 performs generation processing of the transmission message of the immediate data. In this way, it is possible to generate an immediate data transmission message so as to ensure that it is in time for transmission. Then, in step S150, the generated immediate data transmission message is stored in the reserved high-speed register 14. Thus, when the transmission timing of the high-speed packet in the predetermined communication schedule arrives, the transmission message of the immediate data is transmitted to the second ECU 20. Finally, in step S220, the transmission history is updated, and the process shown in the flowchart of FIG. 4 is ended.

一方、ステップS160では、連携処理用データが連動データであるか否かを判定する。連動データと判定された場合には、ステップS170の処理に進み、連動データではないと判定された場合、ステップS200の処理に進む。   On the other hand, in step S160, it is determined whether data for cooperation processing is interlocking data. If it is determined that the data is interlocked data, the process proceeds to the process of step S170. If it is determined that the data is not interlocked data, the process proceeds to the process of step S200.

ステップS170では、連動データに対して、中速レジスタ15を予約する。より詳細には、複数の中速レジスタ15の中で、まだ空いており、かつ、連動レーダの送信メッセージの生成時間を考慮し、その生成後に最も早く送信タイミングが到来する中速レジスタ15を予約する。なお、連動データの送信メッセージの生成時間は、第1処理部11を予約しているわけではないので、即時データの場合よりも長い時間を見込むようにする。   In step S170, the medium-speed register 15 is reserved for interlocked data. More specifically, among the plurality of medium-speed registers 15, the medium-speed register 15 is reserved so that the transmission timing comes earliest after generation, taking into consideration the generation time of the transmission message of the interlocking radar. Do. In addition, since the generation time of the transmission message of interlocking data is not necessarily reserved for the first processing unit 11, a longer time is expected than in the case of the immediate data.

そして、ステップS180では、第1処理部11にて、連動データの送信メッセージの生成処理を行わせる。この生成処理では、第1処理部11が別の処理を実行中であれば、その処理の終了を待機し、終了後に、生成処理を実行させる。ただし、第1予約部17は、予約した送信タイミングから最大待機時間を定め、その最大待機時間が経過しても、生成処理が開始されない場合、第1処理部11に対して、割込みにより、連動データの生成処理を開始するよう指示しても良い。続くステップS190において、生成した連動データの送信メッセージを、予約した中速レジスタ15に格納する。これにより、所定の通信スケジュールにおける中速パケットの送信タイミングが到来したとき、連動データの送信メッセージは第2ECU20に送信される。   Then, in step S180, the first processing unit 11 generates a transmission message of interlocked data. In this generation process, if the first processing unit 11 is executing another process, the process waits for the end of the process, and after the end, executes the generation process. However, the first reservation unit 17 determines the maximum standby time from the reserved transmission timing, and when the generation process is not started even after the maximum standby time has elapsed, the first processing unit 11 interlocks by an interrupt. It may also be instructed to start the data generation process. In the subsequent step S190, the transmission message of the generated interlocked data is stored in the reserved medium-speed register 15. Thereby, when the transmission timing of the medium-speed packet in the predetermined communication schedule comes, the transmission message of interlocking data is transmitted to the second ECU 20.

また、ステップS160において、連携処理用データが連動データではない、すなわち、参照データであると判定された場合に実行されるステップS200では、第1処理部11にて、参照データの送信メッセージの生成処理を行わせる。この生成処理では、連動データの場合と同様に、第1処理部11が別の処理を実行中であれば、その処理の終了を待機し、終了後に、生成処理を実行させる。さらに、参照データの場合には、時間的制約が緩いため、最大待機時間を設けない。続くステップS210において、生成した参照データの送信メッセージを、低速レジスタ16に格納する。   In step S200, which is executed when it is determined in step S160 that the cooperation processing data is not interlocking data, that is, the reference data, the first processing unit 11 generates a transmission message of reference data. Let the process take place. In this generation process, as in the case of interlocked data, if the first processing unit 11 is executing another process, the process waits for the end of the process, and after the end, executes the generation process. Furthermore, in the case of reference data, the maximum waiting time is not provided because time constraints are loose. In the subsequent step S210, the generated transmission message of reference data is stored in the low speed register 16.

次に、図5のフローチャートを参照しつつ、第2ECU20における、連携処理用データの受信処理について説明する。なお、図5のフローチャートに示す処理は、例えば所定時間毎に定期的に実行される。   Next, reception processing of data for cooperation processing in the second ECU 20 will be described with reference to the flowchart in FIG. 5. The process shown in the flowchart of FIG. 5 is periodically executed, for example, at predetermined time intervals.

まず、ステップS300では、第2通信物理層21が通信パケットを受信したか否かを判定する。通信パケットが受信されたと判定されると、ステップS310の処理に進み、受信されていないと判定されると、図5のフローチャートに示す処理を終了する。   First, in step S300, it is determined whether the second communication physical layer 21 has received a communication packet. If it is determined that the communication packet is received, the process proceeds to the process of step S310. If it is determined that the communication packet is not received, the process illustrated in the flowchart of FIG. 5 is ended.

ステップS310では、データ種類情報や、通信パケット種別情報に基づいて、受信された通信パケットが、時刻通知パケットであるか否かを判定する。時刻通知パケットであると判定された場合、ステップS320の処理に進み、時刻通知パケットではないと判定された場合、ステップS360の処理に進む。   In step S310, it is determined based on data type information and communication packet type information whether or not the received communication packet is a time notification packet. If it is determined that the packet is a time notification packet, the process proceeds to step S320. If it is determined that the packet is not a time notification packet, the process proceeds to step S360.

ステップS320では、受信した時刻通知パケットに含まれる送信メッセージを、第2通信ドライバー22の時刻通知レジスタ23に格納する。続くステップS330では、時刻通知レジスタ23に格納された送信メッセージから、送信予定時刻通知データを抽出する。そして、送信予定時刻通知データが示す送信予定時刻に使用可能な高速レジスタ24を予約する。   In step S320, the transmission message included in the received time notification packet is stored in the time notification register 23 of the second communication driver 22. In the subsequent step S330, transmission scheduled time notification data is extracted from the transmission message stored in the time notification register 23. Then, the high-speed register 24 available at the scheduled transmission time indicated by the scheduled transmission time notification data is reserved.

ステップS340では、送信予定時刻に基づいて、送信メッセージの受信が完了する予定時刻を算出する。そして、ステップS350において、受信完了予定時刻に対応して、第2処理部28を予約する。ステップS350の処理が終了すると、一旦、図5のフローチャートに示す処理は終了する。   In step S340, the scheduled time at which the reception of the transmission message is completed is calculated based on the scheduled transmission time. Then, in step S350, the second processing unit 28 is reserved corresponding to the scheduled reception completion time. When the process of step S350 ends, the process illustrated in the flowchart of FIG. 5 ends.

一方、ステップS310において、受信した通信パケットは、時刻通知パケットではなく、高速パケット、中速パケット、低速パケットのいずれかであると判定された場合に実行されるステップS360では、その通信パケットの種類を判別する。この判別処理において、高速パケットと判別されたときステップS370の処理に進み、中速パケットと判別されたときステップS400の処理に進み、低速パケットと判別されたときステップS440の処理に進む。   On the other hand, in step S360 executed when it is determined in step S310 that the received communication packet is not a time notification packet but a high-speed packet, a medium-speed packet, or a low-speed packet, the type of communication packet is executed. To determine In this determination process, when it is determined that the packet is a high speed packet, the process proceeds to step S370. When it is determined that the packet is a medium speed packet, the process proceeds to step S400. When it is determined that the packet is a low speed packet, the process proceeds to step S440.

ステップS370では、受信した高速パケットに含まれる送信メッセージを、予約した特定の高速レジスタ24に格納する。このように処理する理由は、図5のフローチャートでは、即時データの送信メッセージのみが高速パケットとして送信される場合の受信処理を示しているためである。つまり、即時データに関しては、必ず、送信予定時刻通知により第2ECU20において高速レジスタ24及び第2処理部28の予約が行われる。このため、高速パケットであることが、高速レジスタ24及び第2処理部28の予約に対応する予約パケットであることを示すことになるためである。   In step S370, the transmission message included in the received high-speed packet is stored in the specific high-speed register 24 reserved. The reason for this processing is that the flowchart of FIG. 5 shows the reception processing in the case where only the transmission message of the immediate data is transmitted as the high speed packet. That is, regarding immediate data, reservation of the high-speed register 24 and the second processing unit 28 is always performed in the second ECU 20 by notification of transmission scheduled time. Therefore, the fact that the packet is a high-speed packet indicates that it is a reservation packet corresponding to the reservation of the high-speed register 24 and the second processing unit 28.

このため、即時データの送信メッセージ以外の送信メッセージも高速パケットにより送信される場合には、単に、通信パケットの種類のみで予約パケットか否かを判断できなくなる。この場合には、例えば、送信予定時刻に受信を開始したか、あるいは、送信メッセージに含まれるデータが即時データであるかなどに基づいて予約パケットであるか否かを判定する必要がある。そして、予約パケットであると判定された場合に、ステップS370以降の処理を行うようにすれば良い。なお、高速パケットであるが、予約パケットでないと判定された場合には、通常の高速パケットを処理するための取り決めに従い、処理を実行すれば良い。   For this reason, when transmission messages other than the transmission message of the immediate data are also transmitted by the high-speed packet, it can not be determined whether the reservation packet is a reservation packet only by the type of communication packet. In this case, for example, it is necessary to determine whether or not it is a reservation packet based on, for example, whether reception has started at the scheduled transmission time, or whether data included in the transmission message is immediate data. Then, when it is determined that the packet is a reservation packet, the processes after step S370 may be performed. If it is determined that the packet is a high-speed packet but not a reserved packet, the process may be executed in accordance with the convention for processing a normal high-speed packet.

そして、ステップS380において、予約した時間になったときに、第2処理部28は、特定の高速レジスタ24に格納された送信メッセージから即時データを抽出する。さらに、ステップS390において、予約した第2処理部28は、抽出した即時データに基づく連携処理を実行する。   Then, in step S380, when the reserved time is reached, the second processing unit 28 extracts the immediate data from the transmission message stored in the specific high-speed register 24. Furthermore, in step S390, the reserved second processing unit 28 executes cooperation processing based on the extracted immediate data.

ステップS360において、受信した通信パケットが中速パケットと判別されたときに実行されるステップS400では、受信した通信パケットに含まれる送信メッセージを中速レジスタ25に格納する。続くステップS410では、その中速レジスタ25に格納した送信メッセージの処理時刻を設定する。そして、ステップS420において、設定した処理時刻になると、中速レジスタ25に格納された送信メッセージから連動データを抽出して、一旦、メモリの所定エリアに保存しておく。この記憶された連動データは、ステップS430に示すように、連動データを利用するタスクが起動されたとき、そのタスクが、メモリから連動データを読み出して、連携処理を実行することになる。   In step S400 executed when the received communication packet is determined to be a medium speed packet in step S360, the transmission message included in the received communication packet is stored in the medium speed register 25. In the subsequent step S410, the processing time of the transmission message stored in the medium speed register 25 is set. Then, in step S420, when the set processing time comes, interlocking data is extracted from the transmission message stored in the medium speed register 25 and temporarily stored in a predetermined area of the memory. As shown in step S430, when the task using the interlocked data is activated, the stored interlocked data reads the interlocked data from the memory and executes the cooperation process.

また、ステップS360において、受信した通信パケットが低速パケットと判別されたときに実行されるステップS440では、受信した通信パケットに含まれる送信メッセージを低速レジスタ26に格納する。続くステップS450では、所定周期で定期的に訪れる定時処理時刻になったとき、低速レジスタ26に格納された送信メッセージから参照データを抽出して、一旦、メモリの所定エリアに保存しておく。この記憶された参照データは、ステップS460に示すように、参照データを利用するタスクが起動されたとき、そのタスクが、メモリから参照データを読み出して、連携処理を実行することになる。   In step S440, which is executed when the received communication packet is determined as the low speed packet in step S360, the transmission message included in the received communication packet is stored in the low speed register 26. In the subsequent step S450, when it is timed processing time to visit periodically in a predetermined cycle, reference data is extracted from the transmission message stored in the low speed register 26 and temporarily stored in a predetermined area of the memory. As shown in step S460, when the task using the reference data is activated, the stored reference data reads the reference data from the memory and executes the cooperation process.

以上、説明したように、第1実施形態に係る連携システムでは、第1ECU10が第1予約部17を備え、当該第1予約部17が、即時データの送信メッセージのために、事前に、送信部としての第1通信ドライバー12の高速レジスタ14を予約する。このため、第1通信ドライバー12に、予約された時刻に、即時データの送信メッセージの送信を確実に行わせることができる。   As described above, in the cooperation system according to the first embodiment, the first ECU 10 includes the first reservation unit 17, and the first reservation unit 17 transmits the transmission unit in advance for the transmission message of the immediate data. The high speed register 14 of the first communication driver 12 is reserved. Therefore, it is possible to make the first communication driver 12 reliably transmit the transmission message of the immediate data at the reserved time.

また、第1予約部17は、即時データの送信メッセージの生成処理を行う第1処理部11を予約する。このため、送信メッセージの送信予定時刻までに、送信メッセージの生成を完了することができる。さらに、送信メッセージの生成が完了すると、遅滞なく、その送信メッセージの送信を行うことができ、連携処理に用いられる連携処理用データの中で、特に即時性が求められる即時データの通信遅延を極力回避することができる。   Further, the first reservation unit 17 reserves the first processing unit 11 that performs generation processing of a transmission message of immediate data. Therefore, the generation of the transmission message can be completed by the transmission scheduled time of the transmission message. Furthermore, when the generation of the transmission message is completed, the transmission message can be transmitted without delay, and among the cooperation processing data used for the cooperation processing, the communication delay of the immediate data which is particularly required to be immediacy is minimized. It can be avoided.

さらに、第1予約部17は、第2ECU20に、送信予定時刻通知データの送信メッセージを送信する。第2ECU20では、送信予定時刻通知データに基づいて、即時データを含む送信メッセージを格納する高速レジスタ24の予約、及び第2処理部28の予約を行う。従って、第1ECU10から即時データを含む送信メッセージが送信たとき、第2処理部28は、その送信メッセージを特定の高速レジスタ24に格納し、即座に即時データを抽出して、連携処理を実行することができる。その結果、即時データを含む送信メッセージの受信から、即時データに基づく連携処理の実行までを極力短時間に行うことができるようになる。   Furthermore, the first reservation unit 17 transmits, to the second ECU 20, a transmission message of scheduled transmission time notification data. The second ECU 20 performs reservation of the high-speed register 24 storing the transmission message including the immediate data and reservation of the second processing unit 28 based on the transmission scheduled time notification data. Therefore, when the transmission message including the immediate data is transmitted from the first ECU 10, the second processing unit 28 stores the transmission message in the specific high-speed register 24, extracts the immediate data immediately, and executes the cooperation process. be able to. As a result, it is possible to perform from the reception of the transmission message including the immediate data to the execution of the cooperation process based on the immediate data in as short a time as possible.

なお、本実施形態で、通信パケットを高速パケット、中速パケット、低速パケットに区分したのは、通信データの区分(即時データ、連動データ、参照データ)と一対一に対応可能としたためである。このように、通信パケットと通信データとの関係を明確にすることで、通信データが変更になっても、データの再配置等の再設計で通信資産の継承を容易にすることができる。   In the present embodiment, communication packets are classified into high-speed packets, medium-speed packets, and low-speed packets because they can correspond one-to-one with communication data classifications (immediate data, interlocking data, reference data). Thus, by clarifying the relationship between the communication packet and the communication data, even when the communication data is changed, inheritance of the communication asset can be facilitated by redesign such as data relocation.

(第2実施形態)
次に、本発明の第2実施形態に係る連携システムについて説明する。本実施形態に係る連携システムは、第1実施形態の連携システムに対して、第1ECU10から第2ECU20へ、即時データの送信メッセージが送信される場合であっても、時刻通知パケットの送信を行わないようにした点で相違する。その他の点では、第2実施形態に係る連携システムは、第1実施形態に係る連携システムと同様である。例えば、第1予約部17は、第1実施形態の連携システムと同様に、即時データの送信のために、第1通信ドライバー12や高速レジスタ14を予約する。以下、相違点を中心に、本実施形態に係る連携システムについて説明する。
Second Embodiment
Next, a cooperation system according to a second embodiment of the present invention will be described. The cooperation system according to the present embodiment does not transmit the time notification packet even when the transmission message of the immediate data is transmitted from the first ECU 10 to the second ECU 20 with respect to the cooperation system of the first embodiment. It differs in the point which it did. In the other points, the cooperation system according to the second embodiment is the same as the cooperation system according to the first embodiment. For example, the first reservation unit 17 reserves the first communication driver 12 and the high-speed register 14 for immediate data transmission, as in the cooperation system of the first embodiment. Hereinafter, the cooperation system according to the present embodiment will be described focusing on the differences.

図6に示すように、第1ECU10の第1通信ドライバー12は、高速レジスタ14、中速レジスタ15、及び低速レジスタ16を備えているが、時刻通知レジスタは備えていない。同様に、第2ECU20の第2通信ドライバー22も、高速レジスタ24、中速レジスタ25、及び低速レジスタ26を備えているが、時刻通知レジスタは備えていない。このため、本実施形態に関わる連携システムにおいては、第1ECU10から第2ECU20へ、高速パケット、中速パケット、及び低速パケットは送信されるが、時刻通知パケットは送信されない。   As shown in FIG. 6, the first communication driver 12 of the first ECU 10 includes the high-speed register 14, the medium-speed register 15, and the low-speed register 16, but does not include the time notification register. Similarly, the second communication driver 22 of the second ECU 20 also includes the high-speed register 24, the medium-speed register 25, and the low-speed register 26, but does not include the time notification register. Therefore, in the cooperation system according to the present embodiment, the high speed packet, the medium speed packet, and the low speed packet are transmitted from the first ECU 10 to the second ECU 20, but the time notification packet is not transmitted.

このように、時刻通信パケットの送信は行われないが、本実施形態では、第2ECU20において、即時データの送信メッセージの受信時刻に合わせて、事前に第2通信ドライバーの高速レジスタ24、及び第2処理部28の予約ができるようになっている。以下、この点について詳しく説明する。   As described above, although the transmission of the time communication packet is not performed, in the present embodiment, the high speed register 24 of the second communication driver and the second communication driver in advance are synchronized with the reception time of the transmission message of the immediate data in the second ECU 20. A reservation of the processing unit 28 can be made. Hereinafter, this point will be described in detail.

第1実施形態にて説明したように、高速パケット、中速パケット、及び低速パケットは、予め定められた通信スケジュールに従って、第1ECU10から送信される。すなわち、図2に示されるように、高速パケットは、最も短い所定の時間間隔で送信され、中速パケットは、中間の所定の時間間隔で送信され、低速パケットは、最も長い所定の時間間隔で送信される。このため、第2ECU20においても、この通信スケジュールに関する情報を保有しておくことにより、高速パケットの送信予定時刻及びその受信完了時刻を推測することができる。   As described in the first embodiment, the high speed packet, the medium speed packet, and the low speed packet are transmitted from the first ECU 10 according to a predetermined communication schedule. That is, as shown in FIG. 2, high-speed packets are transmitted at the shortest predetermined time intervals, medium-speed packets are transmitted at intermediate predetermined time intervals, and low-speed packets are transmitted at the longest predetermined time intervals. Will be sent. For this reason, also in the second ECU 20, it is possible to estimate the scheduled transmission time of the high-speed packet and the reception completion time thereof by retaining the information on the communication schedule.

従って、第2ECU20において、推測した送信予定時刻及び受信完了時刻に基づき、第2通信ドライバーの高速レジスタ24や、第2処理部28の予約を行うことが可能になる。   Therefore, in the second ECU 20, it is possible to reserve the high-speed register 24 of the second communication driver and the second processing unit 28 based on the estimated transmission scheduled time and reception complete time.

ただし、推測した送信予定時刻に、実際に、即時データの送信メッセージが送信されるとは限らない。そのため、推測した時刻に通信パケットを受信したとき、その通信パケットが高速パケットであり、即時データの送信メッセージを含むものである場合には、予約を継続する。しかし、通信パケットの種別やデータの種類が異なる場合、及び送信予定時刻に通信パケットを受信しない場合には、高速レジスタ24及び第2処理部28の予約を取り消して、これらのリソースを解放する。これにより、高速パケットの送信に合わせて、高速レジスタ24及び第2処理部28を予約しても、実際に、即時データを受信したとき以外は、これらのリソースを占有することがないので、他の処理に及ぼす影響を抑制することができる。   However, the transmission message of the immediate data is not necessarily transmitted at the estimated transmission scheduled time. Therefore, when the communication packet is received at the estimated time, if the communication packet is a high-speed packet and includes an immediate data transmission message, the reservation is continued. However, when the type of communication packet or the type of data is different, and when the communication packet is not received at the scheduled transmission time, the reservation of the high speed register 24 and the second processing unit 28 is canceled and these resources are released. As a result, even if the high-speed register 24 and the second processing unit 28 are reserved according to the transmission of the high-speed packet, these resources are not occupied except when the immediate data is actually received. Influence on the treatment of

なお、本実施形態において、高速パケットの送信予定時刻に、他の通信パケットである中速パケットや低速パケットが受信される可能性を考慮しているのは、高速パケットが送信されない空き時間に、中速パケットや低速パケットが送信されることがあり得るためである。また、第1実施形態と同様に、即時データの送信メッセージ以外の送信メッセージが高速パケットにより送信される場合には、高速パケットを受信したとき、即時データの送信メッセージであるか否かを判定し、即時データの送信メッセージ以外の送信メッセージである場合には、予約を取り消しても良い。ただし、即時データの送信メッセージ以外の送信メッセージであっても、高速パケットにより送信されたデータに基づく処理に即時性が求められる場合には、予約したリソースを使って処理を行っても良い。   In this embodiment, in consideration of the possibility of receiving a medium-speed packet or a low-speed packet, which is another communication packet, at the scheduled transmission time of the high-speed packet, the idle time during which the high-speed packet is not transmitted is taken into consideration. This is because medium-speed packets and low-speed packets may be transmitted. Further, as in the first embodiment, when a transmission message other than the transmission message of the immediate data is transmitted by the high speed packet, it is determined whether the transmission message of the immediate data is received when the high speed packet is received. If the message is a transmission message other than the transmission message of immediate data, the reservation may be cancelled. However, even in the case of a transmission message other than the transmission message of the immediate data, when immediacy is required for the processing based on the data transmitted by the high-speed packet, the processing may be performed using a reserved resource.

次に、本実施形態に係る連携システムにおいて、第2ECU20による連携処理用データの受信処理について、図7のフローチャートに基づき説明する。なお、図7のフローチャートに示す処理は、例えば所定時間毎に定期的に実行される。また、以下の説明では、図5のフローチャートと相違する処理を中心に説明する。   Next, in the cooperation system according to the present embodiment, reception processing of data for cooperation processing by the second ECU 20 will be described based on the flowchart of FIG. 7. In addition, the process shown to the flowchart of FIG. 7 is regularly performed, for example for every predetermined time. Further, in the following description, processing different from the flowchart of FIG. 5 will be mainly described.

まず、最初のステップS290において、予め定められている通信スケジュールに基づき、高速パケットの送信予定時刻に対応して高速レジスタ24の予約を行うとともに、受信完了予定時刻に合わせて第2処理部28の予約を行う。   First, in the first step S290, the high-speed register 24 is reserved corresponding to the scheduled transmission time of the high-speed packet based on a predetermined communication schedule, and the second processing unit 28 Make a reservation.

そして、ステップS300では、通信パケットを受信したか否かを判定し、通信パケットを受信していないと判定された場合、ステップS345の処理に進む。ステップS345では、高速パケットの送信予定時刻となったか否かを判定する。高速パケットの送信予定時刻になったにも係わらず、通信パケットを受信しない場合、今回の送信タイミングでは、高速パケットの送信は行われなかったとみなすことができる。そのため、ステップS345において、高速パケットの送信予定時刻になったと判定された場合には、ステップS355の処理に進み、高速レジスタ24及び第2処理部28の予約を取り消す。   Then, in step S300, it is determined whether or not the communication packet has been received, and if it is determined that the communication packet has not been received, the process proceeds to step S345. In step S345, it is determined whether the scheduled transmission time of the high-speed packet has come. When the communication packet is not received although the scheduled transmission time of the high-speed packet has come, it can be considered that the high-speed packet has not been transmitted at the current transmission timing. Therefore, if it is determined in step S345 that the scheduled transmission time of the high-speed packet has come, the process proceeds to step S355 to cancel the reservation of the high-speed register 24 and the second processing unit 28.

また、通信パケットを受信し(ステップS300)、その通信パケットが中速パケットと判定された場合(ステップS360)、ステップS392の処理が行われる。ステップS392では、高速パケットの送信予定時刻となったか否かを判定する。高速パケットの送信予定時刻になったにも係わらず、中速パケットを受信した場合、今回の高速パケットの送信タイミングでは、高速パケットの送信は行われず、その空き時間に中速パケットが送信されたものとみなすことができる。そのため、ステップS392において、高速パケットの送信予定時刻になったと判定された場合には、ステップS395の処理に進み、高速レジスタ24及び第2処理部28の予約を取り消す。   Also, when the communication packet is received (step S300) and it is determined that the communication packet is a medium speed packet (step S360), the process of step S392 is performed. In step S392, it is determined whether the scheduled transmission time of the high-speed packet has come. When a medium-speed packet is received despite the scheduled high-speed packet transmission time, the high-speed packet transmission is not performed at the current high-speed packet transmission timing, and the medium-speed packet is transmitted in the idle time It can be regarded as a thing. Therefore, if it is determined in step S392 that the scheduled transmission time of the high-speed packet has come, the process proceeds to step S395 to cancel the reservation of the high-speed register 24 and the second processing unit 28.

通信パケットを受信し(ステップS300)、その通信パケットが低速パケットと判定された場合(S360)には、ステップS432の処理が行われる。ステップS432では、高速パケットの送信予定時刻となったか否かを判定する。高速パケットの送信予定時刻になったにも係わらず、低速パケットを受信した場合、今回の高速パケットの送信タイミングでは、高速パケットの送信は行われず、その空き時間に低速パケットが送信されたものとみなすことができる。そのため、ステップS432において、高速パケットの送信予定時刻になったと判定された場合には、ステップS435の処理に進み、高速レジスタ24及び第2処理部28の予約を取り消す。   When the communication packet is received (step S300) and it is determined that the communication packet is a low speed packet (S360), the process of step S432 is performed. In step S432, it is determined whether the scheduled transmission time of the high-speed packet has come. If the low-speed packet is received despite the scheduled high-speed packet transmission time, the high-speed packet is not sent at the current high-speed packet transmission timing, and the low-speed packet is transmitted during the idle time. It can be regarded. Therefore, if it is determined in step S432 that the scheduled transmission time of the high-speed packet has come, the process proceeds to step S435 to cancel the reservation of the high-speed register 24 and the second processing unit 28.

その他の処理は、図5のフローチャートと同様であるため、説明を省略する。   The other processes are the same as those in the flowchart of FIG.

(第3実施形態)
次に、本発明の第3実施形態に係る連携システムについて説明する。本実施形態に係る連携システムは、第1実施形態の連携システムに対して、送信間隔が異なる高速パケット、中速パケット、低速パケットを使用せず、送信間隔が一定の一種類の通信パケットを使用して、即時データの送信メッセージや、その他の送信メッセージを送信するようにした点で相違する。これは、通信資産の継承の効果を除けば、複数種類の通信速度のパケットを設けなくても、通信の高速化の効果を得ることが可能であることを意味する。以下、その相違点を中心に、本実施形態に係る連携システムについて説明する。
Third Embodiment
Next, a cooperation system according to a third embodiment of the present invention will be described. The cooperation system according to this embodiment does not use high-speed packets, medium-speed packets, and low-speed packets having different transmission intervals, but uses one type of communication packet having a constant transmission interval, with respect to the cooperation system of the first embodiment. And the transmission message of the immediate data and other transmission messages are different. This means that it is possible to obtain the effect of speeding up communication without providing packets of a plurality of communication speeds except for the effect of inheritance of communication assets. Hereinafter, the cooperation system according to the present embodiment will be described focusing on the difference.

図8に示すように、第1ECU10の第1通信ドライバー12は、高速レジスタ14、中速レジスタ15、及び低速レジスタ16を備えておいない。代わりに、第1通信ドライバー12は、時刻通知レジスタ13と、送信間隔が一定の一種類の通信パケットに対応した送信レジスタ19とを備えている。同様に、第2ECU20の第2通信ドライバー22も、高速レジスタ24、中速レジスタ25、及び低速レジスタ26を備えていない。代わりに、第2通信ドライバー22は、時刻通知レジスタ23と、一種類の受信レジスタ29とを備えている。   As shown in FIG. 8, the first communication driver 12 of the first ECU 10 does not include the high speed register 14, the medium speed register 15, and the low speed register 16. Instead, the first communication driver 12 includes a time notification register 13 and a transmission register 19 corresponding to one type of communication packet whose transmission interval is constant. Similarly, the second communication driver 22 of the second ECU 20 also does not include the high speed register 24, the medium speed register 25, and the low speed register 26. Instead, the second communication driver 22 includes a time notification register 23 and one type of reception register 29.

本実施形態では、このように、第1ECU10から第2ECU20への送信メッセージの送信は、送信間隔が一定の一種類の通信パケットによって行われる。しかし、そのような通信環境でも、即時データの送信メッセージに関して、第1ECU10及び第2ECU20におけるリソース予約を通じて、極力早いタイミングで即時データの送信メッセージの送受信及び即時データに基づく連携処理を可能としたものである。以下、この点について詳しく説明する。   In this embodiment, as described above, the transmission of the transmission message from the first ECU 10 to the second ECU 20 is performed by one type of communication packet whose transmission interval is constant. However, even in such a communication environment, with regard to the transmission message of the immediate data, transmission / reception of the transmission message of the immediate data and cooperative processing based on the immediate data are possible at the earliest possible timing through resource reservation in the first ECU 10 and the second ECU 20. is there. Hereinafter, this point will be described in detail.

図9には、本実施形態に係る連携システムにおいて、第1ECU10が、即時データの送信メッセージを生成して、送信するまでの概略の手順が示されている。図9に示すように、時刻T5に即時データが発生すると、第1予約部17は、まず、通信パケットの送信タイミングの中で、即時データを送信可能な最も早い送信タイミングに対応する送信レジスタ19を予約する。つまり、第1予約部17は、即時データの送信データの生成処理に要する時間を見込んで、その時間経過後、最も早く到来する送信タイミングに対応する送信レジスタ19を予約する。図9には、第1予約部17は、時刻T8の送信タイミングに対応するレジスタを予約した例が示されている。   FIG. 9 shows a schematic procedure until the first ECU 10 generates a transmission message of immediate data and transmits it in the cooperation system according to the present embodiment. As shown in FIG. 9, when immediate data is generated at time T5, the first reservation unit 17 first transmits the transmission register 19 corresponding to the earliest transmission timing at which immediate data can be transmitted among the transmission timings of communication packets. Make a reservation. That is, the first reservation unit 17 reserves the transmission register 19 corresponding to the transmission timing that arrives earliest after the elapse of the time, in anticipation of the time required for the generation process of the transmission data of the immediate data. FIG. 9 shows an example in which the first reservation unit 17 reserves a register corresponding to the transmission timing at time T8.

なお、予約しようとした送信レジスタ19にすでに別の送信メッセージが格納されていた場合には、第1予約部17は、格納されている別の送信メッセージについて、送信タイミングが1周期遅れるように、送信レジスタ19の格納データを移動させることで、予約しようとした送信レジスタ19を利用できるようにしても良い。あるいは、第1予約部17は、空いている中で最も早く送信タイミングが到来する送信レジスタ19を予約しても良い。   When another transmission message is already stored in the transmission register 19 to be reserved, the first reservation unit 17 delays the transmission timing by one cycle for another transmission message stored, By moving the storage data of the transmission register 19, the transmission register 19 which is to be reserved may be used. Alternatively, the first reservation unit 17 may reserve the transmission register 19 for which the transmission timing comes earliest among the vacant ones.

そして、第1予約部17は、即時データの送信タイミングの予約後、その予約した送信タイミングに対応する送信予定時刻通知データの送信メッセージの生成を第1処理部11に指示する。第1処理部11によって、送信メッセージの生成が完了すると、時刻通知レジスタ13に格納される。そのため、即時データの発生後、極短時間の内に、時刻通知パケットにより、生成した送信予定時刻通知データを含む送信メッセージを第2ECU20に送信することができる。図9に示す例では、時刻T6から、時刻通知パケットの送信が開始されている。   Then, after reservation of the transmission timing of the immediate data, the first reservation unit 17 instructs the first processing unit 11 to generate a transmission message of transmission scheduled time notification data corresponding to the reserved transmission timing. When the generation of the transmission message is completed by the first processing unit 11, the transmission message is stored in the time notification register 13. Therefore, after the generation of the immediate data, it is possible to transmit a transmission message including the generated scheduled transmission time notification data to the second ECU 20 by the time notification packet within a very short time. In the example shown in FIG. 9, transmission of the time notification packet is started from time T6.

さらに、第1予約部17は、予約した送信タイミングまでに、即時データの送信メッセージの準備が確実に完了できるように、第1処理部11を予約する。この第1処理部11の予約は、時間ベースにて、第1処理部11の予約を行っても良いし、空きコアがある場合には、その空きコアを予約するようにしても良い。   Furthermore, the first reservation unit 17 reserves the first processing unit 11 so that preparation of the transmission message of immediate data can be surely completed by the reserved transmission timing. In the reservation by the first processing unit 11, the reservation by the first processing unit 11 may be performed on a time basis, or when there is an empty core, the empty core may be reserved.

第1処理部11が生成する送信メッセージには、その送信メッセージに含まれるデータの種類を示す情報が含まれている。そのため、1種類の通信パケットを使用して、即時データの送信メッセージや、その他の送信メッセージを送信する場合であっても、第2ECU20は、受信した送信メッセージが、即時データを含むものか、その他のデータを含むものかを識別することができる。   The transmission message generated by the first processing unit 11 includes information indicating the type of data included in the transmission message. Therefore, even in the case of transmitting an immediate data transmission message or another transmission message using one type of communication packet, the second ECU 20 determines whether the received transmission message includes immediate data or the like It can be identified whether it contains the data of

なお、例えば、即時データ以外のデータとして、連動データが発生した場合には、図9に示されるように、まず、第1処理部11において、連動データの送信メッセージの生成処理が行われる。そして、送信メッセージの生成処理の完了後に、空いている送信レジスタ19に送信メッセージを格納する。これにより、通信パケットの送信タイミングが到来したときに、送信レジスタ19に格納された、連動データの送信メッセージの送信が行われる。   Note that, for example, when interlocked data is generated as data other than the immediate data, as shown in FIG. 9, first, in the first processing unit 11, a process of generating a transmission message of interlocked data is performed. Then, after the transmission message generation process is completed, the transmission message is stored in the transmission register 19 which is available. As a result, when the transmission timing of the communication packet arrives, the transmission message of interlocked data stored in the transmission register 19 is transmitted.

次に、図10のフローチャートを参照して、第1ECU10における、連携処理用データの送信処理について説明する。なお、図10のフローチャートにおいて、図4のフローチャートと同様の処理を行うステップに関して、同じステップ番号を付している。   Next, with reference to the flowchart of FIG. 10, transmission processing of cooperation processing data in the first ECU 10 will be described. In the flowchart of FIG. 10, the same step numbers are assigned to steps performing the same processing as the flowchart of FIG.

まず、ステップS100では、連携処理用データが発生したときに、その連携処理用データが即時データであるか否かを判定する。即時データであると判定された場合に実行されるステップS115では、送信レジスタ19の中で、即時データを送信可能な、最も早い送信タイミングに対応する送信レジスタ19を予約する。続くステップS120では、送信予定時刻通知データを含む送信メッセージを第2ECU20に送信する。ステップS130では、予約した送信タイミングまでに、即時データの送信メッセージの準備が完了できるように、第1処理部11を予約する。そして、ステップS140では、予約した第1処理部11にて、即時データの送信メッセージの生成処理を行わせる。   First, in step S100, when data for cooperation processing is generated, it is determined whether the data for cooperation processing is immediate data. In step S115, which is executed when it is determined that the data is immediate data, the transmission register 19 corresponding to the earliest transmission timing to which immediate data can be transmitted is reserved in the transmission register 19. In the subsequent step S120, a transmission message including notification data of scheduled transmission time is transmitted to the second ECU 20. In step S130, the first processing unit 11 is reserved so that preparation of the transmission message of the immediate data can be completed by the reserved transmission timing. Then, in step S140, the reserved first processing unit 11 performs generation processing of the transmission message of the immediate data.

続くステップS155では、生成した即時データの送信メッセージを、予約した送信レジスタ19に格納する。これにより、通信パケットの送信タイミングが到来したときに、送信レジスタ19に格納された、即時データの送信メッセージが送信される。最後に、ステップS220において、送信履歴を更新し、図10のフローチャートに示す処理を終了する。   In the subsequent step S155, the transmission message of the generated immediate data is stored in the reserved transmission register 19. Thus, when the transmission timing of the communication packet arrives, the transmission message of the immediate data stored in the transmission register 19 is transmitted. Finally, in step S220, the transmission history is updated, and the process shown in the flowchart of FIG. 10 is ended.

一方、ステップS100において、即時データではないと判定された場合に実行されるステップS185では、第1処理部11において、連携処理用データの送信メッセージの生成処理が行われる。そして、送信メッセージの生成処理の完了後に、ステップS195において、空いている送信レジスタ19に送信メッセージを格納する。   On the other hand, in step S185 executed when it is determined that the data is not immediate data in step S100, the first processing unit 11 generates a transmission message of data for cooperation processing. Then, after the generation process of the transmission message is completed, the transmission message is stored in the vacant transmission register 19 in step S195.

次に、図11のフローチャートを参照して、第2ECU20における、連携処理用データの受信処理について説明する。なお、図11のフローチャートにおいて、図5のフローチャートと同様の処理を行うステップに関して、同じステップ番号を付している。   Next, with reference to the flowchart of FIG. 11, the process of receiving data for cooperation processing in the second ECU 20 will be described. In the flowchart of FIG. 11, the same step numbers are assigned to steps performing the same processing as the flowchart of FIG.

図11のフローチャートに示すように、ステップS300〜S350までの処理は、図5のフローチャートと同様である。つまり、本実施形態に係る連携システムにおいても、第1ECU10から送信予定時刻通知データの送信メッセージが送信されてくるので、第2予約部27が、送信予定時刻に基づき、第2通信ドライバー22の受信レジスタ29及び第2処理部28の予約を行う。   As shown in the flowchart of FIG. 11, the processing of steps S300 to S350 is the same as that of the flowchart of FIG. 5. That is, also in the cooperation system according to the present embodiment, since the transmission message of the transmission scheduled time notification data is transmitted from the first ECU 10, the second reservation unit 27 receives the second communication driver 22 based on the transmission scheduled time. The reservation of the register 29 and the second processing unit 28 is performed.

ステップS365では、受信した通信パケットが、受信レジスタ29及び第2処理部28の予約に対応する予約パケットであるか否かを判定する。この判定処理は、例えば、送信予定時刻に受信を開始したか、及び/又は、送信メッセージに含まれるデータが即時データであるかなどに基づいて行うことができる。そして、予約パケットであると判定された場合に、ステップS375以降の処理を行う。ステップS375では、受信した通信パケットに含まれる送信メッセージを、予約した特定の受信レジスタ29に格納する。そして、ステップS380において、予約した時間になったときに、第2処理部28は、特定の受信レジスタ29に格納された送信メッセージから即時データを抽出する。さらに、ステップS390において、予約した第2処理部28は、抽出した即時データに基づく連携処理を実行する。   In step S365, it is determined whether the received communication packet is a reservation packet corresponding to the reservation of the reception register 29 and the second processing unit. This determination process can be performed based on, for example, whether reception has been started at the scheduled transmission time, and / or whether data included in the transmission message is immediate data. Then, when it is determined that the packet is a reservation packet, the processing of step S375 and subsequent steps is performed. In step S 375, the transmission message included in the received communication packet is stored in the specific reception register 29 reserved. Then, in step S380, when the reserved time is reached, the second processing unit 28 extracts the immediate data from the transmission message stored in the specific reception register 29. Furthermore, in step S390, the reserved second processing unit 28 executes cooperation processing based on the extracted immediate data.

一方、ステップS365において、予約パケットではないと判定された場合に実行されるステップS445では、受信した通信パケットを、空いている受信レジスタ29に格納する。続くステップS455では、所定周期で定期的に訪れる定時処理時刻になったとき、受信レジスタ29に格納された送信メッセージから連携処理用データを抽出して、一旦、メモリの所定エリアに保存しておく。この記憶された連携処理用データは、ステップS465に示すように、連携処理用データを利用するタスクが起動されたとき、そのタスクにより、メモリから読み出され、連携処理が実行されることになる。   On the other hand, in step S445 executed when it is determined in step S365 that the received packet is not a reserved packet, the received communication packet is stored in the vacant reception register 29. In the subsequent step S455, when it is timed processing time to visit periodically in a predetermined cycle, data for cooperation processing is extracted from the transmission message stored in the reception register 29, and temporarily stored in a predetermined area of the memory. . As shown in step S465, when the task using the collaboration process data is activated, the stored collaboration process data is read from the memory by the task and the collaboration process is executed. .

このように、本実施形態に係る連携システムによれば、送信間隔が一定の一種類の通信パケットを用いて通信が行われる場合であっても、即時データの送信メッセージに関して、第1ECU10及び第2ECU20におけるリソース予約を行うことができる。このため、その予約したリソースを用いて、極力早いタイミングで即時データの送信メッセージの送信を行いつつ、その即時データに基づく連携処理を実行することが可能となる。   As described above, according to the cooperation system according to the present embodiment, even when communication is performed using one type of communication packet whose transmission interval is constant, the first ECU 10 and the second ECU 20 can transmit an immediate data transmission message. Can make resource reservations in Therefore, it is possible to execute the cooperation process based on the immediate data while transmitting the immediate data transmission message as early as possible using the reserved resource.

なお、上述した第3実施形態では、時刻通知パケットにより送信される送信予定時刻通知データに基づき、第2ECU20が、第2通信ドライバーの受信レジスタ29及び第2処理部28などのリソースの予約を行う例について説明した。   In the third embodiment described above, the second ECU 20 reserves resources such as the reception register 29 and the second processing unit 28 of the second communication driver based on the transmission scheduled time notification data transmitted by the time notification packet. An example has been described.

しかしながら、第2実施形態にて説明したように、第2ECU20が、通信パケットの通信スケジュールに関する情報を保有しておき、この通信スケジュールに基づき、通信パケットの送信予定時刻及びその受信完了時刻を推測して、第2通信ドライバー22の送信レジスタ19や、第2処理部28の予約を行うようにしても良い。   However, as described in the second embodiment, the second ECU 20 holds information on the communication schedule of the communication packet, and estimates a transmission scheduled time of the communication packet and its reception completion time based on the communication schedule. Alternatively, the transmission register 19 of the second communication driver 22 or the second processing unit 28 may be reserved.

(第4実施形態)
次に、本発明の第4実施形態に係る連携システムについて説明する。本実施形態に係る連携システムは、第3実施形態の連携システムに対して、所定のイベントが発生したときに、そのイベントの発生を通知するための通知データをイベントパケットにより送信可能にした点で相違する。そして、本実施形態に係る連携システムは、イベント通信に対応したことに伴って、イベント通信と即時データの通信が競合した場合に、即時性が高い2つの異なる通信間の調停処理を含むものとなっている。以下、その相違点を中心に、本実施形態に係る連携システムについて説明する。
Fourth Embodiment
Next, a cooperation system according to a fourth embodiment of the present invention will be described. The cooperation system according to the present embodiment makes it possible to transmit notification data for notifying the occurrence of the event to the cooperation system of the third embodiment by the event packet when the predetermined event occurs. It is different. Then, the cooperation system according to the present embodiment includes an arbitration process between two different high-immediate communications when the event communication and the immediate data communication compete with each other in response to the event communication. It has become. Hereinafter, the cooperation system according to the present embodiment will be described focusing on the difference.

本実施形態に係る連携システムでは、図12に示すように、第1通信ドライバー12が、イベントパケットにより送信する、イベント通知データの送信メッセージを格納するためのイベントレジスタ30を備える。第1通信ドライバー12は、イベントレジスタ30にイベント通知データの送信メッセージが格納された場合、即座にイベントパケットを送信する。また、第2通信ドライバー22は、第2通信物理層21にて受信した、イベント通知データの生成メッセージを格納するイベントレジスタ31を備える。このように、本実施形態に関わる連携システムは、第1ECU10から第2ECU20へと、イベント通知データを送信することが可能に構成されている。   In the cooperation system according to the present embodiment, as shown in FIG. 12, the first communication driver 12 includes an event register 30 for storing a transmission message of event notification data, which is transmitted by an event packet. When the transmission message of the event notification data is stored in the event register 30, the first communication driver 12 transmits the event packet immediately. In addition, the second communication driver 22 includes an event register 31 for storing a generation message of event notification data received by the second communication physical layer 21. As described above, the cooperation system according to the present embodiment is configured to be able to transmit event notification data from the first ECU 10 to the second ECU 20.

ここで、例えば、車両に搭載された複数の制御対象機器の動作状態を、特定のイベントの発生を契機として同期して記憶しておき、車両に何らかの異常が生じた場合に、異常の発生原因の解明に利用する場合がある。このような場合、各制御対象機器の動作状態の記憶タイミングのずれが大きくなると、異常の原因解析が正しく行うことができなくなってしまう可能性も生じる。このため、イベントが発生したとき、即座に、イベントの発生を通知することにより、極力、イベント通知に基づく記憶タイミングのずれを小さくできるようにすることが望ましい。   Here, for example, operation states of a plurality of control target devices mounted on a vehicle are synchronously stored with occurrence of a specific event as a trigger, and when some abnormality occurs in the vehicle, the cause of occurrence of the abnormality It may be used to clarify the In such a case, if the difference in storage timing of the operation state of each control target device becomes large, there is also a possibility that the cause analysis of the abnormality can not be performed correctly. For this reason, when an event occurs, it is desirable that the occurrence of the event be notified immediately, so that the deviation of the storage timing based on the event notification can be reduced as much as possible.

一方、例えば、各ECUにおいて、制御を行う上での参考情報として位置付けられる、例えば車両の外気温度を定期的に検出し、その検出をイベントとして、各ECUに送信する場合などは、イベントの通知に、それほどの即時性は求められない。   On the other hand, for example, when each ECU is positioned as reference information for performing control, for example, periodically detecting the outside air temperature of the vehicle and transmitting the detection to each ECU as an event, etc., notification of the event There is no need for such immediacy.

そこで、本実施形態に係る連携システムでは、通知の即時性の必要度に応じて、予めイベントを少なくとも2種類にカテゴリ分けし、発生したイベントのカテゴリの種類に応じて、イベントの送信メッセージと、即時データの送信メッセージとのいずれを優先するかを決定することとした。これにより、イベントの送信メッセージと即時データの送信メッセージとが競合した場合に、より適切に調停を図ることが可能になる。   Therefore, in the cooperation system according to the present embodiment, according to the necessity of immediacy of notification, the event is categorized into at least two types in advance, and according to the type of the category of the occurred event, the transmission message of the event; It was decided to decide which of the immediate data transmission message and the transmission message should be prioritized. As a result, when there is a conflict between the transmission message of the event and the transmission message of the immediate data, arbitration can be more appropriately performed.

以下、図13のフローチャートを参照して、イベントの発生を通知する通知データをイベントパケットにより送信するための処理について説明する。なお、図13のフローチャートは、予め定めた複数のイベントの内、いずれかのイベントが発生したときに、割込みにより実行されるものである。   The process for transmitting notification data for notifying the occurrence of an event by an event packet will be described below with reference to the flowchart in FIG. The flowchart in FIG. 13 is executed by an interrupt when any one of a plurality of predetermined events occurs.

まず、ステップS500では、イベントが発生したときに、即時データを送信するため、高速レジスタ14などの予約がなされているか否かを判定する。この判定処理において、予約がなされていると判定された場合ステップS500の処理に進み、予約はなされていないと判定された場合ステップS580の処理に進む。   First, in step S500, it is determined whether or not the high-speed register 14 or the like is reserved in order to transmit immediate data when an event occurs. In this determination processing, when it is determined that the reservation is made, the process proceeds to the processing of step S500, and when it is determined that the reservation is not made, the process proceeds to the processing of step S580.

ステップS510では、発生したイベントの属するカテゴリが、通知の即時性の必要度が高いカテゴリ1であるか否かを判定する。カテゴリ1であると判定された場合には、ステップS520に進み、カテゴリ1ではないと判定された場合には、ステップS550の処理に進む。   In step S510, it is determined whether the category to which the generated event belongs is category 1 in which the degree of immediacy of the notification is highly necessary. If it is determined that the category is category 1, the process proceeds to step S520. If it is determined that the category is not category 1, the process proceeds to step S550.

ステップS520では、イベントの発生を通知するためのイベント通知データの送信メッセージを生成する。そして、ステップS530において、生成したイベント通知データの送信メッセージを、イベントレジスタ30に格納する。これにより、第1通信ドライバー12は、イベントパケットを送信する。その後、ステップS540に進み、即時データの送信処理を行う。この即時データの送信処理は、図10のフローチャートのステップS140及びS155の処理と同様である。このように、通知の即時性の必要度の高いカテゴリに属するイベントについては、イベント通知データの送信メッセージを、即時データの送信メッセージよりも優先して送信する。   In step S520, a transmission message of event notification data for notifying occurrence of an event is generated. Then, in step S530, the generated transmission message of the event notification data is stored in the event register 30. Thereby, the first communication driver 12 transmits an event packet. Thereafter, the process proceeds to step S540, and immediate data transmission processing is performed. The process of transmitting the immediate data is similar to the process of steps S140 and S155 of the flowchart of FIG. Thus, for events belonging to a category that requires a high degree of immediacy of notification, the event notification data transmission message is transmitted in preference to the immediate data transmission message.

一方、処理がステップS550に進んだ場合には、まず、ステップS550において、即時データの送信処理を行う。次いで、ステップS560において、イベント通知データの送信メッセージを生成し、ステップS570において、生成したイベント通知データの送信メッセージを、イベントレジスタ30に格納する。このように、通知の即時性の必要度の低いカテゴリに属するイベントについては、即時データの送信メッセージを、イベント通知データの送信メッセージよりも優先して送信する。   On the other hand, when the process proceeds to step S550, first, in step S550, an immediate data transmission process is performed. Next, in step S560, a transmission message of event notification data is generated, and in step S570, the generated transmission message of event notification data is stored in the event register 30. In this way, for events belonging to a category that requires a low degree of immediacy of notification, a transmission message of immediate data is transmitted prior to a transmission message of event notification data.

また、処理がステップS580に進んだ場合には、即時データの送信予約がなされていないので、ステップS580において、イベント通知データの送信メッセージを生成し、ステップS590において、生成したイベント通知データの送信メッセージを、イベントレジスタ30に格納する。これにより、イベントの発生後、即座に、イベント通知データの送信を行うことができる。   Further, when the process proceeds to step S580, since transmission reservation of immediate data is not made, a transmission message of event notification data is generated in step S580, and a transmission message of generated event notification data in step S590. Are stored in the event register 30. Thus, it is possible to transmit event notification data immediately after the occurrence of an event.

なお、イベント通知データの送信メッセージを、即時データの送信メッセージよりも優先して送信した場合、即時データの送信メッセージの送信が、予定時刻よりも遅れてなされる可能性が生じる。そのため、受信側の第2ECU20において、通知の即時性の必要度の高いカテゴリに属するイベントの通知データを受信した場合には、即時データの送信メッセージの受信のための予約の取り消しを行わずに、その予約を保持しておくことが望ましい。予約を保持しておくことにより、送信予定時刻よりも僅かに遅れて即時データの送信メッセージが送信された場合に、その即時データの抽出、及び抽出した即時データに基づく連携処理を円滑に開始することが可能になる。   If the event notification data transmission message is transmitted prior to the immediate data transmission message, there is a possibility that the transmission of the immediate data transmission message may be delayed from the scheduled time. Therefore, when the second ECU 20 on the receiving side receives notification data of an event belonging to a category that requires a high degree of immediacy of notification, the second ECU 20 on the receiving side does not cancel the reservation for receiving the transmission message of the immediate data. It is desirable to keep the reservation. By holding the reservation, when the transmission message of the immediate data is transmitted slightly behind the scheduled transmission time, extraction of the immediate data and cooperation processing based on the extracted immediate data are smoothly started. It becomes possible.

なお、本実施形態に係る連携システムは、定時送信として、一種類の送信パケットを送信する構成ばかりでなく、上述した第1実施形態のように、異なる間隔で複数種類の送信パケットを送信する構成に適用することもできる。   The cooperation system according to the present embodiment not only transmits one type of transmission packet as scheduled transmission, but also transmits a plurality of types of transmission packets at different intervals as in the first embodiment described above. It can also be applied to

(第5実施形態)
次に、本発明の第5実施形態に係る連携システムについて説明する。本実施形態に係る連携システムも、第4実施形態の連携システムと同様に、所定のイベントが発生したときに、そのイベントの発生を通知するための通知データをイベントパケットにより送信可能とした点で共通する。そのため、本実施形態に係る連携システムは、第4実施形態に係る連携システムと同様に構成される。
Fifth Embodiment
Next, a cooperation system according to a fifth embodiment of the present invention will be described. Similarly to the collaboration system of the fourth embodiment, the collaboration system according to the present embodiment is also capable of transmitting notification data for notifying the occurrence of the event by the event packet when a predetermined event occurs. It is common. Therefore, the cooperation system according to the present embodiment is configured in the same manner as the cooperation system according to the fourth embodiment.

しかし、本実施形態に係る連携システムでは、その所定のイベントに関するイベントデータを即時データとして、第1ECU10から第2ECU20へ送信するようにした点が、第4実施形態に係る連携システムと相違する。以下、その相違点を中心に、本実施形態に係る連携システムについて説明する。   However, the cooperation system according to the present embodiment is different from the cooperation system according to the fourth embodiment in that event data relating to the predetermined event is immediately transmitted from the first ECU 10 to the second ECU 20 as the immediate data. Hereinafter, the cooperation system according to the present embodiment will be described focusing on the difference.

図14は、本実施形態に係る連携システムにおいて、イベントデータを即時データとして送信するための処理を示したフローチャートである。即時データとして送信すべき、予め定めたイベントが発生すると、図14のフローチャートの処理が開始される。   FIG. 14 is a flow chart showing processing for transmitting event data as immediate data in the cooperation system according to the present embodiment. When a predetermined event to be transmitted as immediate data occurs, the processing of the flowchart of FIG. 14 is started.

まず、ステップS700では、イベントデータの送信メッセージを生成するための処理時間を見込んで、送信予定時刻を算出する。続くステップS710では、算出された送信予定時刻からイベントデータの送信メッセージの送信を行うために、その送信予定時刻から第1通信ドライバー12を予約する。同時に、イベントデータの送信メッセージを受信する第2ECU20に対して、送信予定時刻を通知する。そして、ステップS720において、送信予定時刻までに、イベントデータの送信メッセージを生成し、イベントレジスタ30に格納できるように、第1処理部11を予約する。   First, in step S700, a transmission scheduled time is calculated in anticipation of a processing time for generating a transmission message of event data. In the subsequent step S710, in order to transmit a transmission message of event data from the calculated scheduled transmission time, the first communication driver 12 is reserved from the scheduled transmission time. At the same time, the scheduled transmission time is notified to the second ECU 20 that receives the transmission message of the event data. Then, in step S720, a transmission message of event data is generated by the transmission scheduled time, and the first processing unit 11 is reserved so that it can be stored in the event register 30.

続くステップS730では、第1通信ドライバー12におけるイベントデータの送信のための予約時間が、定時送信によるパケット送信の時間帯に重なるか否かを判定する。この判定処理において、予約時間が定時送信の時間帯と重なると判定された場合、ステップS740において、定時送信によるパケット送信を、時刻通りに行うのではなく、待機たせる。あるいは、イベントデータの送信の予約時間と重なる時間帯において送信予定の、定時送信によるパケット送信をキャンセルしても良い。   In the subsequent step S730, it is determined whether or not the reservation time for transmission of event data in the first communication driver 12 overlaps with the time zone of packet transmission by scheduled transmission. In this determination processing, when it is determined that the reservation time overlaps with the scheduled transmission time zone, in step S 740, packet transmission by scheduled transmission is not performed at the same time but is put on standby. Alternatively, packet transmission by scheduled transmission, which is scheduled to be transmitted in a time zone overlapping with the reservation time of event data transmission, may be cancelled.

続くステップS750では、第1処理部11が、イベントデータの送信メッセージを生成する。そして、ステップS760において、生成したイベントデータの送信メッセージを、イベントレジスタ30に格納する。これにより、第1通信ドライバー12は、イベントパケットを送信する。   In the subsequent step S750, the first processing unit 11 generates a transmission message of event data. Then, in step S 760, the generated event data transmission message is stored in the event register 30. Thereby, the first communication driver 12 transmits an event packet.

ステップS770では、定時送信によるパケット送信が待機中であるか否かを判定する。この判定処理において、待機中のパケット送信があると判定された場合、ステップS780において、その待機している、定時送信によるパケット送信を実行する。なお、イベントデータの送信のための予約時間が定時送信の時間帯と重なると判定され、定時送信によるパケット送信をキャンセルした場合には、ステップS770とS780の処理は省略される。最後に、ステップS790において、通信パケットの送信履歴を更新し、図14のフローチャートに示す処理を終了する。   In step S770, it is determined whether packet transmission by scheduled transmission is on standby. In this determination processing, when it is determined that there is packet transmission in standby, packet transmission by scheduled transmission is executed in step S780. When it is determined that the reservation time for event data transmission overlaps with the scheduled transmission time zone, and the packet transmission by the scheduled transmission is canceled, the processes of steps S770 and S780 are omitted. Finally, in step S 790, the transmission history of the communication packet is updated, and the process shown in the flowchart of FIG. 14 is ended.

上述した処理を実行することにより、第1ECU10において、イベントデータを即時データとして、イベントの発生から極短時間のうちに送信することができる。また、そのイベントデータの送信メッセージを受信する第2ECU20において、送信予定時刻に基づいて、レジスタや処理部のリソース予約を行うことにより、受信後にイベントデータを即座に取り出して、そのイベントデータに基づく連携処理を実行することができる。   By executing the above-described process, the first ECU 10 can transmit event data as immediate data within a very short time from the occurrence of the event. In addition, the second ECU 20 that receives the transmission message of the event data performs resource reservation of the register and the processing unit based on the scheduled transmission time, thereby immediately taking out the event data after reception, and cooperating based on the event data Processing can be performed.

なお、本実施形態に係る連携システムは、定時送信として、一種類の通信パケットを送信する構成ばかりでなく、上述した第1実施形態のように、異なる間隔で複数種類の通信パケットを送信する構成に適用することもできる。   The cooperation system according to the present embodiment not only transmits one type of communication packet as scheduled transmission, but also transmits a plurality of types of communication packets at different intervals as in the first embodiment described above. It can also be applied to

また、本実施形態では、第1予約部17が、所定のイベントが発生したとき、イベントデータの送信メッセージを生成するための処理時間を見込んで、送信予定時刻を算出した。しかしながら、第1予約部17は、定時送信における空き時間に即時データの送信メッセージの送信が行われるように、即時データの送信メッセージの送信予定時刻を定めても良い。   Further, in the present embodiment, when the predetermined event occurs, the first reservation unit 17 calculates the scheduled transmission time in anticipation of a processing time for generating a transmission message of event data. However, the first reservation unit 17 may set the scheduled transmission time of the transmission message of the immediate data so that the transmission of the transmission message of the immediate data is performed in the idle time in the scheduled transmission.

(第6実施形態)
次に、本発明の第5実施形態に係る連携システムについて説明する。本実施形態では、図15に示すように、第1ECU10と第2ECU20との間に、メッセージ中継装置40が介在しており、例えば第1ECU10から第2ECU20に送信メッセージが送信されるとき、メッセージ中継装置40において、送信メッセージの中継処理が行われる点が、上述した第1〜第5実施形態と相違する。以下、その相違点を中心に、本実施形態に係る連携システムについて説明する。なお、本実施形態にて説明するメッセージ中継装置40は、上述した第1〜第5実施形態のいずれにも適用可能なものであるが、以下においては、第1実施形態に適用した例について説明する。
Sixth Embodiment
Next, a cooperation system according to a fifth embodiment of the present invention will be described. In the present embodiment, as shown in FIG. 15, the message relay device 40 intervenes between the first ECU 10 and the second ECU 20. For example, when a transmission message is transmitted from the first ECU 10 to the second ECU 20, the message relay device 40 is different from the first to fifth embodiments described above in that relay processing of a transmission message is performed. Hereinafter, the cooperation system according to the present embodiment will be described focusing on the difference. In addition, although the message relay apparatus 40 demonstrated by this embodiment is applicable to any of 1st-5th embodiment mentioned above, below, the example applied to 1st Embodiment is demonstrated. Do.

図15に示すように、第1ECU10及び第2ECU20は、例えば第1実施形態における第1ECU10及び第2ECU20と同様に構成される。メッセージ中継装置40は、第1ECU10と第2ECU20との通信ライン1に挿入され、プロトコル変換やメッセージの受送信などの中継処理を行う。このメッセージ中継装置40は、退避メモリ41を備えており、受信した送信メッセージを、一時的に、退避メモリ41に退避させておくことが可能となっている。また、メッセージ中継装置40は、例えば第1ECU10から第2ECU20に時刻通知パケットが送信されたとき、送信予定時刻から即時データの中継処理を行うことを可能とするため、その時刻通知パケットに含まれる送信予定時刻を参照して、予約を受け付けることができるように構成されている。   As shown in FIG. 15, the first ECU 10 and the second ECU 20 are configured, for example, in the same manner as the first ECU 10 and the second ECU 20 in the first embodiment. The message relay device 40 is inserted into the communication line 1 between the first ECU 10 and the second ECU 20, and performs relay processing such as protocol conversion and message transmission / reception. The message relay device 40 includes a save memory 41, and can temporarily save the received transmission message in the save memory 41. Also, for example, when the time notification packet is transmitted from the first ECU 10 to the second ECU 20, the message relay device 40 can perform relay processing of immediate data from the scheduled transmission time, so the transmission included in the time notification packet It is configured to be able to receive a reservation with reference to the scheduled time.

以下、メッセージ中継装置における中継処理について、図16のフローチャートを参照して、より詳細に説明する。   The relay process in the message relay apparatus will be described in more detail below with reference to the flowchart in FIG.

まずステップS800では、メッセージ中継装置40が、通信パケットを受信したか否かを判定する。通信パケットが受信されたと判定されると、ステップS810の処理に進み、その一方で、受信されていないと判定されると、図16のフローチャートに示す処理を終了する。   First, in step S800, the message relay device 40 determines whether a communication packet has been received. If it is determined that the communication packet has been received, the process proceeds to the process of step S810. If it is determined that the communication packet has not been received, the process illustrated in the flowchart of FIG.

ステップS810では、データ種類情報や、通信パケット種別情報に基づいて、受信された通信パケットが、時刻通知パケットであるか否かを判定する。時刻通知パケットであると判定された場合、ステップS820の処理に進み、時刻通知パケットではないと判定された場合、ステップS830の処理に進む。   In step S810, it is determined based on data type information and communication packet type information whether or not the received communication packet is a time notification packet. If it is determined that the packet is a time notification packet, the process proceeds to step S820. If it is determined that the packet is not a time notification packet, the process proceeds to step S830.

ステップS820では、受信した時刻通知パケットに含まれる送信メッセージ中の送信予定時刻通知データを参照して、その送信予定時刻における中継処理の予約を受け付ける。さらに、ステップS825において、時刻通知パケットのメッセージ中継処理を実施した後、一旦、処理を終了する。一方、受信した通信パケットが時刻通知パケットではないと判定された場合に実行されるステップS830では、メッセージ中継装置40が予約されているか否かを判定する。この判定処理において、予約されていないと判定されると、ステップS860の処理に進む。一方、予約されていると判定されると、ステップS840の処理に進む。   In step S820, the scheduled transmission time notification data in the transmission message included in the received time notification packet is referred to, and the reservation of the relay process at the transmission scheduled time is accepted. Furthermore, in step S825, after the message relay process of the time notification packet is performed, the process is temporarily ended. On the other hand, in step S830 executed when it is determined that the received communication packet is not a time notification packet, it is determined whether the message relay device 40 is reserved. If it is determined in this determination process that no reservation is made, the process proceeds to step S860. On the other hand, if it is determined that a reservation is made, the process proceeds to step S840.

ステップS860では、受信した通信パケットに含まれる送信メッセージの中継処理を実行する。一方、ステップS840では、受信した通信パケットが、メッセージ中継装置40における中継処理が予約されている予約パケットであるか否かを、データ種類情報などに基づいて判定する。この判定処理において、予約パケットではないと判定された場合、ステップS850の処理に進む。一方、予約パケットであると判定された場合、ステップS880の処理に進む。   In step S860, relay processing of the transmission message included in the received communication packet is performed. On the other hand, in step S840, it is determined based on data type information etc. whether the received communication packet is a reservation packet for which relay processing in the message relay apparatus 40 is reserved. If it is determined in this determination process that the packet is not a reservation packet, the process proceeds to step S850. If it is determined that the packet is a reservation packet, the process proceeds to step S 880.

ステップS850では、受信した通信パケットに含まれる送信メッセージの中継処理が、予約時刻までに完了できるか否かを判定する。予約時刻までに中継処理を完了できると判定されると、即時データの送信メッセージの中継処理に対する影響が及ぼす虞がないため、ステップS860に進んで、受信した通信パケットに含まれる送信メッセージの中継処理を実行する。しかしながら、予約時刻までに中継処理を完了できないと判定された場合には、ステップS870に進んで、受信した通信パケットに含まれる送信メッセージを退避メモリ41に一時的に保管する。   In step S850, it is determined whether the relay process of the transmission message included in the received communication packet can be completed by the reservation time. If it is determined that the relaying process can be completed by the reservation time, there is no possibility that the relaying process of the transmission message of the immediate data is affected. Therefore, the process proceeds to step S 860 to relay the transmission message included in the received communication packet. Run. However, if it is determined that the relay process can not be completed by the reservation time, the process proceeds to step S870, and the transmission message included in the received communication packet is temporarily stored in the save memory 41.

なお、上述した例では、ステップS830からS850までの判断後に送信メッセージを退避メモリ41に一時保管した。しかしながら、まずは送信メッセージを退避メモリ41に一時保管し、その後、ステップS830からS850の判断を行い、その判断結果がメッセージ中継処理を実行するものであれば、退避メモリ41から送信メッセージを取り出して、メッセージ中継処理を行ってもよい。この際、複数のメッセージが退避メモリ41に一時保管された場合に、一時保管されたメッセージ間でメッセージが取り出される順番を変更することも可能である。例えば、中速パケットにより送信されるメッセージと低速パケットにより送信されるメッセージの両方が一時保管された場合は、一時保管された順番に係わらず、中速パケットにより送信されるメッセージを先に取出して中継処理を行っても良い。   In the example described above, the transmission message is temporarily stored in the save memory 41 after the determination in steps S830 to S850. However, first, the transmission message is temporarily stored in the save memory 41, and thereafter, the determinations in steps S830 to S850 are performed, and if the determination result is to execute the message relay process, the transmission message is taken out from the save memory 41, Message relay processing may be performed. At this time, when a plurality of messages are temporarily stored in the save memory 41, it is also possible to change the order in which the messages are extracted among the temporarily stored messages. For example, when both the message transmitted by medium-speed packet and the message transmitted by low-speed packet are temporarily stored, the message transmitted by medium-speed packet is first taken out regardless of the temporarily stored order. Relay processing may be performed.

ステップS840において予約パケットと判定されたときに実行されるステップS880では、受信した通信パケット、すなわち、即時データを含む送信メッセージの中継処理を実行する。その後、ステップS890において、予約をクリアする。続くステップS900では、退避メモリ41に一時保管されている、退避中の送信メッセージがあるか否かを判定する。退避中の送信メッセージがある場合には、ステップS910において、退避メモリ41に一時保管されている送信メッセージの中継処理を実行する。   In step S880 executed when it is determined in step S840 that the packet is a reservation packet, relay processing of the received communication packet, that is, the transmission message including the immediate data is performed. Thereafter, in step S890, the reservation is cleared. In the following step S900, it is determined whether there is a transmission message being saved that is temporarily stored in the save memory 41. If there is a transmission message being saved, in step S 910, relay processing of the transmission message temporarily stored in the save memory 41 is executed.

上述した第6実施形態に係る連携システムによれば、第1ECU10と第2ECU20との間の通信がメッセージ中継装置40を介して行われる場合であっても、即時データの送信メッセージが送信される際には、その即時データの送信メッセージの中継処理用にメッセージ中継装置40を予約する。このため、メッセージ中継装置40において、即時データの送信メッセージの中継処理と、他のメッセージの中継処理と競合する場合、即時データの送信メッセージの中継処理を優先して実行することができる。   According to the cooperation system according to the sixth embodiment described above, even when the communication between the first ECU 10 and the second ECU 20 is performed via the message relay device 40, when the transmission message of the immediate data is transmitted , Reserve the message relay apparatus 40 for relay processing of the transmission message of the immediate data. Therefore, in the message relay device 40, when the relay process of the transmission message of the immediate data conflicts with the relay process of another message, the relay process of the transmission message of the immediate data can be preferentially executed.

なお、メッセージ中継装置40によるメッセージ中継処理は、通信プロトコルが異なることに対応する単純な物理変換の他、取り扱う制御が異なることに対応するため、メッセージに含まれるデータの意味変換を含んでも良い。意味変換の場合は、メッセージ中継装置40は中継処理部を備え、第1処理部や第2処理部と同様に即時データの意味変換のためこの中継処理部が予約されてもよい。   The message relay process by the message relay apparatus 40 may include semantic conversion of data included in the message in order to cope with different control to be handled, in addition to simple physical conversion corresponding to different communication protocols. In the case of semantic conversion, the message relay apparatus 40 may include a relay processing unit, and the relay processing unit may be reserved for immediate data semantic conversion as in the first processing unit and the second processing unit.

1 通信ライン
10 第1ECU
11 第1処理部
12 第1通信ドライバー
17 第1予約部
18 第1通信物理層
20 第2ECU
21 第2通信物理層
22 第2通信ドライバー
27 第2予約部
28 第2処理部
1 communication line 10 1st ECU
11 first processing unit 12 first communication driver 17 first reservation unit 18 first communication physical layer 20 second ECU
21 second communication physical layer 22 second communication driver 27 second reservation unit 28 second processing unit

Claims (15)

第1の制御部(10)と第2の制御部(20)との間で連携処理を行わせるための連携システムであって、
前記第1の制御部は、
前記連携処理に用いられる連携処理用データに関して、所定のフォーマットに従う送信メッセージを生成するための生成処理を行う第1の処理部(11)と、
前記連携処理用データは、少なくとも、前記第1の制御部と前記第2の制御部とで、極力時間遅れなく共有されるべき即時データを含み、
前記即時データの送信メッセージに加え、他の送信メッセージも前記第2の制御部へ送信する送信部(12、18)と、
前記即時データの送信メッセージの生成処理の完了後、遅滞なく前記送信部により前記即時データの送信メッセージを送信可能とするため、事前に前記送信部を予約する第1の予約部(17)と、を備え、
前記第2の制御部は、
前記第1の制御部から送信される送信メッセージを受信する受信部(21、22)と、
前記受信部にて受信された送信メッセージから前記即時データを含む前記連携処理用データを取り出して、前記連携処理用データを用いて前記連携処理を行う第2の処理部(28)と、を備え
前記第2の処理部は、前記受信部にて受信された送信メッセージから前記連携処理用データを取り出して、前記連携処理用データを用いて前記連携処理を行うことに加え、他の処理も行うものであり、
前記第2の制御部は、さらに、前記連携処理用データとしての前記即時データの送信メッセージの受信後、遅滞なく前記第2の処理部が前記連携処理を実行することができるように、前記受信部において前記即時データの送信メッセージの受信時刻での当該送信メッセージの受信を予約するとともに、前記受信部における前記即時データの送信メッセージの受信完了時刻に対応して、前記第2の処理部を予約する第2の予約部(27)を備え、
前記送信部は、所定の時間間隔で送信メッセージの送信タイミングが到来する定時送信を行うものであり、前記即時データの送信メッセージは、定時送信におけるいずれかの送信タイミングに合わせて送信され、
前記第1の予約部は、前記送信部の予約として、前記即時データの送信メッセージを送信可能な送信タイミングの中で最も早い送信タイミングを予約するとともに、前記送信部から、予約した送信タイミングに対応する送信予定時刻を前記第2の制御部へ送信し、
前記第2の予約部は、前記受信部から前記送信予定時刻を受け取り、当該送信予定時刻に基づいて、前記即時データの送信メッセージの受信完了時刻を算出し、算出した受信完了時刻に対応して、前記第2の処理部を予約する連携システム。
A cooperation system for performing cooperation processing between a first control unit (10) and a second control unit (20), comprising:
The first control unit is
A first processing unit (11) that performs generation processing for generating a transmission message according to a predetermined format with respect to cooperation processing data used for the cooperation processing;
The data for cooperation processing includes at least immediate data to be shared by the first control unit and the second control unit without delay as much as possible.
A transmitting unit (12, 18) for transmitting another transmission message to the second control unit in addition to the transmission message of the immediate data;
A first reservation unit (17) which reserves the transmission unit in advance in order to enable transmission of the transmission message of the immediate data by the transmission unit without delay after completion of the generation process of the transmission message of the immediate data; Equipped with
The second control unit is
A receiving unit (21, 22) for receiving a transmission message transmitted from the first control unit;
And a second processing unit (28) for taking out the data for cooperation processing including the immediate data from the transmission message received by the reception unit and performing the cooperation processing using the data for cooperation processing. ,
The second processing unit extracts the data for cooperation processing from the transmission message received by the reception unit, and performs other processing in addition to performing the cooperation processing using the data for cooperation processing. And
The second control unit is further configured to perform the cooperation processing so that the second processing unit can execute the cooperation processing without delay after receiving the transmission message of the immediate data as the cooperation processing data. And reserve the reception of the transmission message at the reception time of the transmission message of the immediate data, and reserve the second processing unit corresponding to the reception completion time of the transmission message of the immediate data in the reception unit. A second reservation unit (27)
The transmission unit performs scheduled transmission at which transmission timing of a transmission message arrives at a predetermined time interval, and the transmission message of the immediate data is transmitted according to any transmission timing in scheduled transmission,
The first reservation unit reserves, as the reservation of the transmission unit, the earliest transmission timing among the transmission timings capable of transmitting the transmission message of the immediate data, and corresponds to the reserved transmission timing from the transmission unit. Transmitting scheduled transmission time to the second control unit,
The second reservation unit receives the transmission scheduled time from the reception unit, calculates the reception completion time of the transmission message of the immediate data based on the transmission scheduled time, and corresponds to the calculated reception completion time. A cooperative system for reserving the second processing unit .
第1の制御部(10)と第2の制御部(20)との間で連携処理を行わせるための連携システムであって、
前記第1の制御部は、
前記連携処理に用いられる連携処理用データに関して、所定のフォーマットに従う送信メッセージを生成するための生成処理を行う第1の処理部(11)と、
前記連携処理用データは、少なくとも、前記第1の制御部と前記第2の制御部とで、極力時間遅れなく共有されるべき即時データを含み、
前記即時データの送信メッセージに加え、他の送信メッセージも前記第2の制御部へ送信する送信部(12、18)と、
前記即時データの送信メッセージの生成処理の完了後、遅滞なく前記送信部により前記即時データの送信メッセージを送信可能とするため、事前に前記送信部を予約する第1の予約部(17)と、を備え、
前記第2の制御部は、
前記第1の制御部から送信される送信メッセージを受信する受信部(21、22)と、
前記受信部にて受信された送信メッセージから前記即時データを含む前記連携処理用データを取り出して、前記連携処理用データを用いて前記連携処理を行う第2の処理部(28)と、を備え、
前記第2の処理部は、前記受信部にて受信された送信メッセージから前記連携処理用データを取り出して、前記連携処理用データを用いて前記連携処理を行うことに加え、他の処理も行うものであり、
前記第2の制御部は、さらに、前記連携処理用データとしての前記即時データの送信メッセージの受信後、遅滞なく前記第2の処理部が前記連携処理を実行することができるように、前記受信部において前記即時データの送信メッセージの受信時刻での当該送信メッセージの受信を予約するとともに、前記受信部における前記即時データの送信メッセージの受信完了時刻に対応して、前記第2の処理部を予約する第2の予約部(27)を備え、
前記送信部は、所定の時間間隔で前記送信メッセージの送信タイミングが到来する定時送信を行うものであり、前記即時データの送信メッセージは、定時送信におけるいずれかの送信タイミングに合わせて送信されるとともに、前記即時データであることが識別可能な識別情報を含み、
前記第1の予約部は、前記送信部の予約として、前記即時データの送信メッセージを送信可能な送信タイミングの中で最も早い送信タイミングを予約し、
前記第2の予約部は、前記定時送信の送信タイミングで送信される送信メッセージの受信完了時刻に対応して前記第2の処理部を予約するとともに、前記定時送信の送信タイミングに受信した送信メッセージが、前記識別情報に基づき、前記即時データの送信メッセージ以外の送信メッセージと判別された場合又は前記定時送信の送信タイミングに送信メッセージを受信しなかった場合、その送信メッセージに対応する前記第2の処理部の予約を取り消して、前記第2の処理部を解放する連携システム。
A cooperation system for performing cooperation processing between a first control unit (10) and a second control unit (20), comprising:
The first control unit is
A first processing unit (11) that performs generation processing for generating a transmission message according to a predetermined format with respect to cooperation processing data used for the cooperation processing;
The data for cooperation processing includes at least immediate data to be shared by the first control unit and the second control unit without delay as much as possible.
A transmitting unit (12, 18) for transmitting another transmission message to the second control unit in addition to the transmission message of the immediate data;
A first reservation unit (17) which reserves the transmission unit in advance in order to enable transmission of the transmission message of the immediate data by the transmission unit without delay after completion of the generation process of the transmission message of the immediate data; Equipped with
The second control unit is
A receiving unit (21, 22) for receiving a transmission message transmitted from the first control unit;
And a second processing unit (28) for taking out the data for cooperation processing including the immediate data from the transmission message received by the reception unit and performing the cooperation processing using the data for cooperation processing. ,
The second processing unit extracts the data for cooperation processing from the transmission message received by the reception unit, and performs other processing in addition to performing the cooperation processing using the data for cooperation processing. And
The second control unit is further configured to perform the cooperation processing so that the second processing unit can execute the cooperation processing without delay after receiving the transmission message of the immediate data as the cooperation processing data. And reserve the reception of the transmission message at the reception time of the transmission message of the immediate data, and reserve the second processing unit corresponding to the reception completion time of the transmission message of the immediate data in the reception unit. A second reservation unit (27)
The transmission unit performs scheduled transmission at which transmission timing of the transmission message arrives at a predetermined time interval, and the transmission message of the immediate data is transmitted according to any transmission timing in scheduled transmission. , Including identification information that can be identified as the immediate data;
The first reservation unit reserves, as the reservation of the transmission unit, the earliest transmission timing among the transmission timings capable of transmitting the transmission message of the immediate data,
The second reservation unit reserves the second processing unit corresponding to the reception completion time of the transmission message transmitted at the transmission timing of the fixed transmission, and the transmission message received at the transmission timing of the fixed transmission. Is determined as a transmission message other than the transmission message of the immediate data based on the identification information or when the transmission message is not received at the transmission timing of the fixed transmission, the second corresponding to the transmission message The cooperation system which cancels the reservation of a process part and releases the said 2nd process part .
前記送信部は、相対的に短い時間間隔で送信タイミングが到来する第1の定時送信、及び、相対的に長い時間間隔で送信タイミングが到来する第2の定時送信と、定時送信の空き時間に送信が可能となる空き時間送信との少なくとも一方を行うものであり、前記即時データの送信メッセージは、前記第1の定時送信におけるいずれかのタイミングに合わせて送信される請求項1又は2に記載の連携システム。 The transmitting unit is configured to use a first scheduled transmission in which transmission timings arrive at relatively short time intervals, and a second scheduled transmission in which transmission timings arrive at relatively long time intervals, and idle time of scheduled transmissions. The transmission system according to claim 1 or 2 , wherein at least one of the free time transmission that enables transmission is performed, and the transmission message of the immediate data is transmitted in accordance with any timing in the first scheduled transmission. Collaboration system. 前記送信部は、定時送信に加え、所定のイベントの発生時に、その発生に応じたタイミングでイベント発生を通知するための送信メッセージを送信することが可能なものであり、
前記即時データの送信メッセージの送信と、イベント発生通知用の送信メッセージの送信とが競合した場合に、イベント発生の通知の緊急度に基づいて、前記即時データの送信メッセージの送信と、前記イベント発生通知用の送信メッセージの送信とのいずれを優先するかを判定する判定部(S510)をさらに備える請求項1乃至3のいずれか1項に記載の連携システム。
The transmission unit can transmit a transmission message for notifying an event occurrence at a timing according to the occurrence of a predetermined event, in addition to the regular transmission,
When the transmission of the transmission message of the immediate data and the transmission of the transmission message for the event occurrence notification conflict, the transmission of the transmission message of the immediate data and the event generation based on the urgency of the notification of the event occurrence The cooperation system according to any one of claims 1 to 3 , further comprising a determination unit (S510) that determines which of the transmission of the notification transmission message is to be prioritized.
前記判定部により、前記イベント発生通知用の送信メッセージの送信を優先すると判定された場合、前記送信部は、前記イベント発生通知用の送信メッセージの送信完了後に、前記定時送信の本来の送信タイミングに係わらず、前記即時データの送信メッセージの送信を行う請求項に記載の連携システム。 When it is determined by the determination unit that transmission of the transmission message for event occurrence notification is prioritized, the transmission unit determines that the transmission timing of the scheduled transmission should be originally transmitted after completion of transmission of the transmission message for event occurrence notification. 5. The cooperation system according to claim 4 , wherein the transmission message of the immediate data is transmitted regardless of the situation. 第1の制御部(10)と第2の制御部(20)との間で連携処理を行わせるための連携システムであって、
前記第1の制御部は、
前記連携処理に用いられる連携処理用データに関して、所定のフォーマットに従う送信メッセージを生成するための生成処理を行う第1の処理部(11)と、
前記連携処理用データは、少なくとも、前記第1の制御部と前記第2の制御部とで、極力時間遅れなく共有されるべき即時データを含み、
前記即時データの送信メッセージに加え、他の送信メッセージも前記第2の制御部へ送信する送信部(12、18)と、
前記即時データの送信メッセージの生成処理の完了後、遅滞なく前記送信部により前記即時データの送信メッセージを送信可能とするため、事前に前記送信部を予約する第1の予約部(17)と、を備え、
前記第2の制御部は、
前記第1の制御部から送信される送信メッセージを受信する受信部(21、22)と、
前記受信部にて受信された送信メッセージから前記即時データを含む前記連携処理用データを取り出して、前記連携処理用データを用いて前記連携処理を行う第2の処理部(28)と、を備え、
前記第2の処理部は、前記受信部にて受信された送信メッセージから前記連携処理用データを取り出して、前記連携処理用データを用いて前記連携処理を行うことに加え、他の処理も行うものであり、
前記第2の制御部は、さらに、前記連携処理用データとしての前記即時データの送信メッセージの受信後、遅滞なく前記第2の処理部が前記連携処理を実行することができるように、前記受信部において前記即時データの送信メッセージの受信時刻での当該送信メッセージの受信を予約するとともに、前記受信部における前記即時データの送信メッセージの受信完了時刻に対応して、前記第2の処理部を予約する第2の予約部(27)を備え、
前記送信部は、前記即時データの送信メッセージを、任意のタイミングで送信するものであり、
前記第1の予約部は、前記即時データの送信メッセージの生成処理の開始前に、当該送信メッセージの生成処理に要する時間を考慮して送信予定時刻を定め、その送信予定時刻で前記送信部を予約するとともに、前記送信部から、前記送信予定時刻を前記第2の制御部へ送信し、
前記第2の予約部は、前記受信部から前記送信予定時刻を受け取り、当該送信予定時刻に基づいて、前記即時データの送信メッセージの受信完了時刻を算出し、算出した受信完了時刻に対応して、前記第2の処理部を予約し、
前記送信部は、前記即時データの送信メッセージ以外の送信メッセージを、所定の時間間隔で到来する送信タイミングに従って定時送信するものであり、
前記第1の予約部は、前記定時送信における空き時間に前記即時データの送信メッセージの送信が行われるように、前記即時データの送信メッセージの送信予定時刻を定める連携システム。
A cooperation system for performing cooperation processing between a first control unit (10) and a second control unit (20), comprising:
The first control unit is
A first processing unit (11) that performs generation processing for generating a transmission message according to a predetermined format with respect to cooperation processing data used for the cooperation processing;
The data for cooperation processing includes at least immediate data to be shared by the first control unit and the second control unit without delay as much as possible.
A transmitting unit (12, 18) for transmitting another transmission message to the second control unit in addition to the transmission message of the immediate data;
A first reservation unit (17) which reserves the transmission unit in advance in order to enable transmission of the transmission message of the immediate data by the transmission unit without delay after completion of the generation process of the transmission message of the immediate data; Equipped with
The second control unit is
A receiving unit (21, 22) for receiving a transmission message transmitted from the first control unit;
And a second processing unit (28) for taking out the data for cooperation processing including the immediate data from the transmission message received by the reception unit and performing the cooperation processing using the data for cooperation processing. ,
The second processing unit extracts the data for cooperation processing from the transmission message received by the reception unit, and performs other processing in addition to performing the cooperation processing using the data for cooperation processing. And
The second control unit is further configured to perform the cooperation processing so that the second processing unit can execute the cooperation processing without delay after receiving the transmission message of the immediate data as the cooperation processing data. And reserve the reception of the transmission message at the reception time of the transmission message of the immediate data, and reserve the second processing unit corresponding to the reception completion time of the transmission message of the immediate data in the reception unit. A second reservation unit (27)
The transmission unit transmits the transmission message of the immediate data at an arbitrary timing,
The first reservation unit determines a transmission scheduled time in consideration of the time required for the generation process of the transmission message before the start of the generation process of the transmission message of the immediate data, and uses the transmission unit as the transmission scheduled time. While making a reservation, the transmission unit transmits the scheduled transmission time to the second control unit,
The second reservation unit receives the transmission scheduled time from the reception unit, calculates the reception completion time of the transmission message of the immediate data based on the transmission scheduled time, and corresponds to the calculated reception completion time. , Reserve the second processing unit,
The transmission unit regularly transmits transmission messages other than the transmission message of the immediate data according to transmission timing that arrives at predetermined time intervals,
The first reservation unit is a cooperation system that determines a transmission scheduled time of a transmission message of the immediate data so that transmission of the transmission message of the immediate data is performed in an idle time in the regular transmission .
前記第1の処理部は、前記連携処理用データの送信メッセージの生成処理に加え、他の処理も行うものであり、
前記第1の予約部は、前記連携処理用データとしての前記即時データの送信メッセージの生成処理のために、前記第1の処理部も予約する請求項1乃至6のいずれか1項に記載の連携システム。
The first processing unit performs other processing in addition to the generation processing of the transmission message of the data for cooperation processing,
The first reservation unit according to any one of claims 1 to 6 , wherein the first processing unit also reserves the first processing unit for processing of generating a transmission message of the immediate data as the data for cooperation processing. Cooperation system.
前記第1の処理部は、当該第1の処理部にて行われている現行処理が、前記第1の処理部に対する予約の開始時間までに終了しない場合、前記現行処理を一時中断させ、割込みにより、前記即時データの送信メッセージの生成処理を実行する請求項に記載の連携システム。 The first processing unit suspends the current process when the current process being performed in the first processing unit is not completed by the start time of the reservation for the first processing unit, and interrupts the current process. The collaboration system according to claim 7 , wherein the process of generating the transmission message of the immediate data is executed by the communication system. 前記送信部は、前記即時データの送信メッセージ以外の送信メッセージを、所定の時間間隔で到来する送信タイミングに従って定時送信するものであり、前記即時データの送信メッセージの送信予定時刻が、前記定時送信による送信メッセージの送信時間帯に含まれる場合、前記定時送信による送信メッセージの送信をキャンセルする請求項に記載の連携システム。 The transmission unit regularly transmits transmission messages other than the transmission message of the immediate data according to transmission timing that arrives at a predetermined time interval, and the transmission scheduled time of the transmission message of the immediate data is determined by the periodic transmission. The cooperation system according to claim 6 , wherein the transmission of the transmission message by the periodic transmission is canceled when included in a transmission time zone of the transmission message. 前記送信部は、前記即時データの送信メッセージ以外の送信メッセージを、所定の時間間隔で到来する送信タイミングに従って定時送信するものであり、前記即時データの送信メッセージの送信予定時刻が、前記定時送信による送信メッセージの送信時間帯に含まれる場合、前記即時データの送信メッセージの送信完了後に、前記定時送信の送信タイミングに係わらず、前記定時送信による送信メッセージの送信を行う請求項に記載の連携システム。 The transmission unit regularly transmits transmission messages other than the transmission message of the immediate data according to transmission timing that arrives at a predetermined time interval, and the transmission scheduled time of the transmission message of the immediate data is determined by the periodic transmission. The cooperative system according to claim 6 , wherein, when included in the transmission time zone of the transmission message, transmission of the transmission message by the fixed transmission is performed after transmission of the transmission message of the immediate data is completed regardless of the transmission timing of the fixed transmission. . 前記第1の制御部と前記第2の制御部との間に介在するメッセージ中継装置(40)をさらに備え、
前記メッセージ中継装置は、前記第1の制御部から送信された送信メッセージに対して所定の中継処理を行って、前記第2の制御部へ向けて出力するものであり、
前記第1の予約部は、前記即時データの送信メッセージの送信予定時刻に合わせて、前記メッセージ中継装置も予約する請求項1乃至10のいずれか1項に記載の連携システム。
It further comprises a message relay device (40) interposed between the first control unit and the second control unit,
The message relay device performs predetermined relay processing on the transmission message transmitted from the first control unit, and outputs the transmission message to the second control unit.
The cooperation system according to any one of claims 1 to 10 , wherein the first reservation unit also reserves the message relay device according to the scheduled transmission time of the transmission message of the immediate data.
前記メッセージ中継装置は、中継処理を行う送信メッセージを一時的に退避させるためのメモリ(41)を有し、前記第1の予約部による予約の開始時間までに、直前に実行予定の送信メッセージの中継処理が終了しないと判定した場合、その実行予定の送信メッセージを前記メモリに一時的に退避させ、予約された前記即時データの送信メッセージの中継処理を優先して実行する請求項11に記載の連携システム。 The message relay device has a memory (41) for temporarily saving a transmission message to be relayed, and the transmission message scheduled to be executed immediately before the start time of the reservation by the first reservation unit. 12. The method according to claim 11 , wherein when it is determined that the relay process is not completed, the transmission message scheduled to be executed is temporarily saved in the memory, and the relay process of the transmission message of the reserved immediate data is preferentially executed. Cooperation system. 第1の制御部と第2の制御部との間で連携処理を行わせるための連携システムであって、
前記第1の制御部は、
前記連携処理に用いられる連携処理用データに関して、所定のフォーマットに従う送信メッセージを生成するための生成処理を行う第1の処理部と、
前記連携処理用データは、少なくとも、前記第1の制御部と前記第2の制御部とで、極力時間遅れなく共有されるべき即時データを含み、
前記連携処理用データの送信メッセージを前記第2の制御部へ送信する送信部と、を備え、
前記第2の制御部は、
前記第1の制御部から送信される前記連携処理用データの送信メッセージを受信する受信部と、
前記受信部にて受信された送信メッセージから前記連携処理用データを取り出して、前記連携処理用データを用いて前記連携処理を行うことに加え、他の処理も行う第2の処理部と、
前記連携処理用データとして前記即時データの送信メッセージの受信後、遅滞なく前記第2の処理部が前記連携処理を実行することができるように、前記受信部において前記即時データの送信メッセージの受信時刻での当該送信メッセージの受信を予約するとともに、前記受信部における前記即時データの送信メッセージの受信完了時刻に対応して、前記第2の処理部を予約する予約部と、を備え、
前記送信部は、所定の時間間隔で送信メッセージの送信タイミングが到来する定時送信を行うものであり、前記即時データの送信メッセージは、いずれかの送信タイミングに合わせて送信され
前記予約部は、前記定時送信の送信タイミングで送信される送信メッセージの受信完了時刻を算出し、その受信完了時刻に対応して前記第2の処理部を予約し、
前記送信部が送信する前記即時データの送信メッセージは、前記即時データを含むものであることが識別可能な識別情報を含み、
前記予約部は、受信した送信メッセージが、前記識別情報を含まず、前記即時データの送信メッセージ以外の送信メッセージであった場合、その送信メッセージに対応する前記第2の処理部の予約を取り消して、前記第2の処理部を解放する連携システム。
A cooperation system for performing cooperation processing between a first control unit and a second control unit, comprising:
The first control unit is
A first processing unit that performs generation processing for generating a transmission message according to a predetermined format with respect to cooperation processing data used for the cooperation processing;
The data for cooperation processing includes at least immediate data to be shared by the first control unit and the second control unit without delay as much as possible.
A transmission unit for transmitting a transmission message of the data for cooperation processing to the second control unit;
The second control unit is
A receiving unit for receiving a transmission message of the cooperation processing data transmitted from the first control unit;
A second processing unit that takes out the cooperation processing data from the transmission message received by the reception unit and performs other processing in addition to performing the cooperation processing using the cooperation processing data;
The reception time of the transmission message of the immediate data in the receiving unit so that the second processing unit can execute the cooperation process without delay after receiving the transmission message of the immediate data as the cooperation processing data. And a reservation unit for reserving the second processing unit corresponding to the reception completion time of the transmission message of the immediate data in the reception unit while reserving the reception of the transmission message in step b.
The transmission unit performs fixed transmission at which transmission timing of the transmission message arrives at a predetermined time interval, and the transmission message of the immediate data is transmitted in accordance with any transmission timing.
The reservation unit calculates a reception completion time of the transmission message transmitted at the transmission timing of the fixed transmission, and reserves the second processing unit in accordance with the reception completion time.
The transmission message of the immediate data transmitted by the transmission unit includes identification information that can be identified to include the immediate data,
When the received transmission message does not contain the identification information and is a transmission message other than the transmission message of the immediate data, the reservation unit cancels the reservation of the second processing unit corresponding to the transmission message. A cooperative system for releasing the second processing unit .
前記第1の制御部は、前記送信部から、前記即時データの送信メッセージの送信予定時刻を前記第2の制御部へ送信するものであり、
前記予約部は、前記受信部から前記送信予定時刻を受け取り、当該送信予定時刻に基づいて、前記即時データの送信メッセージの受信完了時刻を算出し、算出した受信完了時刻に対応して、前記第2の処理部を予約する請求項13に記載の連携システム。
The first control unit transmits the scheduled transmission time of the transmission message of the immediate data from the transmission unit to the second control unit.
The reservation unit receives the transmission scheduled time from the reception unit, calculates the reception completion time of the transmission message of the immediate data based on the transmission scheduled time, and corresponds to the calculated reception completion time. The cooperation system according to claim 13 , wherein the processing unit 2 is reserved.
前記予約部は、前記定時送信の送信タイミングに、送信メッセージを受信しなかった場合、その送信メッセージに対応する前記第2の処理部の予約を取り消して、前記第2の処理部を解放する請求項13に記載の連携システム。 When the reservation unit does not receive a transmission message at the transmission timing of the scheduled transmission, the reservation unit cancels the reservation of the second processing unit corresponding to the transmission message and releases the second processing unit. The cooperation system according to Item 13 .
JP2015207487A 2015-10-21 2015-10-21 Cooperation system Active JP6544192B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2015207487A JP6544192B2 (en) 2015-10-21 2015-10-21 Cooperation system
DE102016220652.4A DE102016220652B4 (en) 2015-10-21 2016-10-20 Coordination system for the mutual coordination of two control parts

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015207487A JP6544192B2 (en) 2015-10-21 2015-10-21 Cooperation system

Publications (2)

Publication Number Publication Date
JP2017079013A JP2017079013A (en) 2017-04-27
JP6544192B2 true JP6544192B2 (en) 2019-07-17

Family

ID=58490551

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015207487A Active JP6544192B2 (en) 2015-10-21 2015-10-21 Cooperation system

Country Status (2)

Country Link
JP (1) JP6544192B2 (en)
DE (1) DE102016220652B4 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3922070B2 (en) * 2002-03-29 2007-05-30 株式会社デンソー Distributed control method and apparatus
DE112008004194B4 (en) 2008-12-22 2015-01-29 Toyota Jidosha Kabushiki Kaisha ELECTRONIC VEHICLE CONTROL SYSTEM, ELECTRONIC VEHICLE CONTROL UNIT AND VEHICLE CONTROL SYNCHRONIZATION METHOD
JP2011014033A (en) 2009-07-03 2011-01-20 Toyota Motor Corp On-board information processing apparatus, and vehicle control device
JP5637193B2 (en) * 2012-09-06 2014-12-10 株式会社デンソー Communications system

Also Published As

Publication number Publication date
DE102016220652B4 (en) 2021-10-14
JP2017079013A (en) 2017-04-27
DE102016220652A1 (en) 2017-04-27

Similar Documents

Publication Publication Date Title
JP5949417B2 (en) Relay device
JP3578058B2 (en) Multiplex communication system
JP3922070B2 (en) Distributed control method and apparatus
JP5111613B2 (en) COMMUNICATION DEVICE, COMMUNICATION SYSTEM, AND COMMUNICATION METHOD
US9672175B2 (en) Communication system
JP4766160B2 (en) Communication system and communication node
JP5843020B2 (en) Communication apparatus and communication method
JP5716683B2 (en) In-vehicle gateway device, in-vehicle communication system, and program
JP2008290666A (en) Electronic control device
JP2011028559A (en) Relay program and electronic control device
JPWO2010116416A1 (en) Data relay apparatus and data relay method used in the apparatus
JP6544230B2 (en) Communications system
JP4985662B2 (en) Program and control device
JP2010268066A (en) Lin communication device and lin communication control method
JP6544192B2 (en) Cooperation system
JP2020086522A (en) On-vehicle system
CN111400073B (en) Formalized system model conversion and reliability analysis method from automobile open architecture system to unified software and hardware representation
JP2007067654A (en) Communication system and communication apparatus
JP3882760B2 (en) Inter-task communication method, program, recording medium, electronic device
JP2007249357A (en) Information processor, distributed processing system, and task management method
JP2010103648A (en) Gateway device and gateway method
JP2012103802A (en) Information processor and electronic control unit
CN112243210B (en) Conflict-free multiple access method, device and system suitable for media application of Internet of vehicles
EP4379682A1 (en) Vehicle parallel diagnosis method and apparatus, coordinator, system, and medium
JP2013074420A (en) Vehicle communication device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180117

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180907

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20181002

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20181126

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20190305

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190327

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20190405

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20190521

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190603

R151 Written notification of patent or utility model registration

Ref document number: 6544192

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250