Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPS6239785B2 - - Google Patents
[go: Go Back, main page]

JPS6239785B2 - - Google Patents

Info

Publication number
JPS6239785B2
JPS6239785B2 JP56032763A JP3276381A JPS6239785B2 JP S6239785 B2 JPS6239785 B2 JP S6239785B2 JP 56032763 A JP56032763 A JP 56032763A JP 3276381 A JP3276381 A JP 3276381A JP S6239785 B2 JPS6239785 B2 JP S6239785B2
Authority
JP
Japan
Prior art keywords
file
register
area
processing unit
central processing
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.)
Expired
Application number
JP56032763A
Other languages
Japanese (ja)
Other versions
JPS57147763A (en
Inventor
Hidekyo Ozawa
Kazuyuki Shimizu
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 JP56032763A priority Critical patent/JPS57147763A/en
Publication of JPS57147763A publication Critical patent/JPS57147763A/en
Publication of JPS6239785B2 publication Critical patent/JPS6239785B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Description

【発明の詳細な説明】 本発明は、中央処理装置とサービス・プロセツ
サとを持つ計算機システムにおけるテスト・プロ
グラムの退避復元方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a method for saving and restoring test programs in a computer system having a central processing unit and a service processor.

中央処理装置を試験する場合、あらかじめ用意
されているテスト・プログラム等を中央処理装置
にロードし、実行させることにより障害探索をす
る方法が一般に良く用いられる。しかし、あらか
じめ用意されているテスト・プログラムは機能試
験を目的としており、全ての障害のケースを考慮
したプログラムを用意しておくことは不可能に近
い。しかし、現実には種々の障害が発生する。そ
こで、従来技術においては障害調査を目的として
計算機を動作させる場合その計算機中にマニユア
ル操作で機械語によりテスト・プログラムを組立
て試験する方法が用いられていた。
When testing a central processing unit, a commonly used method is to load a test program prepared in advance into the central processing unit and run it to search for failures. However, pre-prepared test programs are intended for functional testing, and it is nearly impossible to prepare a program that takes all failure cases into consideration. However, in reality, various obstacles occur. Therefore, in the prior art, when operating a computer for the purpose of fault investigation, a method has been used in which a test program is manually assembled and tested in machine language in the computer.

上記の方法は一時的なものであり、計算機をリ
セツトしたり、電源を落したりした場合には、せ
つかく作成したテスト・プログラムも消滅してし
まう。したがつて、同じことを試験するために再
び計算機中に機械語でプログラムをマニユアル操
作により復元しなければならない。
The above method is temporary, and if you reset the computer or turn off the power, the test program you have painstakingly created will be lost. Therefore, in order to test the same thing, it is necessary to manually restore the program in machine language into the computer.

上記のように、一時的なテスト・プログラムは
一時的にしか使用しないにも拘らず、実際には復
元するという同一動作を何度もオペレータに対し
て強要することになり、効率の良い方法とは言え
ない。
As mentioned above, even though temporary test programs are only used temporarily, they actually force the operator to perform the same restore operation many times, which is not an efficient method. I can't say that.

本発明は、上記の考察に基づくものであつて、
計算機中に組立てられた一時的テスト・プログラ
ムを不揮発性メモリに退避させ、必要に応じてそ
のテスト・プログラムを計算機中に復元させるこ
とを可能とするテスト・プログラムの退避復元方
式を提供することを目的としている。そしてその
ため、本発明のテスト・プログラムの退避復元方
式は、 中央処理装置および外部記憶装置を持つサービ
ス・プロセツサを備え、 上記サービス・プロセツサが、上記中央処理装
置の内部状態の読出し、内部状態の変更、停止お
よび起動を行い得るようになつた計算機システム
において、 上記サービス・プロセツサに退避手段と復元手
段とが設けられ、 テスト・プログラムに対して付与されるフアイ
ル名もしくは識別番号、主記憶の読出すべき領域
を特定するアドレス情報、読出すべきレジスタを
特定するレジスタ特定情報およびテスト・プログ
ラムの実行開始アドレスが入力され、そして主記
憶の内容を退避すべきことを指令する退避指示が
入力された時、上記サービス・プロセツサの退避
手段が起動され、当該退避手段の制御により、外
部記憶装置の領域が獲得され、当該獲得領域に、
入力されたアドレス情報、レジスタ特定情報およ
びプログラム実行開始アドレス等が書込まれ、そ
して主記憶の指定された領域のデータおよび指定
されたレジスタのデータが上記獲得領域に書込ま
れ、当該獲得領域が入力されたフアイル名もしく
は識別番号で管理され、 フアイル名もしくは識別番号が入力され、そし
て復元すべきことを指令する復元指示が入力され
た時、上記サービス・プロセツサの復元手段が起
動され、当該復元手段の制御により、該当するフ
アイルが外部記憶装置の中から検索され、当該フ
アイル中のテスト・プログラムが当該フアイル中
のアドレス情報で指定される中央処理装置の主記
憶の領域にロードされ、当該フアイル中のレジス
タ・データが当該フアイル中のレジスタ特定情報
で指定されるレジスタにセツトされ、当該フアイ
ル中のプログラム実行開始アドレスが命令アドレ
ス・レジスタにセツトされることを特徴とするも
のである。以下、本発明を図面を参照しつつ説明
する。
The present invention is based on the above considerations, and includes:
It is an object of the present invention to provide a method for saving and restoring a test program, which makes it possible to save a temporary test program assembled in a computer to a non-volatile memory and restore the test program to the computer as necessary. The purpose is Therefore, the test program save and restore method of the present invention includes a service processor having a central processing unit and an external storage device, and the service processor reads the internal state of the central processing unit and changes the internal state. In a computer system that can now be stopped and started, the service processor is equipped with a saving means and a restoring means, and the file name or identification number given to the test program and the reading of the main memory can be read out. When the address information specifying the area to be read, the register specifying information specifying the register to be read, and the execution start address of the test program are input, and a save instruction indicating that the contents of the main memory should be saved is input. , the saving means of the service processor is activated, and under the control of the saving means, an area of the external storage device is acquired, and in the acquired area,
The input address information, register specific information, program execution start address, etc. are written, and the data in the specified area of the main memory and the data in the specified register are written to the acquisition area, and the acquisition area is The file name or identification number that has been input is managed, and when a file name or identification number is input and a restoration instruction is input to command restoration, the restoration means of the service processor is activated and the restoration is performed. Under the control of the means, the corresponding file is searched from the external storage device, the test program in the file is loaded into the area of the main memory of the central processing unit specified by the address information in the file, and the file is The register data in the file is set in the register specified by the register specifying information in the file, and the program execution start address in the file is set in the instruction address register. Hereinafter, the present invention will be explained with reference to the drawings.

図は本発明が適用される計算機システムの1例
を示すものであつて、1は中央処理装置、2はサ
ービス・プロセツサ、3―0と3―1はチヤネ
ル、4はコンソール・インターフエース、5はシ
ステム電源制御装置、6はコンソール・プロセツ
サ、7は記憶装置、8は電源インターフエース、
9は磁気デイスク装置、10はコントロール・パ
ネル、11はモデム、12―0と12―1はデイ
スプレイ、13―0と13―1はキー・ボード、
14はデイスプレイ制御装置をそれぞれ示してい
る。
The figure shows an example of a computer system to which the present invention is applied, in which 1 is a central processing unit, 2 is a service processor, 3-0 and 3-1 are channels, 4 is a console interface, 5 is a is a system power control unit, 6 is a console processor, 7 is a storage device, 8 is a power supply interface,
9 is a magnetic disk device, 10 is a control panel, 11 is a modem, 12-0 and 12-1 are displays, 13-0 and 13-1 are keyboards,
Reference numeral 14 indicates a display control device.

サービス・プロセツサ2は、中央処理装置1と
は独立のプロセツサであつて、中央処理装置1と
はチヤネル・インタフエースおよびコンピユー
タ・コンソール・インタフエースで接続されてい
る。サービス・プロセツサ2は、コンソール・プ
ロセツサ6や記憶装置7、電源インタフエース
8、コントロール・パネル10、モデム11、デ
イスプレイ12―0と12―1、キーボード13
―0と13―1などを有している。サービス・プ
ロセツサ2はシステムの監視、操作、制御などを
一括して行うことが出来、例えば表示、変更、起
動、停止、リセツトなどの制御機能を有してい
る。表示とは中央処理装置側の各種レジスタや主
記憶の内容を読出してデイスプレイ12―1に表
示させる機能であり、変更とは中央処理装置の各
種レジスタや主記憶の内容を変更させる機能であ
り、停止とは中央処理装置を停止状態にさせる機
能であり、起動とは中央処理装置を作動状態にさ
せる機能であり、リセツトとは中央処理装置側の
内部状態をクリアする機能である。
The service processor 2 is a processor independent of the central processing unit 1, and is connected to the central processing unit 1 through a channel interface and a computer console interface. The service processor 2 includes a console processor 6, a storage device 7, a power supply interface 8, a control panel 10, a modem 11, displays 12-0 and 12-1, and a keyboard 13.
-0 and 13-1, etc. The service processor 2 can monitor, operate, and control the system all at once, and has control functions such as display, change, start, stop, and reset. Display is a function that reads the contents of various registers and main memory on the central processing unit side and displays them on the display 12-1, and change is a function that changes the contents of various registers and main memory of the central processing unit. Stopping is a function that causes the central processing unit to be stopped, activation is a function that causes the central processing unit to be activated, and reset is a function that clears the internal state of the central processing unit.

さきに述べたように、障害調査などを目的とし
て、サービス・プロセツサ2を用いて中央処理装
置1の主記憶(図示せず)に機械語のテスト・プ
ログラムを組立て、このテスト・プログラムを実
行して障害調査などを行う場合がある。主記憶は
揮発性のRAMから構成されているので、電源が
オフされたときには主記憶のテスト・プログラム
は消滅してしまう。本発明は、主記憶に組立てら
れたテスト・プログラムを繰返して使用できるよ
うにすることを目的とするものであつて、主記憶
に組立てられたテスト・プログラムをサービス・
プロセツサ2の磁気デイスク装置9などに退避さ
せ、必要に応じて磁気デイスク装置9からテス
ト・プログラムを読出して中央処理装置1の主記
憶にロードし、ロードしたテスト・プログラムを
実行できるようにしたものである。
As mentioned earlier, for the purpose of fault investigation, etc., a machine language test program is assembled in the main memory (not shown) of the central processing unit 1 using the service processor 2, and this test program is executed. In some cases, failure investigations may be conducted. Since the main memory is composed of volatile RAM, the test program in the main memory is lost when the power is turned off. The purpose of the present invention is to enable a test program assembled in main memory to be used repeatedly.
The test program is evacuated to the magnetic disk device 9 of the processor 2, and when necessary, the test program is read from the magnetic disk device 9, loaded into the main memory of the central processing unit 1, and the loaded test program can be executed. It is.

中央処理装置1の主記憶に組立てられたテス
ト・プログラムをサービス・プロセツサ2の磁気
デイスク装置9に退避させる場合には、次のよう
な操作が行われる。オペレータは、キー・ボード
13―1を用いて、テスト・プログラムに対して
付与される名前もしくは識別番号、主メモリの読
出すべき領域を特定する先頭アドレスと終端アド
レス、読出すべきレジスタを特定するレジスタ識
別番号、およびテスト・プログラムの実行開始ア
ドレスなどを入力し、そして主記憶の内容を退避
すべきことを指令するセーブ(SAVE)コマンド
を入力する。このセーブ・コマンドの実行が開始
されると、サービス・プロセツサ2は、磁気デイ
スク装置9の中にテスト・プログラムを格納する
エリアを確保する。そして、このエリアに入力さ
れた読出領域の先頭アドレス、読出領域の終端ア
ドレス、レジスタ識別番号およびプログラム実行
開始アドレスなどを書込み、しかる後に主記憶の
指定された領域のデータおよび指定されたレジス
タのデータをコンソール・インタフエースを介し
て読出して、上記磁気デイスク装置9のエリアに
書込む。セーブ・コマンドを実行するためのプロ
グラムは記憶装置7の中に存在する。
When saving the test program assembled in the main memory of the central processing unit 1 to the magnetic disk device 9 of the service processor 2, the following operations are performed. Using the keyboard 13-1, the operator specifies the name or identification number given to the test program, the start and end addresses that specify the area of main memory to be read, and the register to be read. Enter the register identification number, the execution start address of the test program, etc., and then enter the SAVE command to instruct that the contents of the main memory should be saved. When execution of this save command is started, the service processor 2 secures an area in the magnetic disk device 9 to store the test program. Then, write the input read area start address, read area end address, register identification number, program execution start address, etc. to this area, and then write the data in the specified area of main memory and the data in the specified register. is read out via the console interface and written into the area of the magnetic disk device 9. A program for executing the save command exists in the storage device 7.

磁気デイスク装置9に格納されたテスト・プロ
グラムを中央処理装置1の主記憶に復元したい場
合には、キー・ボード13―1からテスト・プロ
グラムに対して付与されたフアイル名もしくは識
別番号を入力し、復元すべきことを指令するリス
トア(RESTORE)コマンドを入力する。このリ
ストア・コマンドの実行が開始されると、サービ
ス・プロセツサ2は該当するフアイルを磁気デイ
スク装置9から探し出して読出し、フアイル中に
書込まれている領域先頭アドレスおよび領域終端
アドレスを参照してテスト・プログラムを中央処
理装置1の主記憶にロードし、フアイル中に書込
まれているレジスタ識別番号を参照してレジス
タ・データを中央処理装置1のレジスタにセツト
し、フアイル中に書込まれているプログラム実行
開始アドレスを命令アドレス・レジスタにセツト
する。リストア・コマンドを実行させるためのプ
ログラムは記憶装置7の中に存在する。上記の復
元処理が終了した後、オペレータは起動キー(図
示せず)を押下して中央処理装置1を作動状態と
し、テスト・プログラムの実行を開始させる。
If you wish to restore the test program stored in the magnetic disk device 9 to the main memory of the central processing unit 1, enter the file name or identification number assigned to the test program from the keyboard 13-1. , enter the RESTORE command to instruct what should be restored. When execution of this restore command is started, the service processor 2 searches for the corresponding file from the magnetic disk device 9, reads it, and performs a test by referring to the area start address and area end address written in the file.・Load the program into the main memory of the central processing unit 1, set the register data in the register of the central processing unit 1 by referring to the register identification number written in the file, and check the register data written in the file. Set the current program execution start address in the instruction address register. A program for executing the restore command exists in the storage device 7. After the above restoration process is completed, the operator presses a start key (not shown) to activate the central processing unit 1 and start executing the test program.

以上の説明から明らかなように、中央処理装置
に作成された任意のテスト・プログラムを、任意
の名前もしくは識別番号を付与してサービス・プ
ロセツサの中に退避保存しておくことが出来ると
共に何時でも必要とした時点で、退避保存してお
いたテスト・プログラムを中央処理装置にロード
し実行させることが出来るので、中央処理装置の
テストを効率的に行うことが出来る。
As is clear from the above explanation, any test program created in the central processing unit can be given an arbitrary name or identification number and saved in the service processor, and can be saved at any time. Since the saved test program can be loaded into the central processing unit and executed when needed, the central processing unit can be tested efficiently.

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

図は本発明が適用される計算機システムの1例
を示す図である。 1……中央処理装置、2……サービス・プロセ
ツサ、3―0と3−1……チヤネル、4……コン
ソル・インタフエース、5……システム電源装
置、6……コンソール・プロセツサ、7……記憶
装置、8……電源インタフエース、9……磁気デ
イスク装置、10……コントロール・パネル、1
1……モデム、12―0と12―1……デイスプ
レイ、13―0と13―1……キー・ボード、1
4……デイスプレイ制御装置。
The figure is a diagram showing an example of a computer system to which the present invention is applied. 1... Central processing unit, 2... Service processor, 3-0 and 3-1... Channel, 4... Console interface, 5... System power supply, 6... Console processor, 7... Storage device, 8...Power interface, 9...Magnetic disk device, 10...Control panel, 1
1...Modem, 12-0 and 12-1...Display, 13-0 and 13-1...Keyboard, 1
4...Display control device.

Claims (1)

【特許請求の範囲】 1 中央処理装置および外部記憶装置を持つサー
ビス・プロセツサを備え、 上記サービス・プロセツサが、上記中央処理装
置の内部状態の読出し、内部状態の変更、停止お
よび起動を行い得るようになつた計算機システム
において、 上記サービス・プロセツサに退避手段と復元手
段とが設けられ、 テスト・プログラムに対して付与されるフアイ
ル名もしくは識別番号、主記憶の読出すべき領域
を特定するアドレス情報、読出すべきレジスタを
特定するレジスタ特定情報およびテスト・プログ
ラムの実行開始アドレスが入力され、そして主記
憶の内容を退避すべきことを指令する退避指示が
入力された時、上記サービス・プロセツサの退避
手段が起動され、当該退避手段の制御により、外
部記憶装置の領域が獲得され、当該獲得領域に、
入力されたアドレス情報、レジスタ特定情報およ
びプログラム実行開始アドレス等が書込まれ、そ
して主記憶の指定された領域のデータおよび指定
されたレジスタのデータが上記獲得領域に書込ま
れ、当該獲得領域が入力されたフアイル名もしく
は識別番号で管理され、 フアイル名もしくは識別番号が入力され、そし
て復元すべきことを指令する復元指示が入力され
た時、上記サービス・プロセツサの復元手段が起
動され、当該復元手段の制御により、該当するフ
アイルが外部記憶装置の中から検索され、当該フ
アイル中のテスト・プログラムが当該フアイル中
のアドレス情報で指定される中央処理装置の主記
憶の領域にロードされ、当該フアイル中のレジス
タ・データが当該フアイル中のレジスタ特定情報
で指定されるレジスタにセツトされ、当該フアイ
ル中のプログラム実行開始アドレスが命令アドレ
ス・レジスタにセツトされる ことを特徴とするテスト・プログラムの退避復元
方式。
[Scope of Claims] 1. A service processor having a central processing unit and an external storage device, wherein the service processor is capable of reading the internal state of the central processing unit, changing the internal state, stopping and starting the central processing unit. In a modern computer system, the service processor is equipped with a saving means and a restoring means, and the file name or identification number given to the test program, address information specifying the area to be read from the main memory, When the register specifying information specifying the register to be read and the execution start address of the test program are input, and when the save instruction is input to instruct that the contents of the main memory should be saved, the save means of the service processor is activated, an area of the external storage device is acquired under the control of the saving means, and the acquired area is
The input address information, register specific information, program execution start address, etc. are written, and the data in the specified area of the main memory and the data in the specified register are written to the acquisition area, and the acquisition area is The file name or identification number that has been input is managed, and when a file name or identification number is input and a restoration instruction is input to command restoration, the restoration means of the service processor is activated and the restoration is performed. Under the control of the means, the corresponding file is searched from the external storage device, the test program in the file is loaded into the area of the main memory of the central processing unit specified by the address information in the file, and the file is Saving and restoring a test program characterized in that register data in the file is set in a register specified by register specifying information in the file, and a program execution start address in the file is set in an instruction address register. method.
JP56032763A 1981-03-07 1981-03-07 Evacuation restoring system of test program Granted JPS57147763A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56032763A JPS57147763A (en) 1981-03-07 1981-03-07 Evacuation restoring system of test program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56032763A JPS57147763A (en) 1981-03-07 1981-03-07 Evacuation restoring system of test program

Publications (2)

Publication Number Publication Date
JPS57147763A JPS57147763A (en) 1982-09-11
JPS6239785B2 true JPS6239785B2 (en) 1987-08-25

Family

ID=12367876

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56032763A Granted JPS57147763A (en) 1981-03-07 1981-03-07 Evacuation restoring system of test program

Country Status (1)

Country Link
JP (1) JPS57147763A (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6234246A (en) * 1985-08-06 1987-02-14 Nec Corp Data processor
JPH0719170B2 (en) * 1987-10-27 1995-03-06 三菱電機株式会社 Method of debugging sequence program in programmable controller
JPH0273434A (en) * 1988-09-09 1990-03-13 Fujitsu Ltd Method for reading data out of auxiliary memory

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE2165589A1 (en) * 1971-12-30 1973-07-19 Ibm Deutschland ARRANGEMENT FOR PROGRAM-CONTROLLED DETERMINATION OF ERRORS IN A DATA PROCESSING SYSTEM
JPS5361938A (en) * 1976-11-16 1978-06-02 Fujitsu Ltd Automatic diagnosis device

Also Published As

Publication number Publication date
JPS57147763A (en) 1982-09-11

Similar Documents

Publication Publication Date Title
US5819024A (en) Fault analysis system
JPS6239785B2 (en)
US6141635A (en) Method of diagnosing faults in an emulated computer system via a heterogeneous diagnostic program
JPS6029984B2 (en) Main memory dump method
JPH0235341B2 (en)
JP3399741B2 (en) Dump data display method and failure analysis system
JP2658699B2 (en) Method of managing device under test of input / output device test program
JPH1091477A (en) Control microcomputer device and maintenance tool for the device
JP2684966B2 (en) I/O processor debug unit
JPH09218829A (en) Write testing method for external storage and information processing system adopting the same
JPH0478938A (en) Computer operation supporting system
JPH08221287A (en) System switching control method
JPS62187942A (en) Debugging control processing system
JPH03251934A (en) Computer equipment
JPS605362A (en) Test system for control memory
JPH11110011A (en) Process control equipment
JPS62249242A (en) Computer memory dump method
JPH04338840A (en) Program debug back-up processor
JPS6367214B2 (en)
JPS63138438A (en) Memory dump system
JPH04243431A (en) Evaluation system for fault processing function
JPH05158822A (en) Instruction combining test device for transferring device
Bowring Writing a roll‐out‐roll‐in facility for small machines
JPH0215340A (en) Control system for state history memory device
JPH05158580A (en) Information processor