JP2009015757A - Abnormal state handling system in signal processor - Google Patents

Abnormal state handling system in signal processor Download PDF

Info

Publication number
JP2009015757A
JP2009015757A JP2007179442A JP2007179442A JP2009015757A JP 2009015757 A JP2009015757 A JP 2009015757A JP 2007179442 A JP2007179442 A JP 2007179442A JP 2007179442 A JP2007179442 A JP 2007179442A JP 2009015757 A JP2009015757 A JP 2009015757A
Authority
JP
Japan
Prior art keywords
volatile memory
program
processing
failure
routine
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.)
Withdrawn
Application number
JP2007179442A
Other languages
Japanese (ja)
Inventor
Hiroshi Yoshida
宏 吉田
Hiroyuki Suzuki
浩行 鈴木
Kenji Harada
健司 原田
Takashi Matsukawa
俊 松川
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2007179442A priority Critical patent/JP2009015757A/en
Publication of JP2009015757A publication Critical patent/JP2009015757A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To allow high-speed fault handling when a signal processor having a processor, a volatile memory, and a nonvolatile memory fails, in an abnormal state handling system in the signal processor. <P>SOLUTION: In the signal processor configured to connect, the nonvolatile memory which holds a program and a fault handling routine, and a volatile memory which copies the program and the fault handling routine from the nonvolatile memory to a system bus and perform processing by the program of the volatile memory, the system bus is provided with a bus monitoring circuit, and two interruption vectors for entering the fault handling routine when the fault occurs, the system is restarted by processing the fault handling routine of the nonvolatile memory when program destruction is detected by the bus monitoring circuit and processing of the fault handling routine of the volatile memory is executed when a fault except the program destruction is detected. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は移動通信の無線基地局のようにリアルタイムの信号処理を行う信号処理装置における異常状態処理方式に関する。   The present invention relates to an abnormal state processing method in a signal processing device that performs real-time signal processing, such as a mobile communication radio base station.

移動通信の無線基地局のようにリアルタイムの信号処理を行うプロセッサを搭載した信号処理装置において,プロセッサ障害処理に対して割り込みを契機に,システムの停止または復旧を行う機能を備え,異常ログの収集と格納処理を行う機能も備えている。   In a signal processing device equipped with a processor that performs real-time signal processing, such as a radio base station for mobile communications, it has a function to stop or restore the system when interrupted for processor failure processing, and collects error logs And a function to perform storage processing.

従来のシステムでは,プロセッサが異常を検出してその要因による障害処理ルーチンの処理を行う場合の従来の制御方法を以下に説明する。   In the conventional system, a conventional control method in the case where the processor detects an abnormality and performs the processing of the failure processing routine due to the cause will be described below.

図5は従来例1の構成を示し,図6は従来例1の制御方法を示す。図5において,50はプロセッサ,51は一定周期でプロセッサに対して割り込みをかけて応答をチェックしてプロセッサの正常性をチェックするWDT(ウオッチ・ドッグ・タイマ:Watch Dog Timer)監視部,52は高速動作を行う揮発性メモリ,520はプログラム動作領域,521は障害処理ルーチン,522は割込みベクタ,53は低速動作の不揮発性メモリ,530はプログラム格納部,54はシステムバスである。   FIG. 5 shows the configuration of Conventional Example 1, and FIG. 6 shows the control method of Conventional Example 1. In FIG. 5, 50 is a processor, 51 is a WDT (Watch Dog Timer) monitoring unit for checking the normality of the processor by checking the response by interrupting the processor at a fixed period, 52 A volatile memory that performs high-speed operation, 520 is a program operation area, 521 is a failure processing routine, 522 is an interrupt vector, 53 is a non-volatile memory that operates at low speed, 530 is a program storage unit, and 54 is a system bus.

図5の従来例1の構成における制御方法を図6に示す。最初に,プロセッサ起動処理として,不揮発性メモリ53のプログラム格納部530から揮発性メモリ52にプログラムをコピーする(図6のS1)。これにより,揮発性メモリ520のプログラム領域520と障害処理ルーチン521が設定される。この後,プロセッサ50は揮発性メモリ52のプログラムに従って通常処理実行中の状態になる(図6のS2)。その後,プログラム破壊(不揮発性メモリ52のプログラム領域に上書きが行われる等)が発生してWDT監視部51でWDTタイムアウトにより障害割込みが発生すると(図6のS3),その割込みに対応する障害処理ルーチン用割込みベクタ522がリードされる(同S4)。その割込みベクタにより揮発性メモリ52上の障害処理ルーチン用へジャンプし(図6のS5),揮発性メモリ52上の障害処理ルーチン521を実行し(同S6),揮発性メモリ52上のプログラムによりプロセッサ再起動処理を行う(同S7)。   FIG. 6 shows a control method in the configuration of Conventional Example 1 in FIG. First, as processor activation processing, a program is copied from the program storage unit 530 of the nonvolatile memory 53 to the volatile memory 52 (S1 in FIG. 6). Thereby, the program area 520 of the volatile memory 520 and the failure processing routine 521 are set. Thereafter, the processor 50 enters a state in which normal processing is being executed according to the program in the volatile memory 52 (S2 in FIG. 6). Thereafter, when a program breakage occurs (such as overwriting in the program area of the nonvolatile memory 52) and a fault interrupt occurs due to a WDT timeout in the WDT monitoring unit 51 (S3 in FIG. 6), fault handling corresponding to the interrupt The routine interrupt vector 522 is read (S4). The interrupt vector jumps to the fault processing routine on the volatile memory 52 (S5 in FIG. 6), executes the fault processing routine 521 on the volatile memory 52 (S6), and the program on the volatile memory 52 Processor restart processing is performed (S7).

この従来例1の制御方法によれば,割込み発生による障害処理ルーチンが揮発性メモリ上に展開されているため,プログラム領域が破壊された場合には,正常動作が保証できないという問題がある。   According to the control method of the conventional example 1, since the failure processing routine due to the occurrence of an interrupt is expanded on the volatile memory, there is a problem that normal operation cannot be guaranteed if the program area is destroyed.

この問題を解決する方法として従来例2の方法があり,図7に従来例2の構成,図8に従来例2の制御方法を示す。図7において,50〜54は上記図5の同一符号の各部と同じであり説明を省略する。但し,図7の揮発性メモリ52内にはプログラム領域520だけ設けられ,不揮発性メモリ53内にプログラム格納部530,障害処理ルーチン531,割込みベクタ532を備える点で図5と相違する。   As a method for solving this problem, there is a method of Conventional Example 2, FIG. 7 shows a configuration of Conventional Example 2, and FIG. 8 shows a control method of Conventional Example 2. In FIG. 7, reference numerals 50 to 54 are the same as those denoted by the same reference numerals in FIG. 7 differs from FIG. 5 in that only the program area 520 is provided in the volatile memory 52 of FIG. 7 and the nonvolatile memory 53 includes a program storage unit 530, a failure processing routine 531 and an interrupt vector 532.

この従来例2の制御方法を説明すると,最初にプロセッサ起動処理において,不揮発性メモリ53から揮発性メモリ52にプログラムをコピーし(図8のS1),プロセッサ50により通常処理実行中の状態になって(同S2),プログラム破壊によりWDT監視タイムアウトにより障害割込みが発生すると(同S3),上記従来例1と異なり不揮発性メモリ53上で障害処理ルーチン用割込みベクタ532をリードをする(同4)。そのため,不揮発性メモリ53の障害処理ルーチン用へジャンプし(図8のS5),その障害処理ルーチンを実行し(同S6),不揮発性メモリ上でプロセッサ再起動処理を実行する(同S7)。   The control method of Conventional Example 2 will be described. First, in processor startup processing, a program is copied from the nonvolatile memory 53 to the volatile memory 52 (S1 in FIG. 8), and the processor 50 enters a state in which normal processing is being executed. (S2), when a fault interrupt occurs due to a WDT monitoring timeout due to program destruction (S3), unlike the conventional example 1, the fault processing routine interrupt vector 532 is read on the nonvolatile memory 53 (Same 4). . Therefore, the process jumps to the failure processing routine of the nonvolatile memory 53 (S5 in FIG. 8), executes the failure processing routine (S6), and executes the processor restart process on the nonvolatile memory (S7).

この従来例2の制御方法では,障害処理ルーチンが不揮発性メモリ上に展開されているため,プログラム破壊の影響を回避することができるが,不揮発性メモリ(低速メモリ)上での動作となるため障害処理ルーチンの実行時間が長くなり再起動を行うまでのサービス中断時間が長くなる。   In the control method of Conventional Example 2, since the failure processing routine is expanded on the nonvolatile memory, the influence of program destruction can be avoided, but the operation is performed on the nonvolatile memory (low-speed memory). The execution time of the failure processing routine becomes longer, and the service interruption time until restart is increased.

一般的に揮発性メモリ(SDRAM系)のレイテンシ(latency)は5.4nsや6.0ns程度であり高速であるが,それと比較して不揮発性メモリは60nsや90nsが一般的であり,アドレスコントロール等のオーバヘッドを考慮すると,揮発性メモリSDRAMは10倍以上高速となる。   In general, the latency of volatile memory (SDRAM system) is about 5.4 ns or 6.0 ns, which is high speed. Compared with that, non-volatile memory is generally 60 ns or 90 ns, and address control is performed. In consideration of such overhead, the volatile memory SDRAM is 10 times faster.

なお,マルチプロセッサシステムの障害情報を記録する技術として,各プロセッサパッケージにプロセッサと不揮発性メモリを備え,不揮発性メモリの中に制御ルーチンを格納し,プロセッサが障害を検出すると当該プロセッサパッケージの不揮発性メモリ内の制御ルーチンにより,障害データを収集し,その不揮発性メモリの中に障害データとして格納し,複数の各プロセッサの障害データはシステム立上げ時に収集されて,メインメモリに格納する技術が存在する(特許文献1参照)。   As a technique for recording failure information of a multiprocessor system, each processor package has a processor and a nonvolatile memory, and a control routine is stored in the nonvolatile memory. There is a technology that collects fault data by the control routine in the memory and stores it as fault data in the non-volatile memory. The fault data of each of the multiple processors is collected at system startup and stored in the main memory. (See Patent Document 1).

また,監視プロセッサを含む複数のプロセッサのそれぞれに不揮発性メモリと揮発性メモリとを有し,外部記憶装置の保守対象プログラムを各プロセッサの揮発性メモリにロードして実行するシステムの技術において,保守対象プログラムの実行中にトラブルが発生すると監視プロセッサに通知され,監視プロセッサはトラブルを発生したプロセッサを割り込み禁止にし,不揮発性メモリ上に予め格納されたパッチルーチンを揮発性メモリに展開して処理を開始し,パッチルーチンにより今回のトラブルに関係する保守情報を外部記憶装置をサーチして求め,修正情報を外部記憶装置の保守対象プログラムに投入し,ロギング情報として記録し,プロセッサ上へ保守対象プログラムが展開される際には同一現象となるトラブルのソフトウェアの修正パッチが投入済とする技術が存在する(特許文献2参照)。
特開平9−288603号公報 特開平4−77937号公報
In addition, in the technology of a system in which each of a plurality of processors including a monitoring processor has a nonvolatile memory and a volatile memory, and a maintenance target program of an external storage device is loaded into the volatile memory of each processor and executed, maintenance is performed. If a problem occurs during execution of the target program, the monitoring processor is notified. The monitoring processor disables the interrupted processor, and develops a patch routine stored in the nonvolatile memory in the volatile memory for processing. Start, search the external storage device for maintenance information related to the current trouble by the patch routine, enter the correction information into the maintenance target program of the external storage device, record it as logging information, and store the maintenance target program on the processor Trouble software that causes the same phenomenon when deployed Patch technology exists to put already (see Patent Document 2).
JP-A-9-288603 JP-A-4-77937

上記した従来例2によれば,揮発性メモリのプログラム破壊が発生しても,不揮発性メモリの障害処理ルーチンによりログ格納処理や,復旧処理を実行することができるが,揮発性メモリの場合に比べて10倍以上の時間がかかり,処理速度の面で性能的に劣り,再開に向けたシステム瞬断時間(サービス断)が長くなりリアルタイムの信号処理を行うシステムに対する影響が大きいという問題がある。また,上記特許文献1の技術は,マルチプロセッサシステムにおける障害処理を行う場合に,従来例2と同様に不揮発性メモリの制御ルーチンにより処理を行うものであり,高速処理が要求されないシステムに適用するものであり,高速処理を要するリアルタイムの信号処理装置には問題がある。また,特許文献2の技術は障害発生時に不揮発性メモリのパッチルーチンにより障害に関係する情報を外部記憶装置の保守情報をサーチして求め,外部記憶装置に修正パッチを投入する技術であり,障害発生時に高速な障害処理を行うものではない。   According to the above-described conventional example 2, even if the program destruction of the volatile memory occurs, the log storage processing and the recovery processing can be executed by the failure processing routine of the nonvolatile memory. Compared to 10 times longer, the performance is inferior in terms of processing speed, the system interruption time (service interruption) for resumption becomes longer, and there is a problem that the influence on the system that performs real-time signal processing is large. . Further, the technique of Patent Document 1 described above is applied to a system in which high-speed processing is not required when performing failure processing in a multiprocessor system, in which processing is performed by a non-volatile memory control routine as in Conventional Example 2. However, there is a problem with real-time signal processing devices that require high-speed processing. The technique of Patent Document 2 is a technique for obtaining information related to a failure by searching maintenance information of an external storage device by a patch routine of a nonvolatile memory when a failure occurs, and supplying a correction patch to the external storage device. It does not perform high-speed failure handling when it occurs.

本発明はプロセッサと揮発性メモリ及び不揮発性メモリを備えた信号処理装置の障害発生時に高速な障害処理を可能とする信号処理装置における異常状態処理方式を提供することを目的とする。   An object of the present invention is to provide an abnormal state processing method in a signal processing device that enables high-speed failure processing when a failure occurs in a signal processing device including a processor, a volatile memory, and a nonvolatile memory.

図1は本発明の原理構成を示す。図中,1はプロセッサ,2はバス監視回路,2aは揮発性メモリ3のプログラム領域破壊及び揮発性メモリ上のパリティエラーを検出するプログラム破壊監視手段,2bは揮発性メモリ3以外のパリティエラー及びプログラム動作中のパラメータ違反等を監視するパリティエラー監視手段,2cは割込みベクタ切替手段,3は揮発性メモリ,3aはプログラム領域,3bは障害処理ルーチン,4はプログラムを保持する不揮発性メモリ,4aはプログラム格納部,4bは障害処理ルーチン,5は割込ベクタ用不揮発性メモリ,5aは第1の割込ベクタ,5bは第2の割込ベクタ,6はシステムバスである。   FIG. 1 shows the principle configuration of the present invention. In the figure, 1 is a processor, 2 is a bus monitoring circuit, 2a is a program destruction monitoring means for detecting a program area destruction in the volatile memory 3 and a parity error on the volatile memory, 2b is a parity error other than the volatile memory 3, and Parity error monitoring means for monitoring parameter violation during program operation, 2c is an interrupt vector switching means, 3 is a volatile memory, 3a is a program area, 3b is a failure processing routine, 4 is a non-volatile memory holding a program, 4a Is a program storage unit, 4b is a failure processing routine, 5 is an interrupt vector nonvolatile memory, 5a is a first interrupt vector, 5b is a second interrupt vector, and 6 is a system bus.

図1において,最初に不揮発性メモリ4のプログラム格納部4aと第1の障害処理ルーチン4bの内容が揮発性メモリ3にコピーされ,プログラム領域3a,第2の障害処理ルーチン3bとして格納される。また,割込ベクタ用不揮発性メモリ5には第1の割込ベクタ5aが揮発性メモリ3の障害処理ルーチン3bを指定する内容に設定され,第2の割込ベクタ5bは不揮発性メモリ4の障害処理ルーチン4bを指定する内容に設定される。また,プログラム破壊監視手段2aとパリティエラー監視手段2bに監視対象の範囲が設定される。   In FIG. 1, first, the contents of the program storage unit 4a of the nonvolatile memory 4 and the first failure processing routine 4b are copied to the volatile memory 3 and stored as the program area 3a and the second failure processing routine 3b. Further, in the interrupt vector nonvolatile memory 5, the first interrupt vector 5 a is set to the content specifying the failure processing routine 3 b of the volatile memory 3, and the second interrupt vector 5 b is stored in the nonvolatile memory 4. It is set to the contents specifying the failure processing routine 4b. In addition, the range to be monitored is set in the program destruction monitoring means 2a and the parity error monitoring means 2b.

この後,プロセッサ1が揮発性メモリ3のプログラム領域3aのプログラムにより通常処理を実行すると,バス監視回路2はシステムバス6を監視し,プログラム破壊監視手段2aは揮発性メモリ3上のプログラム領域3aと障害処理ルーチン3bの領域への書込み(破壊)や,揮発性メモリ3上のパリティエラーが発生したかの監視を行い,プログラム破壊等を検出すると,揮発性メモリ3に異常が発生したことになり,不揮発性メモリ4を用いた障害処理を選択し,これに応じて割込みベクタ切替手段2cは第2の割込みベクタ5bへの切替を含む割込み信号(障害処理起動タイミング)をプロセッサ1に出力する。これにより,プロセッサ1は割込みベクタ用不揮発性メモリ5の第2の割込ベクタ5bを読み出し,そのベクタが指定する不揮発性メモリ4の障害処理ルーチン4bの処理に移行して,障害処理を実行する。この場合,再開処理において揮発性メモリ3に不揮発性メモリ4からのプログラムのコピーを含む処理を実行する必要がある。   Thereafter, when the processor 1 executes normal processing according to the program in the program area 3 a of the volatile memory 3, the bus monitoring circuit 2 monitors the system bus 6, and the program destruction monitoring means 2 a detects the program area 3 a on the volatile memory 3. And writing to the area of the failure processing routine 3b (destruction), monitoring whether a parity error on the volatile memory 3 has occurred, and detecting a program corruption, it indicates that an error has occurred in the volatile memory 3. Thus, the failure processing using the nonvolatile memory 4 is selected, and the interrupt vector switching means 2c outputs an interrupt signal (failure processing start timing) including switching to the second interrupt vector 5b to the processor 1 in response to this. . As a result, the processor 1 reads the second interrupt vector 5b of the interrupt vector nonvolatile memory 5, shifts to the processing of the failure processing routine 4b of the nonvolatile memory 4 designated by the vector, and executes the failure processing. . In this case, it is necessary to execute a process including a copy of the program from the nonvolatile memory 4 in the volatile memory 3 in the restart process.

また,バス監視回路2のパリティエラー監視手段2bにより揮発性メモリ以外のパリティエラーを検出したり,プログラム動作中のパラメータ違反等を検出すると,揮発性メモリ3に異常が発生していないものとして,揮発性メモリ3を用いた障害処理を選択し,これに応じて割込みベクタ切替手段2cは第1の割込みベクタ5aの切替を含む割込み信号(障害処理起動タイミング)をプロセッサ1に出力する。これにより,プロセッサ1は割込みベクタ用不揮発性メモリ5の第1の割込ベクタ5aを読み出し,そのベクタが指定する揮発性メモリ3の障害処理ルーチン3bの処理に移行して,障害処理を実行する。   Further, if a parity error other than the volatile memory is detected by the parity error monitoring means 2b of the bus monitoring circuit 2 or a parameter violation or the like is detected during the program operation, it is assumed that no abnormality has occurred in the volatile memory 3. In response to the failure processing using the volatile memory 3, the interrupt vector switching means 2c outputs an interrupt signal (failure processing start timing) including switching of the first interrupt vector 5a to the processor 1. As a result, the processor 1 reads the first interrupt vector 5a of the interrupt vector nonvolatile memory 5, shifts to the processing of the failure processing routine 3b of the volatile memory 3 designated by the vector, and executes the failure processing. .

本発明によれば,プロセッサ内蔵・外付けの揮発性メモリで高速動作を行いながら,高速の揮発性メモリのプログラム破壊や例外処理が発生した場合においても,ログ収集処理及び障害通知処理を確実に行うことが可能になる。また,揮発性メモリが正常で救済可能な例外処理発生時には再開処理フローに移行せずに済み,障害復旧時間の最短化,システム瞬断時間の最小化を実現することができる。   According to the present invention, log collection processing and failure notification processing are reliably performed even when high-speed volatile memory program destruction or exception processing occurs while performing high-speed operation with a built-in processor / external volatile memory. It becomes possible to do. Further, when an exception process that can be remedied with normal volatile memory occurs, it is not necessary to shift to the resumption process flow, and it is possible to minimize the failure recovery time and the system instantaneous interruption time.

図2は実施例の処理フローであり,上記図1のプロセッサ1においてバス監視回路2や,各メモリと連携して処理が行われる。なお,揮発性メモリ3は例えばSDRAMメモリで構成され,不揮発性メモリ4は例えばFLASHメモリにより構成される。   FIG. 2 is a processing flow of the embodiment, and processing is performed in the processor 1 of FIG. 1 in cooperation with the bus monitoring circuit 2 and each memory. The volatile memory 3 is composed of, for example, an SDRAM memory, and the nonvolatile memory 4 is composed of, for example, a FLASH memory.

プロセッサ起動処理において,不揮発性メモリ4(プログラム格納部4a,障害処理ルーチン4b)から揮発性メモリ3にコピーが行われ(図2のS1),プログラムを起動し(同S2),揮発性メモリ3のプログラムによる通常処理が実行される(同S3)。この通常処理の実行中,バス監視回路2は監視動作を実行する。以下,ステップS4〜S8はバス監視回路2において実行される。すなわち,通常処理実行中,障害が発生したかを判定(バス監視回路2からの検出出力の有無を検出)して(図2のS4),障害が発生した場合は,プログラム破壊であるかの判定をする(同S5)。この時,その障害がプログラム破壊を起こすか否かの判定を行う(図2のS6)。この判定は,揮発性メモリ3内のプログラム領域への書込み(上書き)または揮発性メモリ3上のパリティエラーの検出による揮発性メモリ異常が発生したか,揮発性メモリ2以外のパリティエラーの検出あるいはプログラム動作中のパラメータ違反の検出をしたかの判定をする。揮発性メモリ上のプログラム破壊を含む障害が検出された場合,揮発性メモリが異常なため,不揮発性メモリに処理を選択させるため,第2の割込みベクタ5bを選択し(図2のS6),揮発性メモリ以外のパリティエラーの検出等の障害である場合は揮発性メモリが正常なため,揮発性メモリに処理を選択させるため,第1の割込みベクタ5aを選択し(同S7),ステップS6,S7に続いてバス監視回路2から割込み信号(割込みベクタを含む)と障害処理起動タイミングが発行されプロセッサ1に供給する(同S8)。   In the processor activation processing, copying is performed from the nonvolatile memory 4 (program storage unit 4a, failure processing routine 4b) to the volatile memory 3 (S1 in FIG. 2), the program is activated (S2 in the same), and the volatile memory 3 Normal processing is executed by the program (S3). During execution of this normal processing, the bus monitoring circuit 2 performs a monitoring operation. Thereafter, steps S4 to S8 are executed in the bus monitoring circuit 2. That is, it is determined whether or not a failure has occurred during execution of normal processing (detection of presence or absence of detection output from the bus monitoring circuit 2) (S4 in FIG. 2). A determination is made (S5). At this time, it is determined whether or not the failure causes program destruction (S6 in FIG. 2). This determination is based on whether a volatile memory error has occurred by writing (overwriting) to the program area in the volatile memory 3 or detecting a parity error on the volatile memory 3, or detecting a parity error other than the volatile memory 2 or Judges whether parameter violation was detected during program operation. If a failure including program destruction on the volatile memory is detected, the volatile memory is abnormal, so the second interrupt vector 5b is selected to cause the nonvolatile memory to select a process (S6 in FIG. 2), In the case of a failure such as detection of a parity error other than the volatile memory, since the volatile memory is normal, the first interrupt vector 5a is selected to cause the volatile memory to select processing (S7), and step S6 , S7, an interrupt signal (including an interrupt vector) and a failure processing start timing are issued from the bus monitoring circuit 2 and supplied to the processor 1 (S8).

プロセッサ1はこれを受け取ると,障害処理ルーチン用割込みベクタをリードする(図2のS8)。すなわち,第1の割込みベクタ5aまたは第2の割込みベクタ5bの何れかの面選択が行われる。これにより,プロセッサ1の処理は揮発性メモリまたは不揮発性メモリの障害処理ルーチンへジャンプし(図2のS10),障害処理ルーチンを実行し(同S11),上記のバス監視回路1からの障害検出時の状況として,プログラム破壊があったかを判別し(同S12),プログラム破壊がない場合はプロセッサ再起動処理(揮発性メモリ3へのプログラムの展開(コピー)を省略)が行われて,ステップS2に戻り,プログラム破壊があった場合は,プロセッサ再起動処理(揮発性メモリ3へのプログラムの再コピー)を実行してステップS1に戻る。   When this is received, the processor 1 reads the failure processing routine interrupt vector (S8 in FIG. 2). That is, either the first interrupt vector 5a or the second interrupt vector 5b is selected. As a result, the processing of the processor 1 jumps to the failure processing routine of the volatile memory or nonvolatile memory (S10 in FIG. 2), executes the failure processing routine (S11), and detects the failure from the bus monitoring circuit 1 described above. As a situation at the time, it is determined whether or not the program has been destroyed (S12). If there is no program destruction, the processor restart processing (the program development (copy) to the volatile memory 3 is omitted) is performed, and step S2 If the program is destroyed, the processor restart process (recopying the program to the volatile memory 3) is executed, and the process returns to step S1.

図3はバス監視回路におけるプログラム破壊監視の処理フローであり,上記図1のプログラム破壊監視手段2aにおける処理機能に対応する。   FIG. 3 is a processing flow for program destruction monitoring in the bus monitoring circuit and corresponds to the processing function in the program destruction monitoring means 2a of FIG.

最初にバス監視回路初期設定を行う(図3のS1)。この時,プログラム領域として(1) 監視開始(START)アドレスと監視終了(END)アドレスが設定され,その領域は揮発性メモリ(図1の3)上のプログラム動作領域及び障害処理ルーチン領域である。   First, the bus monitoring circuit is initialized (S1 in FIG. 3). At this time, (1) a monitoring start (START) address and a monitoring end (END) address are set as program areas, and these areas are a program operation area and a failure processing routine area on the volatile memory (3 in FIG. 1). .

その後,監視が開始され(同S2),監視領域に対して書込み(WRITE)動作監視を随時実行し(同S3),書込み動作か判別する(同S4)。書込み動作を検出した場合,監視領域に対する書込み(プログラム破壊)であることを検出すると(図3のS5),割込みベクタ切替制御にてベクタを設定をする(同S6)。この場合,不揮発性メモリ(図1の4)側の第2の割込ベクタ(図1の5b)を選択する。次にバス監視回路からプロセッサへ割込みを発行して通知を行う(図3のS7)。すなわち,障害処理を起動するため割込信号を起動する。これにより,バス監視回路の監視を停止する(図3のS8)。   Thereafter, monitoring is started (S2), and writing (WRITE) operation monitoring is performed on the monitoring area as needed (S3), and it is determined whether the writing operation is performed (S4). When a write operation is detected, if it is detected that the write to the monitoring area (program destruction) is detected (S5 in FIG. 3), a vector is set by interrupt vector switching control (S6). In this case, the second interrupt vector (5b in FIG. 1) on the nonvolatile memory (4 in FIG. 1) side is selected. Next, an interrupt is issued from the bus monitoring circuit to the processor for notification (S7 in FIG. 3). That is, an interrupt signal is activated to activate the fault processing. Thereby, the monitoring of the bus monitoring circuit is stopped (S8 in FIG. 3).

なお,図3の上記ステップS4では,揮発性メモリのプログラム領域と障害処理ルーチン領域への書込みを監視しているが,揮発性メモリ上のパリティエラーを検出した場合にも同様ステップS6以下の処理が実行される。   In step S4 in FIG. 3, writing to the program area and the failure processing routine area of the volatile memory is monitored. However, when a parity error on the volatile memory is detected, the processing from step S6 is similarly performed. Is executed.

図4はバス監視回路におけるパリティエラー監視の処理フローであり,上記図1のパリティエラー監視手段2bにおける処理機能に対応する。   FIG. 4 is a processing flow of parity error monitoring in the bus monitoring circuit, and corresponds to the processing function in the parity error monitoring means 2b of FIG.

最初にパリティエラー監視初期設定を行う(図4のS1)。この時,揮発性メモリ以外の不揮発性メモリ(図1の4のプログラム格納部4aと障害処理ルーチン4b)のパリティエラー(プログラム動作中の例外処理及び不揮発性メモリのデバイス故障)を監視するための,監視開始(START)アドレスと監視終了(END) アドレス(不揮発性メモリのアドレス)が設定される。続いて,監視が開始され(図4のS2),監視領域に対して読出し(READ) 動作監視を随時実行し(同S3),エラー検出か判別する(同S4)。エラーを検出して,監視領域に対するエラーであることを検出すると(図4のS5),割込みベクタ切替制御にてベクタを設定をする(同S6)。この場合,揮発性メモリ(図1の3)側の第2の割込ベクタ(図1の5a)を選択する。次にプロセッサへ割込みを発行して通知を行う(図4のS7)。具体的には,障害処理を起動するため割込信号を起動する。この後,バス監視回路は監視停止をする(図3のS8)。   First, parity error monitoring initial setting is performed (S1 in FIG. 4). At this time, a parity error (exception processing during program operation and device failure of the nonvolatile memory) in the nonvolatile memory other than the volatile memory (the program storage unit 4a and the failure processing routine 4b in FIG. 1) is monitored. , Monitoring start (START) address and monitoring end (END) address (nonvolatile memory address) are set. Subsequently, monitoring is started (S2 in FIG. 4), and reading (READ) operation monitoring is performed on the monitoring area as needed (S3) to determine whether an error is detected (S4). When an error is detected and an error is detected for the monitoring area (S5 in FIG. 4), a vector is set by interrupt vector switching control (S6). In this case, the second interrupt vector (5a in FIG. 1) on the volatile memory (3 in FIG. 1) side is selected. Next, an interrupt is issued to the processor for notification (S7 in FIG. 4). Specifically, an interrupt signal is activated to activate fault processing. Thereafter, the bus monitoring circuit stops monitoring (S8 in FIG. 3).

このように,障害処理ルーチンの一部の処理(重要ログ収集処理や復旧検出)のみを不揮発性メモリにも格納し,通常の「プログラム破壊検出」を同時に行うことで,プログラム破壊の発生しない場合の障害処理の高速化(揮発性メモリ処理)を可能にしてプログラム破壊を検出した場合は確実に障害処理(低速処理:不揮発性メモリ)を実行することでシステムの保守性能を保つことが可能になる。   In this way, when only part of the failure processing routine (important log collection processing and recovery detection) is stored in the non-volatile memory and normal "program corruption detection" is performed at the same time, program corruption does not occur It is possible to maintain system maintenance performance by executing fault processing (low-speed processing: non-volatile memory) reliably when program failure is detected by enabling high-speed fault processing (volatile memory processing) Become.

上記の図3に示す処理フローでは揮発性メモリのプログラム破壊と揮発性メモリのパリティエラーを監視し,図4に示す処理フローでは揮発性メモリ以外のパリティエラーとプログラム動作中の例外処理を監視しているが,揮発性メモリについてのその他の障害を検出した場合にも図3に示す処理フローにより同様の制御(第2の割込みベクタを選択)を行い,揮発性メモリ以外の領域についての上記図4に示すエラー以外の障害を検出した場合にも,図4に示す処理フローにより同様の制御(第1の割込みベクタを選択)を行うようにすることができることはいうまでもない。   In the processing flow shown in FIG. 3 above, the program destruction of the volatile memory and the parity error of the volatile memory are monitored. In the processing flow shown in FIG. 4, the parity error other than the volatile memory and the exception processing during the program operation are monitored. However, even when other failures in the volatile memory are detected, the same control (selecting the second interrupt vector) is performed by the processing flow shown in FIG. Needless to say, even when a failure other than the error shown in FIG. 4 is detected, the same control (selecting the first interrupt vector) can be performed by the processing flow shown in FIG.

(付記1) プロセッサ及びプログラム及び障害処理ルーチンを保持する不揮発性メモリと前記不揮発性メモリからプログラム及び障害処理ルーチンをコピーする揮発性メモリとをシステムバスに接続され,通常は揮発性メモリのプログラムにより処理を行う信号処理装置における異常状態処理方式において,前記システムバスにバス監視回路と,障害発生時に障害処理ルーチンのジャンプするための割込みベクタを2面設け,前記バス監視回路によりプログラム破壊を検出すると,破壊されていない不揮発性メモリの障害処理ルーチンの処理を実行することでシステム再開を行い,プログラム破壊以外の障害が検出されると揮発性メモリの障害処理ルーチンの処理を実行することを特徴とする信号処理装置における異常状態処理方式。   (Supplementary note 1) A non-volatile memory that holds a processor, a program, and a fault handling routine, and a volatile memory that copies the program and the fault handling routine from the non-volatile memory are connected to a system bus. In an abnormal state processing method in a signal processing device that performs processing, when a bus monitoring circuit is provided on the system bus and two interrupt vectors for jumping a failure processing routine when a failure occurs, a program destruction is detected by the bus monitoring circuit The system restarts by executing the failure processing routine of the non-destructed nonvolatile memory, and executes the processing of the volatile memory failure processing routine when a failure other than program destruction is detected. An abnormal state processing method in a signal processing apparatus.

(付記2) 付記1において,前記バス監視回路に揮発性メモリのプログラム破壊を検出する手段を設け,前記プログラム破壊を検出する手段によるプログラム破壊を検出すると,前記割込みベクタの中から前記不揮発性メモリの障害処理ルーチンを選択して,前記プロセッサに割込み信号を発生し,前記不揮発性メモリの障害処理ルーチンによりシステム再開を行うことを特徴とする信号処理装置における異常状態処理方式。   (Supplementary note 2) In the supplementary note 1, when the bus monitoring circuit is provided with means for detecting program destruction of the volatile memory, and the program destruction is detected by the means for detecting program destruction, the nonvolatile memory is selected from the interrupt vector. An abnormal state processing method in a signal processing device, wherein an interrupt signal is generated in the processor, the system is restarted by the failure processing routine of the nonvolatile memory.

(付記3) 付記1において,前記バス監視回路に揮発性メモリ以外のデータのパリティエラーを検出する手段を設け,前記パリティエラーを検出する手段によりエラーを検出すると,前記割込みベクタの中から前記揮発性メモリの障害処理ルーチンを選択して,前記プロセッサに割込み信号を発生すると,前記揮発性メモリによる障害処理を行うことを特徴とする信号処理装置における異常状態処理方式。   (Supplementary note 3) In Supplementary note 1, the bus monitoring circuit is provided with means for detecting a parity error of data other than the volatile memory, and when an error is detected by the means for detecting the parity error, the volatile data is detected from the interrupt vector. When the failure processing routine of the volatile memory is selected and an interrupt signal is generated in the processor, the failure processing by the volatile memory is performed.

(付記4) 付記1乃至3の何れかにおいて,前記バス監視回路による障害の検出時に,ログ収集処理と障害通知処理を確実に実行することを特徴とする信号処理装置における異常状態処理方式。   (Additional remark 4) The abnormal state processing system in the signal processing apparatus according to any one of additional remarks 1 to 3, wherein log collection processing and failure notification processing are reliably executed when a failure is detected by the bus monitoring circuit.

(付記5) 付記1乃至4の何れかにおいて,前記信号処理装置は移動通信システムの無線基地局における信号の処理を行うことを特徴とする信号処理装置における異常状態処理方式。   (Additional remark 5) In any one of additional remarks 1 thru | or 4, the said signal processing apparatus processes the signal in the radio | wireless base station of a mobile communication system, The abnormal condition processing system in the signal processing apparatus characterized by the above-mentioned.

本発明の原理構成を示す図である。It is a figure which shows the principle structure of this invention. 実施例の処理フローを示す図である。It is a figure which shows the processing flow of an Example. バス監視回路におけるプログラム破壊監視の処理フローを示す図である。It is a figure which shows the processing flow of the program destruction monitoring in a bus monitoring circuit. バス監視回路におけるパリティエラー監視の処理フローを示す図である。It is a figure which shows the processing flow of the parity error monitoring in a bus monitoring circuit. 従来例1の構成を示す図である。It is a figure which shows the structure of the prior art example 1. FIG. 従来例1の制御方法を示す図である。It is a figure which shows the control method of the prior art example 1. FIG. 従来例2の構成を示す図である。It is a figure which shows the structure of the prior art example 2. FIG. 従来例2の制御方法を示す図である。It is a figure which shows the control method of the prior art example 2. FIG.

符号の説明Explanation of symbols

1 プロセッサ
2 バス監視回路
2a プログラム破壊監視手段
2b パリティエラー監視手段
2c 割込みベクタ切替手段
3 揮発性メモリ
3a プログラム領域
3b 障害処理ルーチン
4 不揮発性メモリ
4a プログラム格納部
4b 障害処理ルーチン
5 割込ベクタ用不揮発性メモリ
5a 第1の割込ベクタ
5b 第2の割込ベクタ
6 システムバス
DESCRIPTION OF SYMBOLS 1 Processor 2 Bus monitoring circuit 2a Program destruction monitoring means 2b Parity error monitoring means 2c Interrupt vector switching means 3 Volatile memory 3a Program area 3b Fault processing routine 4 Non-volatile memory 4a Program storage unit 4b Fault processing routine 5 Non-volatile for interrupt vector Memory 5a First interrupt vector 5b Second interrupt vector 6 System bus

Claims (3)

プロセッサ及びプログラム及び障害処理ルーチンを保持する不揮発性メモリと前記不揮発性メモリからプログラム及び障害処理ルーチンをコピーする揮発性メモリとをシステムバスに接続され,通常は揮発性メモリのプログラムにより処理を行う信号処理装置における異常状態処理方式において,
前記システムバスにバス監視回路と,障害発生時に障害処理ルーチンのジャンプするための割込みベクタを2面設け,
前記バス監視回路によりプログラム破壊を検出すると,破壊されていない不揮発性メモリの障害処理ルーチンの処理を実行することでシステム再開を行い,プログラム破壊以外の障害が検出されると揮発性メモリの障害処理ルーチンの処理を実行することを特徴とする信号処理装置における異常状態処理方式。
A non-volatile memory that holds a processor, a program, and a fault handling routine, and a volatile memory that copies the program and the fault handling routine from the non-volatile memory are connected to the system bus, and a signal that is normally processed by the program in the volatile memory In the abnormal state processing method in the processing device,
The system bus is provided with a bus monitoring circuit and two interrupt vectors for jumping a fault processing routine when a fault occurs.
When program destruction is detected by the bus monitoring circuit, the system is restarted by executing the failure processing routine of the non-destructed nonvolatile memory, and when a failure other than program destruction is detected, the volatile memory failure processing An abnormal state processing method in a signal processing device, characterized in that routine processing is executed.
請求項1において,
前記バス監視回路に揮発性メモリのプログラム破壊を検出する手段を設け,
前記プログラム破壊を検出する手段によるプログラム破壊を検出すると,前記割込みベクタの中から前記不揮発性メモリの障害処理ルーチンを選択して,前記プロセッサに割込み信号を発生し,前記不揮発性メモリの障害処理ルーチンによりシステム再開を行うことを特徴とする信号処理装置における異常状態処理方式。
In claim 1,
The bus monitoring circuit is provided with means for detecting program destruction of the volatile memory,
When the program destruction is detected by the means for detecting the program destruction, the non-volatile memory fault processing routine is selected from the interrupt vector, an interrupt signal is generated to the processor, and the non-volatile memory fault processing routine is selected. An abnormal state processing method in a signal processing device, characterized in that the system is restarted according to the above.
請求項1において,
前記バス監視回路に揮発性メモリ以外のデータのパリティエラーを検出する手段を設け,
前記パリティエラーを検出する手段によりエラーを検出すると,前記割込みベクタの中から前記揮発性メモリの障害処理ルーチンを選択して,前記プロセッサに割込み信号を発生すると,前記揮発性メモリによる障害処理を行うことを特徴とする信号処理装置における異常状態処理方式。
In claim 1,
Means for detecting a parity error of data other than the volatile memory in the bus monitoring circuit;
When an error is detected by the means for detecting the parity error, the failure processing routine of the volatile memory is selected from the interrupt vector, and when the interrupt signal is generated to the processor, the failure processing by the volatile memory is performed. An abnormal state processing method in a signal processing device.
JP2007179442A 2007-07-09 2007-07-09 Abnormal state handling system in signal processor Withdrawn JP2009015757A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007179442A JP2009015757A (en) 2007-07-09 2007-07-09 Abnormal state handling system in signal processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007179442A JP2009015757A (en) 2007-07-09 2007-07-09 Abnormal state handling system in signal processor

Publications (1)

Publication Number Publication Date
JP2009015757A true JP2009015757A (en) 2009-01-22

Family

ID=40356560

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007179442A Withdrawn JP2009015757A (en) 2007-07-09 2007-07-09 Abnormal state handling system in signal processor

Country Status (1)

Country Link
JP (1) JP2009015757A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015036944A (en) * 2013-08-15 2015-02-23 富士ゼロックス株式会社 State information storage device and program
JP2016040651A (en) * 2014-08-12 2016-03-24 富士通株式会社 Information processing device, test method, test control program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015036944A (en) * 2013-08-15 2015-02-23 富士ゼロックス株式会社 State information storage device and program
JP2016040651A (en) * 2014-08-12 2016-03-24 富士通株式会社 Information processing device, test method, test control program

Similar Documents

Publication Publication Date Title
JP2010092105A (en) Synchronization control apparatus, information processing apparatus, and synchronization management method
JP2006338445A (en) Abnormality information storage apparatus
JP2009015757A (en) Abnormal state handling system in signal processor
JPH02294739A (en) Fault detecting system
JP2001101032A (en) Os monitoring system under inter-different kind of os control
WO2008004330A1 (en) Multiple processor system
JP2002049509A (en) Data processing system
JP2005196680A (en) Computer system
JP2010128511A (en) Microcomputer, and method for taking action for fail-safe
JP2006323494A (en) Failure recovery method and microcomputer
JP7166231B2 (en) Information processing device and information processing system
JP4066950B2 (en) Computer system and maintenance method thereof
CN108415788B (en) Data processing apparatus and method for responding to non-responsive processing circuitry
JP2009054116A (en) Memory system and information processor
JP2010146362A (en) Control device, storage apparatus and control method
JP2010061258A (en) Duplex processor system and processor duplex method
JP2008217665A (en) Multiprocessor system, task scheduling method and task scheduling program
JP2626545B2 (en) Fault-tolerant computer system
JP2000322397A (en) Information processor
JPH05265876A (en) Error report processing system
JP2574938B2 (en) System startup method
JP5888419B2 (en) Data processing apparatus, processor, and operation history recording method
JP2014067214A (en) Error checking device and program
JPH0644145A (en) Memory error saving system
JPH07244613A (en) Dual-memory control method

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20101005