JP4269531B2 - Information processing device with logout function - Google Patents
Information processing device with logout function Download PDFInfo
- Publication number
- JP4269531B2 JP4269531B2 JP2001064334A JP2001064334A JP4269531B2 JP 4269531 B2 JP4269531 B2 JP 4269531B2 JP 2001064334 A JP2001064334 A JP 2001064334A JP 2001064334 A JP2001064334 A JP 2001064334A JP 4269531 B2 JP4269531 B2 JP 4269531B2
- Authority
- JP
- Japan
- Prior art keywords
- memory
- logout
- flip
- flop
- address
- 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 - Lifetime
Links
Images
Description
【0001】
【発明の属する技術分野】
本発明はスキャン機能によりメモリに格納されている装置ログ情報を間接的にログアウトする診断装置を備える情報処理装置に関する。
【0002】
【従来の技術】
近年、情報処理装置の高性能化・高集積化が進展し、またメモリ素子の大容量化、低価格化により情報処理装置内に大容量のメモリを装備することが可能になり、情報処理装置の動作状況の調査、および障害解析に多くの装置ログ情報の採取が必要となってきている。このため装置ログ情報のログアウトに要する時間も増加する傾向にあり、特にスキャン機能を使用してログアウトを実施する情報処理装置においては、間接的なスキャンアクセスされるメモリに格納されている装置ログ情報を採取する場合には、いくつかの手順を実行する必要があり、その手順を実行する過程でログアウトに要する時間がさらに増大するという問題がある。
【0003】
このような問題を解消する第一の方法として、メモリから読み出したデータを格納するフリップフロップをスキャンアウトする毎にメモリに入力されるアドレスの値を自動的に+1することで間接的なスキャンアクセスされるメモリに格納されている装置ログ情報の採取時に必要な手順を削減することにより、ログアウトに要する時間を短縮させる特開平5−165670号公報に記載の方法等が知られている。
【0004】
第二の方法としては、ログアウトモードに応じて異なる装置ログ情報をログアウトし、装置ログ情報の量を削減しログアウトに要する時間を短縮させる特開平5−250194号公報に記載の方法等が知られている。
【0005】
図3はフリップフロップに対するスキャン動作を説明する図である。
以下に、図3を用いて、フリップフロップへのスキャンイン動作とスキャンアウト動作について説明する。ここで、全てのスキャン動作対象フリップフロップは、ユニークなスキャンアドレスが割り当てられているものとする。図3において、300、320はスキャンインおよびスキャンアウトの対象となるフリップフロップ、310は通常論理からフリップフロップ300に入力される入力信号、330は通常論理からフリップフロップ320に入力される入力信号、312はフリップフロップ300に入力されるクロック信号、332はフリップフロップ320に入力されるクロック信号、311はフリップフロップ300からの出力信号、331はフリップフロップ320からの出力信号、152はスキャン制御部121で生成されたスキャンコマンド信号、153はスキャン制御部121で生成されたスキャンアドレス信号、154はスキャン制御部121で生成されたスキャンインデータ信号、301、302はデコーダ、303、304、305、323、324、325はAND素子、313はスキャンコマンド信号152をデコーダ301でデコードして生成されるスキャンアウト動作を示す制御信号、314はスキャンコマンド信号152をデコーダ301でデコードして生成されるスキャンイン動作を示す制御信号、318はスキャンアドレス信号153をデコーダ302でデコードして生成されるフリップフロップ300を選択する制御信号、338はスキャンアドレス信号153をデコーダ302でデコードして生成されるフリップフロップ320を選択する制御信号、316はクロック信号312と入力信号310とは無関係にフリップフロップ300の出力信号311の値を‘1’にセットするセット信号、336はクロック信号332と入力信号330とは無関係にフリップフロップ320の出力信号331の値を‘1’にセットするセット信号、317はクロック信号312と入力信号310とは無関係にフリップフロップ300の出力信号311の値を‘0’にリセットするリセット信号、337はクロック信号332と入力信号330とは無関係にフリップフロップ320の出力信号331の値を‘0’にリセットするリセット信号、319はフリップフロップ300のスキャンアウトデータ信号、339はフリップフロップ320のスキャンアウトデータ信号、359はフリップフロップ300およびフリップフロップ320以外のスキャンアウトデータ信号、360はOR素子、361は複数のフリップフロップから選択されたスキャンアウト信号である。
【0006】
フリップフロップ300に対してスキャンインを行う場合、スキャンアドレス信号153はフリップフロップ300に割り当てられたスキャンアドレスを示し、スキャンコマンド信号152はスキャンイン動作を示している。このため、フリップフロップ300を選択する制御信号318が‘1’に、スキャンイン動作を示す制御信号314が‘1’になる。ここでスキャンデータ信号154が‘1’の場合、AND素子303を介してフリップフロップ300のセット信号316が‘1’になり、フリップフロップ300の出力信号311を‘1’にセットする。また、スキャンインデータ154が‘0’の場合、AND素子304を介してフリップフロップ300のリセット信号317が‘1’になり、フリップフリップ300の出力信号311を‘0’にリセットする。このとき、フリップフロップ320を選択する制御信号338は‘0’であるため、フリップフロップ320のセット信号336およびフリップフロップ320のリセット信号337は共に‘0’であるため、フリップフロップ320の出力信号331は変化しない。同様に他のフリップフロップを選択する信号も‘0’であるため他のフリップフロップの出力信号も変化しない。
【0007】
またフリップフロップ300に対してスキャンアウトを行う場合、スキャンアドレス信号153はフリップフロップ300に割り当てられたスキャンアドレスを示し、スキャンコマンド信号152はスキャンアウト動作を示している。このため、フリップフロップ300を選択する制御信号318が‘1’に、スキャンアウト動作を示す制御信号313が‘1’になる。そしてフリップフロップ300の出力信号311は、AND素子305を介してスキャンフリップフロップ300のスキャンアウトデータ信号319に出力される。このとき、フリップフロップ320を選択する制御信号338は‘0’であるため、フリップフロップ320のスキャンアウトデータ信号339は‘0’である。同様に他のフリップフロップを選択する信号も‘0’であるため、他のフリップフロップのスキャンアウト信号359も‘0’である。このため、OR素子360を介して選択されたスキャンアウト信号361には、フリップフロップ300のスキャンアウト信号319の値が出力される。
【0008】
このように、各フリップフロップに対しては、直接データをスキャンイン、スキャンアウトすることができる。しかし、メモリに対しては、フリップフロップに対するスキャンと同様の方法により直接データをスキャンイン、スキャンアウトすることができないため、特開平5−165670号公報に記載のような間接的なスキャンアクセスによりメモリ内に格納されているデータを読み出す方法が一般的である。
【0009】
【発明が解決しようとする課題】
複数のログアウト対象メモリを含む装置の装置ログ情報のログアウトにおいて、同じメモリの不連続な領域に格納されている装置ログ情報や異なったメモリに格納されている装置ログ情報のログアウトを、オペレータ操作によるログアウト実行や障害発生によるログアウト実行といったログアウトを実行するモードに応じて異なる装置ログ情報を、共通的に且つ高速に記憶装置にログアウトするログアウト機能つき情報処理装置を提供することにある。
【0010】
【課題を解決するための手段】
本発明は、間接接的にスキャンアクセスされる複数のメモリに対して、複数のログアウト対象メモリに対するメモリアドレスを共通に保持する第一保持手段と前記複数のログアウト対象メモリから読み出した出力データを共通に保持する第二保持手段と複数のログアウト対象メモリを識別する識別フラグを保持する第一識別手段と前記第一識別手段に保持された識別フラグに応じて前記複数のログアウト対象メモリからの出力データのうち1つを選択して前記第二保持手段に転送するログデータ選択手段とを設ける。これらの手段を用いて間接的なスキャンアクセスにてメモリデータをログアウトすることにより、診断装置における複数メモリのログアウト処理を共通化することが可能となり、各メモリの物理構成に対応したプログラムを作成する必要がなくなる。
【0011】
又、ログアウト対象メモリ識別フラグに応じて選択されたログアウト対象メモリからのメモリデータを一エントリ分前記第二保持手段に読み出す毎にアドレスを更新するメモリアドレス更新回路を設ける。このメモリアドレス更新回路により、ログアウト対象メモリや不連続なメモリ内領域のログアウト手順を簡素化することが可能になり、診断装置から処理装置へのデータ転送要求増加にともなうログアウト時間の増加を抑える。
【0012】
さらに、アドレス更新モードを識別するアドレス更新モード識別フラグを保持する第二識別手段と、前記第二識別手段に指定され識別フラグに応じて、ログアウト対象メモリ識別フラグ、ログアウト対象メモリアドレスの生成およびメモリアドレスを更新するメモリアドレス更新回路を設ける。この第二識別手段によりログアウトモードにより異なるログアウト対象メモリやメモリ内領域を認識し、前記メモリアドレス更新回路の更新方法を変更することにより、オペレータ操作によるログアウト実行や障害発生によるログアウト実行といったログアウトを実行するモードに関わらず共通的に、ログアウト対象メモリや不連続なメモリ内領域のログアウト手順を簡素化することが可能になり、同じメモリの不連続な領域に格納されている装置ログ情報や異なったメモリに格納されている装置ログ情報をログアウトする毎に、装置ログ情報のアドレスのスキャンインを実行する必要がなくなる。
【0013】
【発明の実施の形態】
以下本発明によるログアウト方式の実施例を示す。
まず診断装置からのスキャン機能によりログアウトするメモリの識別、メモリアドレスの更新を制御する一実施例を図2と図4と図6を用いて説明する。図2において、100は診断装置、110は処理装置120からログアウトしたデータを格納する記憶装置、120は処理装置、121は診断装置100からスキャン伝送路150を介して受信したデータを解析し、また212、213等のスキャンアウトデータ信号を選択しスキャン伝送路150を介して診断装置100に送信するスキャン制御部、122は障害検出部、150は診断装置100とスキャン制御部121を接続するスキャン伝送路、151は障害検出部122から診断装置100に接続される障害検出信号、152は診断装置100からスキャン伝送路150を介して受信したデータをスキャン制御部121で解析して生成されたスキャンコマンド信号、153は診断装置100からスキャン伝送路150を介して受信したデータをスキャン制御部121で解析して生成されたスキャンアドレス信号、154は診断装置100からスキャン伝送路150を介して受信したデータをスキャン制御部121で解析して生成されたスキャンインデータ信号、143、144はメモリ、220はメモリ143の制御を行うメモリ周辺論理、221はメモリ144の制御を行うメモリ周辺論理、135は通常動作時のメモリ143のアドレス信号、136は通常動作時のメモリ144のアドレス信号、200、206はセレクタ素子、204、210は+1インクリメンタ、203はメモリ143の動作モードを格納するフリップフロップ、201はメモリ143のアドレスを格納するフリップフロップ群、205はメモリ143のデータを格納するフリップフロップ群、202はセレクタ200の切り替え信号、139はメモリ143のアドレス信号、141はメモリ143のリードデータ信号、212はデータを格納するフリップフロップ群205のスキャンアウトデータ信号、209はメモリ144の動作モードを格納するフリップフロップ、207はメモリ144のアドレスを格納するフリップフロップ群、211はメモリ144のデータを格納するフリップフロップ群、208はセレクタ206の切り替え信号、140はメモリ144のアドレス信号、142はメモリ144のリードデータ信号、213はデータを格納するフリップフロップ群211のスキャンアウトデータ信号である。
【0014】
またメモリ143、メモリ144の全領域をログアウトするとログアウトに要する時間が大きくなるため、ログアウト実行するモードに応じてログアウトすべき装置ログ情報を選択し、ログアウト実行するモードに応じた許容時間内で採取できるように、装置ログ情報の量を抑える必要がある。ここではログアウトすべき装置ログ情報は、図4に示すように、メモリ143の物理アドレスx1000’からx2FFF’の領域、メモリ144の物理アドレスx0000’からx1FFF’の領域と物理アドレスx4000’からx6FFF’の領域に格納されているものとし、それぞれの領域に格納されているデータを説明の便宜上、ログデータ0、ログデータ1、ログデータ2と称する。さらに、診断装置100が装置ログ情報を採取するモードとしては、オペレータ操作時と障害発生時の2種類を例とする。オペレータ操作時には、詳細な装置ログ情報を採取する必要があるが、先にも述べたようにメモリ143、メモリ144の全領域をログアウトするとログアウトに要する時間が大きくなるため、オペレータ操作時のログアウトの許容時間内で採取でき、動作解析に必要と思われる必要最小限の装置ログ情報を採取する。ここでは、オペレータ操作時には、ログデータ0とログデータ1とログデータ2を採取するものとする。同様に障害発生時のログアウト実行においても、障害発生時のログアウトの許容時間内で採取でき、障害解析に必要最小限の装置ログ情報のみを採取する。障害発生時には、ログアウト処理を早急に終え障害回復処理に移行する必要があるため、オペレータ操作時に比べて障害発生時のログアウトの許容時間の方が短く、採取できる装置ログ情報の量も少ない。ここでは、障害発生時には、ログデータ0とログデータ2を採取するものとする。
【0015】
図2に示す様な情報処理装置において、図4に示す様にメモリに格納されているデータをオペレータ操作によりログアウトする場合の前記情報処理装置の動作について図6のフローチャートにより説明する。
処理装置120が動作中に、診断装置100がメモリ143に格納されている装置ログ情報を読み出すことができないため、診断装置100は、メモリ143の動作モードを格納するフリップフロップ203にスキャンインでスキャンモードを設定することにより、処理装置120の動作を中断させ、スキャン機能を用いて間接的にメモリ143を読み出すために必要な機能を有効にする。処理装置120では、動作モードを格納するフリップフロップ203にスキャンモードがセットされたため切り替え信号202が有効になり、セレクタ素子200はアドレスを格納するフリップフロップ群201の入力信号を+1インクリメンタ204の出力信号に切り替える(ステップ601)。
【0016】
診断装置100は、メモリ143のアドレスを格納するフリップフロップ群201にログデータ0の先頭の物理アドレスであるx1000'をスキャンインにて設定する。メモリ周辺論理220はスキャンモード時にアドレスを格納するフリップフロップ群201へのスキャンインが終了したことを検出すると、メモリ143のデータ読み出しを実行し、読み出したデータを格納するフリップフロップ群205に格納する(ステップ602)。
【0017】
診断装置100は、データを格納するフリップフロップ群205をログデータ0のデータ量分スキャンアウトし、スキャンアウトデータを記憶装置110に格納する。メモリ周辺論理220はスキャンモード時にデータを格納するフリップフロップ群205のスキャンアウトが終了する毎に、アドレスを格納するフリップフロップ群201の内容を更新する。このときアドレスを格納するフリップフロップ群201の入力信号は、+1インクリメンタ204の出力信号であるため+1されたアドレスがアドレスを格納するフリップフロップ群201に格納される。またメモリ周辺論理220は、スキャンモード時にアドレスを格納するフリップフロップ群201が更新される毎に、メモリ143のデータ読み出しを実行し、読み出したデータを格納するフリップフロップ群205に格納する(ステップ603)。
【0018】
診断装置100は、メモリ143の動作モードを格納するフリップフロップ203にスキャンインしスキャンモードを解除する。動作モードを格納するフリップフロップ203のスキャンモードが解除されたため切り替え信号202が無効になり、セレクタ素子200はアドレスを格納するフリップフロップ群201の入力信号を通常動作時のメモリ143のアドレス信号135に切り替える(ステップ604)。
【0019】
診断装置100は、メモリ144の動作モードを格納するフリップフロップ209にスキャンインしスキャンモードを設定することにより、処理装置120の動作を中断させ、スキャン機能を用いて間接的にメモリ144を読み出すために必要な機能を有効にする。処理装置120では、動作モードを格納するフリップフロップ209にスキャンモードがセットされたため切り替え信号208が有効になり、セレクタ素子206はアドレスを格納するフリップフロップ群207の入力信号を+1インクリメンタ210の出力信号に切り替える(ステップ605)。
【0020】
診断装置100は、メモリ144のアドレスを格納するフリップフロップ群207にログデータ1の先頭の物理アドレスであるx0000'をスキャンインにて設定する。メモリ周辺論理221はスキャンモード時にアドレスを格納するフリップフロップ群207へのスキャンインが終了したことを検出すると、メモリ144のデータ読み出しを実行し、読み出したデータを格納するフリップフロップ群211に格納する(ステップ606)。
【0021】
診断装置100は、データを格納するフリップフロップ群211をログデータ1のデータ量分スキャンアウトし、記憶装置110に格納する。メモリ周辺論理221はスキャンモード時にデータを格納するフリップフロップ群211のスキャンアウトが終了する毎に、アドレスを格納するフリップフロップ群207の内容を更新する。このときアドレスを格納するフリップフロップ群207の入力信号は、+1インクリメンタ210の出力信号であるため+1されたアドレスがアドレスを格納するフリップフロップ群207に格納される。またメモリ周辺論理221は、スキャンモード時にアドレスを格納するフリップフロップ群207が更新される毎に、メモリ144のデータ読み出しを実行し、読み出したデータを格納するフリップフロップ群211に格納する(ステップ607)。
【0022】
診断装置100は、メモリ144のアドレスを格納するフリップフロップ群207にログデータ2の先頭の物理アドレスであるx4000'をスキャンインにて設定する。メモリ周辺論理221の動作はステップ606と同じである(ステップ608)。
【0023】
診断装置100は、データを格納するフリップフロップ群211のログデータ2のデータ量分スキャンアウトし、記憶装置110に格納する。メモリ周辺論理221の動作はステップ607と同じである(ステップ609)。
【0024】
診断装置100は、メモリ144の動作モードを格納するフリップフロップ209にスキャンインでスキャンモードを解除する。動作モードを格納するフリップフロップ209のスキャンモードが解除されたため切り替え信号208が無効になり、セレクタ素子206はアドレスを格納するフリップフロップ群207の入力信号を通常動作時のメモリ144のアドレス信号136に切り替える(ステップ610)。
【0025】
また、障害発生時のログアウト実行時の動作については、上記のログアウト動作からステップ606とステップ607の処理ステップを削除したものとなる。
【0026】
次に診断装置からのスキャン機能による指示をきっかけにして、以後ログアウトするメモリの識別、メモリアドレスの更新をアドレス更新回路により制御する本発明の他の実施例を図1,図5,図7を用いて詳細に説明する。図1は本発明の他の実施形態によるメモリに格納されている装置ログ情報のログアウトを行う情報処理装置のブロック図であり、図5は本発明の他の実施形態によるメモリアドレス更新回路関連情報を格納するフリップフロップ群の詳細を示す図であり、図7は本発明の他の実施形態によるメモリに格納されている装置ログ情報のログアウトを行う場合の診断装置の処理を示すフローチャート図である。
【0027】
図1において、123はログアウト制御部、124はメモリアドレス更新回路、160は第二識別手段を具現化した更新モード識別フラグを格納するフリップフロップ、161は第一識別手段を具現化したメモリ識別フラグを格納するフリップフロップ、162は第一保持手段を具現化し、アドレスを格納するフリップフロップ群、170はメモリアドレス更新回路124と更新モード識別フラグを格納するフリップフロップ160とメモリ識別フラグを格納するフリップフロップ161とアドレスを格納するフリップフロップ群162を含むメモリアドレス生成部、127は更新モード識別フラグを格納するフリップフロップ160の出力信号である更新モード識別フラグ信号、128はメモリ識別フラグを格納するフリップフロップ161の出力信号であるメモリ識別フラグ信号、129はアドレスを格納するフリップフロップ群162の出力信号であるアドレス信号、126は動作モードを格納するフリップフロップ、125は動作モードを格納するフリップフロップ126の出力信号である動作モード切り替え信号、137は動作モード切り替え信号125に従ってメモリ143のアドレス信号139をメモリアドレス信号129と通常動作時のメモリ143のアドレス信号135のどちらかに切り替えるセレクタ素子、138は動作モード切り替え信号125に従ってメモリ144のアドレス信号140をメモリアドレス信号129と通常動作時のメモリ144のアドレス信号136のどちらかに切り替えるセレクタ素子、132はメモリ識別フラグ信号128に従ってメモリ143のリードデータ信号141とメモリ144のリードデータ信号142を選択するログデータ選択回路、131はログデータ選択回路132に選択されたログデータ信号、130は第二保持手段を具現化したログデータ131を格納するフリップフロップ群であり、155はログデータ131を格納するフリップフロップ群130のスキャンアウトデータ信号、その他は図2と同じである。
また、ログアウトすべき装置ログ情報は、図4に示される領域に格納されているものとする。
【0028】
更に、メモリアドレス更新回路関連情報は、図5に示すように第一識別手段であるメモリ識別フラグと第二識別手段である更新モード識別フラグと第一保持手段であるアドレスを含む。ここで、メモリ識別フラグが‘0’時はアドレスはメモリ143内の領域を示し、メモリ識別フラグが‘1’時はアドレスはメモリ144内の領域を示し、更新モード識別フラグが‘0’時はオペレータ操作によるログアウトに対応したメモリ識別フラグとアドレスの更新を更新モード識別フラグ信号127を介してメモリアドレス更新回路124に指示し、更新モード識別フラグが‘1’時は障害発生によるログアウトに対応したメモリ識別フラグとアドレスの更新を更新モード識別フラグ信号127を介してメモリアドレス更新回路124に指示するものとする。
【0029】
図1に示す情報処理装置において、図4に示す様にメモリに格納されているデータをログアウトする場合の前記情報処理装置の動作について図7のフローチャートにより説明する。ログアウトは、オペレータ操作により診断装置100にログデータの採取指示が与えられるか、障害検出部122が処理装置120内の障害を検出し、障害検出信号151を介して診断装置100に障害の発生が通知されることにより開始される。
【0030】
診断装置100は、動作モードを格納するフリップフロップ126にスキャンインしスキャンモードを設定することにより、処理装置120の動作を中断させ、ログアウト制御部123の機能を有効にする(ステップ701)。
【0031】
診断装置100は、ログアウトが開始されたモードに即して、更新モード識別フラグを格納するフリップフロップ160、メモリ識別フラグを格納するフリップフロップ161、アドレスを格納するフリップフロップ群162に値を設定する。オペレータ操作によってログアウトが開始された場合、更新モード識別フラグを格納するフリップフロップ160に‘0’、メモリ識別フラグを格納するフリップフロップ161に‘0’、アドレスを格納するフリップフロップ群162にログデータ0の先頭のアドレスであるx'1000’をスキャンインで設定する。また、障害検出によってログアウトが開始された場合、更新モード識別フラグを格納するフリップフロップ160に‘1’、メモリ識別フラグを格納するフリップフロップ161に‘0’、アドレスを格納するフリップフロップ群162にログデータ0の先頭のアドレスであるx'1000’をスキャンインで設定する。ログアウト制御部123は、更新モード識別フラグを格納するフリップフロップ160、メモリ識別フラグを格納するフリップフロップ161、アドレスを格納するフリップフロップ群162への全てのスキャンインが終了したことを検出すると、メモリからデータ読み出しを実行し、読み出されたデータはメモリ識別フラグ信号128に従ってログデータ選択回路132で選択され、データを格納するフリップフロップ群130に格納される(ステップ702)。
【0032】
診断装置100は、ログアウトが開始されたモードに即して、ログデータを格納するフリップフロップ群130を必要なデータ量分スキャンアウトし、記憶装置110に格納する。オペレータ操作によってログアウトが開始された場合はログデータ0とログデータ1とログデータ2の合計のデータ量分スキャンアウトを実行し、障害検出によってログアウトが開始された場合はログデータ0とログデータ2の合計のデータ量分スキャンアウトを実行する。ログアウト制御部123は、ログデータを格納するフリップフロップ群130のスキャンアウトが終了する毎に、メモリ識別フラグを格納するフリップフロップ161とアドレスを格納するフリップフロップ群162の内容を更新する。このとき、オペレータ操作によってログアウトが開始された場合は更新モード識別フラグが‘0’であるため、メモリ識別フラグを格納するフリップフロップ161とアドレスを格納するフリップフロップ162にはメモリアドレス更新回路124がオペレータ操作時のログアウトに即して更新した値が格納される。具体的には、メモリアドレス更新回路124に値が‘0’であるメモリ識別フラグ信号128と値がx2FFF’であるアドレス信号129が入力されると、メモリ識別フラグが‘1’で且つアドレスがx0000’である出力信号を生成し、値が‘1’であるメモリ識別フラグ信号128と値がx1FFF’であるアドレス信号129が入力されると、メモリ識別フラグが‘1’で且つアドレスがx4000’である出力信号を生成し、その他のメモリ識別フラグ信号128とアドレス信号129の組み合わせが入力されると、メモリ識別フラグは変更されず入力されたアドレスに+1された出力信号を生成さる。また、障害検出によってログアウトが開始された場合は更新モード識別フラグが‘1’であるため、メモリ識別フラグを格納するフリップフロップ161とアドレスを格納するフリップフロップ162にはメモリアドレス更新回路124が障害発生時のログアウトに即して更新した値が格納される。具体的には、メモリアドレス更新回路124に値が‘0’であるメモリ識別フラグ信号128と値がx2FFF’であるアドレス信号129が入力されると、メモリ識別フラグが‘1’で且つアドレスがx4000’である出力信号を生成し、その他のメモリ識別フラグ信号128とアドレス信号129の組み合わせが入力されると、メモリ識別フラグは変更されず入力されたアドレスに+1された出力信号を生成される。ログアウト制御部123は、アドレスを格納するフリップフロップ群162が更新される毎に、メモリ識別フラグを格納するフリップフロップ161で示されるメモリから、アドレスを格納するフリップフロップ群162で示されるデータの読み出しを実行し、読み出されたデータはログデータ選択回路132を介してログデータを格納するフリップフロップ群130に格納する(ステップ703)。
【0033】
診断装置100は、動作モードを格納するフリップフロップ126にスキャンインしスキャンモードを解除することにより、ログアウト制御部123の機能を無効にする(ステップ704)。
【0034】
以上のことから、オペレータ操作によるログアウトと障害発生といったログアウト実行時のモードの区別なくログアウト手順が共通化され、アドレスを格納するフリップフロップ群162にログデータの先頭アドレスを設定する回数を削減し、不連続なログアウト領域に対して連続的なログアウトが実行可能となる。また、動作モードを格納するフリップフロップ126とメモリアドレスを格納するフリップフロップ群162へのスキャンイン、ログデータを格納するフリップフロップ群130からのスキャンアウトのみで各メモリの読み出しが可能であることから、診断装置100のログアウト処理に関するプログラムの設計時には、設計者は各メモリの物理構成や各メモリに対応するを格納するフリップフロップ群といったハードウェア構成を意識する必要がなくなり、又ログアウト処理手順が簡素化される。
【0035】
【発明の効果】
以上説明したように本発明には、診断装置のログアウト処理に関するプログラム設計時に設計者が、各メモリ等の物理構成や各メモリに対応するアドレスやデータを格納するフリップフロップ群といったハードウェア構成を意識してプログラムを作成する必要がなくなり、またメモリに格納されているデータのログアウト手順を共通化することにより、プログラムの設計が容易になるとういう効果がある。
また本発明には、ログアウト対象メモリや不連続なメモリ内領域に格納されている装置ログ情報のログアウト手順を簡素化し、連続的に且つ高速なログアウトを可能とすることにより、メモリからのログアウトに要する時間を短縮できるという効果がある。
【0036】
さらに本発明には、オペレータ操作によるログアウト実行や障害発生によるログアウト実行といったログアウトモードにより異なるログアウト対象メモリや不連続なメモリ内領域に格納されている装置ログ情報のログアウト手順を簡素化、および共通化し、さらに連続的に且つ高速なログアウトを可能とすることにより、ログアウトを実行するモードに関わらずメモリからのログアウトに要する時間を短縮できるという効果がある。
【図面の簡単な説明】
【図1】本発明の他の実施形態によるメモリに格納されれている装置ログ情報のログアウトを行う情報処理装置のブロック図である。
【図2】本発明の一実施形態によるメモリに格納されている装置ログ情報のログアウトを行う情報処理装置のブロック図である。
【図3】フリップフロップに対するスキャン動作を説明する図である。
【図4】モードに即してログアウトする複数の装置ログ情報の物理アドレスを示す図である。
【図5】本発明の他の実施形態によるメモリアドレス更新回路関連情報を格納するフリップフロップ群の詳細を示す図である。
【図6】本発明の一実施形態によるメモリに格納されている装置ログ情報のログアウトを行う場合の診断装置の処理を示すフローチャート図である。
【図7】本発明の他の実施形態によるメモリに格納されている装置ログ情報のログアウトを行う場合の診断装置の処理を示すフローチャート図である。
【符号の説明】
100 診断装置
110 記憶装置
120 処理装置
121 スキャン制御部
122 障害検出部
123 ログアウト制御部
124 メモリメモリアドレス更新回路
126 動作モードを格納するフリップフロップ
130 ログデータを格納するフリップフロップ群(第二保持手段)
132 ログデータ選択回路
133、134 メモリ周辺論理
137、138 セレクタ素子
143、144 メモリ
160 更新モード識別フラグを格納するフリップフロップ(第二識別手段)
161 メモリ識別フラグを格納するフリップフロップ(第一識別手段)
162 アドレスを格納するフリップフロップ(第一保持手段)
170 メモリアドレス生成部[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an information processing apparatus including a diagnostic apparatus that indirectly logs out apparatus log information stored in a memory by a scan function.
[0002]
[Prior art]
In recent years, high performance and high integration of information processing devices have progressed, and it has become possible to equip information processing devices with large capacity memories due to the increased capacity and lower cost of memory elements. It is necessary to collect a lot of device log information for the investigation of the operation status and the failure analysis. For this reason, the time required for logout of device log information also tends to increase. Especially in an information processing device that performs logout using a scan function, device log information stored in a memory that is indirectly scanned and accessed There is a problem in that it is necessary to execute several procedures, and the time required for logout further increases in the process of executing the procedures.
[0003]
As a first method to solve this problem, an indirect scan access is performed by automatically incrementing the address value input to the memory every time the flip-flop storing the data read from the memory is scanned out. A method described in Japanese Patent Laid-Open No. Hei 5-165670 is known in which the time required for logout is shortened by reducing the procedure required when collecting device log information stored in the memory.
[0004]
As a second method, there is known a method described in Japanese Patent Laid-Open No. 5-250194 that logs out different device log information depending on the logout mode, reduces the amount of device log information, and shortens the time required for logout. ing.
[0005]
FIG. 3 is a diagram for explaining the scan operation for the flip-flop.
Hereinafter, a scan-in operation and a scan-out operation to the flip-flop will be described with reference to FIG. Here, it is assumed that a unique scan address is assigned to all scan operation target flip-flops. In FIG. 3, 300 and 320 are flip-flops to be scanned in and out, 310 is an input signal input from the normal logic to the flip-
[0006]
When scan-in is performed on the flip-
[0007]
When scan-out is performed on the flip-
[0008]
In this way, data can be directly scanned in and out for each flip-flop. However, since it is not possible to directly scan in and scan out data by a method similar to the scan for flip-flops, the memory can be accessed by indirect scan access as described in JP-A-5-165670. A method of reading out data stored in is generally used.
[0009]
[Problems to be solved by the invention]
In logout of device log information of a device including multiple logout target memories, logout of device log information stored in discontinuous areas of the same memory or device log information stored in different memories can be performed by an operator operation. An object of the present invention is to provide an information processing apparatus with a logout function that logs out different apparatus log information to a storage apparatus in common and at a high speed according to a logout execution mode such as logout execution or logout execution due to occurrence of a failure.
[0010]
[Means for Solving the Problems]
The present invention provides a first holding means for commonly holding memory addresses for a plurality of logout target memories and a plurality of output data read from the plurality of logout target memories for a plurality of indirectly accessed scan accesses. Output data from the plurality of logout target memories according to the identification flag held in the first identification means and the first identification means held in the first identification means Log data selection means for selecting one of them and transferring it to the second holding means. By logging out memory data by indirect scan access using these means, it becomes possible to share the logout process of multiple memories in the diagnostic device, and create a program corresponding to the physical configuration of each memory There is no need.
[0011]
In addition, a memory address update circuit is provided for updating the address each time the memory data from the logout target memory selected according to the logout target memory identification flag is read to the second holding means. This memory address update circuit makes it possible to simplify the logout procedure for the logout target memory and the discontinuous in-memory area, and suppresses an increase in logout time due to an increase in data transfer requests from the diagnostic apparatus to the processing apparatus.
[0012]
Further, a second identification unit for holding an address update mode identification flag for identifying an address update mode, and a logout target memory identification flag, a logout target memory address generation and a memory according to the identification flag designated by the second identification unit A memory address update circuit for updating the address is provided. This second identification means recognizes different logout target memory and memory area depending on the logout mode, and changes the update method of the memory address update circuit to execute logout such as logout execution by operator operation or logout execution due to failure Regardless of the mode to be used, it is possible to simplify logout procedures for logout target memory and discontinuous in-memory areas, and device log information stored in discontinuous areas of the same memory or different Each time the device log information stored in the memory is logged out, it becomes unnecessary to scan in the address of the device log information.
[0013]
DETAILED DESCRIPTION OF THE INVENTION
An embodiment of the logout method according to the present invention will be described below.
First, an embodiment for controlling the identification of the memory to be logged out and the update of the memory address by the scan function from the diagnostic apparatus will be described with reference to FIG. 2, FIG. 4 and FIG. In FIG. 2, 100 is a diagnostic device, 110 is a storage device that stores data logged out from the
[0014]
Also, logout of all areas of
[0015]
In the information processing apparatus as shown in FIG. 2, the operation of the information processing apparatus when the data stored in the memory is logged out by an operator operation as shown in FIG. 4 will be described with reference to the flowchart of FIG.
Since the
[0016]
The
[0017]
The
[0018]
The
[0019]
The
[0020]
The
[0021]
The
[0022]
The
[0023]
The
[0024]
The
[0025]
Further, regarding the operation at the time of logout execution when a failure occurs, the processing steps of
[0026]
Next, referring to FIG. 1, FIG. 5, FIG. 7, another embodiment of the present invention in which the identification of the memory to be logged out and the update of the memory address are controlled by the address update circuit in response to an instruction from the diagnostic device by the scan function. The details will be described. FIG. 1 is a block diagram of an information processing apparatus for logging out apparatus log information stored in a memory according to another embodiment of the present invention, and FIG. 5 is a memory address update circuit related information according to another embodiment of the present invention. FIG. 7 is a flowchart showing the processing of the diagnostic device when logging out the device log information stored in the memory according to another embodiment of the present invention. .
[0027]
In FIG. 1, 123 is a logout control unit, 124 is a memory address update circuit, 160 is a flip-flop storing an update mode identification flag that embodies second identification means, and 161 is a memory identification flag that embodies first identification means. , A flip-
Further, it is assumed that the apparatus log information to be logged out is stored in the area shown in FIG.
[0028]
Further, as shown in FIG. 5, the memory address update circuit related information includes a memory identification flag as a first identification means, an update mode identification flag as a second identification means, and an address as a first holding means. Here, when the memory identification flag is “0”, the address indicates an area in the
[0029]
The operation of the information processing apparatus when the data stored in the memory is logged out as shown in FIG. 4 in the information processing apparatus shown in FIG. 1 will be described with reference to the flowchart of FIG. In logout, the operator is given a log data collection instruction to the
[0030]
The
[0031]
The
[0032]
The
[0033]
The
[0034]
From the above, the logout procedure is standardized regardless of the mode at the time of logout execution such as logout by operator operation and occurrence of failure, reducing the number of times to set the start address of log data in the flip-
[0035]
【The invention's effect】
As described above, in the present invention, when designing a program related to logout processing of a diagnostic device, a designer is aware of the physical configuration of each memory and the hardware configuration such as a flip-flop group storing addresses and data corresponding to each memory. Thus, there is no need to create a program, and a common logout procedure for data stored in the memory is advantageous in that the design of the program becomes easy.
In addition, the present invention simplifies the logout procedure for device log information stored in a logout target memory or a discontinuous memory area, and enables logout from the memory by enabling continuous and high-speed logout. There is an effect that the time required can be shortened.
[0036]
Furthermore, the present invention simplifies and standardizes the logout procedure for the device log information stored in different logout target memory or discontinuous memory areas depending on the logout mode, such as logout execution by an operator operation or logout execution due to failure occurrence. Further, by enabling continuous and high-speed logout, it is possible to reduce the time required for logout from the memory regardless of the mode in which logout is executed.
[Brief description of the drawings]
FIG. 1 is a block diagram of an information processing apparatus that logs out apparatus log information stored in a memory according to another embodiment of the present invention.
FIG. 2 is a block diagram of an information processing apparatus that logs out apparatus log information stored in a memory according to an embodiment of the present invention.
FIG. 3 is a diagram illustrating a scan operation for a flip-flop.
FIG. 4 is a diagram illustrating physical addresses of a plurality of device log information for logging out in accordance with a mode.
FIG. 5 is a diagram illustrating details of a flip-flop group storing memory address update circuit related information according to another embodiment of the present invention;
FIG. 6 is a flowchart showing processing of the diagnostic device when logging out the device log information stored in the memory according to the embodiment of the present invention.
FIG. 7 is a flowchart showing processing of a diagnostic device when logging out device log information stored in a memory according to another embodiment of the present invention.
[Explanation of symbols]
100 diagnostic equipment
110 Storage device
120 processor
121 Scan control unit
122 Fault detection unit
123 Logout control section
124 Memory Memory address update circuit
126 Flip-flop to store the operation mode
130 Flip-flop group for storing log data (second holding means)
132 Log data selection circuit
133, 134 Memory peripheral logic
137, 138 Selector element
143, 144 memory
160 Flip-flop for storing update mode identification flag (second identification means)
161 Flip-flop for storing memory identification flag (first identification means)
162 Flip-flop for storing addresses (first holding means)
170 Memory address generator
Claims (1)
複数のログアウト対象メモリに対するメモリアドレスを共通に保持する第一保持手段と、前記複数のログアウト対象メモリから読み出した出力データを共通に保持する第二保持手段と、前記複数のログアウト対象メモリを識別する識別フラグを保持する第一識別手段と、前記第一識別手段に保持された識別フラグに応じて前記複数のログアウト対象メモリからの出力データのうち1つを選択して前記第二保持手段に転送するデータ選択手段と、前記第一識別手段に保持されたログアウト対象メモリ識別フラグに応じて選択された前記ログアウト対象メモリからの出力データを一エントリ分前記第二保持手段に読み出す毎にログアウト対象メモリアドレスを更新するメモリアドレス更新回路と、アドレス更新モードを識別するアドレス更新モード識別フラグを保持する第二識別手段とを備え、
前記メモリアドレス更新回路は前記第二識別手段に保持されたアドレス更新モード識別フラグと前記第一識別手段に保持されたログアウト対象メモリ識別フラグ及び前記第一保持手段に保持されたログアウト対象メモリアドレスに応じて、前記ログアウト対象メモリ識別フラグの生成及び前記ログアウト対象メモリアドレスの更新を行う情報処理装置。 In an information processing apparatus including a diagnostic device that stores log information read from a processing device by a scan function in a storage device
Identifying the plurality of logout target memories, first holding means for commonly holding memory addresses for a plurality of logout target memories, second holding means for commonly holding output data read from the plurality of logout target memories A first identification unit for holding an identification flag, and selecting one of output data from the plurality of logout target memories according to the identification flag held in the first identification unit and transferring the selected data to the second holding unit Each time the output data from the logout target memory selected according to the logout target memory identification flag held in the first identification unit is read into the second holding unit for one entry. Memory address update circuit for updating the address and address update mode for identifying the address update mode And a second identification means for holding the identification flag,
The memory address update circuit includes an address update mode identification flag held in the second identification unit, a logout target memory identification flag held in the first identification unit, and a logout target memory address held in the first holding unit. In response, an information processing apparatus that generates the logout target memory identification flag and updates the logout target memory address.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2001064334A JP4269531B2 (en) | 2001-03-08 | 2001-03-08 | Information processing device with logout function |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2001064334A JP4269531B2 (en) | 2001-03-08 | 2001-03-08 | Information processing device with logout function |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2002267720A JP2002267720A (en) | 2002-09-18 |
JP4269531B2 true JP4269531B2 (en) | 2009-05-27 |
Family
ID=18923163
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2001064334A Expired - Lifetime JP4269531B2 (en) | 2001-03-08 | 2001-03-08 | Information processing device with logout function |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4269531B2 (en) |
-
2001
- 2001-03-08 JP JP2001064334A patent/JP4269531B2/en not_active Expired - Lifetime
Also Published As
Publication number | Publication date |
---|---|
JP2002267720A (en) | 2002-09-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH0778094A (en) | Method for control at application program fault time of computer system | |
JP4269531B2 (en) | Information processing device with logout function | |
JP2007226640A (en) | Memory diagnosis processing circuit and memory diagnosis processing method | |
US8015447B2 (en) | Processor debugging apparatus and processor debugging method | |
JP4551657B2 (en) | Data transfer method in electronic circuit, electronic circuit and related apparatus | |
JPH10207746A (en) | System for collecting failure information | |
JPH11224244A (en) | Information processor, automatic generating method of its system configuration information, and record medium | |
JPS6259816B2 (en) | ||
JP2708471B2 (en) | Processing device control method | |
JPH0991178A (en) | Dump gathering mechanism for computer system | |
JPH1125006A (en) | Memory tester | |
US6223241B1 (en) | Sharing of the indirect addressing of the registers of a peripheral dedicated to emulation | |
JPH07110790A (en) | Memory diagnostic device | |
KR20060015917A (en) | Control system for controlling plural function block | |
JPH0844595A (en) | Trace sampling/recording device | |
EP1380954B1 (en) | Computer system and data processing method | |
JPH0635747A (en) | Debug supporting device | |
JPS5822765B2 (en) | Program loading method in electronic computer system | |
JPH10228434A (en) | Hardware diagnosis system using network | |
JPH06282236A (en) | Display device | |
JPH0644147A (en) | Cache memory system | |
JP2000347949A (en) | System and method for diagnosing memory | |
JP2000172526A (en) | Information processing system and input/output controller | |
JPS6136659B2 (en) | ||
JPH03260844A (en) | Diagnostic control system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20050921 |
|
RD01 | Notification of change of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7421 Effective date: 20060418 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20081111 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090109 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20090203 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20090216 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120306 Year of fee payment: 3 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 4269531 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120306 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120306 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130306 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130306 Year of fee payment: 4 |
|
EXPY | Cancellation because of completion of term |