JPH03214346A - Inter-processor communication control method - Google Patents

Inter-processor communication control method

Info

Publication number
JPH03214346A
JPH03214346A JP997690A JP997690A JPH03214346A JP H03214346 A JPH03214346 A JP H03214346A JP 997690 A JP997690 A JP 997690A JP 997690 A JP997690 A JP 997690A JP H03214346 A JPH03214346 A JP H03214346A
Authority
JP
Japan
Prior art keywords
processor
cpu
communication
processor communication
inter
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.)
Granted
Application number
JP997690A
Other languages
Japanese (ja)
Other versions
JP2876676B2 (en
Inventor
Michihiro Aoki
道宏 青木
Shuji Miki
三木 修次
Hisashi Okamoto
久 岡本
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.)
NTT Inc
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP997690A priority Critical patent/JP2876676B2/en
Publication of JPH03214346A publication Critical patent/JPH03214346A/en
Application granted granted Critical
Publication of JP2876676B2 publication Critical patent/JP2876676B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Abstract

PURPOSE:To quickly execute the conversion of a CPU to off-line by sending back a reception stopping state response to a processor which transmits data without registering the data in a receiving data buffer by an inter-processor communication receiving part in the processor to be converted to off-line. CONSTITUTION:A stop notice of a communication state is executed to all other CPUs that are connected, and also, in the CPU 1 to be converted to off-line, '0' is written in the own processor communication state holding part by the own processor communication state rewriting part. In such a state, when a communication from the other CPU 2 is inputted, an inter-processor communica tion receiving part 130 sends back the receiving stopping state abnormality end to the CPU 2 of a communication destination, based on '0' of the own processor communication state holding part. Accordingly, the CPU 1 becomes a state that it does not receive a new communication from the other CPU 2. In such a way, the stop of an arbitrary CPU, or the detachment from the processing in the system can be executed quickly by a simple procedure.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、並列処理システムやマルチプロセッサシステ
ム等、共通伝送媒体を介して複数のプロセッサ(以下、
CPUと記載; Central  Processi
ng  Unit)を接続し、一連の処理を行なうシス
テムにおける各CPU間の通信方法に係り、特に、CP
Uのオフライン化時等の対処に好適なCPU間通信制御
方法に関するものである。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a parallel processing system, a multiprocessor system, etc., in which a plurality of processors (hereinafter referred to as
Described as CPU; Central Process
It relates to the communication method between each CPU in a system that connects ng Units and performs a series of processing, and in particular,
The present invention relates to an inter-CPU communication control method suitable for dealing with situations such as when a U goes offline.

〔従来の技術] 計算機システムの処理性能,および、信頼性の向上を目
的とした、様々なシステム構成がある。
[Prior Art] There are various system configurations aimed at improving the processing performance and reliability of computer systems.

例えば、その1つに、並列処理のシステム構成がある。For example, one of them is a system configuration for parallel processing.

並列処理を行なうコンピュータでは、数個から数百、あ
るいは、それ以上のCPUを持ち、この多数のCPUを
並列に用いて、大量のデータを同時に処理する。演算可
能な状態のデータを待たずに実行するため、処理時間を
短縮することが可能である。
A computer that performs parallel processing has several to several hundred or more CPUs, and uses these many CPUs in parallel to process large amounts of data at the same time. Since the processing is executed without waiting for data that is ready for calculation, processing time can be shortened.

並列処理においては、CPUの配置や処理の方法により
、SIMD方式( S ingle  T nstru
ctionSjream  Multiple  Da
tastream +単一命令、単データ方式)と、M
TMD方式(Multiple  I nstruct
ionstrcam   Multiple   Da
tastream:複数命令、複数データ方式)とがあ
る。
In parallel processing, the SIMD method (Single Tnstr) is used depending on the CPU arrangement and processing method.
ctionSjream Multiple Da
tasstream + single instruction, single data method) and M
TMD method (Multiple Instruct)
ionstrcam Multiple Da
tasstream (multi-instruction, multiple-data system).

SIMD方式の並列処理においては、中央の制御装置か
ら与えられた同一命令で、複数のCPUが、複数のデー
タを同期的に実行する。各CPUは、結合ネットワーク
で結ばれている。
In SIMD parallel processing, multiple CPUs synchronously execute multiple pieces of data based on the same command given from a central control device. Each CPU is connected by a connection network.

MIMD方式の並列処理においては、各CPUが独立し
て働き、異なる複数の命令に従って、複数のデータを非
同期的に実行する。各CPUは、独立して動作するため
に、内部に制御機能を持っている。SIMD方式と同じ
ように、各CPU間で、情報交換を行なうための通信回
路網を持っている。
In MIMD parallel processing, each CPU works independently and asynchronously executes multiple pieces of data according to multiple different instructions. Each CPU has an internal control function to operate independently. Like the SIMD system, each CPU has a communication network for exchanging information.

このように、並列処理においては、それぞれのCPUが
処理を実行する途中で、必ずCPU間で情報を交換する
必要が出てくる。
In this way, in parallel processing, it becomes necessary to exchange information between CPUs while each CPU executes a process.

以上、並列処理に関しては、「月刊 情報処理試験 1
989年 4月号」((株)日本ソフトバンク出版事業
部発行)のPP.2〜5に記載されている。
Regarding parallel processing, please refer to "Monthly Information Processing Examination 1".
PP of “April 989 Issue” (published by Japan SoftBank Publishing Division). 2 to 5.

また、複数のC P Uを用いて、処理性能を向上させ
るシステムとして、マルチプロセッサシステムがある。
Furthermore, there is a multiprocessor system as a system that uses a plurality of CPUs to improve processing performance.

マルチプロセッサシステムには、複数台のCPUで、共
通の主記憶装置とチャネルを共用する密結合マルチプロ
セッサシステムと、高速チャネルを用いて複数個のCP
Uを結合し、かつ、主記憶装置もCPU毎に独立して接
続する疎結合マルチプロセッサシステムがある。
Multiprocessor systems include tightly coupled multiprocessor systems in which multiple CPUs share a common main memory and channel, and tightly coupled multiprocessor systems in which multiple CPUs share a common main memory and channel, and
There is a loosely coupled multiprocessor system in which the CPUs are coupled together and the main memory is also independently connected to each CPU.

マルチプロセッサシステムにおいて、いづれかのCPU
が故障した場合は、その故障したCPUを切り離して、
残りのCPUで処理を継続する。
In a multiprocessor system, one of the CPUs
If the CPU fails, disconnect the failed CPU and
Processing continues using the remaining CPUs.

密結合マルチプロセッサシステムの各CPU間の結合に
は、バス結合やマルチボート結合があり、疎結合マルチ
プロセッサシステムでは、CPU間通信もチャネルによ
り行なわれる。
Connections between CPUs in a tightly coupled multiprocessor system include bus coupling and multi-board coupling, and in a loosely coupled multiprocessor system, communication between CPUs is also performed by channels.

このような、マルチプロセッサシステムに関しては、[
合格情報処理 1989年 2月号」((株)学習研究
社発行)のPP.15〜l7に記載されている。
For such multiprocessor systems, [
PP of “Passing Information Processing February 1989 Issue” (published by Gakken Co., Ltd.). 15-17.

マルチプロセッサシステムにおけるプロセッサ間通信方
法の従来例を、以下に説明する。
A conventional example of an inter-processor communication method in a multiprocessor system will be described below.

第3図は、従来技術のマルチプロセッサシステムにおけ
るプロセッサ間通信に係るCPUの内部構成を示すブロ
ック図である。
FIG. 3 is a block diagram showing the internal configuration of a CPU related to inter-processor communication in a conventional multiprocessor system.

尚、本例では、2台のCPUのプロセッサ間通信につい
て説明しているが、3台以上のCPUのプロセッサ間通
信の場合でも同様である。
Although this example describes inter-processor communication between two CPUs, the same applies to inter-processor communication between three or more CPUs.

CPU31とCPU3 2は、互いに、通信を行なうた
めの通信路(図中SBUS)33を持つ。
The CPU 31 and the CPU 32 have a communication path (SBUS in the figure) 33 for communicating with each other.

CPU3 1は、C:PU3 1自体の主な制御を行な
う中央制御部(図中MPU)3 1 0 1と、この中
央制御部3101の動作を記述したプログラムや、各種
データを保存する主記憶(図中MM)3 1 1 0、
そして、プロセッサ間通信の送信動作を行なうプロセッ
サ間通信送信部(図中SBLK)3120、および、プ
ロセッサ間通信の受信動作を行なうプロセッサ間通信受
信部(図中RBLK)3130から構成されている。
The CPU 3 1 includes a central control unit (MPU in the figure) 3 1 0 1 which performs the main control of the C:PU 3 1 itself, and a main memory (which stores programs that describe the operations of this central control unit 3101 and various data). MM in the figure) 3 1 1 0,
It is comprised of an inter-processor communication transmitter (SBLK in the figure) 3120 that performs a transmission operation for inter-processor communication, and an inter-processor communication receiver (RBLK in the figure) 3130 that performs a receive operation for inter-processor communication.

図示していないが、CPU32も、CPU31と全く同
様の構成となっている。
Although not shown, the CPU 32 also has exactly the same configuration as the CPU 31.

中央制御部3101と、プロセッサ間通信送信部312
oおよびプロセッサ間通信受信部3130との間で、通
信データを引き継ぐ方法としては、(1)主記憶311
0上にバッファ領域を確保する方法、または、(u)プ
ロセッサ間通信送信部3l20、および、プロセッサ間
通信受信部3130にレジスタを置く方法がある。この
部分は、本発明の範囲外であり、本例では、(ii)の
プロセッサ間通信送信部3120、および、プロセッサ
間通信受信部3130にレジスタを置く方法で説明する
Central control unit 3101 and inter-processor communication transmitting unit 312
As a method for taking over communication data between O and the inter-processor communication receiving unit 3130,
0, or (u) placing registers in the inter-processor communication transmitter 3l20 and the inter-processor communication receiver 3130. This part is outside the scope of the present invention, and in this example, the method (ii) of placing registers in the inter-processor communication transmitter 3120 and the inter-processor communication receiver 3130 will be described.

プロセッサ間通信送信部3120は、通信パケット(図
中CPKT)の組み立てと、送信を行なう送信制御部(
図中SSCTL)3 1 2 1,送信すべき通信デー
タを保持する送信データバッファ(図中SBUF)3 
1 22、この送信データバッファ3122への書き込
みを行なう送信書き込み制御部(図中SWCTL)3 
1 23がら構成されている。
The inter-processor communication transmission section 3120 is a transmission control section (CPKT in the figure) that assembles and transmits communication packets (CPKT in the figure).
SSCTL in the figure) 3 1 2 1, Transmission data buffer (SBUF in the figure) 3 that holds communication data to be transmitted
1 22, transmission write control unit (SWCTL in the figure) 3 that writes to this transmission data buffer 3122
It is made up of 123 pieces.

プロセッサ間通信受信部3130は、受信した通信パケ
ット内の通信データを保持する受信デタバッファ(図中
RBUF)3 1 3 2、通信パケット内の受信、お
よび、受信データバッファ3132への書き込み、さら
に、応答パケット(図中APKT)の送信を行なう受信
書き込み制御部(図中RWCTL)3 1 3 3、受
信データバッファ3l32からの読みだしを行なう受信
読みだし制御部(図中RRCTL)3 1 3 1から
構成されている。
The inter-processor communication receiving unit 3130 receives a reception data buffer (RBUF in the figure) 3 1 3 2 that holds communication data in a received communication packet, receives the communication packet, writes it to the reception data buffer 3132, and sends a response. Consists of a reception write control unit (RWCTL in the diagram) 3 1 3 3 that transmits packets (APKT in the diagram) and a reception read control unit (RRCTL in the diagram) 3 1 3 1 that reads from the reception data buffer 3l32. has been done.

CPU3 1からCPU32に対する1回のプロセッサ
間通信は、CPU3 1が、通信パケットを通信路33
を介してCPU3 2に転送し、これに対して、CPU
32が、応答パケットをCPIJ3lに転送することで
終了する。
In one inter-processor communication from CPU 3 1 to CPU 32, CPU 3 1 sends a communication packet to communication channel 33.
is transferred to CPU32 via
32 ends by forwarding the response packet to CPIJ3l.

応答パケットの内容には、正常終了と異常終了とがある
。通信パケットが正常にCPIJ3 2の受信データバ
ッファ(C P U 3 1内の3132に相当)に書
き込めた場合に正常終了とし、CPU3 2の受信デー
タバッファが、満杯等の原因で、書き込みが失敗した場
合には、異常終了とする。
The contents of the response packet include normal termination and abnormal termination. If the communication packet is successfully written to the receive data buffer of CPIJ32 (corresponding to 3132 in CPU31), it is considered a normal end, and the write fails due to the receive data buffer of CPU32 being full, etc. If so, it will be terminated abnormally.

送信動作は、まず、CPU3 1の中央制御部3101
による受信側CPU3 2の状態確認、そして、送信デ
ータの準備とプロセッサ間通信送信部3120に対する
送信指示、さらに、プロセッサ間通信送信部3120に
よる通信パケットの組立と送信で実現する。
The transmission operation is first performed by the central control unit 3101 of the CPU 31.
This is accomplished by checking the status of the receiving side CPU 32, preparing transmission data and instructing the inter-processor communication transmitter 3120 to send it, and further assembling and transmitting a communication packet by the inter-processor communication transmitter 3120.

送信側CPU3 1による受信側CPU32の通信状態
確認は、中央制御部3101が、主記憶3101上のプ
ロセッサ通信状態表(図中PCSTBL)3111を参
照することで行なう。このプロセッサ通信状態表311
1は、CPU3 1に接続されている他のCPUを識別
するプロセッサ識別番号欄(図中PID)3112と、
プロセッサ識別番号欄3l12上で対応するCPUの通
信状態を格納するプロセッサ通信状態欄(図中PST)
3113により構成されている。
Confirmation of the communication status of the receiving CPU 32 by the sending CPU 31 is performed by the central control unit 3101 by referring to the processor communication status table (PCSTBL in the figure) 3111 on the main memory 3101. This processor communication status table 311
1 is a processor identification number column (PID in the figure) 3112 that identifies other CPUs connected to CPU 3 1;
A processor communication status column (PST in the figure) that stores the communication status of the corresponding CPU on the processor identification number column 3l12.
3113.

プロセッサ通信状態欄3113は、rQJで受信停止中
状態、「l」で受信可能状態を示す。
In the processor communication status column 3113, rQJ indicates a reception-stopped state, and "l" indicates a reception-enabled state.

中央制御部3101は、通信相手のCPUに対応するプ
ロセッサ通信状態欄31l3が「l」であれば、送信処
理を行ない、「O」であれば、送信処理を中止する。第
3図においては、CPU32に対応するプロセッサ通信
状態欄3l13が「1」であり、中央制御部31o1は
、CPU3 2に対して、送信処理を行なう。
The central control unit 3101 performs the transmission process if the processor communication status field 31l3 corresponding to the CPU of the communication partner is "1", and cancels the transmission process if it is "O". In FIG. 3, the processor communication status column 3l13 corresponding to the CPU 32 is "1", and the central control unit 31o1 performs a transmission process to the CPU 32.

次に、CPU31が、受信動作を行なう場合に関して説
明する。
Next, a case where the CPU 31 performs a receiving operation will be described.

受信動作は、まず、プロセッサ間通信受信部3130に
よる受信可否の確認、そして、受信データバッファ3l
32への登録と応答パケットの送信、さらに、プロセッ
サ間通信受信部3130から中央制御部3101への通
信パケット受信の報告、そして、中央制御部3101に
よるプロセッサ間通信受信部3l30からのデータの読
みだしで実現される。
In the reception operation, first, the inter-processor communication reception unit 3130 confirms whether reception is possible, and then the reception data buffer 3l
32 and transmission of a response packet, furthermore, the inter-processor communication receiving section 3130 reports the reception of the communication packet to the central control section 3101, and the central control section 3101 reads data from the inter-processor communication receiving section 3130. It is realized by

受信可否の確認は、受信書き込み制御部3133が、受
信データバッファ3l32の空きを確認することで行な
う。受信データバッファ3132に空きが無い場合には
、受信書き込み制御部3l33は、送信側であるCPU
、例えば、CPU32に対して、異常終了の応答パケッ
トを転送して、受信動作を終了する。受信データバッフ
ァ3132に空きがあり、受信可能であれば、受信書き
込み制御部3133は、通信パケット内のデータを受信
データバッファ3132に登録し、受信動作を継続する
The reception write control unit 3133 confirms whether reception is possible or not by checking the availability of the reception data buffer 3l32. If there is no free space in the reception data buffer 3132, the reception write control unit 3l33
, for example, transfers an abnormal end response packet to the CPU 32 and ends the receiving operation. If there is space in the reception data buffer 3132 and reception is possible, the reception write control unit 3133 registers the data in the communication packet in the reception data buffer 3132 and continues the reception operation.

次に、例えば、CPU32のプロセッサ間通信の受信停
止を行なう場合には、CPU32が、CPU3 ]に対
して、CPU3 1のプロセッサ識別番号欄3112に
おけるCPU32に対応するプロセッサ通信状態欄31
13にrQJ を書き込むための依頼を行なう。
Next, for example, when stopping reception of inter-processor communication of the CPU 32, the CPU 32 sends a message to the processor communication status column 31 corresponding to the CPU 32 in the processor identification number column 3112 of the CPU 31.
A request is made to write rQJ to 13.

依頼を受けたCPtJ31では、中央制御部31o1が
、ソフトウェアにより,プロセッサ通信状態表3111
への書き込みを行なう。CPU32は、この操作を、シ
ステム内に存在する自分以外の、全てのCPUに対して
実行する必要がある。
In the CPtJ31 that received the request, the central control unit 31o1 uses software to create the processor communication status table 3111.
Write to. The CPU 32 needs to perform this operation on all CPUs other than itself in the system.

受信の停止解除は、同様にして、該当するCPUに対応
するプロセッサ通信状態欄3l13にrlJ を書き込
むことで行なわれる。
Similarly, the suspension of reception is canceled by writing rlJ in the processor communication status column 3l13 corresponding to the CPU in question.

[発明が解決しようとする課囲] コンピュータの処理能力の向上に対する要求は近年益々
高くなり、多数のCPUを用いて、一連の処理を行なう
システムが、実現されている。これらのシステムでは、
接続されたCPUの故障等に伴うユニットの分離技術が
問題となってきている。すなわち、システム全体の処理
性能を落さないために、速やかな、故障CPUのオフラ
イン化が必要となっている。
[Problems to be Solved by the Invention] In recent years, there has been an increasing demand for improvements in the processing power of computers, and systems that use a large number of CPUs to perform a series of processes have been realized. In these systems,
The technology for separating units due to failures of connected CPUs, etc. has become a problem. That is, in order not to degrade the processing performance of the entire system, it is necessary to quickly take the failed CPU offline.

例えば、マルチプロセッサシステムにおいて、任意のC
PUを停止、または、システム内の処理から切り離して
、オフライン化する場合がある。
For example, in a multiprocessor system, any C
There are cases where the PU is stopped or separated from the processing within the system and taken offline.

この場合には、システムの動作を補償するために、CP
Uをオフライン化する前に、このCPUの受信バッファ
内の通信を全て処理する必要がある。
In this case, CP
Before taking U offline, all communications in this CPU's receive buffer must be processed.

この処理期間中に、他のCPUから新たな通信が行なわ
れると、CPUの受信バッファ内の通信が増えてしまい
、CPUを速やかに停止して、オフライン化することが
出来なくなる。そのため、このCPUに対する、他のC
PUからの通信を速やかに停止する必要がある。
If new communication is performed from another CPU during this processing period, the number of communications in the CPU's reception buffer increases, making it impossible to quickly stop the CPU and take it offline. Therefore, other C
It is necessary to immediately stop communication from the PU.

しかし、従来のプロセッサ間通信制御方法では、受信停
止の通知を行なってから、他のCPIJの全てが、受信
停止通知を認知するまでの期間に、このCPUに対する
通信が発生する可能性が高い。
However, in the conventional inter-processor communication control method, there is a high possibility that communication with this CPU will occur during the period from when the reception stop notification is given until all the other CPIJs recognize the reception stop notification.

そのため、CPUの停止が引き延ばされ、このCPUを
速やかに停止して、オフライン化出来なくなる等の問題
があった。
As a result, there is a problem in that the time it takes to stop the CPU is extended, making it impossible to quickly stop the CPU and take it offline.

本発明の目的は、これら従来技術の課題を解決し、複数
のCPUを接続して一連の処理を行なうコンピュータシ
ステムにおいて、任意のCPUの停止、または、システ
ム内の処理からの切り離しを、簡単な手順で、かつ、シ
ステム内のCPU台数や、システムバスの状態に依存せ
ずに、速やかに実現し、システムの処理能力を向上する
プロセッサ間通信方法を提供することである。
An object of the present invention is to solve the problems of the prior art, and to easily stop any CPU or disconnect it from processing within the system in a computer system in which a plurality of CPUs are connected to perform a series of processing. It is an object of the present invention to provide an inter-processor communication method that can be implemented quickly without depending on the number of CPUs in the system or the state of the system bus, and improves the processing capacity of the system.

[課題を解決するための手段] 上記目的を達成するため、本発明のプロセッサ間通信制
御方法は、プロセッサの各々に、データの受信を停止す
るか否かの状態を保持する自プロセッサ通信状態保持部
と、この自プロセッサ通信状態保持部の内容を書き換え
る自プロセッサ通信状態書き換え部とを有し、コンピュ
ータシステムの任意のプロセッサをオフライン化する時
に、このオフライン化するプロセッサ内の自プロセッサ
通信状態書き換え部は、プロセッサ内の自プロセッサ通
信状態保持部の保持する状態をデータの受信を受け付け
ない受信停止中状態に書き換え、コンピュータシステム
の他のプロセッサから送信されたデータの受信時に、オ
フライン化するプロセッサ内のプロセッサ間通信受信部
は、自プロセッサ通信状態保持部の受信停止中状態に基
づき、データを上記受信データバッファに登録せず、デ
ータを送信したプロセッサに受信停止中応答を返送する
ことを特徴とする。
[Means for Solving the Problems] In order to achieve the above object, the inter-processor communication control method of the present invention provides a communication state maintenance function for each processor to maintain the state of whether or not to stop receiving data. and a self-processor communication state rewriting section that rewrites the contents of the own processor communication state holding section, and when an arbitrary processor of the computer system is taken offline, the own processor communication state rewriting section in the processor to be taken offline The processor rewrites the state held by its own processor communication state holding unit in the processor to a reception-stopped state that does not accept data reception, and causes the processor to go offline when receiving data transmitted from other processors in the computer system. The inter-processor communication receiving unit is characterized in that it does not register the data in the reception data buffer and returns a reception-stopping response to the processor that sent the data based on the reception-stopping state of its own processor communication state holding unit. .

[作用] 本発明において、あるCPUをオフライン化する場合に
は、プロセッサ間通信の受信停止を行なうために、プロ
セッサ間通信受信部は、オフライン化するCPU自体を
、他のCPUからの新たな通信を受け付けない状態にす
る。
[Operation] In the present invention, when a certain CPU is taken offline, in order to stop reception of inter-processor communication, the inter-processor communication receiving unit transfers the CPU to be taken offline to new communication from other CPUs. will not be accepted.

すなわち、従来技術により、接続された他の全CPUに
対して、通信状態の停止通知を行なうと共に、オフライ
ン化するCPtJ内において、自プロセッサ通信状態書
き換え部により、自プロセッサ通信状態保持部にrOJ
 を書き込む。
That is, according to the prior art, all other connected CPUs are notified of the termination of the communication state, and in the CPtJ to be taken offline, the own processor communication state rewriting unit writes rOJ to the own processor communication state holding unit.
Write.

この状態で、他のCPUがらの通信が入力されると、プ
ロセッサ間通信受信部は、自プロセッサ通信状態保持部
のrQJに基づき、受信停止中状態異常終了を通信先の
CPUに返送する。
In this state, when communication from another CPU is input, the inter-processor communication receiving unit returns a reception-stopping status abnormal end to the communication destination CPU based on rQJ of its own processor communication status holding unit.

このようにして、このCP’Uは、他のCPUがらの新
たな通信を受け付けない状態となる。
In this way, this CPU'U enters a state in which it does not accept new communications from other CPUs.

そして、任意のCPUの停止、または,システム内の処
理からの切り離しを、簡単な手順で、速やかに実現する
ことが出来る。
In addition, it is possible to quickly stop any CPU or disconnect it from processing within the system using a simple procedure.

〔実施例} 以下、本発明の実施例を、図面により詳細に説明する。〔Example} Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

第1図は、本発明のプロセッサ間通信方法に係6CPU
の処理動作の1実施例を示すフローチャートである。
FIG. 1 shows 6 CPUs related to the inter-processor communication method of the present invention.
3 is a flowchart showing an example of processing operation of FIG.

本実施例においては、データの受信動作を停止するか否
かの状態を保持するものとしては、自プロセッサ間通信
状態フラグ(CSFLG)を、また、この自プロセッサ
間通信状態フラグ(CSFLG)の登録内容を書き換え
るものとして、フラグ制御部(CSFCTL)を、共に
、プロセッサ間通信受信部(R B L K)内に施し
たものとして説明している。
In this embodiment, a self-processor communication state flag (CSFLG) is used to hold the state of whether or not to stop the data reception operation, and this inter-processor communication state flag (CSFLG) is registered. In order to rewrite the contents, the flag control section (CSFCTL) is described as being provided within the inter-processor communication receiving section (RBLK).

C.P Uが、プロセッサ間通信の受信停止を行なう場
合には(ステップ1o1)、受信停止を行なうCPU自
体において、まず、CPU内部の中央制御部(MPIJ
)から、プロセッサ間通信受信部(RBLK)内のフラ
グ制御部(CSFCTL)に対して、受信停止状態への
変更指示を行なう(ステップ+02)。この指示を受け
たフラグ制御部(CSFCTL)は、自CPU通信状態
フラグ(CSFLG)に「O」を書き込み(ステップ1
03).さらに,CPU2等の、自分以外の全CPUに
対して通信状態の停止通知を行ない(ステップ104)
、処理を終了する。
C. When the PU stops reception of inter-processor communication (step 1o1), first, the central control unit (MPIJ) inside the CPU itself stops reception.
) instructs the flag control unit (CSFCTL) in the inter-processor communication reception unit (RBLK) to change to the reception stop state (step +02). Upon receiving this instruction, the flag control unit (CSFCTL) writes "O" to its own CPU communication status flag (CSFLG) (step 1
03). Furthermore, it notifies all CPUs other than itself, such as CPU 2, that the communication status has stopped (step 104).
, ends the process.

このように、プロセッサ間通信を行なう複数個のCPU
からなるシステムにおいて、通信動作の停止を行なうC
PU自体に、通信停止中を示す状態表示を持たせること
により、他のCPUがらの、新たな通信を受付けないで
済む。そのために、CPUのオフライン化が、速やかに
実行される。
In this way, multiple CPUs that perform interprocessor communication
In a system consisting of
By providing the PU itself with a status display indicating that communication is stopped, there is no need to accept new communications from other CPUs. Therefore, the CPU is promptly taken offline.

第2図は、第1図における処理動作を実施するCPUの
内部構成の1実施例を示すブロック図である。
FIG. 2 is a block diagram showing one embodiment of the internal configuration of a CPU that performs the processing operations shown in FIG. 1.

本実施例では、CPUが2台の場合に関して説明するが
、3台以上の場合でも同様である。
In this embodiment, the case where there are two CPUs will be described, but the same applies to the case where there are three or more CPUs.

その構成は、第3図における従来例とほぼ同様である。Its configuration is almost the same as the conventional example shown in FIG.

相違点は、第3図におけるプロセッサ間通信状態表31
11を、主記憶311oではなく、プロセッサ間通信送
信部3120に置いたことと、本発明に係る状態フラグ
をプロセッサ間通信受信部に設けたことである。
The difference is that the inter-processor communication status table 31 in FIG.
11 is placed in the inter-processor communication transmitter 3120 instead of the main memory 311o, and the status flag according to the present invention is provided in the inter-processor communication receiver.

プロセッサ間通信状態表111の、主記憶1lOからプ
ロセッサ間通信送信部120への移動は、その管理をソ
フトウェアからハードウェアによる管理にして、処理速
度等の性能を良くするためのものである。
The purpose of moving the inter-processor communication status table 111 from the main memory 110 to the inter-processor communication transmitter 120 is to change its management from software to hardware and improve performance such as processing speed.

また、本実施例では、本発明に係る状態フラグを、デー
タの受信を停止するか否がの状態を保持する自プロセッ
サ通信状態保持部として、また、この自プロセッサ通信
状態フラグの変更を行なうフラグ制御部(図中CSFC
TL)を、自プロセッサ通信状態書き換え部として、共
に、プロセッサ間通信受信部に設けている。
Further, in this embodiment, the status flag according to the present invention is used as a self-processor communication state holding unit that holds the state of whether or not to stop receiving data, and as a flag that changes the self-processor communication state flag. Control unit (CSFC in the figure)
TL) is provided in the inter-processor communication receiving section as a self-processor communication state rewriting section.

しかし、その構成は、本実施例に限るものではない。例
えば、本発明に係る状態フラグを、主記憶上に持ち、ソ
フトウェアで管理する方法等でも良い。要は、データの
受信を停止するか否かの状態を保持する自プロセッサ通
信状態保持部と、この自プロセッサ通信状態保持部の保
持状態を変更する自プロセッサ通信状態書き換え部が、
同一〇PUで制御されていれば良い。
However, the configuration is not limited to this embodiment. For example, a method may be used in which the status flag according to the present invention is stored in the main memory and managed by software. In short, a self-processor communication state holding section that holds the state of whether or not to stop receiving data, and a self-processor communication state rewriting section that changes the holding state of this self-processor communication state holding section.
It is sufficient if it is controlled by the same PU.

以下、第2図に基づき、本発明に係るCPU内部の構成
と動作を詳しく説明する。
Hereinafter, the internal configuration and operation of the CPU according to the present invention will be explained in detail based on FIG.

CPUIとCPU2は、互いに、通信を行なうための通
信路(図中SBUS)3を持つ。
The CPU I and the CPU 2 have a communication path (SBUS in the figure) 3 for communicating with each other.

CPUIは、CPUI自体における主な制御を行なう中
央制御部(図中MPU)101、この中央制御部101
の動作を記述したプログラムや、各種データを保存する
主記憶(図中MM)110,そして、プロセッサ間通信
の送信動作を行なうプロセッサ間通信送信部(図中SB
LK)120、プロセッサ間通信の受信動作を行なうプ
ロセッサ間通信受信部(図中RBLK)130から構成
されている。
The CPUI includes a central control unit (MPU in the figure) 101 that performs main control in the CPU itself;
The main memory (MM in the figure) 110 stores programs that describe the operations of the processors and various data, and the interprocessor communication transmitting unit (SB in the figure
LK) 120, and an inter-processor communication receiving section (RBLK in the figure) 130 that performs a receiving operation for inter-processor communication.

中央制御部101と、プロセッサ間通信送信部+20お
よびプロセッサ間通信受信部130間で、通信データを
引き継ぐ方法としては、(i)主記憶110上にバッフ
ァ領域を確保する方法や、(ij)プロセッサ間通信送
信部120、および、プロセッサ間通信受信部130に
レシスタを置く方法等が考えられる。この部分は、本発
明に関連が無いため、本実施例では、(l1)のプロセ
ッサ間通信送信部120、および、プロセッサ間通信受
信部130にレシスタを置く方法を仮定して説明する。
Methods for passing communication data between the central control unit 101, the inter-processor communication transmitting unit +20, and the inter-processor communication receiving unit 130 include (i) a method of securing a buffer area on the main memory 110; and (ij) a method of securing a buffer area on the main memory 110; Possible methods include placing resistors in the inter-processor communication transmitter 120 and the inter-processor communication receiver 130. Since this part is not related to the present invention, in this embodiment, a method will be described assuming that a resistor is placed in the inter-processor communication transmitter 120 and the inter-processor communication receiver 130 (l1).

プロセッサ間通信送信部+20は、通信バケツト(図中
CPKT)の組立と送信を行なう送信制御部(図中SS
CTL)1 2 1,送信すべき通信データを保持する
送信データバッファ(図中SBUF)122、この送信
データバッファ122への書き込みを行なう送信データ
書き込み制御部(図中SWCTL)123、接続されて
いる他のCPUの通信状態を保持するプロセッサ通信状
態管理表(図中PCSTBL)l 1 1、このプロセ
ッサ通信状態管理表111の変更を行なう通信状態制御
部(図中SPCTL)10がら構成されている。
The inter-processor communication transmitting section +20 is a transmission control section (SS in the figure) that assembles and transmits a communication bucket (CPKT in the figure).
CTL) 1 2 1, a transmission data buffer (SBUF in the diagram) 122 that holds communication data to be transmitted, a transmission data write control unit (SWCTL in the diagram) 123 that writes to this transmission data buffer 122, are connected. It consists of a processor communication state management table (PCSTBL in the figure) l11 that holds the communication states of other CPUs, and a communication state control unit (SPCTL in the figure) 10 that changes this processor communication state management table 111.

プロセッサ間通信受信部130は、受信した通信パケッ
ト内の通信データを保持する受信データバッファ(図中
RBIJF)1 3 2、通信パケットの受信や、この
受信データバッファ132への書き込み、および、応答
パケット(図中APKT)の送信を行なう受信書き込み
制御部(図中RWCTL)133、そして、受信データ
バッファ132からの読みだしを行なう受信データ読み
だし制御部(図中RRCTL)l 3 1、さらに、C
PUI自体の通信状態を保持する自CPU通信状態フラ
グ(図中CSFLG)20と、この自CPLI通信状態
フラグ20の変更を行なうフラグ制御部(図中CSFC
TL)30から構成されている。
The inter-processor communication receiving unit 130 has a receive data buffer (RBIJF in the figure) 1 3 2 that holds the communication data in the received communication packet, receives the communication packet, writes it to this receive data buffer 132, and writes the response packet. A reception write control unit (RWCTL in the diagram) 133 that transmits the data (APKT in the diagram), a reception data read control unit (RRCTL in the diagram) that reads data from the reception data buffer 132, and further, C
The own CPU communication state flag (CSFLG in the figure) 20 that maintains the communication state of the PUI itself, and the flag control unit (CSFLG in the figure) that changes the own CPLI communication state flag 20
TL) It is composed of 30.

例えば、CPUIからCPU2に対する1回のプロセッ
サ間通信は、CPUIが、通信パケットを通信路3を介
してCPU2に転送し、これに対して、CPU2が、応
答パケットをCPUIに転送することで終了する。
For example, one inter-processor communication from CPUI to CPU2 ends when the CPUI transfers a communication packet to CPU2 via communication path 3, and in response, CPU2 transfers a response packet to CPUUI. .

応答パケットの内容には、正常終了と、受信バツファフ
ル異常終了、および、受信停止中異常終了がある。通信
パケットが、正常にCPU2の受信データバッファ(C
PUIの受信データバッファ132に相当)に書き込め
た場合に正常終了とする。CPU2が受信停止中であれ
ば、受信停止中異常終了とし、CPU2の受信データバ
ッファが満杯等の原因で、書き込みが失敗した場合には
、受信パッファフル異常終了とする。
The contents of the response packet include normal termination, abnormal termination with reception buffer full, and abnormal termination while reception is stopped. The communication packet is correctly stored in the reception data buffer (C
If the data can be written to the PUI reception data buffer 132 (corresponding to the PUI reception data buffer 132), it is considered to be a normal end. If the CPU 2 is in the process of stopping reception, it is determined that the process is abnormally terminated while the reception is stopped, and if writing fails due to the reception data buffer of the CPU 2 being full, etc., the process is determined to be abnormally terminated with the reception buffer full.

CPUIにおける送信動作は、(i)中央制御部101
による、送信データの準備と、プロセッサ間通信送信部
l20に対する送信指示、(ii)プロセッサ間通信送
信部120による受信側CPUの状態確認、(■)プロ
セッサ間通信送信部120による通信パケットの組立と
送信により実現される。
The transmission operation in the CPUI is performed by (i) the central control unit 101;
(ii) confirmation of the status of the receiving side CPU by the inter-processor communication transmitter 120, and (■) assembly of communication packets by the inter-processor communication transmitter 120. This is accomplished by sending.

受信側CPUの通信状態を確認するためには、中央制御
部101からプロセッサ間通信送信部l20への送信指
示に基づき、通信状態制御部10が、プロセッサ通信状
態管理表111を参照して行う。受信側CPUの通信状
態が受信可能であると確認されれば、プロセッサ間通信
送信部120は送信動作を継続する。また、受信側CP
tJの通信状態が受信停止中であれば、プロセッサ間通
信送信部120は、送信動作を終了し、その旨を中央制
御部101に通知する。
In order to confirm the communication state of the receiving side CPU, the communication state control unit 10 refers to the processor communication state management table 111 based on a transmission instruction from the central control unit 101 to the inter-processor communication transmission unit l20. If the communication state of the receiving side CPU is confirmed to be capable of receiving, the inter-processor communication transmitting unit 120 continues the transmitting operation. Also, the receiving side CP
If the communication state of tJ is reception stopped, the inter-processor communication transmitting unit 120 ends the transmitting operation and notifies the central control unit 101 to that effect.

このプロセッサ通信状態管理表111は、接続されてい
る各CPUを識別するプロセッサ識別番号欄(図中PI
D)112と、このプロセッサ識別番号欄112上で対
応するCPUの通信状態を格納するプロセッサ通信状態
欄(図中PST)113から構成されている。
This processor communication state management table 111 has a processor identification number column (PI in the figure) that identifies each connected CPU.
D) 112 and a processor communication status column (PST in the figure) 113 that stores the communication status of the CPU corresponding to this processor identification number column 112.

プロセッサ通信状態欄113は、rQJで受信停止中状
態、「1」で受信可能状態を示す。
In the processor communication status column 113, rQJ indicates a reception stopped state, and "1" indicates a reception enabled state.

中央制御部101は、通信相手のCPUに対応するプロ
セッサ通信状態欄213がr5であれば、送信処理を行
ない、rOJであれば、送信処理を中止する。第2図に
おいては、CPU2に対応するプロセッサ通信状態欄1
13がrl」であり、中央制御部101は、CPU2に
対して、送信処理を行なう。
The central control unit 101 performs the transmission process if the processor communication status field 213 corresponding to the CPU of the communication partner is r5, and cancels the transmission process if it is rOJ. In FIG. 2, processor communication status column 1 corresponding to CPU2
13 is "rl", and the central control unit 101 performs a transmission process to the CPU 2.

CPUIにおける受信動作は、まず、プロセッサ間通信
受信部+30による受信可否の確認、次に、プロセッサ
間通信受信部130による受信データバッファ132へ
の登録、さらに、プロセッサ間通信受信部130による
応答パケットの送信、そして、プロセッサ間通信受信部
130がら中央制御部への通信パケット受信の報告と、
中央制御部lotによる受(gデータバソファからのデ
ータの読みだしで実現される。
The reception operation in the CPUI is first to confirm whether reception is possible by the inter-processor communication receiving unit +30, then to register in the received data buffer 132 by the inter-processor communication receiving unit 130, and then to register the response packet by the inter-processor communication receiving unit 130. transmission, and reporting of reception of the communication packet from the inter-processor communication receiving unit 130 to the central control unit;
The reception by the central control unit (lot) is realized by reading data from the data bus sofa.

受信可否の確認は、(1)受信書き込み制御部133に
よる受信データバッファ+32の空きを確認することと
、本発明である(1l)受信書き込み制御部133によ
る自CPU通信状態フラグ20の確認で行なわれる。
The reception capability is confirmed by (1) checking the free space in the reception data buffer +32 by the reception write control unit 133, and (1l) checking the own CPU communication status flag 20 by the reception write control unit 133 according to the present invention. It will be done.

(1)の確認動作で、受信データバッファ】32に空き
が無い場合には、受信書き込み制御部133は、相手の
CPU、例えば、CPU2に対して、受信バッファフル
異常終了の応答パケットを転送する。
In the confirmation operation of (1), if there is no free space in the reception data buffer [32], the reception write control unit 133 transfers a reception buffer full abnormal end response packet to the other party's CPU, for example, CPU2. .

(ij)の確認動作で、自CPU通信状態フラグ20が
「0」であれば、自CPU、ここでは、cpU1は、受
信停止中状態であり、受信書き込み制御部133は、相
手CPU、例えば、CPU2に対して、受信停止中異常
終了の応答パケットを転送する。
In the confirmation operation (ij), if the own CPU communication status flag 20 is "0", the own CPU, here cpU1, is in the receiving stopped state, and the reception write control unit 133 detects the other CPU, e.g. A response packet indicating abnormal termination while reception is stopped is transferred to the CPU 2.

受信可否の確認で、受信可能であれば、受信書き込み制
御部133は、通信パケット内のデータを受信データバ
ッファ132に登録し、受信動作を継続する。
Upon checking whether reception is possible, if reception is possible, the reception write control unit 133 registers the data in the communication packet in the reception data buffer 132, and continues the reception operation.

CPU]が、プロセッサ間通信の受イ3停止を行なう場
合には、中央制御部101から、プロセッサ間通信受信
部130内のフラグ制御部30に対して、受信停止状態
への変更指示を行なう。この指示を受けたフラグ制御部
30は、自CPU通信状態フラグ20にrQJを書き込
み、さらに、CPU2等の、自分以外の全CPUに対し
て通信状態の停止通知を行なう。そして、この停止通知
を受けた各CPUでは、各CPUのプロセッサ間通信送
信部(CPUIのプロセッサ間通信送信部I20に相当
)内の通信状態制御部(CPUIの通信状態制御部10
に相当)が、二の通知を受理し、各CPUのプロセッサ
通信状態管理表(CPUIの通信状態管理表111に相
当)内におけるプロセッサ識別番号欄(CPUIのプロ
セッサ識別番号欄112に相当)のCPU1に対応する
プロセッサ通信状態欄(CPUIのプロセッサ通信状態
1l9113に相当)にrOJ を書き込む。
When the CPU] performs a reception stop of inter-processor communication, the central control unit 101 instructs the flag control unit 30 in the inter-processor communication reception unit 130 to change to the reception stop state. Upon receiving this instruction, the flag control unit 30 writes rQJ to its own CPU communication state flag 20, and further notifies all CPUs other than itself, such as the CPU 2, of stopping the communication state. Then, in each CPU that has received this stop notification, the communication state control unit (communication state control unit 10 of the CPUI) in the interprocessor communication transmission unit (corresponding to the interprocessor communication transmission unit I20 of the CPUI) of each CPU
) receives the second notification, and CPU1 in the processor identification number field (corresponds to the processor identification number field 112 of the CPUI) in the processor communication state management table (corresponds to the communication state management table 111 of the CPUI) of each CPU. Write rOJ in the processor communication status field (corresponding to CPUI processor communication status 119113) corresponding to .

CPUIが、プロセッサ間通信の受信停止解除を行なう
場合には、中央制御部1. 0 1からフラグ制御部3
0に対して、受信可能止状態への変更指示を行なう。こ
の指示を受けたフラグ制御部30は、自CPU通信状態
フラグ20にN」を書き込み、さらに、CPU2等の、
CPLI1以外の全てのCPUに対して通信状態の停止
解除通知を行なう。
When the CPUI cancels reception of inter-processor communication, the central control unit 1. 0 1 to flag control unit 3
0 is instructed to change to a state in which reception is not possible. Upon receiving this instruction, the flag control section 30 writes "N" in the own CPU communication state flag 20, and further,
A communication state stop cancellation notification is sent to all CPUs other than CPLI1.

そして、この停止通知を受けた各CPUでは、各プロセ
ッサ間通信送信部(CPUIのプロセッサ間通信送信部
120に相当)の通信状態制御部(CPUIの通信状態
制御部IOに相当)が、この通知を受理し、プロセッサ
通信状態管理表(CPU1のプロセッサ通信状態管理表
111に相当)内におけるプロセッサ識別番号欄(CP
UIのプロセッサ識別番号欄112に相当)のCPUI
に対応するプロセッサ通信状態欄(CPUIのプロセッ
サ通信状態欄113に相当)に「1」を書き込む。
Then, in each CPU that receives this stop notification, the communication state control unit (corresponding to the communication state control unit IO of the CPUI) of each interprocessor communication transmission unit (corresponding to the interprocessor communication transmission unit 120 of the CPUI) sends this notification. is received, and the processor identification number column (CP
CPUI (corresponding to the processor identification number field 112 of the UI)
Write "1" in the processor communication status column (corresponding to the processor communication status column 113 of the CPUI) corresponding to the CPU.

尚、前述したように、本実施例では、送信側、例えば、
CPUIのプロセッサ通信状態管理表111の管理をハ
ードウェアで行なう方法を示したが、処理速度等におい
て,それほど、高度な性能を必要としない場合には、第
3図における従来例と同様に、プロセッサ通信状態管理
表111を主記憶110に置き、ソフトウェアで行なう
ことも可能である。
As mentioned above, in this embodiment, the transmitting side, for example,
Although we have shown a method for managing the processor communication status management table 111 of the CPUI using hardware, if you do not need very high performance in terms of processing speed, etc., you can use the processor as in the conventional example shown in FIG. It is also possible to place the communication status management table 111 in the main memory 110 and use software.

以上説明したように、本実施例では、CPUIを、オフ
ライン化する場合には、プロセッサ間通信の受信停止を
行なうために、CPUIは、CPU2等の、自分以外の
全CPUに対して通信状態の停止通知を行なうと共に、
CPUI自体を、他のCPUからの新たな通信を受け付
けない状態にする。
As explained above, in this embodiment, when the CPUI is taken offline, in order to stop reception of inter-processor communication, the CPUI updates the communication status to all CPUs other than itself, such as CPU2. Along with giving a notice of suspension,
The CPU itself is placed in a state where it does not accept new communications from other CPUs.

すなわち、CPtJl内において、中央制御部101か
ら、プロセッサ間通信受信部+30内のフラグ制御部3
oに対して、受信停止中状態への変更指示を行なう。そ
して、この指示を受けたフラグ制御部30は、自CPU
通信状態フラグ20に「O」を書き込む。このことによ
り、CPMlは、他のCPビからの新たな通信を受け付
けない状態となり、それまでに保持していた通信を終了
するたけて、速やかに、オフライン化することか出来る
That is, in CPtJl, from the central control unit 101 to the flag control unit 3 in the inter-processor communication reception unit +30.
An instruction is given to o to change to the receiving stopped state. Then, upon receiving this instruction, the flag control unit 30 controls the own CPU.
Write “O” to the communication status flag 20. As a result, CPMI enters a state in which it does not accept new communications from other CPBI, and can quickly go offline by terminating the communications it has been holding up to that point.

このように、本実施例によれば、マルチプロセッサシス
テムにおいて、任意のCPUの停止、または、システム
内の処理からの切り離しを、簡単な手順で行なうことが
出来る。さらに、システム内のプロセッサ台数や、シス
テムバスの状態に依存せずに、速やかに実現することが
出来る。
In this way, according to this embodiment, in a multiprocessor system, any CPU can be stopped or separated from the processing within the system using a simple procedure. Furthermore, it can be quickly implemented without depending on the number of processors in the system or the state of the system bus.

〔発明の効果1 本発明によれば、プロセッサ間通信を行なう複数個のC
PUからなるシステムにおいて、CPUのオフライン化
を速やかに実行することが可能となり、システムの処理
能力を向上することが出来る。
[Effect 1 of the invention According to the present invention, a plurality of C
In a system consisting of a PU, it is possible to quickly take the CPU offline, and the processing capacity of the system can be improved.

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

第1図は本発明のプロセッサ間通信方法に係るCPIJ
の処理動作の1実施例を示すフローチャート、第2図は
第1図における処理動作を実施するC P Uの内部構
成の1実施例を示すブロック、第3図は従来のマルチプ
ロセッサシステムにおけるプロセッサ間通信に係るCP
Uの内部構成を示すブロック図である。 l、2:CPU,3・通信路(SBUS),I O :
通信状態制御部(SPCTL),20:自cpu通信状
態フラグ(CSFLG),30・フラグ制御部(CSF
CTL),31、32:CPU,33:通信路(SBU
S),1 0 1 :中央制御部(MPU),1 10
:主記憶(MM),  1 1 1 :プロセッサ通信
状態管理表(PCSTBL),1 1 2  プロセッ
サ識別番号[(PID),  1 1 3 :プロセッ
サ通信状態欄(PST),1 20 :プロセッサ間通
信送信部(SBLK),l 2 1 :送信制御部(S
SCTL),l22.送信データバツファ(SBUF)
,! 2 3 :送信データ書き込み制御部(SWCT
 L), 1 3 0プロセッサ間通信受信部(RBL
K),  1 3 1 :受信データ読みたし制御部(
RRCTL),  l3 2受信データバッファ(RB
UF),133  受信書き込み制御部(RWCTL)
,3 1 0 1 :中央制御部(〜IPU),3 1
 1 0・主記憶(MM), 3 1 1 1プロセッ
サ通信状態管理表(PCSTBL),.3 l12 プ
ロセッサ識別番号欄(PID),3113プロセッサ通
信状態欄(PST),31 20・プロセッサ間通信送
信部(SBLK), 3 1 2 1 :送信制御部(
SSCTL),31 ファ(SBUF),  3 1 2 3制御部(SWC
TL),3 1 信受信部(RBLK),31 だし制御部(RRCTL), バッファ(RBL7F),3 1 御部(RWCTL)。 22:送信データバツ :送信データ書き込み 30:プロセッサ間通 31:受信データ読み 3132:受信データ 33.受信書き込み制
FIG. 1 shows a CPIJ related to the inter-processor communication method of the present invention.
FIG. 2 is a block diagram showing an example of the internal configuration of a CPU that implements the processing operations shown in FIG. CP related to communication
FIG. 2 is a block diagram showing the internal configuration of U. l, 2: CPU, 3/Communication path (SBUS), I O:
Communication status control unit (SPCTL), 20: Own CPU communication status flag (CSFLG), 30 Flag control unit (CSF
CTL), 31, 32: CPU, 33: Communication path (SBU
S), 1 0 1: Central control unit (MPU), 1 10
: Main memory (MM), 1 1 1 : Processor communication status management table (PCSTBL), 1 1 2 Processor identification number [(PID), 1 1 3 : Processor communication status column (PST), 1 20 : Inter-processor communication transmission part (SBLK), l 2 1: Transmission control part (S
SCTL), l22. Sending data buffer (SBUF)
,! 2 3: Transmission data write control unit (SWCT
L), 130 inter-processor communication receiving unit (RBL
K), 1 3 1: Received data reading control unit (
RRCTL), l3 2 receive data buffer (RB
UF), 133 Reception write control unit (RWCTL)
, 3 1 0 1: Central control unit (~IPU), 3 1
1 0 Main memory (MM), 3 1 1 1 Processor communication status management table (PCSTBL), . 3 l12 Processor identification number column (PID), 3113 Processor communication status column (PST), 31 20 Inter-processor communication transmitter (SBLK), 3 1 2 1: Transmission control unit (
SSCTL), 31 fa (SBUF), 3 1 2 3 control unit (SWC
TL), 3 1 signal receiving unit (RBLK), 31 output control unit (RRCTL), buffer (RBL7F), 3 1 control unit (RWCTL). 22: Transmission data x: Transmission data writing 30: Processor communication 31: Reception data reading 3132: Reception data 33. Reception writing system

Claims (1)

【特許請求の範囲】[Claims] (1)共通伝送媒体を介して接続された任意のプロセッ
サにデータを送信するプロセッサ間通信送信手段と、上
記共通伝送媒体を介して接続された任意のプロセッサか
ら送信されたデータを受信し、該データを送信したプロ
セッサにデータ受信完了応答を返却するプロセッサ間通
信受信手段と、該受信したデータを保持する受信データ
バッファとを有するプロセッサを、上記共通伝送媒体を
介して2個以上接続し、該プロセッサ間で上記共通伝送
媒体を介してデータの送受信を行い、一連の処理を実行
するコンピュータシステムのプロセッサ間通信制御方法
において、上記プロセッサの各々に、データの受信を停
止するか否かの状態を保持する自プロセッサ通信状態保
持手段と、該自プロセッサ通信状態保持手段の内容を書
き換える自プロセッサ通信状態書き換え手段とを有し、
上記コンピュータシステムの任意のプロセッサをオフラ
イン化する時に、該オフライン化するプロセッサ内の上
記自プロセッサ通信状態書き換え手段は、該プロセッサ
内の上記自プロセッサ通信状態保持手段の保持する状態
をデータの受信を受け付けない受信停止中状態に書き換
え、上記コンピュータシステムの他のプロセッサから送
信されたデータの受信時に、上記オフライン化するプロ
セッサ内の上記プロセッサ間通信受信手段は、上記自プ
ロセッサ通信状態保持手段の受信停止中状態に基づき、
該データを上記受信データバッファに登録せず、該デー
タを送信したプロセッサに受信停止中応答を返送するこ
とを特徴とするプロセッサ間通信制御方法。
(1) Inter-processor communication transmitting means for transmitting data to any processor connected via a common transmission medium; and receiving data transmitted from any processor connected via the common transmission medium; Two or more processors each having an inter-processor communication receiving means that returns a data reception completion response to the processor that sent the data, and a reception data buffer that holds the received data are connected via the common transmission medium, and In an inter-processor communication control method for a computer system in which data is transmitted and received between processors via the common transmission medium and a series of processes are executed, each of the processors is provided with a state of whether or not to stop receiving data. It has own processor communication state holding means for holding it, and own processor communication state rewriting means for rewriting the contents of the own processor communication state holding means,
When taking any processor of the computer system offline, the self-processor communication state rewriting means in the processor to be taken offline accepts data reception to update the state held by the self-processor communication state holding means within the processor. When data transmitted from another processor of the computer system is received, the inter-processor communication receiving means in the processor to be taken offline changes to the receiving stopped state of the own processor communication state holding means. Based on the condition
An inter-processor communication control method, characterized in that the data is not registered in the received data buffer, and a reception stop response is returned to the processor that transmitted the data.
JP997690A 1990-01-19 1990-01-19 Communication control method between processors Expired - Lifetime JP2876676B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP997690A JP2876676B2 (en) 1990-01-19 1990-01-19 Communication control method between processors

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP997690A JP2876676B2 (en) 1990-01-19 1990-01-19 Communication control method between processors

Publications (2)

Publication Number Publication Date
JPH03214346A true JPH03214346A (en) 1991-09-19
JP2876676B2 JP2876676B2 (en) 1999-03-31

Family

ID=11734944

Family Applications (1)

Application Number Title Priority Date Filing Date
JP997690A Expired - Lifetime JP2876676B2 (en) 1990-01-19 1990-01-19 Communication control method between processors

Country Status (1)

Country Link
JP (1) JP2876676B2 (en)

Also Published As

Publication number Publication date
JP2876676B2 (en) 1999-03-31

Similar Documents

Publication Publication Date Title
US5758157A (en) Method and system for providing service processor capability in a data processing by transmitting service processor requests between processing complexes
US6636908B1 (en) I/O system supporting extended functions and method therefor
US6735636B1 (en) Device, system, and method of intelligently splitting information in an I/O system
US5706432A (en) Mechanism for receiving messages at a coupling facility
US5668943A (en) Virtual shared disks with application transparent recovery
GB2112553A (en) Communication arrangement for a multiprocessor system
KR20030047544A (en) Method and apparatus for interrupt redirection for arm processors
JPH114279A (en) Advanced intersystem transmission method and mechanism
JPH03223957A (en) calculator
JPS6115263A (en) Control system for command transfer between processors
EP0183431B1 (en) System control network for multiple processor modules
EP0174446B1 (en) distributed multiprocessing system
JPH03214346A (en) Inter-processor communication control method
JPH0666061B2 (en) Multi CPU communication device
JPH1118122A (en) Data transfer system
JP2825914B2 (en) Communication system between processors
JPH0458636A (en) Communication path duplicate control system
RU2665225C1 (en) Information handling unit
Thornton et al. Hyperchannel network links
JP3112280B2 (en) Computer system
JP2511542B2 (en) Information processing system
JPS6320555A (en) Inter-computer communication system
JPH0628407A (en) Data base system
JP2837522B2 (en) Input/Output Command Control Method
JPS638500B2 (en)

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090122

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20090122

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20100122

Year of fee payment: 11

EXPY Cancellation because of completion of term