JP2000330955A - Multiprocessor system and multiprocessor initializing method - Google Patents

Multiprocessor system and multiprocessor initializing method

Info

Publication number
JP2000330955A
JP2000330955A JP11141391A JP14139199A JP2000330955A JP 2000330955 A JP2000330955 A JP 2000330955A JP 11141391 A JP11141391 A JP 11141391A JP 14139199 A JP14139199 A JP 14139199A JP 2000330955 A JP2000330955 A JP 2000330955A
Authority
JP
Japan
Prior art keywords
flag
processor
failure
multiprocessor system
initialization
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
JP11141391A
Other languages
Japanese (ja)
Inventor
Sadanori Seki
禎徳 関
Masafumi Yamaguchi
雅史 山口
Tomonori Kumagai
智憲 熊谷
Seiya Yamazaki
誠也 山崎
Takeshi Yonekura
健 米倉
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
Panasonic Holdings Corp
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd, Matsushita Electric Industrial Co Ltd filed Critical Fujitsu Ltd
Priority to JP11141391A priority Critical patent/JP2000330955A/en
Publication of JP2000330955A publication Critical patent/JP2000330955A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Abstract

PROBLEM TO BE SOLVED: To securely actuate a radio communication device even if a fault occurs to an initialization flag. SOLUTION: In case of fault occurrence to a initialization flag, the multiprocessor system is provided with multiple initialization flags. If a fault occurs to an initialization flag A107, a flag fault detection part 104 detects the fault, a flag switching part 105 instructs each processor 101 to refer to an initialization flag B108, and each processor 101 switches the initialization flag to be referred to from the initialization flag A107 where the fault is occurring to the initialization flag B108 which operates normally according to the indication.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、マルチプロセッサ
システムに関し、特に無線通信装置に用いるマルチプロ
セッサシステムおよびマルチプロセッサシステム初期化
方法に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to a multiprocessor system, and more particularly to a multiprocessor system and a multiprocessor system initialization method used for a wireless communication device.

【0002】[0002]

【従来の技術】近年、無線通信装置等においては、単一
プロセッサによる高速化の限界が明らかになるにつれ、
並列処理を用いたマルチプロセッサシステムが主流とな
りつつある。
2. Description of the Related Art In recent years, as the limit of speeding up by a single processor becomes clear in wireless communication devices and the like,
Multiprocessor systems using parallel processing are becoming mainstream.

【0003】従来のマルチプロセッサシステムでは、無
線通信装置等の電源投入時にレジスタの初期設定や運用
プログラムの起動等を行う初期処理は、以下のようにし
て行われている。
In a conventional multiprocessor system, initial processing for initial setting of a register, activation of an operation program, and the like when the power of a wireless communication device or the like is turned on is performed as follows.

【0004】以下、図3を用いて、従来のマルチプロセ
ッサシステムにおいて行われている初期処理について説
明する。図3は、従来のマルチプロセッサシステムの概
略構成を示す要部ブロック図である。
Hereinafter, an initial process performed in a conventional multiprocessor system will be described with reference to FIG. FIG. 3 is a main block diagram showing a schematic configuration of a conventional multiprocessor system.

【0005】図3において、プロセッサ1〜nの各プロ
セッサ11は並列処理によって無線通信装置の制御等を
行う。また、初期処理は、各プロセッサ11のうちの1
つにより行われる。
[0005] In FIG. 3, each processor 11 of processors 1 to n controls a wireless communication device by parallel processing. Further, the initial processing is performed by one of the processors 11.
It is done by one.

【0006】制御部12は、各プロセッサ11に共通バ
ス13の使用権を割り当てる。共有メモリ14は、初期
化フラグ15等を有し、無線通信装置の制御・運用を行
うためのデータを記憶している。初期化フラグ15は、
初期処理を行うプロセッサを決定するためのフラグであ
り、例えば”OFF”、”ON”の状態をとる。
The control unit 12 assigns the right to use the common bus 13 to each processor 11. The shared memory 14 has an initialization flag 15 and the like, and stores data for controlling and operating the wireless communication device. The initialization flag 15
This is a flag for determining the processor that performs the initial processing, and takes a state of, for example, “OFF” or “ON”.

【0007】次いで、上記構成を有するマルチプロセッ
サシステムにおける初期処理の動作について、図3を用
いて説明する。無線通信装置の電源投入時、各プロセッ
サ11は、それぞれ共有メモリ14の初期化フラグ15
を参照する。この場合、各プロセッサ11は、共通バス
13を使用する前に、制御部12に対してリクエスト信
号を出力する。制御部12は、リクエスト信号の入力に
応じて予め定められている優先順位に従って、各プロセ
ッサ11に共通バス13の使用権を割り当てる。
Next, the operation of the initial processing in the multiprocessor system having the above configuration will be described with reference to FIG. When the power of the wireless communication apparatus is turned on, each processor 11 sets the initialization flag 15
See In this case, each processor 11 outputs a request signal to the control unit 12 before using the common bus 13. The control unit 12 assigns the right to use the common bus 13 to each processor 11 in accordance with a predetermined priority according to the input of the request signal.

【0008】初期処理を行うプロセッサは1つで足りる
ので、次いで、初期処理を行う1つのプロセッサを決定
する。この決定方法は、各プロセッサ11が、初期化フ
ラグ15を参照することにより以下のようにして行われ
る。
Since only one processor is required for the initial processing, one processor for performing the initial processing is determined. This determination method is performed as follows by each processor 11 referring to the initialization flag 15.

【0009】初期化フラグ15は、無線通信装置の電源
投入時には、初期状態として”OFF”となっており、
プロセッサから一度参照されると、それ以降は”ON”
のままとなる。
When the power of the wireless communication apparatus is turned on, the initialization flag 15 is "OFF" as an initial state.
Once referenced from the processor, it will be “ON” thereafter
Will remain.

【0010】各プロセッサ11は、共通バス13の使用
権を割り当てられた順に、初期化フラグ15を、2回づ
つ参照する。そして、1回目の参照結果が”OFF”
で、かつ2回目の参照結果が”ON”となったプロセッ
サが初期処理を行う。また、2回とも参照結果が”O
N”となったその他のプロセッサは初期処理を行わな
い。
Each processor 11 refers to the initialization flag 15 twice in the order in which the right to use the common bus 13 is assigned. And the first reference result is “OFF”
And the processor whose second reference result is "ON" performs the initial processing. In both cases, the reference result is "O"
The other processors that have become "N" do not perform the initial processing.

【0011】なお、このように、1回の参照結果に従っ
て初期処理を行うプロセッサを決定するのではなく、2
回の参照結果に従って初期処理を行うプロセッサを決定
するのは、初期化フラグ15に障害が発生し、初期化フ
ラグ15が”OFF”から”ON”に切り替わらなくな
ってしまった場合に、複数のプロセッサが初期処理を行
ってしまうことを防止するためである。
As described above, instead of determining the processor that performs the initial processing in accordance with the result of one reference,
The processor that performs the initial processing according to the reference result of the first time is determined by a plurality of processors when a failure occurs in the initialization flag 15 and the initialization flag 15 does not switch from “OFF” to “ON”. Is to prevent the initial processing from being performed.

【0012】このように、従来のマルチプロセッサシス
テムによれば、初期化フラグを用いることによって、初
期処理を行う1つのプロセッサを決定して初期処理を行
うようになっている。
As described above, according to the conventional multiprocessor system, by using the initialization flag, one processor for performing the initial processing is determined and the initial processing is performed.

【0013】[0013]

【発明が解決しようとする課題】しかしながら、従来の
マルチプロセッサシステムにおいては、初期化フラグに
障害が発生し、初期化フラグが”OFF”から”ON”
に切り替わらなくなってしまった場合には、全てのプロ
セッサからの参照結果が2回とも”OFF”となってし
まう。また、”ON”状態で初期化フラグに障害が発生
し、電源切断後に、初期化フラグが初期状態である”O
FF”に戻らなくなってしまった場合には、全てのプロ
セッサからの参照結果が2回とも”ON”となってしま
う。
However, in the conventional multiprocessor system, a failure occurs in the initialization flag, and the initialization flag is changed from "OFF" to "ON".
, The reference results from all processors are both turned off twice. Further, a failure occurs in the initialization flag in the “ON” state, and after the power is turned off, the initialization flag is in the initial state “O”.
If it does not return to "FF", the reference results from all processors will be "ON" both times.

【0014】このように、初期化フラグに障害が発生
し、”OFF”、”ON”の切り替えが行われなくなっ
てしまった場合には、初期処理を行うプロセッサを決定
することができず、初期処理が行われないため、電源を
投入しても無線通信装置が起動しないという問題が生じ
る。
As described above, when a failure occurs in the initialization flag and the switching between “OFF” and “ON” is not performed, the processor for performing the initial processing cannot be determined. Since the process is not performed, there is a problem that the wireless communication device does not start even when the power is turned on.

【0015】本発明はかかる点に鑑みてなされたもので
あり、初期化フラグに障害が発生した場合にも無線通信
装置の起動を確実に行うことができるマルチプロセッサ
システムおよびマルチプロセッサシステム初期化方法を
提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above circumstances, and a multiprocessor system and a multiprocessor system initialization method capable of reliably starting a wireless communication device even when a failure occurs in an initialization flag. The purpose is to provide.

【0016】[0016]

【課題を解決するための手段】本発明の骨子は、初期化
フラグの障害発生に備えて、マルチプロセッサシステム
に、初期化フラグを複数設けることである。
The gist of the present invention is to provide a multiprocessor system with a plurality of initialization flags in preparation for the occurrence of an initialization flag failure.

【0017】[0017]

【発明の実施の形態】本発明の第1の態様におけるマル
チプロセッサシステムは、複数のプロセッサを有するシ
ステム内の各プロセッサから参照され、最初に参照され
たときに第1の状態から第2の状態に遷移する複数のフ
ラグを格納する格納手段と、前記複数のフラグの障害発
生を検出する検出手段と、前記各プロセッサが参照する
参照用フラグに障害が発生した場合に、前記参照用フラ
グ以外のフラグを前記各プロセッサが参照するように切
り替え制御を行う切替制御手段と、を具備する構成を採
る。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A multiprocessor system according to a first aspect of the present invention is referred to by each processor in a system having a plurality of processors, and when first referred to, from a first state to a second state. Storage means for storing a plurality of flags that transits to a state, detection means for detecting the occurrence of a failure in the plurality of flags, Switching control means for performing switching control so that each of the processors refers to the flag.

【0018】この構成によれば、フラグの障害発生に備
えて、マルチプロセッサシステムは複数のフラグを具備
するため、フラグに障害が発生した場合にも初期処理を
確実に行うことができる。
According to this configuration, the multiprocessor system has a plurality of flags in preparation for the occurrence of a flag failure, so that the initial processing can be reliably performed even when a failure occurs in the flag.

【0019】本発明の第2の態様におけるマルチプロセ
ッサシステムは、第1の態様において、各プロセッサ
は、参照用フラグを複数回参照し、検出手段は、参照結
果がすべて同じ状態であるときに、前記参照用フラグに
障害が発生したことを検出する構成を採る。
[0019] In the multiprocessor system according to the second aspect of the present invention, in the first aspect, each processor refers to the reference flag a plurality of times, and the detecting means determines when the reference results are all in the same state. A configuration for detecting that a failure has occurred in the reference flag is employed.

【0020】この構成によれば、フラグの障害発生に備
えて、マルチプロセッサシステムは複数のフラグを具備
し、フラグに障害が発生したことを示す参照結果がプロ
セッサから通知された場合に、フラグの障害発生を検出
し、フラグを切り替えて使用するため、フラグに障害が
発生した場合にも初期処理を確実に行うことができる。
According to this configuration, in preparation for the occurrence of a flag failure, the multiprocessor system includes a plurality of flags, and when a reference result indicating that a failure has occurred in the flag is notified from the processor, the flag is set to the flag. Since the occurrence of a failure is detected and the flag is switched and used, the initial processing can be reliably performed even when a failure occurs in the flag.

【0021】本発明の第3の態様におけるマルチプロセ
ッサシステムは、第1の態様において、任意の一定の時
間が経過するまでに、参照用フラグが正常に動作する旨
の通知がプロセッサからなされた場合に停止する計時手
段を具備し、検出手段は、前記任意の一定の時間が経過
した時点で前記通知がないときに前記参照用フラグに障
害が発生したことを検出する構成を採る。
[0021] The multiprocessor system according to the third aspect of the present invention is the multiprocessor system according to the first aspect, wherein the processor notifies the reference flag that the reference flag operates normally before a given time elapses. The detection means employs a configuration for detecting that a failure has occurred in the reference flag when the notification has not been received at the time when the predetermined time has elapsed.

【0022】この構成によれば、フラグの障害発生に備
えて、マルチプロセッサシステムは複数のフラグを具備
し、フラグが正常に動作していることを示す参照結果が
プロセッサから通知されない場合に、フラグの障害発生
を検出し、フラグを切り替えて使用するため、フラグに
障害が発生した場合にも初期処理を確実に行うことがで
きる。
According to this configuration, in preparation for the occurrence of a flag failure, the multiprocessor system includes a plurality of flags, and when a reference result indicating that the flags are operating properly is not notified from the processor, the flags are set. Since the failure is detected and the flag is switched and used, the initial processing can be reliably performed even when the failure occurs in the flag.

【0023】本発明の第4の態様における移動体通信基
地局装置は、第1の態様から第3の態様のいずれかにお
けるマルチプロセッサシステムを具備する構成を採る。
A mobile communication base station apparatus according to a fourth aspect of the present invention employs a configuration including the multiprocessor system according to any one of the first to third aspects.

【0024】本発明の第5の態様における移動体通信基
地局制御装置は、第1の態様から第3の態様のいずれか
におけるマルチプロセッサシステムを具備する構成を採
る。
A mobile communication base station controller according to a fifth aspect of the present invention employs a configuration including the multiprocessor system according to any one of the first to third aspects.

【0025】これらの構成によれば、初期処理を確実に
行うことができるマルチプロセッサシステムを具備する
ため、移動体通信基地局装置および移動体通信基地局制
御装置の起動を確実に行うことができる。
According to these configurations, since the multiprocessor system is provided which can reliably perform the initial processing, the mobile communication base station apparatus and the mobile communication base station control apparatus can be reliably started. .

【0026】本発明の第6の態様におけるマルチプロセ
ッサシステム初期化方法は、1つのプロセッサから最初
に参照されたときに第1の状態から第2の状態に遷移す
る複数のフラグのうちの1つの参照用フラグの参照結果
に従って前記参照用フラグの障害発生を検出する検出工
程と、前記障害発生が検出された場合に、前記参照用フ
ラグ以外のフラグを参照用フラグに切り替える制御を行
う切替制御工程と、を具備し、各プロセッサが前記参照
用フラグを参照することにより初期処理を行う1つのプ
ロセッサを決定するようにした。
According to a sixth aspect of the present invention, there is provided a multiprocessor system initializing method, wherein one of a plurality of flags which transits from the first state to the second state when first referred to by one processor. A detection step of detecting the occurrence of a failure in the reference flag in accordance with a reference result of the reference flag, and a switching control step of performing control to switch a flag other than the reference flag to the reference flag when the failure is detected And each processor refers to the reference flag to determine one processor that performs the initial processing.

【0027】この方法によれば、フラグの障害発生時に
フラグを切り替えて参照するため、フラグに障害が発生
した場合にも初期処理を確実に行うことができる。
According to this method, the flag is switched and referred to when a failure occurs in the flag. Therefore, even when a failure occurs in the flag, the initial processing can be reliably performed.

【0028】本発明の第7の態様におけるマルチプロセ
ッサシステム初期化方法は、第6の態様において、各プ
ロセッサは、参照用フラグを複数回参照し、参照結果が
すべて同じ状態であるときに、検出工程において、前記
参照用フラグに障害が発生したことを検出するようにし
た。
In the multiprocessor system initialization method according to a seventh aspect of the present invention, in the sixth aspect, each processor refers to the reference flag a plurality of times and detects when all the reference results are in the same state. In the step, the occurrence of a failure in the reference flag is detected.

【0029】この方法によれば、フラグに障害が発生し
たことを示す参照結果がプロセッサから通知された場合
に、フラグの障害発生を検出し、フラグを切り替えて参
照するため、フラグに障害が発生した場合にも初期処理
を確実に行うことができる。
According to this method, when a reference result indicating that a failure has occurred in the flag is notified from the processor, the occurrence of the failure in the flag is detected, and the flag is switched to be referred to. In this case, the initial processing can be performed reliably.

【0030】本発明の第8の態様におけるマルチプロセ
ッサシステム初期化方法は、第6の態様において、検出
工程において、任意の一定の時間が経過するまでに、参
照用フラグが正常に動作する旨の通知がプロセッサから
ないときに前記参照用フラグに障害が発生したことを検
出するようにした。
[0030] In the multiprocessor system initialization method according to an eighth aspect of the present invention, in the sixth aspect, in the detection step, the reference flag may operate normally before a given time elapses in the detection step. When the notification is not received from the processor, it is detected that a failure has occurred in the reference flag.

【0031】この方法によれば、フラグが正常に動作し
ていることを示す参照結果がプロセッサから通知されな
い場合に、フラグの障害発生を検出し、フラグを切り替
えて参照するため、フラグに障害が発生した場合にも初
期処理を確実に行うことができる。
According to this method, when a reference result indicating that the flag is operating normally is not notified from the processor, the occurrence of a flag failure is detected and the flag is switched to be referred to. Even in the case of occurrence, the initial processing can be reliably performed.

【0032】以下、本発明の実施の形態について、図面
を参照して詳細に説明する。 (実施の形態1)本発明の実施の形態1に係るマルチプ
ロセッサシステムは、複数の初期化フラグを具備し、初
期化フラグに障害が発生したことを示す参照結果が各プ
ロセッサより出力された場合に、初期化フラグの障害発
生を検出し、初期化フラグを切り替えて使用するもので
ある。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. (Embodiment 1) The multiprocessor system according to Embodiment 1 of the present invention has a plurality of initialization flags, and a case where a reference result indicating that a failure has occurred in the initialization flag is output from each processor. Then, the occurrence of a failure in the initialization flag is detected, and the initialization flag is switched and used.

【0033】以下、図1を用いて、本発明の実施の形態
1に係るマルチプロセッサシステムにおいて行われる初
期処理について説明する。図1は、本発明の実施の形態
1に係るマルチプロセッサシステムの概略構成を示す要
部ブロック図である。
Hereinafter, the initial processing performed in the multiprocessor system according to the first embodiment of the present invention will be described with reference to FIG. FIG. 1 is a main block diagram showing a schematic configuration of a multiprocessor system according to Embodiment 1 of the present invention.

【0034】図1において、プロセッサ1〜nの各プロ
セッサ101は並列処理によって無線通信装置の制御等
を行う。また、初期処理は、各プロセッサ101のうち
の1つにより行われる。
In FIG. 1, each processor 101 of the processors 1 to n controls the radio communication device by parallel processing. The initial processing is performed by one of the processors 101.

【0035】制御部102は、各プロセッサ101に共
通バス103の使用権を割り当てる。また、制御部10
2は、フラグ障害検出部104およびフラグ切替部10
5を有し、初期化フラグの障害発生の検出と参照フラグ
の切替指示とを行う。フラグ障害検出部104は、各プ
ロセッサから出力される信号に基づき、初期化フラグの
障害発生を検出する。フラグ切替部105は、1つの初
期化フラグに障害が発生した場合に、他の初期化フラグ
を参照するように、各プロセッサ101に参照切替指示
を行う。
The control unit 102 assigns the right to use the common bus 103 to each processor 101. The control unit 10
2 is a flag failure detection unit 104 and a flag switching unit 10
5 for detecting the occurrence of a failure in the initialization flag and instructing the switching of the reference flag. The flag failure detection unit 104 detects occurrence of a failure in the initialization flag based on a signal output from each processor. When a failure occurs in one initialization flag, the flag switching unit 105 issues a reference switching instruction to each processor 101 so as to refer to another initialization flag.

【0036】共有メモリ106は、複数の初期化フラグ
(ここでは初期化フラグA107および初期化フラグB
108の2つの初期化フラグ)を格納し、その他に無線
通信装置の制御・運用を行うためのデータを記憶してい
る。
The shared memory 106 stores a plurality of initialization flags (here, an initialization flag A 107 and an initialization flag B).
108, and also stores data for controlling and operating the wireless communication device.

【0037】初期化フラグA107および初期化フラグ
B108は、初期処理を行うプロセッサを決定するため
のフラグであり、例えば”OFF”、”ON”の状態を
とる。なお、ここでは、各プロセッサが、初期化フラグ
A107を参照用フラグとして参照する。
The initialization flag A 107 and the initialization flag B 108 are flags for determining a processor that performs an initialization process, and assume, for example, "OFF" and "ON". Here, each processor refers to the initialization flag A107 as a reference flag.

【0038】次いで、上記構成を有するマルチプロセッ
サシステムにおける初期処理の動作について、図1を用
いて説明する。無線通信装置の電源投入時、各プロセッ
サ101はそれぞれ、まず、共有メモリ106の初期化
フラグA107を参照する。この場合、各プロセッサ1
01は、共通バス103を使用する前に、制御部102
に対してリクエスト信号を出力する。
Next, the operation of the initial processing in the multiprocessor system having the above configuration will be described with reference to FIG. When the power of the wireless communication apparatus is turned on, each processor 101 first refers to the initialization flag A107 of the shared memory 106. In this case, each processor 1
01, before using the common bus 103,
Outputs a request signal to

【0039】制御部102は、リクエスト信号が出力さ
れた順に、プロセッサ1〜nに共通バス103の使用権
を割り当てる。今、ここでは、プロセッサ1からプロセ
ッサnの順でリクエスト信号が出力され、共通バス10
3の使用権は、プロセッサ1からプロセッサnの順に割
り当てられるものとする。また、複数のプロセッサから
同時にリクエスト信号が出力された場合には、制御部1
02は、予め制御部102に設定されている優先順位に
従って、各プロセッサ101に共通バス103の使用権
を割り当てる。今、ここでは、プロセッサ1からプロセ
ッサnの順で優先順位が設定されているものとする。従
って、ここでは、プロセッサ1からプロセッサnの順
で、初期化フラグA107が参照されることとなる。
The control unit 102 assigns the right to use the common bus 103 to the processors 1 to n in the order in which the request signals are output. Now, here, a request signal is output from the processor 1 in the order of the processor n, and the common bus 10
The right to use 3 is assigned in the order of processor 1 to processor n. When request signals are simultaneously output from a plurality of processors, the control unit 1
In step 02, the right to use the common bus 103 is assigned to each processor 101 in accordance with the priority set in the control unit 102 in advance. Here, it is assumed that the priorities are set in the order of processor 1 to processor n. Therefore, here, the initialization flag A107 is referred to in order from the processor 1 to the processor n.

【0040】初期処理を行うプロセッサは1つで足りる
ので、次いで、初期処理を行う1つのプロセッサを決定
する。この決定方法は、各プロセッサ101が、初期化
フラグA107を参照することにより以下のようにして
行われる。
Since only one processor is required for initial processing, one processor for initial processing is determined. This determination method is performed as follows by each processor 101 by referring to the initialization flag A107.

【0041】初期化フラグA107および初期化フラグ
B108は、無線通信装置の電源投入時には、初期状態
として”OFF”となっており、プロセッサから一度参
照されると、それ以降は”ON”のままとなる。この動
作は、初期化フラグの正常な動作である。
The initialization flag A107 and the initialization flag B108 are "OFF" as an initial state when the power of the wireless communication apparatus is turned on, and once referred to by the processor, remain "ON" thereafter. Become. This operation is a normal operation of the initialization flag.

【0042】各プロセッサ101は、プロセッサ1から
プロセッサnの順に、まず、初期化フラグA107を、
2回づつ参照する。そして、1回目の参照結果が”OF
F”で、かつ2回目の参照結果が”ON”となったプロ
セッサであるプロセッサ1が初期処理を行う。また、2
回とも参照結果が”ON”となったその他のプロセッサ
であるプロセッサ2〜nは初期処理を行わない。
Each processor 101 first sets an initialization flag A107 in the order of processor 1 to processor n.
Refer to it twice. And the first reference result is “OF
The processor 1 which is the processor whose F is “ON” and whose second reference result is “ON” performs the initial processing.
Processors 2 to n, which are other processors whose reference result is "ON" at all times, do not perform the initial processing.

【0043】また、各プロセッサ101は、参照順に初
期化フラグA107の参照結果を示す信号をフラグ障害
検出部104へ出力する。
Further, each processor 101 outputs a signal indicating the reference result of the initialization flag A 107 to the flag failure detection unit 104 in the reference order.

【0044】ここで、初期化フラグA107に障害が発
生し、初期化フラグA107が”OFF”から”ON”
に切り替わらなくなってしまった場合には、全てのプロ
セッサからの参照結果が2回とも”OFF”となってし
まう。この場合、各プロセッサのうち1つでも、参照結
果が2回とも”OFF”となってしまうものがあれば、
初期化フラグA107に障害が発生したものと判断する
ことができる。そこで、フラグ障害検出部104は、プ
ロセッサ1が初期化フラグA107の参照結果を示す信
号を最初に出力した時点で、その参照結果が2回とも”
OFF”であれば、初期化フラグA107に障害が発生
したものと検出し、検出信号をフラグ切替部105へ出
力する。
Here, a failure occurs in the initialization flag A107, and the initialization flag A107 is changed from "OFF" to "ON".
, The reference results from all processors are both turned off twice. In this case, if at least one of the processors has a reference result “OFF” twice,
It can be determined that a failure has occurred in the initialization flag A107. Therefore, when the processor 1 first outputs the signal indicating the reference result of the initialization flag A107, the flag failure detection unit 104 determines that the reference result is “2 times”.
If “OFF”, it is detected that a failure has occurred in the initialization flag A 107, and a detection signal is output to the flag switching unit 105.

【0045】また、”ON”状態で初期化フラグA10
7に障害が発生し、電源切断後に、初期化フラグA10
7が初期状態である”OFF”に戻らなくなってしまっ
た場合には、全てのプロセッサからの参照結果が2回と
も”ON”となってしまう。従って、全てのプロセッサ
からの参照結果が2回とも”ON”となってしまった場
合にも、初期化フラグA107に障害が発生したものと
判断することができる。そこで、フラグ障害検出部10
4は、プロセッサ1〜nが出力する参照結果を示す信号
が、すべて2回とも”ON”であれば、初期化フラグA
107に障害が発生したものと検出し、検出信号をフラ
グ切替部105へ出力する。
In the "ON" state, the initialization flag A10
7 has failed, and after the power is turned off, the initialization flag A10
If 7 does not return to the initial state of "OFF", the reference results from all processors will be "ON" both times. Therefore, even when the reference results from all the processors are both turned "ON" twice, it can be determined that a failure has occurred in the initialization flag A107. Therefore, the flag failure detection unit 10
Reference numeral 4 denotes an initialization flag A if the signals indicating the reference results output from the processors 1 to n are both "ON" twice.
It detects that a failure has occurred in 107 and outputs a detection signal to flag switching section 105.

【0046】フラグ切替部105は、上記検出信号がフ
ラグ障害検出部104から出力された場合には、各プロ
セッサ101に対し、初期化フラグB108を参照する
ように指示する。各プロセッサ101は、この指示に従
って、参照する初期化フラグを、障害が発生している初
期化フラグA107から正常に動作する初期化フラグB
108へ切り替える。
When the detection signal is output from the flag failure detection unit 104, the flag switching unit 105 instructs each processor 101 to refer to the initialization flag B108. In accordance with this instruction, each processor 101 changes the initialization flag to be referenced from the initialization flag A 107 in which the failure has occurred to the initialization flag B which operates normally.
Switch to 108.

【0047】そして、各プロセッサ101は、初期化フ
ラグA107を参照するのと同様の動作にて初期化フラ
グB108を参照し、1回目の参照結果が”OFF”
で、かつ2回目の参照結果が”ON”となったプロセッ
サであるプロセッサ1が初期処理を行う。
Each processor 101 refers to the initialization flag B108 in the same operation as referring to the initialization flag A107, and the first reference result is "OFF".
Then, the processor 1 which is the processor whose second reference result is "ON" performs the initial processing.

【0048】なお、上記実施の形態1においては、参照
用フラグの2回の参照結果に従って参照用フラグの障害
発生を検出する構成としたが、これは最も効率的な回数
を示したにすぎないため、2回に限定されることはなく
複数回であればよい。
In the first embodiment, the occurrence of a failure in the reference flag is detected in accordance with the result of two references to the reference flag. However, this merely indicates the most efficient number of times. Therefore, the number of times is not limited to two and may be any number of times.

【0049】このように、本実施形態によれば、初期化
フラグの障害発生に備えて、マルチプロセッサシステム
は複数の初期化フラグを具備し、初期化フラグに障害が
発生したことを示す参照結果が各プロセッサより出力さ
れた場合に、初期化フラグの障害発生を検出し、初期化
フラグを切り替えて使用するため、初期化フラグに障害
が発生した場合にも初期処理を確実に行うことができ
る。
As described above, according to the present embodiment, in preparation for the occurrence of a failure in the initialization flag, the multiprocessor system has a plurality of initialization flags, and the reference result indicating that the failure has occurred in the initialization flag. Is output from each processor, the occurrence of a failure in the initialization flag is detected, and the initialization flag is switched and used. Therefore, even when a failure occurs in the initialization flag, the initial processing can be performed reliably. .

【0050】(実施の形態2)本発明の実施の形態2に
係るマルチプロセッサシステムは、実施の形態1と略同
一の構成を有し、初期化フラグが正常に動作しているこ
とを示す参照結果が各プロセッサより出力されない場合
に、初期化フラグの障害発生を検出する点において異な
る。
(Second Embodiment) A multiprocessor system according to a second embodiment of the present invention has substantially the same configuration as that of the first embodiment, and indicates that the initialization flag is operating normally. The difference is that when a result is not output from each processor, the occurrence of a failure in the initialization flag is detected.

【0051】以下、図2を用いて、本発明の実施の形態
2に係るマルチプロセッサシステムについて説明する。
図2は、本発明の実施の形態2に係るマルチプロセッサ
システムの概略構成を示す要部ブロック図である。但
し、実施の形態1と同一の構成となるものについては同
一番号を付し、詳しい説明を省略する。
Hereinafter, a multiprocessor system according to the second embodiment of the present invention will be described with reference to FIG.
FIG. 2 is a main block diagram showing a schematic configuration of a multiprocessor system according to Embodiment 2 of the present invention. However, components having the same configuration as in the first embodiment are denoted by the same reference numerals, and detailed description is omitted.

【0052】制御部102は、タイマ201、フラグ障
害検出部202およびフラグ切替部105を有し、初期
化フラグの障害発生の検出と参照フラグの切替指示とを
行う。タイマ201は、無線通信装置の電源投入時に起
動するタイマであり、任意の一定時間が設定される。フ
ラグ障害検出部202は、各プロセッサから出力される
信号に基づき、初期化フラグの障害発生を検出する。
The control unit 102 includes a timer 201, a flag failure detection unit 202, and a flag switching unit 105, and detects the occurrence of a failure in the initialization flag and instructs the switching of the reference flag. The timer 201 is a timer that starts when the power of the wireless communication apparatus is turned on, and has an arbitrary fixed time. The flag failure detection unit 202 detects occurrence of a failure in the initialization flag based on a signal output from each processor.

【0053】次いで、上記構成を有するマルチプロセッ
サシステムにおける初期化フラグの障害発生の検出方法
について、図2を用いて説明する。各プロセッサ101
のうち、1回目の参照結果が”OFF”で、かつ2回目
の参照結果が”ON”となったプロセッサ1は、初期処
理を行うプロセッサが決定した旨をフラグ障害検出部2
02に通知する。この通知によって、フラグ障害検出部
202は、初期化フラグA107に障害が発生していな
いものと判断し、タイマ201をリセットして再起動さ
せる。
Next, a method for detecting the occurrence of a failure in the initialization flag in the multiprocessor system having the above configuration will be described with reference to FIG. Each processor 101
Among them, the processor 1 in which the first reference result is “OFF” and the second reference result is “ON”, the flag failure detection unit 2 notifies that the processor for performing the initial processing has been determined.
02 is notified. Based on this notification, the flag failure detection unit 202 determines that a failure has not occurred in the initialization flag A107, and resets and restarts the timer 201.

【0054】ここで、初期化フラグA107に障害が発
生し、初期化フラグA107が”OFF”から”ON”
に切り替わらなくなってしまった場合には、全てのプロ
セッサからの参照結果が2回とも”OFF”となってし
まう。また、”ON”状態で初期化フラグA107に障
害が発生し、電源切断後に、初期化フラグA107が初
期状態である”OFF”に戻らなくなってしまった場合
には、全てのプロセッサからの参照結果が2回とも”O
N”となってしまう。これらの場合、初期処理を行うプ
ロセッサが決定しないため、フラグ障害検出部202に
は、上記通知がないことになる。
Here, a failure occurs in the initialization flag A107, and the initialization flag A107 is changed from "OFF" to "ON".
, The reference results from all processors are both turned off twice. If a failure occurs in the initialization flag A107 in the “ON” state and the initialization flag A107 does not return to the initial state “OFF” after the power is turned off, the reference result from all processors is returned. But twice "O"
N ”. In these cases, since the processor that performs the initial processing is not determined, the flag failure detection unit 202 does not receive the above notification.

【0055】そこで、フラグ障害検出部202は、上記
通知がない場合には、無線通信装置の電源投入時に起動
するタイマ201の満了によって、初期化フラグA10
7に障害が発生したものと検出し、検出信号をフラグ切
替部105へ出力する。また、フラグ障害検出部202
は、タイマ201をリセットして再起動させる。
In the absence of the above notification, the flag failure detection unit 202 determines that the initialization flag A10 has expired upon expiration of the timer 201 that is started when the power of the wireless communication apparatus is turned on.
7 is detected as having failed, and a detection signal is output to the flag switching unit 105. Further, the flag failure detection unit 202
Resets the timer 201 and restarts it.

【0056】このように、本実施形態によれば、初期化
フラグの障害発生に備えて、マルチプロセッサシステム
は複数の初期化フラグを具備し、初期化フラグが正常に
動作していることを示す参照結果が各プロセッサより出
力されない場合に、初期化フラグの障害発生を検出し、
初期化フラグを切り替えて使用するため、初期化フラグ
に障害が発生した場合にも初期処理を確実に行うことが
できる。
As described above, according to the present embodiment, in preparation for the occurrence of a failure in the initialization flag, the multiprocessor system has a plurality of initialization flags, indicating that the initialization flag is operating normally. When the reference result is not output from each processor, the occurrence of the initialization flag failure is detected,
Since the initialization flag is switched and used, even when a failure occurs in the initialization flag, the initialization process can be reliably performed.

【0057】なお、上記実施の形態1および上記実施の
形態2においては、マルチプロセッサシステムが2つの
初期化フラグを有する構成としたが、これに限定される
ものではなく、初期化フラグの障害発生頻度に応じて、
3つ以上の初期化フラグを有する構成としてもよい。
In the first and second embodiments, the multiprocessor system has two initialization flags. However, the present invention is not limited to this. Depending on the frequency,
A configuration having three or more initialization flags may be adopted.

【0058】さらに、上記実施の形態1および上記実施
の形態2においては、便宜上、プロセッサ1からプロセ
ッサnの順に初期化フラグを参照するものとしている
が、この参照順に限定されるものではない。また、上記
実施の形態1および上記実施の形態2においては、便宜
上、優先順位がプロセッサ1からプロセッサnの順に設
定されているものとしているが、この優先順位に限定さ
れるものではない。
Further, in the first and second embodiments, for convenience, the initialization flags are referred to in the order from the processor 1 to the processor n, but the present invention is not limited to this reference order. In the first embodiment and the second embodiment, the priorities are set in order from the processor 1 to the processor n for the sake of convenience. However, the priorities are not limited to the priorities.

【0059】また、上記実施の形態のマルチプロセッサ
システムは、移動体通信システムにおける基地局装置や
基地局制御装置に適用することができる。この場合、移
動体通信基地局装置および移動体通信基地局制御装置は
初期処理を確実に行うことができるマルチプロセッサシ
ステムを搭載するため、それらの装置の起動を確実に行
うことができる。
Further, the multiprocessor system of the above embodiment can be applied to a base station device or a base station control device in a mobile communication system. In this case, since the mobile communication base station device and the mobile communication base station control device are equipped with a multiprocessor system capable of reliably performing the initial processing, it is possible to surely start those devices.

【0060】[0060]

【発明の効果】以上説明したように、本発明によれば、
初期化フラグに障害が発生した場合にも無線通信装置の
起動を確実に行うことができる。
As described above, according to the present invention,
Even when a failure occurs in the initialization flag, it is possible to reliably start up the wireless communication device.

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

【図1】本発明の実施の形態1に係るマルチプロセッサ
システムの概略構成を示す要部ブロック図
FIG. 1 is a main block diagram showing a schematic configuration of a multiprocessor system according to a first embodiment of the present invention;

【図2】本発明の実施の形態2に係るマルチプロセッサ
システムの概略構成を示す要部ブロック図
FIG. 2 is a main block diagram showing a schematic configuration of a multiprocessor system according to a second embodiment of the present invention;

【図3】従来のマルチプロセッサシステムの概略構成を
示す要部ブロック図
FIG. 3 is a main block diagram showing a schematic configuration of a conventional multiprocessor system.

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

101 プロセッサ1〜n 102 制御部 103 共通バス 104 フラグ障害検出部 105 フラグ切替部 106 共有メモリ 107 初期化フラグA 108 初期化フラグB 201 タイマ 202 フラグ障害検出部 Reference Signs List 101 processor 1 to n 102 control unit 103 common bus 104 flag failure detection unit 105 flag switching unit 106 shared memory 107 initialization flag A 108 initialization flag B 201 timer 202 flag failure detection unit

───────────────────────────────────────────────────── フロントページの続き (72)発明者 山口 雅史 大阪府門真市大字門真1006番地 松下電器 産業株式会社内 (72)発明者 熊谷 智憲 神奈川県川崎市中原区上小田中4丁目1番 1号 富士通株式会社内 (72)発明者 山崎 誠也 神奈川県川崎市中原区上小田中4丁目1番 1号 富士通株式会社内 (72)発明者 米倉 健 神奈川県川崎市中原区上小田中4丁目1番 1号 富士通株式会社内 Fターム(参考) 5B045 AA00 HH01 HH06 JJ01 JJ12 JJ25 JJ44  ────────────────────────────────────────────────── ─── Continuing on the front page (72) Masafumi Yamaguchi 1006 Kazuma Kadoma, Kadoma City, Osaka Prefecture Matsushita Electric Industrial Co., Ltd. (72) Tomonori Kumagai 4-1-1 Kamikodanaka Nakahara-ku, Kawasaki City, Kanagawa Prefecture Fujitsu Fujitsu Co., Ltd. (72) Inventor Seiya Yamazaki 4-1, 1-1 Uedanaka, Nakahara-ku, Kawasaki City, Kanagawa Prefecture Inside (72) Inventor Ken Yonekura 4-1-1, Kamiodanaka, Nakahara-ku, Kawasaki City, Kanagawa Prefecture Fujitsu F term in reference (reference) 5B045 AA00 HH01 HH06 JJ01 JJ12 JJ25 JJ44

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 複数のプロセッサを有するシステム内の
各プロセッサから参照され、最初に参照されたときに第
1の状態から第2の状態に遷移する複数のフラグを格納
する格納手段と、前記複数のフラグの障害発生を検出す
る検出手段と、前記各プロセッサが参照する参照用フラ
グに障害が発生した場合に、前記参照用フラグ以外のフ
ラグを前記各プロセッサが参照するように切り替え制御
を行う切替制御手段と、を具備することを特徴とするマ
ルチプロセッサシステム。
1. A storage means for storing a plurality of flags which are referred to by each processor in a system having a plurality of processors and transition from a first state to a second state when first referenced, and Detecting means for detecting the occurrence of a flag failure, and performing switching control so that each processor refers to a flag other than the reference flag when a failure occurs in the reference flag referenced by each processor. And a control means.
【請求項2】 各プロセッサは、参照用フラグを複数回
参照し、検出手段は、参照結果がすべて同じ状態である
ときに、前記参照用フラグに障害が発生したことを検出
することを特徴とする請求項1記載のマルチプロセッサ
システム。
2. The method according to claim 1, wherein each processor refers to the reference flag a plurality of times, and the detecting means detects that a failure has occurred in the reference flag when all the reference results are in the same state. The multiprocessor system according to claim 1, wherein
【請求項3】 任意の一定の時間が経過するまでに、参
照用フラグが正常に動作する旨の通知がプロセッサから
なされた場合に停止する計時手段を具備し、検出手段
は、前記任意の一定の時間が経過した時点で前記通知が
ないときに前記参照用フラグに障害が発生したことを検
出することを特徴とする請求項1記載のマルチプロセッ
サシステム。
3. A timer means for stopping when a processor informs that a reference flag operates normally before a given time elapses, and wherein the detecting means comprises: 2. The multiprocessor system according to claim 1, wherein when the time has elapsed, when the notification is not received, it is detected that a failure has occurred in the reference flag.
【請求項4】 請求項1から請求項3のいずれかに記載
のマルチプロセッサシステムを具備することを特徴とす
る移動体通信基地局装置。
4. A mobile communication base station apparatus comprising the multiprocessor system according to claim 1. Description:
【請求項5】 請求項1から請求項3のいずれかに記載
のマルチプロセッサシステムを具備することを特徴とす
る移動体通信基地局制御装置。
5. A mobile communication base station controller comprising the multiprocessor system according to claim 1. Description:
【請求項6】 1つのプロセッサから最初に参照された
ときに第1の状態から第2の状態に遷移する複数のフラ
グのうちの1つの参照用フラグの参照結果に従って前記
参照用フラグの障害発生を検出する検出工程と、前記障
害発生が検出された場合に、前記参照用フラグ以外のフ
ラグを参照用フラグに切り替える制御を行う切替制御工
程と、を具備し、各プロセッサが前記参照用フラグを参
照することにより初期処理を行う1つのプロセッサを決
定するマルチプロセッサシステム初期化方法。
6. A failure of the reference flag according to a reference result of one of a plurality of flags that transitions from the first state to the second state when first referenced by one processor. And a switching control step of performing control to switch a flag other than the reference flag to a reference flag when the occurrence of the failure is detected, wherein each processor sets the reference flag. A multiprocessor system initialization method for determining one processor that performs initial processing by referring to the processor.
【請求項7】 各プロセッサは、参照用フラグを複数回
参照し、参照結果がすべて同じ状態であるときに、検出
工程において、前記参照用フラグに障害が発生したこと
を検出することを特徴とする請求項6記載のマルチプロ
セッサシステム初期化方法。
7. Each processor refers to a reference flag a plurality of times, and when all reference results are in the same state, detects in the detection step that a failure has occurred in the reference flag. The method for initializing a multiprocessor system according to claim 6.
【請求項8】 検出工程において、任意の一定の時間が
経過するまでに、参照用フラグが正常に動作する旨の通
知がプロセッサからないときに前記参照用フラグに障害
が発生したことを検出することを特徴とする請求項6記
載のマルチプロセッサシステム初期化方法。
8. The detecting step detects that a failure has occurred in the reference flag when there is no notification from the processor that the reference flag operates normally before a given time elapses. 7. The method for initializing a multiprocessor system according to claim 6, wherein:
JP11141391A 1999-05-21 1999-05-21 Multiprocessor system and multiprocessor initializing method Withdrawn JP2000330955A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11141391A JP2000330955A (en) 1999-05-21 1999-05-21 Multiprocessor system and multiprocessor initializing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11141391A JP2000330955A (en) 1999-05-21 1999-05-21 Multiprocessor system and multiprocessor initializing method

Publications (1)

Publication Number Publication Date
JP2000330955A true JP2000330955A (en) 2000-11-30

Family

ID=15290911

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11141391A Withdrawn JP2000330955A (en) 1999-05-21 1999-05-21 Multiprocessor system and multiprocessor initializing method

Country Status (1)

Country Link
JP (1) JP2000330955A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107729207A (en) * 2017-09-15 2018-02-23 青岛海信电器股份有限公司 A kind of monitoring method and device of application program main thread

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107729207A (en) * 2017-09-15 2018-02-23 青岛海信电器股份有限公司 A kind of monitoring method and device of application program main thread
CN107729207B (en) * 2017-09-15 2021-01-01 海信视像科技股份有限公司 Application program main thread monitoring method and device

Similar Documents

Publication Publication Date Title
CN101714108B (en) Synchronization control apparatus, information processing apparatus, and synchronization management method
WO2006103814A1 (en) Application management device and storage medium containing its software
JP2000330955A (en) Multiprocessor system and multiprocessor initializing method
JP4675567B2 (en) Large screen display system
JPH06131208A (en) Switching system between in-operation device and stand-by device
JP2000031875A (en) Communication terminal device, communication controller and data communication system
JP2000276433A (en) Data transfer device
KR100403575B1 (en) Power on-off control device and method thereof
JPH09288590A (en) Virtual computer system
JP2508305B2 (en) Initial value determination device
JP3006589B2 (en) Operation monitoring unit
JP2000148544A (en) Dump output system
JPH07200334A (en) Duplicate synchronization operation system
JPH0944278A (en) Power saving control equipment, portable equipment using the same and power saving control method
JPH11134209A (en) Fault tolerant controler
JP2658683B2 (en) System stall monitoring and control method for mutual standby system
JPH0675653A (en) Computer redundancy control system
JP2017102887A (en) Information processing device, start method, and start program
JP2002063047A (en) Doubling system switching device and switching method therefor
JP3346670B2 (en) Central processing unit switching method and switching system
JPH02140036A (en) System constitution decision system at the time of restarting operation
KR100825458B1 (en) Apparatus for Duplexing Board for Network Synchronization Board in Radio Network Controller
JP2795246B2 (en) Failure recovery device at the time of interrupt processing in redundant memory system
JP5338356B2 (en) COMMUNICATION DEVICE, COMMUNICATION SYSTEM, POWER CONTROL METHOD, AND PROGRAM
JP2001331325A (en) Initial startup device, its method and recording medium

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