[go: up one dir, main page]

JP5237438B2 - A subscriber node of a communication system with a functionally distinct transmission event memory - Google Patents

A subscriber node of a communication system with a functionally distinct transmission event memory Download PDF

Info

Publication number
JP5237438B2
JP5237438B2 JP2011507848A JP2011507848A JP5237438B2 JP 5237438 B2 JP5237438 B2 JP 5237438B2 JP 2011507848 A JP2011507848 A JP 2011507848A JP 2011507848 A JP2011507848 A JP 2011507848A JP 5237438 B2 JP5237438 B2 JP 5237438B2
Authority
JP
Japan
Prior art keywords
message
memory
transmission
transmitted
transmission event
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
JP2011507848A
Other languages
Japanese (ja)
Other versions
JP2011520368A (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.)
Robert Bosch GmbH
Original Assignee
Robert Bosch GmbH
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 Robert Bosch GmbH filed Critical Robert Bosch GmbH
Publication of JP2011520368A publication Critical patent/JP2011520368A/en
Application granted granted Critical
Publication of JP5237438B2 publication Critical patent/JP5237438B2/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
    • 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
    • H04L12/40006Architecture of a communication node
    • H04L12/40032Details regarding a bus interface enhancer
    • 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
    • H04L12/40143Bus networks involving priority mechanisms
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Communication Control (AREA)
  • Computer And Data Communications (AREA)
  • Small-Scale Networks (AREA)

Description

本発明は、通信システムの加入者ノードに関する。通信システムは、加入者ノードと、少なくとも1つのさらなる別の加入者ノードとが接続されたデータバスを含む。加入者ノードは、データバスを介してメッセージを送信し及び/又はデータバスからメッセージを受信するための通信コントローラと、送信又は受信されるメッセージを一時的に格納するためのメッセージメモリとを有する。さらに、本発明は、データバスと、データ伝送のために当該データバスに接続された複数の加入者ノードとに関する。加入者ノードはそれぞれ、データバスを介してメッセージを送信し及び/又はデータバスからメッセージを受信するための通信コントローラと、送信又は受信されるメッセージを一時的に格納するためのメッセージメモリとを有する。最後に、本発明は、通信システムの第1加入者ノードから、通信システムのデータバスを介して、通信システムの第2加入者ノードへとメッセージを伝送する方法に関する。本方法では、第1加入者ノードのアプリケーションプログラムは、送信されるメッセージをメッセージメモリに格納し、当該メッセージメモリから、送信されるメッセージが、アプリケーションプログラムの送信コマンドに応じて、通信コントローラにより読み出され、データバスを介して伝送される。   The present invention relates to a subscriber node of a communication system. The communication system includes a data bus connected to a subscriber node and at least one further subscriber node. The subscriber node has a communication controller for sending messages and / or receiving messages from the data bus and a message memory for temporarily storing messages to be sent or received. The invention further relates to a data bus and a plurality of subscriber nodes connected to the data bus for data transmission. Each subscriber node has a communication controller for sending messages and / or receiving messages from the data bus and a message memory for temporarily storing messages to be sent or received. . Finally, the invention relates to a method for transmitting a message from a first subscriber node of a communication system to a second subscriber node of the communication system via a data bus of the communication system. In this method, the application program of the first subscriber node stores the message to be transmitted in the message memory, and the message to be transmitted is read from the message memory by the communication controller according to the transmission command of the application program. And transmitted via the data bus.

上記の形態の公知の通信システムの例は、CAN(Controller Area Network)通信システムである。ここでは、車両内のワイヤリングハーネスの長さを短縮し、これにより場所と重量を削減するために、1983年に車両内での制御装置のネットワーク構築のためにボッシュ社(Bosch)により開発され、1986年に(SAE Paper 860391、International Congress and Exposition、Detroit、Michigan、Feb.24−28,1986参照)インテル社(Intel)と共同で導入された非同期型直列バスシステムが関わっている。ただし、CANバスの利用は、自動車分野に限定されない。CANバスはその間、例えば、建築統制技術や工作機械分野に進出した。CANにおいて、データ伝送は、伝送されるユーザデータ(本来のメッセージ)の他に、先頭部の設定データ(ヘッダ部)及びフレームの最後尾の検査ビット(CRC部)も有するデータフレームで行なわれる。上記の形態の公知の通信システムの他の例は、FlexRayバス、MOST(Media Oriented Systems Transport)バス、又は、任意のフィールドバス、例えば、LIN(Local Interconnect Network)バスである。   An example of a known communication system in the above form is a CAN (Controller Area Network) communication system. Here, in order to reduce the length of the wiring harness in the vehicle and thereby reduce the location and weight, it was developed in 1983 by Bosch for the construction of a network of control devices in the vehicle, In 1986 (see SAE Paper 860391, International Congress and Exposure, Detroit, Michigan, Feb. 24-28, 1986), an asynchronous serial bus system was introduced that was jointly introduced with Intel. However, the use of the CAN bus is not limited to the automobile field. In the meantime, the CAN bus has advanced into, for example, the building control technology and machine tool fields. In CAN, data transmission is performed in a data frame having not only user data (original message) to be transmitted but also setting data (header part) at the beginning and a check bit (CRC part) at the end of the frame. Another example of the known communication system of the above form is a FlexRay bus, a MOST (Media Oriented Systems Transport) bus, or an arbitrary field bus, for example, a LIN (Local Interconnect Network) bus.

CAN及び他のプロトコルにおいては、第1加入者ノードのアプリケーションプログラムが、送信されるメッセージをメッセージメモリに複写し、当該メッセージメモリから、アプリケーションプログラムの送信コマンドに応じて、送信されるメッセージが通信コンとローラにより読み出されデータバスを介して伝送されることで、メッセージが第1加入者ノードと第2加入者ノードとの間で伝送される。その際、送信タスクの結果と、場合によっては起こりうる送信タスクの取消しについて、アプリケーションプログラムに報知する必要性が生じることが多い。これは、例えば、送信タスクの実行中に、より緊急のさらなる別の送信タスクが入る場合が該当する。このような場合に、関連する送信タスクが取り消されるが、場合によっては既に開始されている送信プロセス(スタート・オブ・フレーム(SOF:Start Of Frame)ビットが既に送信されている)は中断されずに、アービトレーションが失われるまで、エラーが発生するまで、又はメッセージが成功裏に送信されるまで続行する。CANや他のプロトコルにおいてデータは直列伝送されるため、場合によっては、データフレームの最後尾に達するまで、比較的長く掛かる可能性がある。この時間の間、加入者ノードの演算ユニット(CPU:Central Processing Unit)は、データフレームの最後尾が到着するのを待つ必要があるため、実際には封鎖される(blockieren)。このことはさらに、より緊急のさらなる別の送信タスクの実行時における許容されない遅延へと繋がりうる。   In the CAN and other protocols, the application program of the first subscriber node copies the message to be transmitted to the message memory, and the message to be transmitted is transmitted from the message memory in accordance with the transmission command of the application program. And the message is transmitted between the first subscriber node and the second subscriber node by being read by the rollers and transmitted via the data bus. At that time, there is often a need to notify the application program about the result of the transmission task and possibly cancellation of the transmission task. This is the case, for example, when another more urgent transmission task is entered during the execution of the transmission task. In such a case, the associated transmission task is canceled, but in some cases the transmission process that has already been started (the Start of Frame (SOF) bit has already been transmitted) is not interrupted. Continue until the arbitration is lost, an error occurs, or the message is sent successfully. Since data is transmitted serially in CAN and other protocols, it may take a relatively long time to reach the end of the data frame in some cases. During this time, the central processing unit (CPU) of the subscriber node needs to wait for the end of the data frame to arrive, so it is actually blocked. This can further lead to unacceptable delays when performing further transmission tasks that are more urgent.

第1の送信タスクのデータフレームの最後尾に達した後に初めて、CPUは、緊急の送信タスクに取り掛かることができる。さらに、加入者ノードのアプリケーションプログラムは、緊急の送信タスクの送信されるメッセージを、メッセージメモリに複写し、当該メッセージメモリから、送信されるメッセージが、アプリケーションプログラムの送信コマンドに応じて、通信コントローラにより読み出され、データバスを介して伝送される。緊急の送信タスクを処理した後に、アプリケーションプログラムは、中断した伝送を再びまた続行する。この目的のために、アプリケーションプログラムに、緊急タスクの前に処理された送信タスクの状態についての情報が提供される必要がある。アプリケーションプログラムは、送信タスクの結果と、場合によっては起こりうる送信タスクの取消しとについて報知される機会を有するべきであろう。   Only after the end of the data frame of the first transmission task is reached, the CPU can start the emergency transmission task. Further, the application program of the subscriber node copies the message transmitted from the emergency transmission task to the message memory, and the message transmitted from the message memory is transmitted by the communication controller according to the transmission command of the application program. It is read out and transmitted via the data bus. After processing the urgent transmission task, the application program continues the interrupted transmission again. For this purpose, the application program needs to be provided with information about the status of the send task processed before the emergency task. The application program should have the opportunity to be informed about the result of the transmission task and possibly the cancellation of the transmission task.

したがって、公知の加入者ノードの場合、その内容が送信されるメッセージメモリは、状態ビットと繋がれている。状態ビットでは、送信タスクの成功のみ示されることが多い。イベントによっては、特に送信タスクの取消し(Tx−Cancellation)の場合には、状態ビットによって示されない可能性がある。   Thus, in the case of a known subscriber node, the message memory to which the contents are transmitted is linked to the status bit. Often, the status bits only indicate the success of the send task. Some events may not be indicated by the status bits, especially in case of transmission task cancellation (Tx-Cancellation).

上記の背景技術に基づき、本発明の根底には、送信タスクについての情報が管理され、当該情報がアプリケーションプログラムにとってアクセス可能となるように、加入者ノードを形成し発展させるという課題がある。   Based on the above background art, the basis of the present invention is the problem of forming and developing subscriber nodes so that information about transmission tasks is managed and the information is accessible to application programs.

本課題を解決するために、冒頭に挙げた形態の加入者ノードに基づき、加入者ノードが、メッセージメモリとは機能的に区別される少なくとも1つの送信イベントメモリを有し、当該送信イベントメモリには、少なくとも1つの送信される又は送信されたメッセージが格納されることが提案される。   In order to solve this problem, the subscriber node has at least one transmission event memory functionally distinguished from the message memory based on the subscriber node of the form mentioned at the beginning, and the transmission event memory includes Is proposed to store at least one transmitted or transmitted message.

本発明によれば、送信タスクについての情報も、その内容が送信されるメッセージメモリに格納されるのではなく、送信イベントメモリの構成要素としての特別なリストに格納される。このことは、アプリケーションプログラムが、様々なメッセージメモリから情報を集める必要がなく、情報が、固定の場所で、好適に時間的に整理されて呼び出し可能であり、メッセージメモリが、送信タスクの取消しの後で、当該取り消しの結果を待つことなく直ちに利用可能となり、引き続き利用されるという利点を有する。特に、加入者ノードのCPUは、送信タスクの取消し後にすぐに次の送信タスクの実行に取り掛かり、例えば、メッセージをメッセージメモリに格納する。当然のことながら、CPUは、取消しの後に、任意の他のアクションのためにも利用可能である。本発明により、連続する送信タスクの実行もまた、送信タスクの取消しの際に加速され、CPUの効率が改善されうる。さらに、本発明は、送信タスクの状態についての状態フラグが、メッセージメモリに繋がれてないという利点を有する。   According to the present invention, the information about the transmission task is not stored in the message memory to which the content is transmitted, but is stored in a special list as a component of the transmission event memory. This means that the application program does not need to collect information from various message memories, the information can be called in a fixed location, preferably organized in time, and the message memory can be used to cancel the sending task. Later, it has the advantage that it can be used immediately without waiting for the result of the cancellation and will continue to be used. In particular, the CPU of the subscriber node starts to execute the next transmission task immediately after canceling the transmission task, for example, stores the message in a message memory. Of course, the CPU is also available for any other action after cancellation. With the present invention, execution of successive transmission tasks can also be accelerated upon cancellation of transmission tasks, improving CPU efficiency. Furthermore, the present invention has the advantage that the status flag for the status of the sending task is not linked to the message memory.

本発明の好適な発展形態によれば、送信イベントが、
−メッセージが成功裏に送信された、
−送信タスクの取消しにも関わらず、メッセージが成功裏に送信された、
−送信タスクの取消し、送信プロセスが未だに開始していない、
−送信タスクの取消し、アービトレーションが失われた後で送信プロセスが終了した、及び、
−送信タスクの取消し、エラーの後で送信プロセスが終了した、
というイベントのうちの少なくとも1つを含むことが提案される。
According to a preferred development of the invention, the transmission event is
-The message was sent successfully,
-The message was sent successfully despite the cancellation of the send task,
-Cancel send task, send process has not started yet,
-Canceling the send task, the send process is finished after arbitration is lost, and
-Cancel send task, send process finished after error,
It is proposed to include at least one of the following events.

送信イベントメモリに格納された送信イベントによって、加入者ノードのアプリケーションプログラムはまた、いつでも、先行する送信タスクの厳密な状態又は出力を呼び出すことができる。データ伝送が成功したかについてのみならず、追加的に、どの状況において伝送が(送信タスクが取り消されることなく、又は、送信タスクの取消しにも関わらず)成功したのかについての情報も、さらに、送信タスクが取り消されたのか、どの状況において送信タスクが取り消されたのか((例えば、データバスが使用中であったために)送信プロセスが未だに開始していない、アービトレーションが失われた後に送信プロセスが終了した、又は、エラーの後で送信プロセスが終了した)についての情報も呼び出されうる。この追加的な情報は、アプリケーションプログラムが、送信タスクが取り消されたデータ伝送を続行する際に適切な対策を取ること、例えば、新しい送信タスクを与えることを可能とする。   With the transmission event stored in the transmission event memory, the subscriber node's application program can also call the exact state or output of the preceding transmission task at any time. In addition to information on whether the data transmission was successful, in addition, information about in which situation the transmission was successful (without the sending task being canceled or despite the sending task being canceled) Whether the sending task was canceled and under what circumstances the sending task was canceled (for example, because the data bus was in use), the sending process has not yet started, the arbitration process is lost after arbitration is lost Information about which has ended or the transmission process has ended after an error) may also be called. This additional information allows the application program to take appropriate measures when continuing the data transmission in which the sending task was canceled, for example to give a new sending task.

本発明の好適な実施形態によれば、送信イベントメモリには、少なくとも1つの送信される又は送信されたメッセージの識別子が格納されていることが提案される。識別子は好適に、メッセージ又は送信タスクの一意の識別を可能とする。少なくとも1つの送信される又は送信されたメッセージについての送信イベントに加えて送信イベントメモリに格納された識別子によって、様々な送信タスクに関する複数の送信イベントがイベントメモリに格納されている場合に、特定のメッセージ又は特定の送信タスクに対する、送信イベントの一意の対応付け自体が可能である。これにより、イベントメモリのメモリ容量の範囲内で、特定のメッセージ又は特定の送信タスクについての送信イベントが、いつでも読み出し可能となる。イベントメモリの容量が大きくなるほど、より多くの送信イベントが、関連する情報と共に格納されうる。   According to a preferred embodiment of the invention, it is proposed that the transmission event memory stores an identifier of at least one transmitted or transmitted message. The identifier preferably allows a unique identification of the message or sending task. A particular event when multiple transmission events for various transmission tasks are stored in the event memory by an identifier stored in the transmission event memory in addition to the transmission event for at least one transmitted or transmitted message A unique association of transmission events to a message or a specific transmission task is possible. Thus, a transmission event for a specific message or a specific transmission task can be read at any time within the range of the memory capacity of the event memory. The larger the event memory capacity, the more transmission events can be stored with associated information.

当然のことながら、送信イベントや識別子の他に、さらなる別の情報も送信イベントメモリに格納されうる。したがって、例えば、
−少なくとも1つの送信される又は送信されたメッセージのデータ長コード、
−イベントが起きたことを示す時間標識、
−送信タスクが出されたメッセージメモリのアドレス、及び、
−比較的大きなデータ量が、同じ識別子の複数のメッセージで順次送信される場合に、データパケットを識別するシーケンスカウンタ、
という情報のうちの1つ又は複数が、送信イベントメモリに格納されていることが提案される。
Of course, in addition to transmission events and identifiers, additional information can also be stored in the transmission event memory. So, for example,
The data length code of at least one transmitted or transmitted message,
-A time indicator indicating that an event has occurred,
The address of the message memory where the send task was issued, and
A sequence counter for identifying data packets when a relatively large amount of data is transmitted sequentially in multiple messages with the same identifier;
It is proposed that one or more of the information is stored in the transmission event memory.

追加的な情報により、アプリケーションプログラムによる、格納された送信イベントの管理が軽減されうる。時間標識は、特定のアプリケーションプログラムのために重要でありうる。加入者ノードが複数の送信メッセージメモリ(いわゆる、送信バッファ)を有する場合に、送信タスクが出されたメッセージメモリのアドレスによって、どの送信バッファが新しい送信タスクのために空いているかを確認することができる。例えば、ラインの末端で、又は、工場にある間に、制御装置として構成された通信システムの加入者ノードが初めて新たにプログラミングされ、又は、新しいソフトウェアバージョンによりプログラミングされる場合に、シーケンスカウンタは、例えばソフトウェアのダウンロードの際に重要でありうる。その際、ソフトウェアは、複数の、例えば8バイトのデータパケットに分割され、当該データパケットは同じ識別子を有する。シーケンスカウンタは、送信イベントがどのデータパケットに関してイベントメモリに格納されたのか、又は、どのデータパケットが成功裏に伝達されているのかを示す。   With additional information, management of stored transmission events by the application program can be reduced. The time indicator can be important for a particular application program. If a subscriber node has multiple transmission message memories (so-called transmission buffers), the address of the message memory from which the transmission task is issued can determine which transmission buffer is free for the new transmission task. it can. For example, when a subscriber node of a communication system configured as a controller is first newly programmed or programmed with a new software version at the end of a line or while in the factory, the sequence counter is For example, it may be important when downloading software. At that time, the software is divided into a plurality of, for example, 8-byte data packets, and the data packets have the same identifier. The sequence counter indicates for which data packet the transmission event was stored in the event memory or which data packet was successfully transmitted.

有利に、送信イベントメモリは、FIFO(First In First Out)メモリとして組織化されている。好適に、送信イベントメモリは、複数のメモリ素子を含み、各メモリ素子には、送信される又は送信されたメッセージに対する情報が格納されている。実際には、イベントメモリの容量は一般に、幾つかのメモリ素子によって満たされる。アプリケーションプログラムがほとんど読み出さないために、送信イベントメモリの容量を超える恐れがある場合には、警告信号が出力されうる。実際にメモリの容量を超えた場合には、エラー信号が出力されうる。代替的又は追加的に、送信イベントメモリの容量を超えた場合には、最初に格納されたエントリが破棄されることが構想されうる。   Advantageously, the transmission event memory is organized as a FIFO (First In First Out) memory. Preferably, the transmission event memory includes a plurality of memory elements, and each memory element stores information on a transmitted or transmitted message. In practice, the capacity of event memory is generally filled by several memory elements. If there is a possibility that the capacity of the transmission event memory is exceeded because the application program hardly reads, a warning signal can be output. If the memory capacity is actually exceeded, an error signal can be output. Alternatively or additionally, it may be envisaged that the first stored entry is discarded if the capacity of the transmission event memory is exceeded.

有利に、送信イベントメモリは、随意にアクセスされるメモリ(RAM:Random Access Memory)を含む。さらに、他の方法での実現、例えばフリップフロップを用いた実現も構想可能であるが、この実現は、比較的大きなシリコン面積を必要とし、したがって、比較的高いコストの原因にもなる。送信イベントメモリがメッセージメモリの一部として構成される本発明の構成は、特に有利である。メッセージメモリと、送信イベントメモリとが機能的に区別されるにも関わらず、双方は、ハードウェアに関して、同一のメモリ素子内であるが、異なるメモリ領域内に構成されうる。有利に、送信イベントメモリの大きさ、特に、イベントメモリのメモリ素子の数は、ソフトウェアに関して、例えば設定ビットによって、自由に設定可能である。このようにして、イベントメモリの大きさは、簡単な方法で、個別の要請に対して柔軟に調整されうる。   Advantageously, the transmit event memory includes a random access memory (RAM). Furthermore, other implementations, such as implementations using flip-flops, can be envisaged, but this implementation requires a relatively large silicon area and therefore causes a relatively high cost. The arrangement of the invention in which the transmission event memory is configured as part of the message memory is particularly advantageous. Despite the functional distinction between message memory and transmission event memory, both in terms of hardware can be configured in the same memory element but in different memory areas. Advantageously, the size of the transmission event memory, in particular the number of memory elements of the event memory, can be freely set with respect to the software, for example by means of setting bits. In this way, the size of the event memory can be flexibly adjusted for individual requests in a simple manner.

本発明の課題のさらなる解決策として、冒頭に挙げた形態の通信システムに基づき、少なくとも1つの加入者ノードが、メッセージメモリとは機能的に区別される少なくとも1つの送信イベントメモリを有し、送信イベントメモリには、少なくとも1つの送信される又は送信されたメッセージについての送信イベントが格納されている。好適な発展によれば、本発明にかかる通信システムの少なくとも1つの加入者ノードはさらに、請求項2〜8のうちの1つ又は複数に記載の特徴を有する。   As a further solution to the problem of the invention, based on a communication system of the form listed at the beginning, at least one subscriber node has at least one transmission event memory functionally distinguished from the message memory, The event memory stores transmission events for at least one transmitted or transmitted message. According to a preferred development, the at least one subscriber node of the communication system according to the invention further comprises the features as claimed in one or more of claims 2-8.

最後に、本発明のさらなる別の解決案として、冒頭で挙げた形態によるメッセージ伝送方法に基づいて、送信される又は送信されたメッセージについての送信イベントが、メッセージメモリとは機能的に区別される送信イベントメモリに格納され、アプリケーションプログラムがいつでも、イベントメモリに格納された情報にアクセス可能であることが提案される。   Finally, as yet another solution of the present invention, a transmission event for a transmitted or transmitted message is functionally distinguished from the message memory, based on the message transmission method according to the form mentioned at the beginning. It is proposed that the application program stored in the transmission event memory can access the information stored in the event memory at any time.

以下では、本発明の好適な実施形態が図面を用いて詳細に解説される。
本発明にかかる通信ネットワークの例である。 図1の通信ネットワークの本発明にかかる加入者ノードの例である。 図1の通信ネットワークを介したメッセージ伝達のための本発明にかかる方法のフローチャートである。
In the following, preferred embodiments of the present invention will be described in detail with reference to the drawings.
It is an example of the communication network concerning this invention. 2 is an example of a subscriber node according to the present invention of the communication network of FIG. 2 is a flowchart of a method according to the present invention for message transmission via the communication network of FIG.

図1には、本発明にかかる通信システム全体が符号1により示されている。ネットワーク1は、単線により象徴的に示されるデータバス2を含む。当然のことながら、データバス2は、1つ、2つ、又は複数の有線バスとして構成されうる。データバス2の物理層は、1つ又は複数の銅線、1つ又は複数のガラス繊維線、又は、光通信(例えば、赤外線)、又は無線通信を含みうる。データバス2には、複数の加入者ノード3が接続されており、そのうちの3つが図1に例示されている。各ノード3は、通信モジュール4(いわゆる、通信コントローラ。Communication Controller:CC)を介して、データバス2に接続されている。さらに、ノード3は、ホストアプリケーション5(いわゆる、アプリケーションプログラム。Applikationsprogramm:AP)を有する。   In FIG. 1, the entire communication system according to the present invention is denoted by reference numeral 1. The network 1 includes a data bus 2 symbolically indicated by a single line. Of course, the data bus 2 can be configured as one, two or a plurality of wired buses. The physical layer of the data bus 2 may include one or more copper wires, one or more glass fiber wires, or optical communication (eg, infrared) or wireless communication. A plurality of subscriber nodes 3 are connected to the data bus 2, and three of them are illustrated in FIG. Each node 3 is connected to the data bus 2 via a communication module 4 (so-called communication controller, communication controller: CC). Further, the node 3 has a host application 5 (so-called application program: Application program: AP).

データバス2を介して、メッセージ7が、直列通信プロトコル(例えば、CAN、FlexRay、LIN、MOST等)にしたがって伝送されうる。通信モジュール4は、データバス2を介してメッセージ7を送受信する役割を果たす。メッセージ7はそれぞれ、識別子(いわゆる、Identifier)と、さらなる別の設定ビットと、を有するヘッダ8を有する。メッセージ7は、ヘッダ8の他に、ユーザデータ部9(いわゆる、ペイロード)と、いわゆるトレーラ10とを有する。識別子は、メッセージ7の一意の識別を可能とする。CAN(Controller Area Network)において、識別子は例えば、メッセージ7の発信元の確認を可能としメッセージ7の内容9を明らかにする一種の送信アドレスである。   The message 7 can be transmitted via the data bus 2 according to a serial communication protocol (for example, CAN, FlexRay, LIN, MOST, etc.). The communication module 4 plays a role of transmitting and receiving the message 7 via the data bus 2. Each message 7 has a header 8 with an identifier (so-called Identifier) and a further set bit. In addition to the header 8, the message 7 has a user data portion 9 (so-called payload) and a so-called trailer 10. The identifier enables a unique identification of the message 7. In CAN (Controller Area Network), the identifier is, for example, a kind of transmission address that enables confirmation of the sender of the message 7 and reveals the content 9 of the message 7.

論理的に、アプリケーションプログラム5と通信コントローラ4との間には、発信され又は到着するメッセージ7のための一時メモリとしての送信バッファ11(Tx)及び受信バッファ12(Rx)が配置されている。物理的には、メッセージメモリ11、12は、通信コントローラ4と一体に構成された構成要素であり、又は、通信コントローラ4と別体で構成されうる。メッセージメモリ11、12は、好適に、FIFOの形態により構成される。メッセージメモリ11、12は、例えば、随意にアクセスされるメモリ(いわゆる、RAM)として構成される。   Logically, a transmission buffer 11 (Tx) and a reception buffer 12 (Rx) are arranged between the application program 5 and the communication controller 4 as temporary memories for outgoing or arriving messages 7. Physically, the message memories 11 and 12 are components configured integrally with the communication controller 4, or can be configured separately from the communication controller 4. The message memories 11, 12 are preferably configured in the form of a FIFO. The message memories 11 and 12 are configured as, for example, arbitrarily accessed memories (so-called RAMs).

加入者3のうちの1つのアプリケーションプログラム5が、データバス2を介して他の加入者3宛てにメッセージ7を送信したい場合に、最初に、送信されるメッセージ7又はその内容9を送信バッファ11に格納する(図2の矢印20)。アプリケーションプログラム5の送信コマンドに応じて、通信コントローラ4は、メッセージ7又はその内容9を送信バッファ11から読み出し(図2の矢印21)、通信システム1内でメッセージ7が伝送される通信プロトコルに応じて、メッセージ7又はその内容9を正しい形式にし(例えば、ヘッダ8及びトレーラ10の追加)、データバス2を介してメッセージ7を伝達する(図2の矢印22)。メッセージ7はデータバス2を介して直列伝送されるので、比較的長く掛かる可能性がある。本発明は、送信タスクが実行される間の任意の時点において、当該送信タスクが、例えば、特に緊急の他の送信タスクを先に実行すべきであるために、再び取り消される場合に関する(いわゆる、送信キャンセル)。送信タスクは、送信バッファ11へのメッセージ7又はその内容9の格納で始まり、メッセージが成功裏に送信されたか否かという通信コントローラ4からのフィードバックの受信で終了する。   When one application program 5 of the subscribers 3 wants to transmit the message 7 to the other subscribers 3 via the data bus 2, first the transmitted message 7 or its contents 9 is transmitted to the transmission buffer 11. (Arrow 20 in FIG. 2). In response to the transmission command of the application program 5, the communication controller 4 reads the message 7 or its contents 9 from the transmission buffer 11 (arrow 21 in FIG. 2), and according to the communication protocol in which the message 7 is transmitted in the communication system 1. Thus, the message 7 or its content 9 is in the correct format (for example, the addition of the header 8 and trailer 10), and the message 7 is transmitted via the data bus 2 (arrow 22 in FIG. 2). Since the message 7 is serially transmitted via the data bus 2, it may take a relatively long time. The invention relates to the case where at any point during the execution of the transmission task, the transmission task is canceled again, for example because another transmission task in particular should be executed first (so-called, Cancel transmission). The transmission task starts with the storage of the message 7 or its contents 9 in the transmission buffer 11 and ends with the reception of feedback from the communication controller 4 as to whether or not the message has been transmitted successfully.

このような場合に、また他の場合にも、アプリケーションプログラム5は、送信タスクの結果、及び、場合によっては起こりうる送信タスクの取消しについて報知される必要がある。したがって、従来技術においては、送信バッファ11は、送信タスクが成功裏に処理されたか否かについての情報を伝達しうる状態ビットと繋がれている。さらなる別のイベントについての情報は、特に送信タスクの取消しの際には、状態ビットからは得られない。CANにおいては、送信タスクの取消しの際には、場合によっては既に開始されている送信プロセス(すなわち、スタート・オブ・フレーム(SOF:Start Of Frame)が既に送信されている)は中断されずに、アービトレーションが失われるまで、エラーが発生するまで、又は、メッセージが成功裏に送信されるまで続行する。アプリケーションプログラム5は、送信タスクの取消し後にどのイベントが最後に起きたのかについて、状態ビットから情報を得られない。さらに、アプリケーションプログラム5は、送信タスクのイベントを待つ必要があり、この時間の間ある程度遮断されている。この点において、本願は改善案を提供しうる。   In such a case as well as in other cases, the application program 5 needs to be notified of the result of the transmission task and possibly cancellation of the transmission task. Therefore, in the prior art, the transmission buffer 11 is connected to a status bit that can convey information as to whether or not the transmission task has been successfully processed. Information about further events is not available from the status bits, especially when canceling the send task. In CAN, when a transmission task is canceled, a transmission process that has already started (that is, a start-of-frame (SOF) has already been transmitted) is not interrupted. Continue until the arbitration is lost, an error occurs, or the message is sent successfully. The application program 5 cannot obtain information from the status bits about which event last occurred after canceling the transmission task. Further, the application program 5 needs to wait for a transmission task event, and is blocked to some extent during this time. In this respect, the present application may provide an improvement plan.

本発明によれば、各加入者ノード3内にはそれぞれ、メッセージメモリ11、12とは機能的に区別される送信イベントメモリ13(Tx Stat)が設けられており、この送信イベントメモリ13には、少なくとも1つの送信される又は送信されたメッセージ7についての送信イベント又は状態が格納されている。当然のことながら、通信ネットワーク1の全ての加入者ノード3に、送信イベントメモリ13が設けられる必要はない。イベントメモリ13は、好適に、随意にアクセルされるメモリ(RAM)として構成され、FIFOの形態により組織化されている。当然のことながら、イベントメモリ13は、読み出し専用メモリ(例えば、フラッシュメモリ、ROM、EEPROM)としても構成されうる。イベントメモリ13は、通信コントローラ4と一体に構成された構成要素として、又は、通信コントローラ4とは別体で、構成されうる。さらに、送信イベントメモリ13は、メッセージメモリ11、12とは別体で、又は、メッセージメモリ11、12の一部として構成されうる。イベントメモリ13がメッセージメモリ11、12の一部である場合、イベントメモリ13の大きさは、ソフトウェアに関して、例えば設定ビットによって、個別の要請に応じて柔軟に定めることができる。   According to the present invention, each subscriber node 3 is provided with a transmission event memory 13 (Tx Stat) that is functionally distinguished from the message memories 11 and 12, respectively. A transmission event or state for at least one transmitted or transmitted message 7 is stored. As a matter of course, it is not necessary for all the subscriber nodes 3 of the communication network 1 to be provided with the transmission event memory 13. The event memory 13 is preferably configured as a memory (RAM) that is optionally accessed and organized in the form of a FIFO. Of course, the event memory 13 can also be configured as a read-only memory (eg, flash memory, ROM, EEPROM). The event memory 13 can be configured as a component configured integrally with the communication controller 4 or separately from the communication controller 4. Further, the transmission event memory 13 can be configured separately from the message memories 11 and 12 or as a part of the message memories 11 and 12. When the event memory 13 is a part of the message memories 11 and 12, the size of the event memory 13 can be flexibly determined according to individual requests, for example, by setting bits with respect to software.

送信タスクの状態についての情報もまた、もはや、その内容が送信されるメッセージメモリ11に格納されるではなく、特別な送信イベントリストに格納される。この送信イベントリストは、有利に、送信イベント又は取消しイベントごとのエントリを含む。本発明により、送信タスクの状態についての情報を通信モジュール4内で管理し、イベントメモリ13に格納することが可能である(図2の矢印23)。アプリケーションプログラム5は、イベントメモリ13に格納された情報を、時間的に柔軟に読み出すことができる(図2の矢印24)。送信タスクについての情報が、いまや、送信バッファ11から完全に離されていることは、特に有利である。さらなる利点は、アプリケーションプログラム5がもはや、送信タスクについての状態情報を、様々なメッセージメモリ11から集める必要がなく、情報が(送信イベントメモリ13内の送信イベントリスト内の)固定の場所で、好適に時間的に整理されて呼び出し可能である点にある。送信タスクの取消し後に、メッセージメモリ11はすぐに、送信タスク又は取消しの結果を待つ必要もなく、再び利用可能である。アプリケーションプログラム5は、後の時点において、イベントメモリ13に格納された情報を読み出すことが可能であり、即時に(例えば、割り込みごとに)対応する必要はない。アプリケーションプログラム5がほとんど読み出さないために、イベントメモリ13の容量を超える恐れがある場合には、最初のステップで警告信号が出力され、当該警告信号は、情報の少なくとも一部の、加速された読み出し、又はより頻度が高い読み出しのための対応する対応策と連携させることができる。実際にメモリ13の容量を超える場合には、エラー信号が出力されうる。この場合に、現在の送信タスクの情報のために場所を作るために、送信イベントメモリ13内の最古のエントリがその都度破棄されうる。   Information about the state of the sending task is also no longer stored in the message memory 11 to which its contents are sent, but in a special sending event list. This transmission event list advantageously includes an entry for each transmission event or cancellation event. According to the present invention, information about the state of the transmission task can be managed in the communication module 4 and stored in the event memory 13 (arrow 23 in FIG. 2). The application program 5 can flexibly read out the information stored in the event memory 13 (arrow 24 in FIG. 2). It is particularly advantageous that the information about the transmission task is now completely separated from the transmission buffer 11. A further advantage is that the application program 5 no longer needs to collect state information about the sending task from the various message memories 11 and is suitable where the information is fixed (in the sending event list in the sending event memory 13). It can be called after being arranged in time. After canceling the send task, the message memory 11 is immediately available again without having to wait for the send task or the result of the cancel. The application program 5 can read the information stored in the event memory 13 at a later time, and does not need to respond immediately (for example, for each interrupt). If there is a risk that the application program 5 will rarely read and exceed the capacity of the event memory 13, a warning signal is output in the first step, and the warning signal is an accelerated read of at least a portion of the information. Or a corresponding countermeasure for more frequent readouts. When the capacity of the memory 13 is actually exceeded, an error signal can be output. In this case, the oldest entry in the transmission event memory 13 can be discarded each time to make room for information on the current transmission task.

最も簡単な場合に、イベントメモリ13は、送信タスクの、時系列に並べられたイベント(メッセージ7が送信された、送信タスクの取消しが行なわれた)を含む。以下に、イベントメモリ13に格納可能なさらなる別のイベントの例を幾つか記載する。
1)メッセージ7が成功裏に送信された、
2)送信タスクの取消しにも関わらず、メッセージ7が成功裏に送信された、
3)送信タスクが取り消され、送信プロセスが開始されない、
4)送信タスクが取り消され、送信プロセスが、アービトレーションが失われた後に終了された、及び、
5)送信タスクが取り消され、送信プロセスがエラーの後に終了された。
In the simplest case, the event memory 13 contains the time-sequential events of the transmission task (message 7 was transmitted and the transmission task was canceled). In the following, some further examples of events that can be stored in the event memory 13 will be described.
1) Message 7 was sent successfully,
2) Despite canceling the send task, message 7 was sent successfully,
3) The send task is canceled and the send process is not started,
4) The send task is canceled and the send process is terminated after arbitration is lost, and
5) The send task was canceled and the send process was terminated after an error.

送信される又は送信されたメッセージ7についての送信イベントに加えて、送信イベントメモリ13には、さらなる別の情報も格納されうる。メモリ13のメモリ素子の情報内容については、様々な拡張段階が存在する。好適に、メモリ13には、メッセージ7の識別子(例えば、CAN識別子)も格納される。識別子は、特定のメッセージに対する格納された情報の一意の識別及び対応付けを可能とするので、メッセージは、必ずしも発生順にメモリ13に格納される必要はない。以下の追加的な情報、すなわち、
1)少なくとも1つの送信される又は送信されたメッセージ7のユーザデータ部9の長さを示すデータ長コード、
2)メモリ13に格納されているイベントが何時起きたのかを示す時間標識、
3)送信タスクが出されたメッセージメモリ11のアドレス、及び、
4)高次の送信プロトコルによって、比較的大きなデータ量が、同じ識別子の複数のメッセージ7で順次送信される場合に、データパケットを識別するシーケンスカウンタ、
のうちの1つ又は複数を送信イベントメモリ13に記録することも構想可能である。
In addition to the transmission event for the message 7 to be transmitted or transmitted, the transmission event memory 13 can also store further additional information. The information content of the memory element of the memory 13 has various expansion stages. Preferably, the memory 13 also stores an identifier of the message 7 (for example, a CAN identifier). Since identifiers allow unique identification and association of stored information for a particular message, messages need not necessarily be stored in memory 13 in the order in which they occurred. The following additional information:
1) a data length code indicating the length of the user data part 9 of at least one transmitted or transmitted message 7;
2) A time indicator indicating when the event stored in the memory 13 has occurred;
3) The address of the message memory 11 where the transmission task is issued, and
4) A sequence counter for identifying a data packet when a relatively large amount of data is sequentially transmitted in a plurality of messages 7 having the same identifier by a higher-order transmission protocol,
It is also conceivable to record one or more of them in the transmission event memory 13.

追加的な情報により、アプリケーションプログラム5による、格納された送信イベントの管理が軽減されうる。時間標識は、特定のアプリケーションプログラム5のために重要でありうる。加入者ノード3が複数の送信バッファ11を有する場合に、送信タスクが出されたメッセージメモリ11のアドレスによって、どの送信バッファ11が新しい送信タスクのために空いているのかを確認することができる。例えば、ラインの末端で、又は、工場にある間に、制御装置として構成された、通信ネットワーク1の加入者ノード3が初めて新たにプログラミングされ、又は、新しいソフトウェアバージョンによりプログラミングされる場合に、シーケンスカウンタは、例えばソフトウェアのダウンロードの際に重要でありうる。その際、ソフトウェアは、複数の、例えば8バイトのデータパケットに分割され、当該データパケットはすべて同じ識別子を有する。シーケンスカウンタは、送信イベントがどのデータパケットに関してイベントメモリ13に格納されたのか、又は、どのデータバケットが成功裏に伝達されているのかを示す。シーケンスカウンタは、アプリケーションプログラム5によって、送信タスクの付与の際に、メッセージメモリ11に登録されている。   With additional information, management of stored transmission events by the application program 5 can be reduced. The time indicator may be important for a particular application program 5. When the subscriber node 3 has a plurality of transmission buffers 11, it is possible to confirm which transmission buffer 11 is free for a new transmission task by the address of the message memory 11 from which the transmission task is issued. For example, when the subscriber node 3 of the communication network 1 configured as a controller at the end of the line or while in the factory is first newly programmed or programmed with a new software version. The counter may be important when downloading software, for example. At that time, the software is divided into a plurality of, for example, 8-byte data packets, all of which have the same identifier. The sequence counter indicates for which data packet the transmission event was stored in the event memory 13 or which data bucket was successfully communicated. The sequence counter is registered in the message memory 11 by the application program 5 when a transmission task is assigned.

以下では、本発明にかかる方法が、図3に示されるフローチャートを用いて詳細に解説される。本方法は、機能ブロック30で開始する。機能ブロック31において、アプリケーションプログラム5は、伝送されるデータを送信バッファ11へと伝達する。アプリケーションプログラム5は、機能ブロック32で、送信コマンドを送信する。送信コマンドに応じて、通信コントローラ4が、機能ブロック33において、送信バッファ11からデータを読み出す。続いて、コントローラ4は、機能ブロック34で、データ9を、利用される通信プロトコルに対応するメッセージに入れ、データを対応する形式にする。その後、機能ブロック35で、メッセージ7が、データバス2を介して直列伝送される。メッセージ伝送は、SOFビットの送信で開始する。   In the following, the method according to the present invention will be explained in detail using the flowchart shown in FIG. The method begins at function block 30. In the function block 31, the application program 5 transmits the data to be transmitted to the transmission buffer 11. The application program 5 transmits a transmission command in the function block 32. In response to the transmission command, the communication controller 4 reads data from the transmission buffer 11 in the function block 33. Subsequently, the controller 4 puts the data 9 in a message corresponding to the communication protocol used in the function block 34 and puts the data in a corresponding format. Thereafter, in function block 35, message 7 is serially transmitted via data bus 2. Message transmission starts with the transmission of the SOF bit.

送信タスクが実行される間の任意の時点において(機能ブロック31〜35)、送信タスクの取消しが必要となるイベント、例えば、現在の送信タスクのメッセージよりも緊急で重要な他のメッセージを、可能な限りすぐに送信するという要望が生じうる。このようなイベントの発生は、図3では、機能ブロック36によって図示されている。示される例において、イベント36は、直列メッセージ伝送の間に発生する。アプリケーションプログラム5は、現在の送信タスクを取り消す。   At any point during the execution of the send task (function blocks 31-35), events that require cancellation of the send task, for example other messages that are more urgent and important than the message of the current send task, are possible There may be a desire to send as soon as possible. The occurrence of such an event is illustrated by function block 36 in FIG. In the example shown, event 36 occurs during serial message transmission. The application program 5 cancels the current transmission task.

機能ブロック37において、アプリケーションプログラム5は、送信タスクの取消し後にすぐに、新しいデータ、すなわち、より緊急で又はより重要なメッセージ7のデータを再び送信バッファ11に格納することか可能である。アプリケーションプログラム5は、第1のメッセージ7の伝送の終了、又は、第1の送信タスクのイベントを待つ必要はない。これにより、ホストCPUの利用度及び効率が改善されうる。第1の送信タスクの状態は、第1のメッセージの伝送の終了後の後の時点に、通信コントローラ4によって送信イベントメモリ13に格納される。このことは、第1のメッセージの伝送の後の任意の時点に実行可能であり、図3では、機能ブロック38により図示されている。   In a function block 37, the application program 5 can store new data, ie more urgent or more important message 7 data in the transmission buffer 11 again immediately after canceling the transmission task. The application program 5 does not have to wait for the end of transmission of the first message 7 or the event of the first transmission task. As a result, the utilization and efficiency of the host CPU can be improved. The state of the first transmission task is stored in the transmission event memory 13 by the communication controller 4 at a later time after the end of transmission of the first message. This can be done at any time after the transmission of the first message and is illustrated in FIG.

機能ブロック39において、アプリケーションプログラム5は、さらなる別のメッセージの伝達のための送信コマンドを送信する。送信コマンドに応じて、通信コントローラ4は、機能ブロック40で、送信バッファ11から新しいデータを読み出す。続いて、コントローラ4は、機能ブロック41で、データ9を、利用される通信プロトコルに対応した第2のメッセージ7に入れ、データを対応する形式にする。その後、機能ブロック42で、第2のメッセージ7が、データバス2を介して直列伝送される。メッセージ伝送は、SOFビットの送信で開始する。第2の送信タスクの状態は、通信コントローラ4により、第2のメッセージの伝送後の、任意の後の時点において、送信イベントメモリ13に格納される。このことは、図3に機能ブロック43により図示されている。   In a function block 39, the application program 5 sends a send command for further message transmission. In response to the transmission command, the communication controller 4 reads new data from the transmission buffer 11 in the function block 40. Subsequently, in the function block 41, the controller 4 puts the data 9 into the second message 7 corresponding to the communication protocol to be used, and converts the data into a corresponding format. Thereafter, in function block 42, the second message 7 is transmitted serially via the data bus 2. Message transmission starts with the transmission of the SOF bit. The state of the second transmission task is stored in the transmission event memory 13 by the communication controller 4 at any later time after the transmission of the second message. This is illustrated by functional block 43 in FIG.

第1のメッセージ7の伝送の終了後の任意の時点において、アプリケーションプログラムは、第1の送信タスクのイベントを、送信イベントメモリ13から読み出す。このことは、示される例では、機能ブロック44において、第1の送信タスクの取り消しを引き起こした第2のメッセージの伝送の終了後に行なわれる。第1の送信タスクの、読み出されたイベントにしたがって、アプリケーションプログラム5は、機能ブロック45で、第1のメッセージ7の新たな伝送を促し(メッセージが成功裏に送信されていない)、又は、第1のメッセージ7の新たな伝送を促さない(メッセージが成功裏に送信されている)。その後、本方法は、機能ブロック46で終了する。   At any time after the end of transmission of the first message 7, the application program reads the event of the first transmission task from the transmission event memory 13. This is done in the example shown after the end of the transmission of the second message in function block 44 that caused the cancellation of the first sending task. According to the read event of the first sending task, the application program 5 prompts a new transmission of the first message 7 at function block 45 (the message has not been sent successfully), or Do not prompt for a new transmission of the first message 7 (the message has been sent successfully). The method then ends at function block 46.

本発明の重要な観点は、ホストCPUの利用度が改善され、送信タスクの取消し後に、最短の時間内に新メッセージの伝送が開始されうること、個別の送信タスクに対するより詳細な情報が提供されること、イベントメモリへの送信タスクについての情報の格納と、当該情報の読み出しとが時間的に切り離されており、そのことによって、ホストCPUの封鎖が起こらないことにある。
An important aspect of the present invention is that the utilization of the host CPU is improved, the transmission of a new message can be started within the shortest time after the transmission task is canceled, and more detailed information about the individual transmission task is provided. In other words, the storage of information about the transmission task in the event memory and the reading of the information are separated in time, which prevents the host CPU from being blocked.

Claims (8)

データバス(2)を含む通信システム(1)の加入者ノード(3)であって、前記データバス(2)には前記加入者ノード(3)と、少なくとも1つのさらなる別の加入者ノード(3)とが接続されており、前記加入者ノード(3)は、前記データバス(2)を介してメッセージ(7)を送信し及び/又は前記データバス(2)からメッセージ(7)を受信するための通信コントローラ(4)と、送信又は受信されるメッセージ(7)を一時的に格納するためのメッセージメモリ(11、12)とを有する、前記加入者ノード(3)において、
前記加入者ノード(3)は、前記メッセージメモリ(11、12)とは機能的に区別される少なくとも1つの送信イベントメモリ(13)を有し、前記送信イベントメモリ(13)には、少なくとも1つの送信される又は送信されたメッセージ(7)についての送信イベントが格納され、
前記送信イベントメモリ(13)は、メッセージメモリ(11、12)の一部として構成され、
前記送信イベントメモリ(13)の大きさは、設定ビットにより設定可能であることを特徴とする、加入者ノード(3)。
A subscriber node (3) of a communication system (1) comprising a data bus (2), said data bus (2) comprising said subscriber node (3) and at least one further subscriber node ( 3) and the subscriber node (3) transmits the message (7) via the data bus (2) and / or receives the message (7) from the data bus (2) In the subscriber node (3), comprising a communication controller (4) for transmitting and a message memory (11, 12) for temporarily storing messages (7) to be transmitted or received,
The subscriber node (3) has at least one transmission event memory (13) functionally distinguished from the message memory (11, 12), and the transmission event memory (13) includes at least one transmission event memory (13). A transmission event for one transmitted or transmitted message (7) is stored ;
The transmission event memory (13) is configured as a part of the message memory (11, 12),
The subscriber node (3) is characterized in that the size of the transmission event memory (13) can be set by a setting bit .
前記送信イベントは、
−メッセージ(7)が成功裏に送信された、
−送信タスクの取消しにも関わらず、メッセージ(7)が成功裏に送信された、
−送信タスクの取消し、送信プロセスが未だに開始していない、
−送信タスクの取消し、アービトレーションが失われた後で送信プロセスが終了した、及び、
−送信タスクの取消し、エラーの後で送信プロセスが終了した、
というイベントのうちの少なくとも1つを含むことを特徴とする、請求項1に記載の加入者ノード(3)。
The transmission event is:
-Message (7) was sent successfully,
-Message (7) was sent successfully despite the cancellation of the send task,
-Cancel send task, send process has not started yet,
-Canceling the send task, the send process is finished after arbitration is lost, and
-Cancel send task, send process finished after error,
The subscriber node (3) according to claim 1, characterized in that it comprises at least one of the following events:
前記送信イベントメモリ(13)には、少なくとも1つの送信される又は送信されたメッセージ(7)の識別子が格納されていることを特徴とする、請求項1又は2に記載の加入者ノード(3)。   3. Subscriber node (3) according to claim 1 or 2, characterized in that the transmission event memory (13) stores an identifier of at least one transmitted or transmitted message (7). ). −前記少なくとも1つの送信される又は送信されたメッセージ(7)のデータ長コード、
−前記送信イベントが起きたことを示す時間標識、
−送信タスクが出された前記メッセージメモリ(11、12)のアドレス、及び、
−比較的大きなデータ量が、同一の識別子を有する複数のメッセージ(7)で順次送信される場合に、データパケットを識別するシーケンスカウンタ、
という情報のうちの1つ又は複数が、前記送信イベントメモリ(13)に格納されていることを特徴とする、請求項1〜3のいずれか1項に記載の加入者ノード(3)。
The data length code of the at least one transmitted or transmitted message (7),
A time indicator indicating that the transmission event has occurred;
- Send address of the message memory the task is issued (11, 12) and,
- when a relatively large amount of data, successively sent in multiple messages with the same identifier (7), sequence counter identifying the data packet,
The subscriber node (3) according to any one of claims 1 to 3, characterized in that one or more of the following information is stored in the transmission event memory (13).
前記送信イベントメモリ(13)は複数のメモリ素子を含み、各メモリ素子に、送信される又は送信されたメッセージ(7)に対する情報が格納されていることを特徴とする、請求項1〜4のいずれか1項に記載の加入者ノード(3)。   The transmission event memory (13) comprises a plurality of memory elements, each memory element storing information for a message (7) to be transmitted or transmitted. Subscriber node (3) according to any one of the preceding claims. 前記送信イベントメモリ(13)は、随意にアクセスされるメモリを含むことを特徴とする、請求項1〜5のいずれか1項に記載の加入者ノード(3)。   The subscriber node (3) according to any one of the preceding claims, characterized in that the transmission event memory (13) comprises a memory that is optionally accessed. データバス(2)と、データ伝送のために前記データバス(2)に接続された複数の加入者ノード(3)を含む通信システム(1)であって、前記加入者ノード(3)はそれぞれ、前記データバス(2)を介してメッセージ(7)を送信し及び/又は前記データバス(2)からメッセージ(7)を受信するための通信コントローラ(4)と、送信又は受信されるメッセージ(7)を一時的に格納するためのメッセージメモリ(11、12)と、を有する、前記通信システム(1)において、
少なくとも1つの前記加入者ノード(3)は、前記メッセージメモリ(11、12)とは機能的に区別される少なくとも1つの送信イベントメモリ(13)を有し、前記送信イベントメモリ(13)には、少なくとも1つの送信される又は送信されたメッセージ(7)についての送信イベントが格納され、
前記送信イベントメモリ(13)は、メッセージメモリ(11、12)の一部として構成され、
前記送信イベントメモリ(13)の大きさは、設定ビットにより設定可能であることを特徴とする、通信システム(1)。
A communication system (1) comprising a data bus (2) and a plurality of subscriber nodes (3) connected to the data bus (2) for data transmission, wherein each of the subscriber nodes (3) A message (7) to be transmitted or received via the data bus (2) and / or a communication controller (4) for receiving a message (7) from the data bus (2); 7) a message memory (11, 12) for temporarily storing the communication system (1),
The at least one subscriber node (3) has at least one transmission event memory (13) functionally distinguished from the message memory (11, 12), the transmission event memory (13) A transmission event for at least one transmitted or transmitted message (7) is stored ;
The transmission event memory (13) is configured as a part of the message memory (11, 12),
The communication system (1), wherein the size of the transmission event memory (13) can be set by a setting bit .
通信システム(1)の第1加入者ノード(3)から、前記通信システム(1)のデータバス(2)を介して、前記通信システム(1)の第2加入者ノード(3)へとメッセージ(7)を伝送する方法であって、前記第1加入者ノード(3)のアプリケーションプログラム(5)は、送信される前記メッセージ(7)をメッセージメモリ(11、12)に複写し、前記メッセージメモリ(11、12)から、前記送信されるメッセージ(7)が、前記アプリケーションプログラム(5)の送信コマンドに応じて、通信コントローラ(4)により読み出され、前記データバス(2)を介して伝送される、前記方法において、
送信される又は送信されたメッセージ(7)についての送信イベントが、前記メッセージメモリ(11、12)とは機能的に区別される少なくとも1つの送信イベントメモリ(13)に格納され、前記アプリケーションプログラム(5)は前記送信イベントメモリ(13)に格納された前記送信イベントに常時アクセス可能であり、
前記送信イベントメモリ(13)は、メッセージメモリ(11、12)の一部として構成され、
前記送信イベントメモリ(13)の大きさは、設定ビットにより設定可能であることを特徴とする、方法。
A message is sent from the first subscriber node (3) of the communication system (1) to the second subscriber node (3) of the communication system (1) via the data bus (2) of the communication system (1). (7), the application program (5) of the first subscriber node (3) copies the message (7) to be transmitted to a message memory (11, 12), and the message The message (7) to be transmitted is read from the memory (11, 12) by the communication controller (4) in response to the transmission command of the application program (5), and via the data bus (2). Transmitted in said method,
A transmission event for a transmitted or transmitted message (7) is stored in at least one transmission event memory (13) that is functionally distinct from the message memory (11, 12), and the application program ( 5) Ri always accessible der the transmission events stored in the transmission event memory (13),
The transmission event memory (13) is configured as a part of the message memory (11, 12),
Method according to claim 1, characterized in that the size of the transmission event memory (13) can be set by setting bits .
JP2011507848A 2008-05-05 2009-03-05 A subscriber node of a communication system with a functionally distinct transmission event memory Active JP5237438B2 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
DE102008001548.2 2008-05-05
DE102008001548.2A DE102008001548B4 (en) 2008-05-05 2008-05-05 Subscriber node of a communication system, communication system and method for transmitting a message in the communication system
PCT/EP2009/052578 WO2009135707A1 (en) 2008-05-05 2009-03-05 Subscriber nodes of a communication system having a functionally separate transmission event memory

Publications (2)

Publication Number Publication Date
JP2011520368A JP2011520368A (en) 2011-07-14
JP5237438B2 true JP5237438B2 (en) 2013-07-17

Family

ID=40671353

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011507848A Active JP5237438B2 (en) 2008-05-05 2009-03-05 A subscriber node of a communication system with a functionally distinct transmission event memory

Country Status (7)

Country Link
US (1) US8732374B2 (en)
EP (1) EP2294763A1 (en)
JP (1) JP5237438B2 (en)
CN (1) CN102100037B (en)
DE (1) DE102008001548B4 (en)
RU (1) RU2537811C2 (en)
WO (1) WO2009135707A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012080379A (en) * 2010-10-04 2012-04-19 Renesas Electronics Corp Semiconductor data processing device and data processing system
NL1039562C2 (en) * 2012-04-24 2013-10-28 Fusion Electronics B V METHOD, CONTROL, MESSAGE RECEPTION MODULE, DATA MESSAGE FORMAT AND NETWORK PROTOCOL FOR AN AGRICULTURAL SYSTEM.
DE102017208836A1 (en) * 2017-05-24 2018-11-29 Wago Verwaltungsgesellschaft Mbh Status signal output
CN107153412B (en) * 2017-06-16 2019-09-03 北方电子研究院安徽有限公司 A kind of CAN controller circuit with transmission FIFO
DE102019205488A1 (en) * 2019-04-16 2020-10-22 Robert Bosch Gmbh Subscriber station for a serial bus system and method for communication in a serial bus system

Family Cites Families (33)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2087610B (en) * 1980-10-13 1984-08-08 Multiform Electronics Ltd Communications systems
US4827409A (en) * 1986-07-24 1989-05-02 Digital Equipment Corporation High speed interconnect unit for digital data processing system
JP2559394B2 (en) * 1987-02-16 1996-12-04 株式会社日立製作所 Communication control device
DE69232645T2 (en) * 1991-03-29 2003-04-03 Mitsubishi Denki K.K., Tokio/Tokyo communication device
JPH04313936A (en) * 1991-03-29 1992-11-05 Mitsubishi Electric Corp Communication equipment
JP2731878B2 (en) * 1992-02-18 1998-03-25 三菱電機株式会社 Communication device
US5548796A (en) * 1993-11-02 1996-08-20 National Semiconductor Corporation Method of automatic retransmission of frames in a local area network
CA2207791C (en) * 1994-12-13 2000-02-22 Novell, Inc. Method and apparatus to update or change a network directory
US6112268A (en) * 1997-06-16 2000-08-29 Matsushita Electric Industrial Co., Ltd. System for indicating status of a buffer based on a write address of the buffer and generating an abort signal before buffer overflows
US6968405B1 (en) * 1998-07-24 2005-11-22 Aristocrat Leisure Industries Pty Limited Input/Output Interface and device abstraction
JP2000134238A (en) * 1998-10-27 2000-05-12 Matsushita Electric Ind Co Ltd Communication equipment
US6560652B1 (en) * 1998-11-20 2003-05-06 Legerity, Inc. Method and apparatus for accessing variable sized blocks of data
FR2787267B1 (en) * 1998-12-14 2001-02-16 France Telecom DEVICE AND METHOD FOR PROCESSING A SEQUENCE OF INFORMATION PACKETS
US6647440B1 (en) * 1999-09-15 2003-11-11 Koninklijke Philips Electronics N.V. End-of-message handling and interrupt generation in a CAN module providing hardware assembly of multi-frame CAN messages
US6574770B1 (en) * 2000-06-29 2003-06-03 Lucent Technologies Inc. Error-correcting communication method for transmitting data packets in a network communication system
JP4313936B2 (en) 2000-08-17 2009-08-12 太平洋セメント株式会社 Method and apparatus for producing fired product
TW559702B (en) 2000-08-31 2003-11-01 Nippon Telegraph & Telephone File transfer system, apparatus, method and computer readable medium storing file transfer program
US6976072B2 (en) * 2001-03-30 2005-12-13 Sharp Laboratories Of America, Inc. Method and apparatus for managing job queues
CN1381982A (en) * 2001-04-20 2002-11-27 爱达数码科技(杭州)有限公司 Telephone set
US6757776B1 (en) * 2002-07-17 2004-06-29 Cypress Semiconductor Corp. Control transaction handling in a device controller
US20050024664A1 (en) * 2003-07-30 2005-02-03 Schmidt William Randolph Printer formatter with print server
US7243172B2 (en) * 2003-10-14 2007-07-10 Broadcom Corporation Fragment storage for data alignment and merger
JP4536361B2 (en) * 2003-11-28 2010-09-01 株式会社日立製作所 Data transfer apparatus, storage device control apparatus, and storage device control apparatus control method
CN1705295A (en) 2004-05-29 2005-12-07 华为技术有限公司 Packet transmission system having priority and method therefor
EP2615160A1 (en) 2004-10-06 2013-07-17 Universal Bio Research Co., Ltd. Reaction vessel and reaction controller
RU2305374C1 (en) * 2005-12-14 2007-08-27 Ставропольский военный институт связи ракетных войск Method for hybrid commutation and adaptive routing and device for realization of the method
WO2007091128A1 (en) * 2006-02-09 2007-08-16 Freescale Semiconductor, Inc. A method for exchanging information with physical layer component registers
WO2008078582A1 (en) * 2006-12-22 2008-07-03 Canon Kabushiki Kaisha Fixing member, method for producing the same, fixing device using the same, and electrophotographic image-forming device
JP5036406B2 (en) * 2007-05-30 2012-09-26 エイチジーエスティーネザーランドビーブイ Content data management system and method
US8159709B2 (en) * 2008-03-31 2012-04-17 Konica Minolta Laboratory U.S.A., Inc. Method for canceling a print job submitted to a printer
JP5136610B2 (en) * 2010-08-06 2013-02-06 ブラザー工業株式会社 Terminal device and computer program
CN102347778B (en) * 2011-08-05 2014-01-22 中国舰船研究设计中心 Self-adapting interference cancellation device and debugging method thereof
JP5547148B2 (en) * 2011-09-13 2014-07-09 株式会社東芝 Memory device

Also Published As

Publication number Publication date
DE102008001548B4 (en) 2017-03-02
EP2294763A1 (en) 2011-03-16
CN102100037A (en) 2011-06-15
JP2011520368A (en) 2011-07-14
RU2537811C2 (en) 2015-01-10
RU2010149264A (en) 2012-06-20
CN102100037B (en) 2018-01-09
WO2009135707A1 (en) 2009-11-12
US20110167188A1 (en) 2011-07-07
US8732374B2 (en) 2014-05-20
DE102008001548A1 (en) 2009-11-12

Similar Documents

Publication Publication Date Title
KR960015862B1 (en) Data transmission method and apparatus
US7801173B2 (en) Communication message conversion apparatus and communication message conversion method
JP5199399B2 (en) Method and filter arrangement for storing information about messages arriving at a subscriber of the network via a serial data bus of the communication network
JP3115322B2 (en) How the message is formed
JP4612094B2 (en) Gateway for automatic routing of messages between buses
WO2014057643A1 (en) Relay device
US10153825B2 (en) Vehicle-mounted control device
JP5222002B2 (en) In-vehicle relay connection unit
JP5237438B2 (en) A subscriber node of a communication system with a functionally distinct transmission event memory
EP1014643B1 (en) Network interface unit
KR102303424B1 (en) Direct memory access control device for at least one processing unit having a random access memory
EP3641230B1 (en) Control apparatus
JP5728043B2 (en) Gateway device
JP3713977B2 (en) Real-time distributed system
JP4361540B2 (en) Gateway device, data transfer method, and program
EP0222584A2 (en) A bridge for and a method for routeing signals between local area networks
JP2006253922A (en) Gateway apparatus and data transfer method for the gateway apparatus
JPH09247192A (en) Real time communication system
JP3217397B2 (en) Data transmission method of communication control device
JP3034405B2 (en) Local area network device
WO2024190421A1 (en) In-vehicle relay device, relay method, and relay program
JPH0974410A (en) Communication relay device
JP2004350138A (en) Data relaying apparatus and multiplex communication system
EP0470320B1 (en) Mechanism for performing the steady state and error recovery functions of a communication protocol
JP3154626B2 (en) Serial transmission device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120731

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120821

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20121121

A602 Written permission of extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A602

Effective date: 20121129

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130125

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: 20130226

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130328

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 5237438

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20160405

Year of fee payment: 3

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

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

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