[go: up one dir, main page]

JPS61165173A - State information management method between systems - Google Patents

State information management method between systems

Info

Publication number
JPS61165173A
JPS61165173A JP27245884A JP27245884A JPS61165173A JP S61165173 A JPS61165173 A JP S61165173A JP 27245884 A JP27245884 A JP 27245884A JP 27245884 A JP27245884 A JP 27245884A JP S61165173 A JPS61165173 A JP S61165173A
Authority
JP
Japan
Prior art keywords
processor
input
state
state information
contents
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP27245884A
Other languages
Japanese (ja)
Inventor
Hitoo Onawa
仁夫 尾縄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP27245884A priority Critical patent/JPS61165173A/en
Publication of JPS61165173A publication Critical patent/JPS61165173A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/16Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
    • G06F15/163Interprocessor communication
    • G06F15/17Interprocessor communication using an input/output type connection, e.g. channel, I/O port

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multi Processors (AREA)

Abstract

PURPOSE:To offset no processing load reducing effect of each processor realized by a dispersion processing, by always updating and holding the contents of a storage means by the same latest state information at the same time, and retrieving the contents of the storage means, in case when a processor detects a state in other system. CONSTITUTION:A processor checks a state of an input/output apparatus in an input/output part 2 at a prescribe time interval. The state of the input/output apparatus is collated with the contents of a sense memory 26 by an instruction of a state managing part 25 in order of a retrieval, and if there is no difference in this case, the check is shifted to the next input/output apparatus, and if there is a difference, state information of the input/output apparatus concerned of the sense memory 26 is rewritten. In case when this rewrite has been executed, the process 11 reports it to a processor 3 by an instruction of the state managing part 25. Based on this report, the processor 3 makes a state managing part 23 execute rewrite of state information of the input/output apparatus concerned of a sense memory 24.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は主従の関係にあるプロセッサにより夫々独立に
制御されるシステムに係り、特に各システムを制御する
前記プロセッサの負担を軽減し得るシステム間の状態情
報管理方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a system that is independently controlled by processors in a master-slave relationship, and particularly to a system that can reduce the burden on the processors that control each system. The present invention relates to a state information management method.

最近、端末装置等をプログラムで制御する場合に、一つ
のプロセッサで装置全体の制御を行うのでは無く、装置
を酸機能ごとにまとめて複数のシステムに分割し、該シ
ステムを夫々一つのプロセッサに制御させる構成、即ち
複数のプロセッサに処理を分担させ、各プロセッサの処
理負荷を軽減して制御コロする構成とする事が多い。
Recently, when controlling a terminal device etc. with a program, instead of using one processor to control the entire device, the device is divided into multiple systems by acid function, and each system is controlled by one processor. In many cases, the configuration is such that multiple processors share the processing, reducing the processing load on each processor and coordinating control.

この場合各システムは夫々独立したプロセッサにより制
御コlされるが、このプロセッサは主従の関係にあり、
主プロセツサに複数の従プロセツサが制御されることが
多い。即ち主システムに従システムが複数接続されるこ
とが多く、相互の制御信号や動作状態の報告等の伝送の
ためのインタフェースが設けられる。
In this case, each system is controlled by an independent processor, but these processors are in a master-slave relationship.
A plurality of slave processors are often controlled by a master processor. That is, a plurality of slave systems are often connected to a main system, and an interface is provided for mutual transmission of control signals, operational status reports, and the like.

主システムのプロセッサは従システムの制御を行うため
、従システムの状態を知る必要があり、通常前記インタ
フェースを経て従システムのプロセッサに従システムの
状態を報告させる。この場合、従システムのプロセッサ
の負担が大きくなり、折角分散処理を行うことで、各プ
ロセッサの処理負荷軽減を計った効果を相殺しないよう
にすることが必要である。
In order to control the slave system, the processor of the master system needs to know the status of the slave system, and usually causes the processor of the slave system to report the status of the slave system via the interface. In this case, the burden on the processors of the slave system increases, and it is necessary to perform distributed processing to avoid canceling out the effect of reducing the processing load on each processor.

〔従来の技術〕[Conventional technology]

第2図は従来のポータプル端末装置の回路の一例を示す
ブロック図である。
FIG. 2 is a block diagram showing an example of a circuit of a conventional portable terminal device.

操作部1と入出力部2とは夫々システムを構成し、独立
のプロセッサ3と11とにより制御される。この場合通
常操作部1にはポータプル端末装置として総合的な機能
を発揮し得るように制御する機能を持たせ、入出力部2
には入出力機器の制御を専門に受は持つ機能を持たせる
The operating section 1 and the input/output section 2 constitute a system, and are controlled by independent processors 3 and 11. In this case, the operation section 1 is usually provided with a control function so that it can perform comprehensive functions as a portable terminal device, and the input/output section 2
The equipment is equipped with functions that are specialized in controlling input/output equipment.

プロセッサ3はROM9に格納されているプログラムを
読出して動作し、キーボード8からキーボード制御部7
を経て入る命令やデータを−・旦RAM4に格納した後
続出し、必要に応じて表示制御部5を制御して表示部6
にその内容を表示すると共に、インタフェース制御部1
0及びインタフ   ゛エース制御部14を経てプロセ
ッサ11に前記命令を与える。
The processor 3 reads a program stored in the ROM 9 and operates, and operates the program from the keyboard 8 to the keyboard control section 7.
The commands and data that enter through the RAM 4 are stored in the RAM 4 and then outputted, and the display control unit 5 is controlled as necessary to display the display unit 6.
The content is displayed on the interface control unit 1.
The command is given to the processor 11 via the interface controller 14 and the interface controller 14.

ブロセソ4111ばROM12に格納されているプログ
ラムを読出して動作し、RAM13に一月この命令を格
納した後続出し、該命令に従って処理を行う。例えばイ
ンサータ制御部17を経てインサータ18に挿入された
通帳の磁気ストライプのデータの読出しを行う。又カー
ドリーダ制御部19を経てカードリーダ20に挿入され
たカードのデータ読取りを行う。
The program 4111 reads the program stored in the ROM 12 and operates it, stores this instruction in the RAM 13, then outputs it and processes according to the instruction. For example, data on the magnetic stripe of a bankbook inserted into the inserter 18 via the inserter control unit 17 is read. It also reads data from a card inserted into the card reader 20 via the card reader control section 19.

プロセッサ11は、これら読出されたデータを一旦lマ
AM13に格納した後、音響カプラ制御部21を経て音
響カプラ22により電話回線を経て送出し、受信したデ
ータはRAM13に格納する。
The processor 11 temporarily stores these read data in the RAM 13, and then transmits the data via the telephone line via the acoustic coupler control unit 21 and the acoustic coupler 22, and stores the received data in the RAM 13.

そして必要に応じてこれらのデータをプリンタ制御部1
5を経てプリンタ16に送出し印刷する。
Then, if necessary, transfer these data to the printer control unit 1.
5 and then sent to the printer 16 for printing.

更に必要に応じてインサータ18に送出して磁気ストラ
イプに書込む。
Further, if necessary, the data is sent to the inserter 18 and written on a magnetic stripe.

操作部1のプロセッサ3は入出力部2のプロセッサ11
に指示して、入出力部2のプリンタ16、インサータ1
8、カードリーダ20、音響カプラ22等の入出力機器
の制御を行う場合、該入出力機器の状態を知る必要があ
る。
The processor 3 of the operation section 1 is the processor 11 of the input/output section 2.
The printer 16 and inserter 1 of the input/output section 2
8. When controlling input/output devices such as the card reader 20 and the acoustic coupler 22, it is necessary to know the status of the input/output devices.

従来、この入出力機器の状態を知る為に、ブロセノナ3
はインタフェース制御部10及び14を経てプロセッサ
11に状態データの送出要求を行い、プロセッサ11が
応答するのが通常の方法である。
Conventionally, in order to know the status of this input/output device, Brosenona 3
The normal method is to request the processor 11 to send status data via the interface control units 10 and 14, and the processor 11 responds.

従って、例えばインサータ18に挿入された通帳に印字
する為、プリンタ16に印字データを与えるとしても、
インサータ18に通帳を吸入する必要があるが、オペレ
ータが何時通帳を挿入するか待ち状態にあるとすれば、
プロセッサ3はインタフェース制御部10及び14を経
てプロセッサ11に状態データ送出要求を行い、プロセ
ッサ11がこれに応答する状態が、通帳の挿入される迄
継続することとなる。
Therefore, for example, if print data is given to the printer 16 in order to print on a passbook inserted into the inserter 18,
It is necessary to insert a passbook into the inserter 18, but if the operator is waiting for when to insert the passbook,
The processor 3 requests the processor 11 to send status data via the interface control units 10 and 14, and the state in which the processor 11 responds to this request continues until the passbook is inserted.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上記の如く、主システムが従システムの状態変化を待つ
間、状態変化が発生する迄、インタフェースを経て状態
データ送出の要求を送出し続けることとなる。この時従
システムのプロセッサが他の処理を行っていた場合、例
えば上記プロセッサ11が音響カプラ22から入るデー
タをRAMl3に格納しているような場合、従システム
のプロセッサの負荷は該処理と主システムに対する応答
により急増し、処理が間に合わなくなる場合も発生する
という問題がある。
As described above, while the main system waits for a change in the state of the slave system, it will continue to send out requests to send state data via the interface until a change in state occurs. At this time, if the processor of the slave system is performing other processing, for example, if the processor 11 is storing data input from the acoustic coupler 22 in the RAM 13, the load on the processor of the slave system will be the same as that of the main system. There is a problem in that the number of requests increases rapidly due to the response to the request, and processing may not be completed in time.

〔問題点を解決するための手段〕[Means for solving problems]

上記問題点は、システム内及び他システム内の状態情報
を記1.つする記憶手段と、該記憶手段の状態情報を常
に最新情報で更新する手段とを設け、システム内及び他
システム内の前記記憶手段の内容を、常に同時に同一の
最新状態情報にて更新して保持し、前記プロセッサが他
システム内の状態を検知する場合、前記記憶手段の内容
を検索するようにした、本発明によるシステム間の状態
情報管理方式によって解決される。
The above problem is caused by the following:1. and a means for always updating the status information of the storage unit with the latest information, and a unit that always updates the contents of the storage unit in the system and other systems with the same latest status information at the same time. This problem is solved by the system for managing state information between systems according to the present invention, in which the processor retrieves the contents of the storage means when the processor detects the state in another system.

〔作用〕[Effect]

即ち各システムでは状態情報を記憶するセンスメモリと
該センスメモリの内容が常に最新であるように管理する
状態管理部を設け、互いのセンスメモリの状態情報が最
新であると共に、センスメモリ同志の内容が常に一致す
るように管理するものである。
That is, each system is provided with a sense memory that stores state information and a state management unit that manages the contents of the sense memory so that the contents are always up-to-date. is managed so that they always match.

このため、互いのシステム内の入出力機器の状態を定期
的に検索し、その内容とセンスメモリの内容とを比較し
、同一ならば他の入出力機器の状態の検索に移行する。
For this reason, the statuses of the input/output devices in each system are periodically searched, the contents are compared with the contents of the sense memory, and if they are the same, the search proceeds to the status of the other input/output devices.

若し異なる場合はセンスメモリの内容を書替え、且つそ
の内容を他システムに通知する。
If different, the contents of the sense memory are rewritten and the contents are notified to other systems.

通知された他システムではその通知された内容で自身の
センスメモリを更新する。このようにして各システムの
センスメモリに最新の状fl 情91が格納される。
The notified other systems update their own sense memory with the notified contents. In this way, the latest state information 91 is stored in the sense memory of each system.

各システムのプロセッサは他システムの状態を知りたい
時は自身のセンスメモリを参照する。従ってインタフェ
ース上では入出力機器の状態変化が有った時点のみデー
タの伝送があるだけとなる為、プロセッサの負担が減少
する。
When a processor in each system wants to know the status of another system, it refers to its own sense memory. Therefore, data is only transmitted on the interface when there is a change in the state of the input/output device, which reduces the burden on the processor.

〔実施例〕〔Example〕

、第1図は本発明の一実施例を示す回路のブロック図で
ある。
, FIG. 1 is a block diagram of a circuit showing one embodiment of the present invention.

第1図は第2図の操作部1に状態管理部23とセンスメ
モリ24を、入出力部2に状態管理部25とセンスメモ
リ26を夫々追加したもので、センスメモリ24は人出
力部2の入出力機器であるプリンタ16、インサータ1
8、カードリーダ20、音響カプラ22の状態情報を記
憶し、状態管理部23ばセンスメモリ24の内容が常に
最新情報であるように管理する。
In FIG. 1, a state management section 23 and a sense memory 24 are added to the operation section 1 of FIG. 2, and a state management section 25 and a sense memory 26 are added to the input/output section 2. printer 16 and inserter 1, which are the input/output devices of
8. The state information of the card reader 20 and the acoustic coupler 22 is stored, and the state management section 23 manages the contents of the sense memory 24 so that the information is always the latest information.

又センスメモリ26は入出力部2の入出力機器の状態情
報を記1.aシ、状態管理部25はセンスメモリ26の
内容が常に最新情報であるように管理する。
Also, the sense memory 26 records status information of the input/output devices of the input/output unit 2. (a) The state management unit 25 manages the contents of the sense memory 26 so that it always has the latest information.

プロセッサ11は所定の時間間隔で入出力部2内の入出
力機器の状態を調べる。即ちプリンタ制御部15を経て
プリンタ16の状態を、インサータ制御部17を経てイ
ンサータ18の状態を、カードリーダ制御部19を経て
カードリーダ20の状態を、音響カプラ制御部21を経
て音響カプラ22の状態を夫々調べる。
The processor 11 checks the status of the input/output equipment in the input/output section 2 at predetermined time intervals. That is, the status of the printer 16 is determined through the printer control unit 15, the status of the inserter 18 is determined through the inserter control unit 17, the status of the card reader 20 is determined through the card reader control unit 19, and the status of the acoustic coupler 22 is determined through the acoustic coupler control unit 21. Check each condition.

前記入出力機器の状態は一つずつ順次検索された順に状
態管理部25とセンスメモリ26とに送出され、状態管
理部25の指示でセンスメモリ26の内容と照合される
。ここで差異が無ければ次の入出力機器に移り、差異が
有ればセンスメモリ26の該当する入出力機器の状態情
報の書替えが行われる。
The states of the input/output devices are sequentially retrieved one by one and sent to the state management section 25 and the sense memory 26, and are compared with the contents of the sense memory 26 according to instructions from the state management section 25. If there is no difference, the process moves to the next input/output device, and if there is a difference, the status information of the corresponding input/output device in the sense memory 26 is rewritten.

この書替えが行われた場合、状態管理部25の指示によ
り、プロセッサ11は、インタフェース制御部14及び
10を経て、プロセッサ3に報告する。
When this rewriting is performed, the processor 11 reports it to the processor 3 via the interface control units 14 and 10 according to the instruction from the state management unit 25.

プロセッサ3はこの報告に基づき、状態管理部23に、
センスメモリ24の該当する入出力機器の状態情報の書
替えを行わせる。
Based on this report, the processor 3 sends the status management unit 23 the following information:
The status information of the corresponding input/output device in the sense memory 24 is rewritten.

プロセッサ3は入出力部2の入出力機器の状態を知りた
い時、センスメモリ24を検索し、インタフェース制御
部10.14を経てプロセッサ11に報告を求めること
はしない。
When the processor 3 wants to know the status of the input/output equipment of the input/output section 2, it searches the sense memory 24 and does not request a report from the processor 11 via the interface control section 10.14.

本実施例では主システムが操作部1で、従システムが入
出力部2のため、センスメモリ24には操作部1の入出
力機器の状態情報を記憶させることは必要が無いが、例
えばプロセッサ11がキーボード8の状態情報を必要と
するような場合には、プロセッサ3は所定の時間間隔で
キーボード8の状態を調べ、前記同様にセンスメモリ2
4に最新情報を格納する。
In this embodiment, since the main system is the operation unit 1 and the slave system is the input/output unit 2, it is not necessary to store the status information of the input/output devices of the operation unit 1 in the sense memory 24, but for example, the processor 11 When the processor 3 requires state information of the keyboard 8, the processor 3 checks the state of the keyboard 8 at predetermined time intervals, and similarly stores the information in the sense memory 2.
The latest information is stored in 4.

そして状態管理部23の指示によりインタフェース制御
部10.14を経てプロセッサ11に報告し、プロセッ
サ11は状態管理部25に制御メモリ26のキーボード
8の状態情報の書替えを行わせる。
Then, according to an instruction from the state management section 23, the information is reported to the processor 11 via the interface control section 10.14, and the processor 11 causes the state management section 25 to rewrite the state information of the keyboard 8 in the control memory 26.

〔発明の効果〕〔Effect of the invention〕

以上説明した如く、本発明は複数のプロセッサに処理を
分散して各プロセッサの負担を軽減した場合、相互の情
報交換の為に折角の負荷軽減を相殺することを防止出来
る。
As explained above, when the present invention reduces the load on each processor by distributing processing to a plurality of processors, it is possible to prevent the load reduction from being canceled out due to mutual information exchange.

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

第1図は本発明の一実施例を示す回路のプロソク図、 第2図は従来のポータプル端末装置の回路の一例を示す
ブロック図である。 図において、 1は操作部、     2は入出力部・3.11はプロ
セッサ、  4.13はRAM。 5は表示制御部、    6は表示部、7はキーボード
制御部、8はキーボード、9、I2はROM。 10、14はインタフェース制御部、 15はプリンタ制御部、 16はプリンタ、17はイン
サータ制御部、1Bはインサータ、19はカードリーグ
制御部、 20はカードリーダ、  21は音響カプラ制御部、2
2は音響カプラ1、 23.25は状態管理部、24.
26はセンスメモリである。
FIG. 1 is a block diagram of a circuit showing an embodiment of the present invention, and FIG. 2 is a block diagram showing an example of a circuit of a conventional portable terminal device. In the figure, 1 is an operation unit, 2 is an input/output unit, 3.11 is a processor, and 4.13 is a RAM. 5 is a display control section; 6 is a display section; 7 is a keyboard control section; 8 is a keyboard; 9 and I2 are ROMs. 10 and 14 are interface control units, 15 is a printer control unit, 16 is a printer, 17 is an inserter control unit, 1B is an inserter, 19 is a card league control unit, 20 is a card reader, 21 is an acoustic coupler control unit, 2
2 is an acoustic coupler 1, 23.25 is a state management section, 24.
26 is a sense memory.

Claims (1)

【特許請求の範囲】[Claims] 各々プロセッサにより独立に制御される複数のシステム
から成り、各システム間のインタフェースを介してプロ
セッサ間のデータ授受が行われる装置において、自己シ
ステム及び他システムの状態情報を記憶する記憶手段と
、該記憶手段の状態情報を更新する手段とを各々のシス
テムに設け、各システムのプロセッサは自己システムの
状態変化を検知すると自己の持つ記憶手段の内容を最新
状態情報に更新すると共に、状態変化の旨を他システム
に通知するよう構成し、他システムのプロセッサは通知
された状態変化の情報に基づいて、自己の記憶手段に保
持される状態情報を更新することを特徴とするシステム
間の状態情報管理方式。
In an apparatus comprising a plurality of systems each independently controlled by a processor, and in which data is exchanged between the processors via an interface between the systems, a storage means for storing state information of the own system and other systems; Each system is provided with a means for updating the state information of the means, and when the processor of each system detects a change in the state of its own system, it updates the contents of its own storage means to the latest state information, and also updates the state change. An inter-system state information management method characterized in that the processor of the other system is configured to notify the other system, and the processor of the other system updates the state information held in its own storage means based on the notified state change information. .
JP27245884A 1984-12-24 1984-12-24 State information management method between systems Pending JPS61165173A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27245884A JPS61165173A (en) 1984-12-24 1984-12-24 State information management method between systems

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27245884A JPS61165173A (en) 1984-12-24 1984-12-24 State information management method between systems

Publications (1)

Publication Number Publication Date
JPS61165173A true JPS61165173A (en) 1986-07-25

Family

ID=17514190

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27245884A Pending JPS61165173A (en) 1984-12-24 1984-12-24 State information management method between systems

Country Status (1)

Country Link
JP (1) JPS61165173A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02282859A (en) * 1989-04-25 1990-11-20 Fujitsu Ltd Remote state display processing system
JP2022063143A (en) * 2020-10-09 2022-04-21 株式会社富士通ゼネラル Air conditioner

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57103539A (en) * 1980-12-20 1982-06-28 Fuji Electric Co Ltd Collecting and holding system of ras information in data way system
JPS57130158A (en) * 1981-02-02 1982-08-12 Nec Corp Device for generating list of operation state of information processing device group

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57103539A (en) * 1980-12-20 1982-06-28 Fuji Electric Co Ltd Collecting and holding system of ras information in data way system
JPS57130158A (en) * 1981-02-02 1982-08-12 Nec Corp Device for generating list of operation state of information processing device group

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02282859A (en) * 1989-04-25 1990-11-20 Fujitsu Ltd Remote state display processing system
JP2022063143A (en) * 2020-10-09 2022-04-21 株式会社富士通ゼネラル Air conditioner

Similar Documents

Publication Publication Date Title
JPH09330106A (en) Control system with backup function
JPS61165173A (en) State information management method between systems
EP0315111B1 (en) Data processing device
JPS5894043U (en) transaction processing device
JP2605491B2 (en) Equipment management controller
JP3443787B2 (en) Autonomous decentralized plant control man-machine device
JPH0214354A (en) Common data management processing method
JPS63311557A (en) Office automation apparatus
JP2000172332A (en) Plant monitoring device and plant monitoring system
JP2797653B2 (en) Image data processing device
JPH04113438A (en) Screen format control system
JPH09330113A (en) Machining control system
JPH05216734A (en) Database system
JPH01298456A (en) CCP configuration information creation method
JPH05181680A (en) Method for transferring firmware
JPH05181810A (en) Common data management method between CPUs
JPH05197652A (en) Multiprocessor system
JPH0659995A (en) Method for updating terminal software
JPH1049472A (en) Electronic computer system
JPH01248207A (en) numerical control device
JPS63195763A (en) distributed processing system
JPH01193954A (en) Terminal program changing system
JPH01102640A (en) Remote maintenance method for computer systems
JPS63193632A (en) Method for transmitting maintenance information in data transmission system
JPH11224121A (en) Display monitor device