JP2000134238A - Communication equipment - Google Patents

Communication equipment

Info

Publication number
JP2000134238A
JP2000134238A JP10305852A JP30585298A JP2000134238A JP 2000134238 A JP2000134238 A JP 2000134238A JP 10305852 A JP10305852 A JP 10305852A JP 30585298 A JP30585298 A JP 30585298A JP 2000134238 A JP2000134238 A JP 2000134238A
Authority
JP
Japan
Prior art keywords
communication
data
network
transmission
volatile memory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP10305852A
Other languages
Japanese (ja)
Inventor
Akihiro Kaneita
板 晃 宏 兼
Masahiro Osone
曽 根 雅 浩 大
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP10305852A priority Critical patent/JP2000134238A/en
Publication of JP2000134238A publication Critical patent/JP2000134238A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To analyze the cause of a communication fault in each communication equipment connected to a network in the case that the communication fault is generated. SOLUTION: This communication equipment is provided with a communication controller 12 for controlling data transmission and reception with the other communication equipment 16 and 17 through the network 18, a volatile memory 13 for storing transmitted and received data, a nonvolatile memory 14 and a CPU 15 for controlling the communication controller. By logging the flow of commands, data and statuses, etc., on the network in the volatile memory 13 at all times and transferring the stream of the commands, the data and the statuses, etc., on the network logged in the volatile memory 13 to the nonvolatile memory 14 when a fault is generated, the cause analysis of the communication fault is easily executed later in each communication equipment connected to the network.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、ネットワークに接
続された複数の通信装置、例えば自動車等の現在位置を
地図とともに表示する走行位置表示装置(ナビゲーショ
ン装置)と、その他の車載用情報機器装置との間の通信
を行う通信装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a travel position display device (navigation device) for displaying a current position of a plurality of communication devices connected to a network, for example, a car, etc. together with a map, and other information devices for a vehicle. The present invention relates to a communication device that performs communication between the devices.

【0002】[0002]

【従来の技術】図14は従来のこの種の車載用通信装置
の概要を示している。図14において、1は通信装置全
体を示す。2は通信コントローラであり、ネットワーク
8に接続されて、通信プロトコルの物理層とデータリン
ク層を実現するものである。3はデータの読み出し書き
込み可能な揮発性メモリ、4はネットワーク8の障害情
報等をバックアップする不揮発性メモリ、5は通信装置
1の各部を制御するとともに、各種の演算を行うCPU
(中央演算処理装置)である。6、7は同様な構成の通
信装置であり、ネットワーク8により相互に接続されて
いる。
2. Description of the Related Art FIG. 14 shows an outline of a conventional vehicle-mounted communication device of this kind. In FIG. 14, reference numeral 1 denotes the entire communication device. A communication controller 2 is connected to the network 8 and implements a physical layer and a data link layer of a communication protocol. Reference numeral 3 denotes a volatile memory capable of reading and writing data, 4 a non-volatile memory for backing up fault information of the network 8 and the like, and 5 a CPU for controlling various parts of the communication device 1 and performing various operations.
(Central processing unit). Communication devices 6 and 7 have the same configuration and are mutually connected by a network 8.

【0003】CPU5は、通信コントローラ2の制御を
行い、揮発性メモリ3からデータを読み出し、通信コン
トローラ2を介してネットワーク8に接続された他の通
信装置6、7に対してデータを送信する。ネットワーク
8に接続された他の通信装置6、7から送出されたデー
タは、通信コントローラ2を介して受信され、その受信
データは、揮発性メモリ3に書き込まれる。ネットワー
ク8へのデータ送出中または受信中に何等かのネットワ
ーク上の通信障害が発生した場合、通信コントローラ2
からCPU5に障害が発生したことが通知され、CPU
5は、その障害復旧処理を実行する。この障害復旧処理
を実行しても通信障害がなくならない場合には、障害情
報として、その通信障害が発生した時刻、障害の種類、
障害の内容等を不揮発性メモリ4に書き込む。この障害
情報を不揮発性メモリ4から読み出すことにより、後で
ネットワーク8のメンテナンスや通信障害解析等が可能
となる。
[0005] The CPU 5 controls the communication controller 2, reads data from the volatile memory 3, and transmits the data to other communication devices 6 and 7 connected to the network 8 via the communication controller 2. Data transmitted from the other communication devices 6 and 7 connected to the network 8 is received via the communication controller 2, and the received data is written to the volatile memory 3. If any communication failure on the network occurs during transmission or reception of data to the network 8, the communication controller 2
Notifies the CPU 5 that a failure has occurred,
5 executes the failure recovery processing. If the communication failure does not disappear even after performing the failure recovery processing, the time when the communication failure occurred, the type of the failure,
The contents of the failure and the like are written in the nonvolatile memory 4. By reading this fault information from the non-volatile memory 4, maintenance of the network 8, analysis of communication faults, and the like can be performed later.

【0004】通信コントローラ2は、他の装置6、7か
らデータを受信すると、CPU5に受信割り込みを通知
し、CPU5は、受信データを通信コントローラ2から
揮発性メモリ3に取り込み、他の装置6、7からの受信
データを取得することができる。データを他の装置6、
7に送信する場合は、CPU5は、通信コントローラ2
に送信開始コマンドを送り、揮発性メモリ3から通信コ
ントローラ2にデータ転送を行い、通信コントローラ2
は、他の装置6、7にデータを送信する。
When the communication controller 2 receives data from the other devices 6 and 7, it notifies the CPU 5 of a reception interrupt, and the CPU 5 fetches the received data from the communication controller 2 into the volatile memory 3. 7 can be obtained. The data to another device 6,
7 is transmitted to the communication controller 2.
To the communication controller 2 to transfer data from the volatile memory 3 to the communication controller 2.
Sends data to the other devices 6,7.

【0005】不揮発性メモリ4は、CPU5のバックア
ップ情報を格納しておくために通常使用されるもので、
通信処理では、例えば、自装置のID情報等を格納す
る。不揮発性メモリ4は、バックアップ電源によりバッ
クアップされているため、過去に発生した事象や情報を
常に記憶しておきたい場合に使用されることが多く、過
去に発生した障害情報を記憶しておき、後のネットワー
クのメンテナンスや障害解析の参考にすることができ
る。通常記憶する障害情報は、その障害が発生した時刻
やその障害の種類、障害の内容等がある。障害の内容
は、通信コントローラのエラー情報やエラーコード等を
記憶する場合が多い。
[0005] The nonvolatile memory 4 is normally used for storing backup information of the CPU 5.
In the communication processing, for example, ID information of the own device is stored. Since the non-volatile memory 4 is backed up by a backup power supply, it is often used when it is desired to always store events and information that have occurred in the past. It can be used as a reference for later network maintenance and failure analysis. The fault information normally stored includes the time at which the fault occurred, the type of the fault, the content of the fault, and the like. The content of the failure often stores error information or an error code of the communication controller.

【0006】このようにして、従来の通信装置では、ネ
ットワークの通信障害情報として、障害発生時刻、障害
の種類、障害の内容等の情報を格納して、後でネットワ
ークのメンテナンスや通信障害の解析に役立てることが
できるようになっている。
As described above, in the conventional communication apparatus, information such as the time of occurrence of a failure, the type of the failure, and the content of the failure is stored as communication failure information of the network, and network maintenance and analysis of the communication failure are performed later. Can be used to help.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、上記従
来の通信装置では、通信障害の解析に使用できる情報が
障害発生時刻、障害の種類、障害の内容等程度であり、
障害の原因を解析するためには情報が不足していた。そ
こで、通信障害が発生した時の事象を推測し、その事象
を再現させて、その時のネットワーク上のコマンド、デ
ータ、ステータス等の流れをネットワークモニタで取得
し、通信障害の原因を解析するという方法が一般に取ら
れているが、個々の通信装置ではそれができないという
問題があった。
However, in the above-mentioned conventional communication apparatus, the information that can be used for analyzing the communication failure is the failure occurrence time, the type of the failure, the content of the failure, and the like.
There was insufficient information to analyze the cause of the failure. Therefore, a method of estimating the event when a communication failure occurs, reproducing the event, obtaining the flow of commands, data, status, etc. on the network at that time with a network monitor, and analyzing the cause of the communication failure. However, there has been a problem that individual communication devices cannot do this.

【0008】本発明は、このような従来の問題を解決す
るものであり、通信障害が発生した場合に、ネットワー
クに接続された個々の通信装置において、通信障害の原
因を解析することのできる通信装置を提供することを目
的とする。
The present invention solves such a conventional problem. When a communication failure occurs, a communication apparatus capable of analyzing the cause of the communication failure in each communication device connected to the network. It is intended to provide a device.

【0009】[0009]

【課題を解決するための手段】本発明は、上記目的を達
成するために、ネットワーク上のコマンド、データ、ス
テータス等の流れを常に揮発性メモリにロギングしてお
き、障害発生時に揮発性メモリにロギングされていたネ
ットワーク上のコマンド、データ、ステータス等の流れ
を不揮発性メモリに転送することにより、後で通信障害
の原因解析をネットワークに接続された個々の通信装置
ができるようにしたものである。
According to the present invention, in order to achieve the above object, the flow of commands, data, status, etc. on a network is always logged in a volatile memory, and when a failure occurs, the volatile memory is stored in the volatile memory. By transferring the flow of logged commands, data, status, etc. on the network to the non-volatile memory, it is possible for each communication device connected to the network to analyze the cause of the communication failure later. .

【0010】[0010]

【発明の実施の形態】本発明の請求項1に記載された発
明は、ネットワークを通じて他の通信装置との間のデー
タ送受信制御を行う通信コントローラと、送受信したデ
ータを蓄える揮発性メモリと、ネットワーク上の通信障
害情報を蓄える不揮発性メモリと、前記通信コントロー
ラを制御して揮発性メモリおよび不揮発性メモリに対す
るデータの読み出し書き込みを制御するCPUとを備
え、前記CPUが、ネットワーク上に送出されるコマン
ドおよびネットワークから受信するコマンド等を前記揮
発性メモリにロギングする機能を有し、通信障害発生時
に障害情報を不揮発性メモリに書き込むとともに、揮発
性メモリに取得していたロギングデータを不揮発性メモ
リに転送し、障害情報とともにその時のネットワーク上
で通信されたデータを収集することを特徴とする通信装
置であり、通信障害発生時のコマンド、データ、ステー
タス等のロギングデータを不揮発性メモリに記憶するこ
とにより、ネットワーク上やアプリケーションレベルで
の通信障害の原因解析を、ネットワークに接続された個
々の通信装置で容易に行うことができるという作用を有
する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention according to claim 1 of the present invention provides a communication controller for controlling data transmission / reception with another communication device via a network, a volatile memory for storing transmitted / received data, A non-volatile memory storing the above communication failure information, and a CPU controlling the communication controller to control reading and writing of data to and from the volatile memory and the non-volatile memory, wherein the CPU transmits a command transmitted over a network. And has a function of logging commands received from the network to the volatile memory. When a communication failure occurs, the failure information is written to the nonvolatile memory, and the logging data obtained in the volatile memory is transferred to the nonvolatile memory. And the data transmitted on the network at that time along with the fault information It is a communication device characterized by collecting, logging data such as command, data, status at the time of communication failure occurrence in non-volatile memory, to analyze the cause of communication failure on the network or application level, This has the effect that it can be easily performed by individual communication devices connected to the network.

【0011】本発明の請求項2に記載の発明は、ロギン
グデータが、転送元装置情報、転送先装置情報、送受信
の区別、送信または受信コマンド、送受信結果である通
信コントローラの送受信ステータス、受信データの内容
判定結果を含む請求項1記載の通信装置であり、通信障
害の原因解析を容易に行えるという作用を有する。
According to a second aspect of the present invention, the logging data includes source device information, destination device information, transmission / reception distinction, transmission / reception command, transmission / reception status of a communication controller which is a transmission / reception result, and reception data. 2. The communication device according to claim 1, wherein the communication device includes a result of the content determination of (1), and has an operation of easily performing a cause analysis of a communication failure.

【0012】(実施の形態)以下、本発明の実施の形態
を図面を参照して説明する。図1は本発明の実施の形態
における車載用通信装置の概要を示している。図1にお
いて、11は通信装置全体を示す。12は通信コントロ
ーラであり、ネットワーク18に接続されて、通信プロ
トコルの物理層とデータリンク層を実現するものであ
る。13はデータの読み出し書き込み可能な揮発性メモ
リ、14はネットワーク18の障害情報等をバックアッ
プする不揮発性メモリ、15は通信装置11の各部を制
御するとともに、各種の演算を行うCPU(中央演算処
理装置)である。16、17は同様な構成の通信装置で
あり、ネットワーク18により相互に接続されている。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 shows an outline of a vehicle-mounted communication device according to an embodiment of the present invention. In FIG. 1, reference numeral 11 denotes the entire communication device. A communication controller 12 is connected to the network 18 and implements a physical layer and a data link layer of a communication protocol. 13 is a volatile memory capable of reading and writing data, 14 is a non-volatile memory for backing up failure information of the network 18 and the like, 15 is a CPU (Central Processing Unit) that controls various parts of the communication device 11 and performs various calculations. ). Communication devices 16 and 17 have the same configuration, and are interconnected by a network 18.

【0013】CPU15は、通信コントローラ12の制
御を行い、揮発性メモリ13からデータを読み出し、通
信コントローラ12を介してネットワーク18に接続さ
れた他の通信装置16、17に対してデータを送信す
る。ネットワーク18に接続された他の通信装置16、
17から送出されたデータは、通信コントローラ12を
介して受信され、その受信データは、揮発性メモリ13
に書き込まれる。ネットワーク18へのデータ送出中ま
たは受信中に何等かのネットワーク上の通信障害が発生
した場合、通信コントローラ12からCPU15に障害
が発生したことが通知され、CPU15は、その障害復
旧処理を実行する。この障害復旧処理を実行しても通信
障害がなくならない場合には、障害情報として、その通
信障害が発生した時刻、障害の種類、障害の内容等を不
揮発性メモリ14に書き込む。この障害情報を不揮発性
メモリ14から読み出すことにより、後でネットワーク
18のメンテナンスや通信障害解析等が可能となる。
The CPU 15 controls the communication controller 12, reads data from the volatile memory 13, and transmits the data to other communication devices 16 and 17 connected to the network 18 via the communication controller 12. Other communication devices 16 connected to the network 18,
17 is received via the communication controller 12 and the received data is stored in the volatile memory 13.
Is written to. If any communication failure on the network occurs during data transmission or reception to the network 18, the communication controller 12 notifies the CPU 15 that a failure has occurred, and the CPU 15 executes the failure recovery process. If the communication failure does not disappear even after executing the failure recovery processing, the time at which the communication failure occurred, the type of the failure, the content of the failure, and the like are written in the nonvolatile memory 14 as failure information. By reading the fault information from the non-volatile memory 14, maintenance of the network 18 and communication fault analysis can be performed later.

【0014】通信コントローラ12は、他の装置16、
17からデータを受信すると、CPU15に受信割り込
みを通知し、CPU15は、受信データを通信コントロ
ーラ12から揮発性メモリ13に取り込み、他の装置1
6、17からの受信データを取得することができる。デ
ータを他の装置16、17に送信する場合は、CPU1
5は、通信コントローラ12に送信開始コマンドを送
り、揮発性メモリ13から通信コントローラ12にデー
タ転送を行い、通信コントローラ12は、他の装置1
6、17にデータを送信する。
The communication controller 12 includes other devices 16,
When receiving data from the communication device 17, the CPU 15 notifies the CPU 15 of a reception interrupt, and the CPU 15 takes the received data from the communication controller 12 into the volatile memory 13 and
It is possible to acquire the received data from 6, 17. When transmitting data to the other devices 16 and 17, the CPU 1
5 transmits a transmission start command to the communication controller 12 to perform data transfer from the volatile memory 13 to the communication controller 12, and the communication controller 12
The data is transmitted to 6 and 17.

【0015】不揮発性メモリ14は、CPU15のバッ
クアップ情報を格納しておくために通常使用されるもの
で、通信処理では、例えば、自装置のID情報等を格納
する。不揮発性メモリ14は、バックアップ電源により
バックアップされているため、過去に発生した事象や情
報を常に記憶しておきたい場合に使用されることが多
く、過去に発生した障害情報を記憶しておき、後のネッ
トワークのメンテナンスや障害解析の参考にすることが
できる。以上が通信装置11の一般的な動作である。
The non-volatile memory 14 is normally used for storing backup information of the CPU 15, and stores, for example, ID information of its own device in communication processing. Since the nonvolatile memory 14 is backed up by a backup power supply, it is often used when it is desired to always store events and information that have occurred in the past. It can be used as a reference for later network maintenance and failure analysis. The general operation of the communication device 11 has been described above.

【0016】次に、本実施の形態における送信動作につ
いて、図2のフローを用いて説明する。図2において、
通信装置15からネットワーク18に接続される他の通
信装置16、17に対して送信要求が発生すると(S
1)、まず、その送信するコマンドや送信データを揮発
性メモリ13に記録する(S2)。そして通信コントロ
ーラ12に対して送信コマンドを発行し(S3)、送信
コマンドや送信データを送信相手先の通信装置に送出す
る。通信コントローラ12が送信の終了を通知してくる
まで待ち状態になる(S4)。通信コントローラ12が
送信終了を通知してくると、その送信結果であるステー
タスを通信コントローラから読み出す(S5)。そし
て、その送信ステータスを送信コマンドや送信データを
記録した後の揮発性メモリ13に記録する(S6)。送
信結果である通信コントローラ12の送信ステータスが
正常の場合は、送信処理は終了する(S7)。これによ
って、送信処理を行った時の送信コマンド、送信デー
タ、送信ステータスが、揮発性メモリ13にログデータ
として記録することができる。送信結果である通信コン
トローラ12の送信ステータスが異常の場合は、送信エ
ラーが発生したとして、これまで記録していゆbdログデ
ータを揮発性メモリ13から不揮発性メモリ14へ転送
する(S8)。不揮発性メモリ14へ転送することによ
って、エラー発生時のログデータがバックアップされる
こととなり、後からこのデータを読み出すことが可能と
なる。これにより、送信エラー発生時の障害解析の作業
を容易にすることが可能となる。
Next, the transmission operation in the present embodiment will be described using the flow of FIG. In FIG.
When a transmission request is issued from the communication device 15 to the other communication devices 16 and 17 connected to the network 18 (S
1) First, the command to be transmitted and transmission data are recorded in the volatile memory 13 (S2). Then, a transmission command is issued to the communication controller 12 (S3), and the transmission command and the transmission data are transmitted to the destination communication device. It waits until the communication controller 12 notifies the end of transmission (S4). When the communication controller 12 notifies the end of transmission, the status as the transmission result is read from the communication controller (S5). Then, the transmission status is recorded in the volatile memory 13 after recording the transmission command and the transmission data (S6). If the transmission status of the communication controller 12 as the transmission result is normal, the transmission process ends (S7). Thus, the transmission command, transmission data, and transmission status at the time of performing the transmission processing can be recorded in the volatile memory 13 as log data. If the transmission status of the communication controller 12 as the transmission result is abnormal, it is determined that a transmission error has occurred, and the bd log data recorded so far is transferred from the volatile memory 13 to the nonvolatile memory 14 (S8). By transferring the log data to the nonvolatile memory 14, the log data at the time of occurrence of the error is backed up, and this data can be read out later. As a result, it becomes possible to easily perform the work of failure analysis when a transmission error occurs.

【0017】次に、本実施の形態における受信動作につ
いて図3のフロー図を用いて説明する。通信装置11
が、ネットワーク18に接続された他の通信装置16、
17から受信通知を受けた場合(R1)、通信コントロ
ーラ12から受信データの読み出しを行う(R2)。そ
して、受信データを揮発性メモリ13に記録する(R
3)。通信コントローラ12からその時の受信結果であ
る受信ステータスの読み出しを行い(R4)、その受信
ステータスを記録した受信データの後の揮発性メモリ1
3に記録する(R5)。受信結果である通信コントロー
ラ12の受信ステータスが正常の場合、すなわち受信エ
ラーが発生しない場合は(R6)、受信データの内容が
正常か異常かの判定を行う(R8)。受信データの判定
は、ネットワーク18の転送路上では通信障害は発生し
ておらず、アプリケーションのレベルで異常があった場
合もログデータを取ることを可能にするために、受信デ
ータの内容の判定処理を入れている。受信データの判定
が正常の場合は、受信処理を終了する。これによって、
ネットワーク18に接続された他の通信装置16、17
からの受信時に、受信データと受信ステータスのログデ
ータを揮発性メモリ13に取得することが我c2能とな
る。
Next, the receiving operation in the present embodiment will be described with reference to the flowchart of FIG. Communication device 11
Are the other communication devices 16 connected to the network 18,
When receiving the reception notification from the communication controller 17 (R1), the communication controller 12 reads the received data (R2). Then, the received data is recorded in the volatile memory 13 (R
3). The reception status as the reception result at that time is read from the communication controller 12 (R4), and the volatile memory 1 after the reception data in which the reception status is recorded is read.
3 (R5). If the reception status of the communication controller 12 as the reception result is normal, that is, if no reception error occurs (R6), it is determined whether the content of the reception data is normal or abnormal (R8). The determination of the received data is performed by determining the contents of the received data so that log data can be obtained even when a communication failure has not occurred on the transfer path of the network 18 and there is an abnormality at the application level. Has been put. If the determination of the received data is normal, the receiving process ends. by this,
Other communication devices 16 and 17 connected to the network 18
It is necessary to acquire the reception data and the log data of the reception status in the volatile memory 13 when receiving from the server.

【0018】通信コントローラからの受信結果である受
信ステータスが異常の場合は、受信エラーが発生したと
して(R6)、これまで記録していたログデータを揮発
性メモリ13から不揮発性メモリ14へ転送する(R
7)。不揮発性メモリ14へ転送することによって、エ
ラー発生時のログデータがバックアップされることとな
り、後からこのデータを読み出すことが可能となる。こ
れにより、受信エラー発生時の障害解析の作業を容易に
することが可能となる。また、通信コントローラ12か
らの受信結果である受信ステータスは正常であったが、
受信データの内容が異常であった場合は、受信ステータ
スが異常の場合と同様に、これまで記録していたログデ
ータを揮発性メモリ13から不揮発性メモリ14へ転送
する(R97)。これにより、アプリケーションレベル
でのエラー発生時のログデータがバックアップされるこ
とになり、後からこのデータを読み出すことが可能とな
る。そして、アプリケーションでのエラー発生時の障害
解析の作業を容易にすることが可能となる。
If the reception status as a result of reception from the communication controller is abnormal, it is determined that a reception error has occurred (R6), and the log data recorded so far is transferred from the volatile memory 13 to the nonvolatile memory 14. (R
7). By transferring the log data to the nonvolatile memory 14, the log data at the time of occurrence of the error is backed up, and this data can be read out later. As a result, it is possible to easily perform a failure analysis operation when a reception error occurs. Also, the reception status as a reception result from the communication controller 12 was normal,
If the content of the received data is abnormal, the log data recorded so far is transferred from the volatile memory 13 to the nonvolatile memory 14 as in the case of the abnormal reception status (R97). As a result, log data at the time of occurrence of an error at the application level is backed up, and this data can be read out later. Then, it is possible to facilitate the work of failure analysis when an error occurs in the application.

【0019】次に、通信障害発生時の具体例について説
明する。図4はネットワークの伝送路上での通信障害で
ある送信エラー発生時のシーケンスの一例を示してい
る。通信装置A、B、Cの3台の通信装置がネットワー
ク上に接続されている場合を示している。シーケンス
は、通信装置Aから要求コマンドを通信装置Bに対して
送出し、その応答コマンドを通信装置Bが通信装置Aに
対して送出し、その後、通信装置Cから通信装置Aが通
知コマンドを受信し、通信装置Aが要求コマンドを通信
装置Cに対して送出した時に送信エラーが発生した場合
である。この時の通信装置Aの揮発性メモリに記録され
ているログデータを図5に示す。記録するログデータの
種別は、転送元装置情報、転送先装置情報、送受信の区
別、送信または受信コマンド(この中には送信または受
信データも含まれる。)、そして送受信結果である通信
コントローラの送受信ステータス、受信データの内容判
定結果を、一例としてログデータに記録している。同様
に、図6、図7はそれぞれ通信装置B、通信装置Cに記
録されたログデータを示している。
Next, a specific example when a communication failure occurs will be described. FIG. 4 shows an example of a sequence when a transmission error, which is a communication failure on a network transmission path, occurs. This shows a case where three communication devices A, B, and C are connected on a network. In the sequence, the communication device A sends a request command to the communication device B, the communication device B sends a response command to the communication device A, and then the communication device A receives a notification command from the communication device C. However, a transmission error occurs when the communication device A sends a request command to the communication device C. FIG. 5 shows log data recorded in the volatile memory of the communication device A at this time. The types of log data to be recorded include transfer source device information, transfer destination device information, transmission / reception distinction, transmission / reception command (including transmission / reception data), and transmission / reception of a communication controller as a transmission / reception result. The status and the result of the content determination of the received data are recorded in log data as an example. 6 and 7 show log data recorded in the communication devices B and C, respectively.

【0020】図8は通信装置Aで送信エラーが発生した
ため、揮発性メモリから不揮発性メモリへログデータの
転送が行われたことを示す図である。ここでは、揮発性
メモリと全く同じ内容を不揮発性メモリへ転送してい
る。これにより、不揮発性メモリに送信エラー発生時の
直前の通信ログデータが格納され、通信障害の障害解析
作業を容易にすることが可能である。
FIG. 8 is a diagram showing that log data has been transferred from a volatile memory to a nonvolatile memory because a transmission error has occurred in the communication device A. Here, exactly the same contents as the volatile memory are transferred to the nonvolatile memory. As a result, the communication log data immediately before the transmission error occurs is stored in the nonvolatile memory, and it is possible to easily perform a failure analysis operation of the communication failure.

【0021】図9はアプリケーションレベルでの通信障
害である応答データのデータ異常発生時のシーケンスの
一例を示している。通信装置A、B、Cの3台の通信装
置がネットワーク上に接続されている場合を示してい
る。シーケンスは、通信装置Aから要求コマンドを通信
装置Bに対して送出し、その応答コマンドを通信装置B
が通信装置Aに対して送出し、その後、通信装置Cから
通信装置Aが通知コマンドを受信し、通信装置Aが要求
コマンドを通信装置Cに対して送出し、その応答データ
を通信装置Cから通信装置Aに送出したが、その応答デ
ータの内容がデータ異常であった場合である。この時の
通信装置Aの揮発性メモリに記録されているログデータ
を図10に示す。記録するログデータの種別は、転送元
装置情報、転送先装置情報、送受信の区別、送信または
受信コマンド(この中には送信または受信データも含ま
れる。)、そして送受信結果である通信コントローラの
送受信ステータス、受信データの内容判定結果を、一例
としてログデータに記録している。同様に、図11、図
12はそれぞれ通信装置B、通信装置Cに記録されたロ
グデータを示している。
FIG. 9 shows an example of a sequence at the time of occurrence of a data error in response data as a communication failure at the application level. This shows a case where three communication devices A, B, and C are connected on a network. In the sequence, a request command is transmitted from the communication device A to the communication device B, and the response command is transmitted to the communication device B.
Sends a notification command from the communication device C, the communication device A receives a notification command from the communication device C, the communication device A sends a request command to the communication device C, and sends response data from the communication device C to the communication device C. This is a case where the response data is sent to the communication device A but the content of the response data is abnormal. FIG. 10 shows log data recorded in the volatile memory of the communication device A at this time. The types of log data to be recorded include transfer source device information, transfer destination device information, transmission / reception distinction, transmission / reception command (including transmission / reception data), and transmission / reception of a communication controller as a transmission / reception result. The status and the result of the content determination of the received data are recorded in log data as an example. Similarly, FIGS. 11 and 12 show log data recorded in the communication devices B and C, respectively.

【0022】図13は通信装置Aでアプリケーションレ
ベルでのエラーが発生したため、揮発性メモリから不揮
発性メモリへログデータの転送が行われたことを示す図
である。ここでは、揮発性メモリと全く同じ内容を不揮
発性メモリへ転送している。これにより、不揮発性メモ
リに送信エラー発生時の直前の通信ログデータが格納さ
れ、通信障害の障害解析作業を容易にすることが可能で
ある。
FIG. 13 is a diagram showing that log data has been transferred from the volatile memory to the nonvolatile memory because an error occurred at the application level in the communication device A. Here, exactly the same contents as the volatile memory are transferred to the nonvolatile memory. As a result, the communication log data immediately before the transmission error occurs is stored in the nonvolatile memory, and it is possible to easily perform a failure analysis operation of the communication failure.

【0023】[0023]

【発明の効果】以上のように、本発明によれば、ネット
ワーク上のコマンド、データ、ステータス等の流れを常
に揮発性メモリにロギングしておき、障害発生時に揮発
性メモリにロギングされていたネットワーク上のコマン
ド、データ、ステータス等の流れを不揮発性メモリに転
送することにより、後で通信障害の原因解析をネットワ
ークに接続された個々の通信装置で容易に実施すること
ができる。
As described above, according to the present invention, the flow of commands, data, status, and the like on the network is always logged in the volatile memory, and the network is logged in the volatile memory when a failure occurs. By transferring the flow of the above commands, data, status, and the like to the non-volatile memory, the cause of the communication failure can be easily analyzed later by the individual communication devices connected to the network.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の実施の形態における通信装置とシステ
ム構成を示すブロック図
FIG. 1 is a block diagram showing a communication device and a system configuration according to an embodiment of the present invention.

【図2】実施の形態における送信処理動作を示すフロー
FIG. 2 is a flowchart showing a transmission processing operation in the embodiment.

【図3】実施の形態における受信処理動作を示すフロー
FIG. 3 is a flowchart showing a reception processing operation in the embodiment.

【図4】送信エラー発生時の一例を示す通信シーケンス
FIG. 4 is a communication sequence diagram showing an example when a transmission error occurs.

【図5】通信装置Aが記録するログデータの一例を示す
一覧図
FIG. 5 is a list showing an example of log data recorded by the communication device A;

【図6】通信装置Bが記録するログデータの一例を示す
一覧図
FIG. 6 is a list diagram showing an example of log data recorded by a communication device B;

【図7】通信装置Cが記録するログデータの一例を示す
一覧図
FIG. 7 is a list showing an example of log data recorded by the communication device C;

【図8】通信エラー発生時に揮発性メモリから不揮発性
メモリへ転送される通信装置Aのログデータの一例を示
す一覧図
FIG. 8 is a list showing an example of log data of the communication device A transferred from the volatile memory to the nonvolatile memory when a communication error occurs.

【図9】データエラー発生時の一例を示す通信シーケン
ス図
FIG. 9 is a communication sequence diagram showing an example when a data error occurs.

【図10】通信装置Aが記録するログデータの一例を示
す一覧図
FIG. 10 is a list showing an example of log data recorded by a communication device A;

【図11】通信装置Bが記録するログデータの一例を示
す一覧図
FIG. 11 is a list showing an example of log data recorded by a communication device B;

【図12】通信装置Cが記録するログデータの一例を示
す一覧図
FIG. 12 is a list showing an example of log data recorded by the communication device C;

【図13】データエラー発生時に揮発性メモリから不揮
発性メモリへ転送される通信装置Aのログデータの一例
を示す一覧図
FIG. 13 is a list showing an example of log data of the communication device A transferred from the volatile memory to the nonvolatile memory when a data error occurs.

【図14】従来例における通信装置とシステム構成を示
すブロック図
FIG. 14 is a block diagram showing a communication device and a system configuration in a conventional example.

【符号の説明】[Explanation of symbols]

11 通信装置 12 通信コントローラ 13 揮発性メモリ 14 不揮発性メモリ 15 CPU 16、17 他の通信装置 18 ネットワーク DESCRIPTION OF SYMBOLS 11 Communication apparatus 12 Communication controller 13 Volatile memory 14 Non-volatile memory 15 CPU 16, 17 Other communication apparatus 18 Network

フロントページの続き Fターム(参考) 5B089 GA04 GA25 GB01 HB11 JB10 JB17 KA12 KB03 KC28 KE01 MC03 MC05 5K032 AA06 BA06 DB19 DB22 DB24Continuation of the front page F term (reference) 5B089 GA04 GA25 GB01 HB11 JB10 JB17 KA12 KB03 KC28 KE01 MC03 MC05 5K032 AA06 BA06 DB19 DB22 DB24

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 ネットワークを通じて他の通信装置との
間のデータ送受信制御を行う通信コントローラと、送受
信したデータを蓄える揮発性メモリと、ネットワーク上
の通信障害情報を蓄える不揮発性メモリと、前記通信コ
ントローラを制御して揮発性メモリおよび不揮発性メモ
リに対するデータの読み出し書き込みを制御するCPU
とを備え、前記CPUが、ネットワーク上に送出される
コマンドおよびネットワークから受信するコマンド等を
前記揮発性メモリにロギングする機能を有し、通信障害
発生時に障害情報を不揮発性メモリに書き込むととも
に、揮発性メモリに取得していたロギングデータを不揮
発性メモリに転送し、障害情報とともにその時のネット
ワーク上で通信されたデータを収集することを特徴とす
る通信装置。
1. A communication controller for controlling data transmission / reception with another communication device via a network, a volatile memory for storing transmitted / received data, a nonvolatile memory for storing communication failure information on a network, and the communication controller Controlling read / write of data to / from volatile memory and nonvolatile memory by controlling CPU
The CPU has a function of logging a command transmitted over the network and a command received from the network to the volatile memory, and writes failure information to the nonvolatile memory when a communication failure occurs, A communication device for transferring logging data acquired in a volatile memory to a nonvolatile memory, and collecting data communicated on the network at that time together with fault information.
【請求項2】 ロギングデータが、転送元装置情報、転
送先装置情報、送受信の区別、送信または受信コマン
ド、送受信結果である通信コントローラの送受信ステー
タス、受信データの内容判定結果を含む請求項1記載の
通信装置。
2. The logging data includes transmission source device information, transfer destination device information, transmission / reception distinction, transmission / reception command, transmission / reception status of a communication controller which is a transmission / reception result, and a result determination result of reception data. Communication device.
JP10305852A 1998-10-27 1998-10-27 Communication equipment Pending JP2000134238A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10305852A JP2000134238A (en) 1998-10-27 1998-10-27 Communication equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10305852A JP2000134238A (en) 1998-10-27 1998-10-27 Communication equipment

Publications (1)

Publication Number Publication Date
JP2000134238A true JP2000134238A (en) 2000-05-12

Family

ID=17950147

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10305852A Pending JP2000134238A (en) 1998-10-27 1998-10-27 Communication equipment

Country Status (1)

Country Link
JP (1) JP2000134238A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011520368A (en) * 2008-05-05 2011-07-14 ローベルト ボッシュ ゲゼルシャフト ミット ベシュレンクテル ハフツング A subscriber node of a communication system with a functionally distinct transmission event memory
CN111656333A (en) * 2018-03-26 2020-09-11 株式会社富士 Slave device, work machine, and method of storing log information

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011520368A (en) * 2008-05-05 2011-07-14 ローベルト ボッシュ ゲゼルシャフト ミット ベシュレンクテル ハフツング A subscriber node of a communication system with a functionally distinct transmission event memory
US8732374B2 (en) 2008-05-05 2014-05-20 Robert Bosch Gmbh Subscriber node of a communication system having a functionally separate transmission event memory
CN111656333A (en) * 2018-03-26 2020-09-11 株式会社富士 Slave device, work machine, and method of storing log information
CN111656333B (en) * 2018-03-26 2024-01-30 株式会社富士 Slave device, working machine, and method of storing log information

Similar Documents

Publication Publication Date Title
CA2016191C (en) Method for control data base updating of a redundant processor in a process control system
US7921341B2 (en) System and method for reproducing memory error
US20050144513A1 (en) Computer system including active system and redundant system and state acquisition method
JP2000132413A (en) Error retry method, error retry system and its recording medium
JP2516906B2 (en) Data transmission device
JP2000134238A (en) Communication equipment
JPH09330106A (en) Control system with backup function
US4985894A (en) Fault information collection processing system
JPH06180676A (en) Computer system
JPH01155452A (en) System for confirming connection of data processing system
JPS6359638A (en) Error log system
JP2746150B2 (en) Cash processing machine
JPH08115237A (en) Printer diagnostic system
JPH05250104A (en) Information processor
JPH0689239A (en) Automatic extraction system for communication trace
JPH064363A (en) Session state log sampling device
JP3346424B2 (en) Terminal device with operation monitoring function
JP3068524B2 (en) Remote debugging system
JP2976897B2 (en) Data backup method for transmission equipment
JPS6156818B2 (en)
JP2001075842A (en) Method for analyzing abnormality cause
JP2778343B2 (en) Monitoring and control equipment
JPS62284440A (en) Software resource maintenance system for terminal equipment
JP2594848B2 (en) Data collection device
JPH09156508A (en) Distributed traffic control system