JP5683209B2 - Client computer with automatic document generation function - Google Patents
Client computer with automatic document generation function Download PDFInfo
- Publication number
- JP5683209B2 JP5683209B2 JP2010241282A JP2010241282A JP5683209B2 JP 5683209 B2 JP5683209 B2 JP 5683209B2 JP 2010241282 A JP2010241282 A JP 2010241282A JP 2010241282 A JP2010241282 A JP 2010241282A JP 5683209 B2 JP5683209 B2 JP 5683209B2
- Authority
- JP
- Japan
- Prior art keywords
- document
- command
- generation function
- client computer
- operation log
- 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 - Fee Related
Links
Images
Landscapes
- Stored Programmes (AREA)
Description
本発明は、クライアントコンピュータによるテルネット(Telnet:Telecommunication network)接続を利用したUNIX(登録商標)サーバコンピュータに対する操作技術に係り、特に同一の操作を複数の環境で証跡を残しながら実行する際の証跡を利用して操作ドキュメント(操作手順書、チェックリスト、シェルスクリプトのドキュメント類)を自動生成するドキュメント類自動生成機能付クライアントコンピュータに関する。 The present invention relates to an operation technique for a UNIX (registered trademark) server computer using a telnet (telnet communication network) connection by a client computer, and in particular, a trail when executing the same operation while leaving a trail in a plurality of environments. The present invention relates to a client computer with a document automatic generation function that automatically generates operation documents (operation procedure manuals, checklists, shell script documents) by using.
従来、ユーザがUNIXサーバコンピュータを操作する場合、クライアントコンピュータの端末装置(computer terminal)からデータを入力して応答される出力を確認している。近年、端末装置については、より安価なクライアントコンピュータで動作する端末エミュレータ(専用端末の機能をパーソナルコンピュータやUNIXワークステーション等で代替するためのソフトウェア)を利用するのが一般的である。 Conventionally, when a user operates a UNIX server computer, data is input from a terminal device of a client computer (computer terminal) and an output to be responded is confirmed. In recent years, for terminal devices, it is common to use a terminal emulator (software for substituting the functions of a dedicated terminal with a personal computer, a UNIX workstation, or the like) that operates on a cheaper client computer.
クライアントコンピュータで動作する端末エミュレータの場合、クライアントコンピュータで動作する他のアプリケーションとの連携が容易である。例えば操作時に入力された文字列を証跡として操作ログファイルに記録し、操作ログの内容を確認することや、テキストエディタ(text editor)で作成した文字列をクリップボードにコピーし、端末エミュレータにペーストすること等により、端末エミュレータからの操作を容易にすることができる。また、大量のコマンド入力を必要とする操作や異なるUNIXサーバコンピュータに対して同じ操作を行う場合等、操作開始前に操作内容の文字列を容易しておくことにより、操作時間の短縮と誤操作の防止とが可能になる。 In the case of a terminal emulator that runs on a client computer, it is easy to link with other applications that run on the client computer. For example, a character string input during operation is recorded as a trail in the operation log file, and the contents of the operation log are confirmed, or a character string created with a text editor is copied to the clipboard and pasted into a terminal emulator. Therefore, the operation from the terminal emulator can be facilitated. In addition, when performing operations that require a large amount of command input or when performing the same operation on different UNIX server computers, it is possible to shorten the operation time and to prevent erroneous operations by facilitating the character string of the operation contents before starting the operation. Prevention becomes possible.
端末エミュレータからの操作内容を記録した操作ログに基づいて、その操作ログと同様の操作を行うための操作ドキュメントを作成すれば、動作実績のある操作ドキュメントの作成が可能となる。 If an operation document for performing the same operation as the operation log is created based on the operation log in which the operation content from the terminal emulator is recorded, an operation document with an operation record can be created.
更に、UNIXサーバコンピュータに与えたコマンドを記録してドキュメントを自動生成するための技術も提案されており、係る周知技術としては、例えばUNIXサーバコンピュータに与えたコマンドと実行結果をチェックリストに自動記録する「コマンド実行結果記録システム及びコマンド実行結果記録方法」(特許文献1参照)が挙げられる。 In addition, a technique for automatically generating a document by recording a command given to a UNIX server computer has been proposed. For example, as a known technique, a command given to a UNIX server computer and an execution result are automatically recorded in a check list. "Command execution result recording system and command execution result recording method" (see Patent Document 1).
特許文献1に開示されたコマンド実行結果記録システムは、コマンドを実行し、実行したコマンドの実行結果を戻り値として出力するコンピュータを有する複数の作業対象サーバと、これらの作業対象サーバのコンピュータにコマンドを与えてコマンドを実行させると共に、実行させたコマンドの実行結果の戻り値を判定するコンピュータを有する運用端末と、を備える基本構成である。
A command execution result recording system disclosed in
また、ここでの運用端末は、所定のコマンド、所定のコマンドの作業内容を表す作業内容情報、所定のコマンドを所定の作業対象サーバにより実行させたときに出力される正常な戻り値、所定のコマンドを実行させたときの確認用のコマンドに付された確認IDを格納する実行コマンドテーブルと、確認ID、及び確認IDに対応した確認用のコマンドを格納する確認項目情報テーブルと、を備え、実行コマンドテーブルから読み出した所定のコマンド及び作業内容情報と確認項目情報テーブルから確認IDを基に読み出した確認ID対応の確認用コマンドとを含むシェルスクリプトを生成する。更に、運用端末は、生成したシェルスクリプトに含まれるコマンドに対応した作業内容情報、作業内容情報に対応してコマンドを実行するように入力された作業対象サーバ名、作業内容情報と作業対象サーバ名との組み合わせによる確認結果情報を含むチェックリスト情報を生成する。 The operation terminal here is a predetermined command, work content information indicating the work content of the predetermined command, a normal return value output when the predetermined command is executed by a predetermined work target server, An execution command table storing a confirmation ID attached to a confirmation command when the command is executed, a confirmation ID, and a confirmation item information table storing a confirmation command corresponding to the confirmation ID, A shell script including a predetermined command and work content information read from the execution command table and a confirmation command corresponding to the confirmation ID read based on the confirmation ID from the confirmation item information table is generated. Further, the operation terminal receives the work content information corresponding to the command included in the generated shell script, the work target server name input so as to execute the command corresponding to the work content information, the work content information and the work target server name. Generate checklist information including confirmation result information in combination with.
上述した特許文献1記載の技術は、確認作業におけるチェックリストのシステム化によって確認作業の効率化を向上することが出来るものの、実際に技術導入して構築するためには大規模なシステム開発が必要となってしまうという問題がある。
Although the technique described in
また、システム変更作業における作業方法として、実施する作業の手順書と作業で確認する項目を記述したチェックリストとを生成し、作業時に作業項目毎に結果を記入するという方法が考えられるが、この方法によれば作業手順の実施漏れや作業結果の確認ミス、作業対象ホストへの実施漏れの防止を図ることが出来るものの、新規機能の追加が頻繁に発生するような場合には、確認のための作業の手順が定型化されずに頻繁に変更されるため、手順書の作成時に人為的ミスの発生を招き易いという問題がある。 In addition, as a work method in the system change work, it is possible to generate a procedure manual for the work to be performed and a check list describing items to be confirmed in the work, and fill in the results for each work item at the time of work. According to the method, it is possible to prevent omissions in work procedures, mistakes in the confirmation of work results, and omissions in work hosts. However, if new functions are frequently added, check them. Since the work procedure is frequently changed without being standardized, there is a problem that human error is likely to occur when creating the procedure manual.
要するに、特許文献1記載の技術によれば、新規機能の追加が頻繁に発生するような場合には、小規模なシステム構成で適確にUNIXサーバコンピュータ向けの操作ドキュメントを生成することができないものとなっている。
In short, according to the technique described in
本発明は、このような問題点を解決すべくなされたもので、その技術的課題は、新規機能の追加が頻繁に発生するような場合でも、小規模なシステム構成で適確にUNIXサーバコンピュータ向けの操作ドキュメントを生成し得るドキュメント類自動生成機能付クライアントコンピュータを提供することにある。 The present invention has been made to solve such problems, and the technical problem is that even if new functions are frequently added, the UNIX server computer can be appropriately configured with a small system configuration. It is an object of the present invention to provide a client computer with an automatic document generation function capable of generating an operation document for a user.
上記技術的課題を達成するため、本発明のドキュメント類自動生成機能付クライアントコンピュータは、テルネット接続されたUNIXサーバコンピュータに対する操作を行う仮想端末装置と、仮想端末装置により操作を実行した際の操作ログを入力して記録した操作ログファイルと、操作ログファイルから取得した操作ログについての実行用コマンドと当該実行用コマンドに応答したUNIXサーバコンピュータでの出力内容とを解析した結果を編集することで操作ドキュメントを自動生成するドキュメント類自動生成機能部と、を備え、仮想端末装置は、端末エミュレータであり、操作ログには、テルネット接続によりUNIXサーバコンピュータに接続された他のクライアントコンピュータで動作するアプリケーションと連携させて同一の操作を複数の環境で実行するための証跡が含まれ、操作ドキュメントのドキュメント類には、証跡を利用して作成される操作手順書、チェックリスト、及びシェルスクリプトが含まれることを特徴とする。 In order to achieve the above technical problem, a client computer with an automatic document generation function according to the present invention includes a virtual terminal device that performs an operation on a UNIX server computer connected to a telnet, and an operation when the virtual terminal device executes the operation. by editing the operation log file recorded by entering the log, the results of analysis and output content on a UNIX server computer in response to the execution command and the command for the execution of the operation log acquired from the operation log file An automatic document generation function unit that automatically generates an operation document , the virtual terminal device is a terminal emulator, and the operation log operates on another client computer connected to the UNIX server computer through a telnet connection. The same with the application Includes trail for performing operations in multiple environments of, the document such operation documents, operating procedures that are created by using the trail, characterized to include a checklist, and shell scripts .
また、上記ドキュメント類自動生成機能付クライアントコンピュータの一実施態様は、シェルスクリプトは、試験環境から本番環境への適用時にドキュメント類自動生成機能部による操作手順書の仮想端末装置に対する入力に応じたチェックリストの消化時にUNIXサーバコンピュータへ転送されることを特徴とする。 Further, in one embodiment of the client computer with automatic document generation function, the shell script checks the operation procedure manual according to the input to the virtual terminal device by the automatic document generation function unit when applied from the test environment to the production environment. When the list is digested, it is transferred to a UNIX server computer .
本発明のドキュメント類自動生成機能付クライアントコンピュータによれば、業務処理サービスを提供しているUNIXサーバコンピュータの運用・保守業務において、自装置内に具備される仮想端末装置(端末エミュレータ)でUNIXサーバコンピュータの操作に供されると共に、予め定義された操作ログについての実行用コマンドとこれに応答したUNIXサーバコンピュータでの出力内容とを解析した結果を編集して操作ドキュメントを自動生成する際、テルネット接続によりUNIXサーバコンピュータに接続された他のクライアントコンピュータで動作するアプリケーションと連携させて同一の操作を複数の環境で実行するための証跡を利用して操作ドキュメントのドキュメント類として、操作手順書、チェックリスト、及びシェルスクリプトを作成する機能を持つため、試験環境でのリハーサルの際に実際のシステム変更作業で行われる操作と同じ操作を行い、出力される操作ログファイルからの操作ログに基づいて操作ドキュメント(操作手順書、チェックリスト、及びシェルスクリプト)を生成すれば、本番環境でのシステム変更作業時に使用できる操作ドキュメントを効率的に作成できるようになり、新規機能の追加が頻繁に発生するような場合でも、小規模なシステム構成で適確にUNIXサーバコンピュータ向けの操作ドキュメントを生成し得るようになる。この結果、UNIXサーバコンピュータの運用・保守業務において、大容量のデータベースを要することなく、簡単な入出力処理でデータ管理を行うことができ、作業時の結果確認ミスや作業漏れの発生を低減することができるようになる。 According to the client computer with an automatic document generation function of the present invention, in the operation / maintenance work of the UNIX server computer that provides the business processing service, the UNIX server is operated by the virtual terminal device (terminal emulator) provided in the own device. When an operation document is automatically generated by editing a result of analyzing a command for execution of a predefined operation log and a content output from a UNIX server computer in response to the execution command for a predefined operation log , An operation procedure document as a document of an operation document using a trail for executing the same operation in a plurality of environments in cooperation with an application running on another client computer connected to a UNIX server computer via a network connection, Checklist and Order to have the ability to create Le script, do the same operation as the operation to be performed in a real system change work during the rehearsal of the test environment, operation document (operation based on the operation log from the operation log file that is output (Procedures, checklists, and shell scripts) can be used to efficiently create operation documents that can be used during system changes in a production environment, even when new functions are frequently added. Thus, an operation document for a UNIX server computer can be generated accurately with a small system configuration. As a result, it is possible to perform data management with simple input / output processing without requiring a large-capacity database in operation / maintenance work of UNIX server computers, and reduce the occurrence of result confirmation mistakes and work omissions. Will be able to.
以下、本発明のドキュメント類自動生成機能付クライアントコンピュータについて、図面を参照して詳細に説明する。 Hereinafter, a client computer with an automatic document generation function of the present invention will be described in detail with reference to the drawings.
図1は、本発明の実施例1に係るドキュメント類自動生成機能付クライアントコンピュータ(以下、クライアントPCとする)101、及びこれにテルネット(Telnet)102で接続されたUNIXサーバコンピュータ(以下、サーバSVとする)103を含むシステム運用環境の全体構成を示したブロック図である。
FIG. 1 shows a
このシステム運用環境の全体構成において、サーバSV103にテルネット102で接続されたクライアントPC101は、サーバSV103に対する操作を行う仮想端末装置104と、仮想端末装置104により操作を実行した際の操作ログを入力して記録した操作ログファイル105と、操作ログファイル105から取得した操作ログについての実行用コマンドとその実行用コマンドに応答したサーバSV103での出力内容とを解析・編集することにより操作ドキュメントを自動生成するドキュメント類自動生成機能部106と、を備えている。
In this overall configuration of the system operating environment, the client PC 101 connected to the
因みに、クライアントPC101及びサーバSV103は、よく知られているように、略図するCPU、主メモリ、補助記憶部(HDD)等による記憶装置、表示装置、キーボード並びにマウス等の入出力装置を備えて構成されるものである。
Incidentally, as is well known, the client PC 101 and the
このうち、仮想端末装置104は端末エミュレータによって構築される。また、操作ログファイル105に記録される操作ログには、テルネット接続によりサーバSV101に接続された他のクライアントコンピュータ(クライアントPC)で動作するアプリケーションAPと連携させて同一の操作を複数の環境で実行するための証跡が含まれている。更に、ドキュメント類自動生成機能部106で生成する操作ドキュメントのドキュメント類には、証跡を利用した操作手順書110、チェックリスト111、及びシェルスクリプト112が含まれている。このうち、シェルスクリプト112は、試験環境から本番環境への適用時にドキュメント類自動生成機能部106による操作手順書110の入力に応じたチェックリスト111の消化時にサーバSV101へ転送されるように利用される。その他、ドキュメント類自動生成機能部106には、操作ログを解析する解析処理部107、解析結果を編集する編集処理部108、及び編集結果を出力する出力処理部109が備えられるが、これらの各部の働きについては後文で詳述する。
Among these, the
即ち、ここでのクライアントPC103は、仮想端末装置(端末シミュレータ)104によりテルネット102を介してサーバSV101を操作した際、装置内で端末シミュレータから出力される操作ログを操作ログファイル105が入力して記録し、ドキュメント類自動生成機能部106が操作ログファイル105から取得した操作ログについての実行用コマンドとその実行用コマンドに応答したサーバSV101での出力内容とを解析処理部107で解析処理、編集処理部108で編集処理、出力処理部109で出力処理することにより、操作ドキュメントのドキュメント類として操作手順書110、チェックリスト111、シェルスクリプト112を生成する。
That is, when the
ドキュメント類自動生成機能部106が操作ログに基づいて操作ドキュメントを生成する際、操作ログの内容は、端末エミュレータ上に出力されたプロンプト及び操作コマンド(実行用コマンド)と操作コマンドを受け付けた際にサーバSV101が応答する標準出力から構成される文字列(出力内容)となり、これらの実行用コマンド及び出力内容がクライアントPC103上に出力される。単一のクライアントPC103内で操作ログに基づいて操作ドキュメントを生成するため、操作内容を記録するための大容量のデータベースを有する大規模なシステム構成とする必要が無く、汎用的な小規模システムで運用することができる。
When the document automatic
図2は、クライアントPC103の要部であるドキュメント類自動生成機能部106に備えられる解析処理部107の動作処理を示したフローチャートである。
FIG. 2 is a flowchart showing an operation process of the
図2を参照すれば、解析処理部107の動作処理(解析処理)では、最初に初期化(ステップS201)を行い、操作ログファイル105の操作ログ(ステップS202)にアクセスし、操作ログを行単位に読込む行シーケンシャルの操作ログ読込(ステップS203)を行った後、ファイルのEOF(終端)であるか否かの判定(ステップS204)を行う。
Referring to FIG. 2, in the operation process (analysis process) of the
次に、ファイルのEOF(終端)であるか否かの判定(ステップS204)の結果、EOF(終端)であれば動作処理を終了するが、EOF(終端)でなければ行カウンタに“1”を加算する行カウンタ+1(ステップS205)の処理を行った後、ファイルから読込んだ行がコマンド行であるか否かの判定(ステップS206)を行う。 Next, as a result of determining whether or not the file is EOF (end) (step S204), if it is EOF (end), the operation processing is terminated. If not EOF (end), the row counter is set to “1”. After the processing of line counter +1 (step S205) is added, it is determined whether the line read from the file is a command line (step S206).
更に、コマンド行であるか否かの判定(ステップS206)の結果、コマンド行であった場合はコマンド行フラグを“ON”(ステップS207)にした後、図9に示されるような操作ログの実行用コマンドに係る定型コマンド対応表(ステップS208)にアクセスして定型コマンドであるか否かの判定(ステップS209)を行う。この判定の結果、定型コマンドであれば該当する定型コマンドのコードを設定(ステップS210)してから定型コマンドのパラメータを抽出(ステップS211)する処理を行った後、解析情報出力(ステップS212)の処理により解析情報ファイルに対して抽出された解析情報を出力(ステップS213)して記録するが、定型コマンドでなければコマンドの内容をベタで抽出(そのまま抽出)(ステップS214)する処理を行った後、同様に解析情報出力(ステップS212)の処理により解析情報ファイルに対して抽出された解析情報を出力(ステップS213)して記録する。 Further, as a result of the determination of whether or not it is a command line (step S206), if it is a command line, after setting the command line flag to “ON” (step S207), the operation log as shown in FIG. The fixed command correspondence table (step S208) related to the execution command is accessed to determine whether the command is a fixed command (step S209). If the result of this determination is that the command is a standard command, the processing for extracting the parameters of the standard command (step S211) after setting the corresponding standard command code (step S210) is performed, and then the analysis information is output (step S212). The analysis information extracted for the analysis information file by the process is output (step S213) and recorded, but if it is not a standard command, the contents of the command are extracted (extracted as it is) (step S214). Thereafter, similarly, the analysis information extracted from the analysis information file by the processing of the analysis information output (step S212) is output (step S213) and recorded.
また、コマンド行であるか否かの判定(ステップS206)の結果、コマンド行でなければコマンド行フラグを“OFF”(ステップS215)にした後、定型コマンドのメッセージであるか否かの判定(ステップS216)を行う。この判定の結果、定型コマンドのメッセージであれば定型コマンドの種類によって必要となるメッセージ内の情報を抽出し、定型コマンドに対応した情報の抽出(ステップS217)を行った後、解析情報出力(ステップS212)の処理により解析情報ファイルに対して抽出された解析情報を出力(ステップS213)して記録するが、定型コマンドのメッセージでなければメッセージの内容をベタで抽出(そのまま抽出)(ステップS218)する処理を行った後、同様に解析情報出力(ステップS212)の処理により解析情報ファイルに対して抽出された解析情報を出力(ステップS213)して記録する。尚、析情報出力(ステップS212)の処理により抽出された定型コマンドのコード等の解析情報を解析情報ファイルへ記録した後は、何れの場合にも最初の初期化(ステップS201)へリターンして上述した各処理をファイルの終端(EOF)に至る迄、繰り返す。即ち、動作処理の完了は、上述したファイルのEOF(終端)であるか否かの判定(ステップS204)の結果、EOF(終端)である場合に至った時点である。 If the command line is not the command line as a result of the determination as to whether or not the command line (step S206), the command line flag is set to "OFF" (step S215), and then the determination as to whether or not the message is a standard command ( Step S216) is performed. As a result of this determination, if the message is a standard command, information in the message necessary for the type of the standard command is extracted, information corresponding to the standard command is extracted (step S217), and analysis information is output (step S217). The analysis information extracted in the analysis information file by the process of S212) is output and recorded (step S213), but if the message is not a standard command, the content of the message is extracted (extracted as it is) (step S218). After performing the process, the analysis information extracted in the analysis information file by the process of the analysis information output (step S212) is output (step S213) and recorded. In addition, after recording the analysis information such as the code of the standard command extracted by the analysis information output (step S212) processing in the analysis information file, the process returns to the initial initialization (step S201) in any case. Each process described above is repeated until the end of file (EOF) is reached. That is, the completion of the operation process is the time point when it is determined that the file is EOF (end) as a result of the determination as to whether the file is EOF (end) (step S204).
図12は、ここでの解析処理部107で得られる解析結果としての解析情報の具体的なデータ構成を例示した図である。図12の解析情報は、項番順に対応して項目、内容、サンプルについての具体的なデータを保有している。
FIG. 12 is a diagram illustrating a specific data configuration of analysis information as an analysis result obtained by the
図3は、クライアントPC103の要部であるドキュメント類自動生成機能部106に備えられる編集処理部108の動作処理を示したフローチャートである。
FIG. 3 is a flowchart showing an operation process of the
図3を参照すれば、編集処理部108の動作処理(編集処理)は、最初に初期化(ステップS301)を行い、解析情報ファイルの解析情報(ステップS302)にアクセスし、解析情報を行単位に読込む行シーケンシャルの解析情報読込(ステップS303)を行った後、ファイルのEOF(終端)であるか否かの判定(ステップS304)を行う。
Referring to FIG. 3, in the operation process (edit process) of the
次に、ファイルのEOF(終端)であるか否かの判定(ステップS304)の結果、EOF(終端)であれば前操作の編集情報出力(ステップS305)の処理により編集情報ファイルにアクセスして編集情報(ステップS306)を記録してから動作処理を終了するが、EOF(終端)でなければ行カウンタに“1”を加算する行カウンタ+1(ステップS307)の処理を行う。 Next, as a result of determining whether or not the file is the EOF (end) (step S304), if it is EOF (end), the editing information file is accessed by the processing of the editing information output (step S305) of the previous operation. After the editing information (step S306) is recorded, the operation process is terminated, but if it is not EOF (end), the process of row counter + 1 (step S307) is performed to add “1” to the row counter.
更に、操作の先頭(コマンド投入)であるか否かの判定(ステップS308)を行い、操作の先頭であれば操作カウンタが“0”であるか否かの判定(ステップS309)を行った結果、操作カウンタが“0”であれば操作カウンタに“1”を加算する操作カウンタ+1(ステップS310)の処理を行った後、図10に示されるような上述した定型コマンドコードに対応する定型操作内容コード対応表(ステップS311)にアクセスしてコマンドに対応する操作内容を設定(ステップS312)する処理、並びに図11に示されるような定型操作内容コードに対応する定型確認内容コード対応表(ステップS313)にアクセスしてコマンド、もしくは標準出力に対応する確認内容を設定(ステップS314)する処理を経てから最初の初期化(ステップS301)へリターンして上述した各処理をファイルの終端(EOF)に至る迄、繰り返すが、操作カウンタが“0”でなければ前操作の編集情報出力(ステップS316)の処理により編集情報ファイルにアクセスして編集情報(ステップS317)を記録してから先の操作カウンタ+1(ステップS310)の処理に移行した後、上述した各処理を同様に行う。 Further, it is determined whether or not it is the head of the operation (command input) (step S308), and if it is the head of the operation, it is determined whether or not the operation counter is “0” (step S309). If the operation counter is “0”, after performing the operation counter + 1 (step S310) for adding “1” to the operation counter, the routine operation corresponding to the above-described routine command code as shown in FIG. Processing for accessing the content code correspondence table (step S311) and setting the operation content corresponding to the command (step S312), and the standard confirmation content code correspondence table corresponding to the standard operation content code as shown in FIG. 11 (step S313) to access the command or set the confirmation content corresponding to the standard output (step S314) Return to normalization (step S301) and repeat the above-described processes until the end of file (EOF) is reached. If the operation counter is not "0", the editing information output (step S316) of the previous operation is processed. After accessing the editing information file and recording the editing information (step S317) and proceeding to the processing of the previous operation counter + 1 (step S310), the above-described processing is similarly performed.
引き続き、先の操作の先頭(コマンド投入)であるか否かの判定(ステップS308)の結果、操作の先頭でなければコマンド行フラグ“ON”であるか否かの判定(ステップS315)を行う。この判定の結果、コマンド行フラグが“ON”であればコマンドに対応する操作内容を設定(ステップS312)する処理に移行し、コマンド行フラグが“ON”でなければコマンド、もしくは標準出力に対応する確認内容を設定(ステップS314)する処理に移行する。 Subsequently, as a result of determining whether or not it is the head of the previous operation (command input) (step S308), it is determined whether or not the command line flag is “ON” if it is not the head of the operation (step S315). . As a result of the determination, if the command line flag is “ON”, the process proceeds to processing for setting the operation content corresponding to the command (step S312). If the command line flag is not “ON”, the command or standard output is supported. The process proceeds to processing for setting the confirmation content to be performed (step S314).
尚、コマンドに対応する操作内容を設定(ステップS312)する処理は、定型操作内容コード対応表(ステップS311)からコマンドのコード毎に対応する操作内容を抽出するものであり、コマンド、もしくは標準出力に対応する確認内容を設定(ステップS314)する処理は、定型確認内容コード対応表(ステップS313)からコマンドのコード毎に対応する確認内容を抽出するものである。 The process of setting the operation content corresponding to the command (step S312) is to extract the operation content corresponding to each command code from the standard operation content code correspondence table (step S311). The process of setting the confirmation content corresponding to (Step S314) is to extract the confirmation content corresponding to each command code from the standard confirmation content code correspondence table (Step S313).
何れにせよ、このような各処理をファイルの終端に至るまで繰り返し、終端になった時点で上述した前操作の編集情報出力(ステップS305)の処理を経て編集情報ファイルへの編集情報(ステップS306)の記録が行われた結果、動作処理が完了する。 In any case, each of these processes is repeated until the end of the file, and when the end of the file is reached, the editing information output to the editing information file (step S306) is performed through the above-described editing information output process (step S305). ) Is recorded, the operation process is completed.
図13は、ここでの編集処理部108で得られる編集結果としての編集情報の具体的なデータ構成を例示した図である。図13の編集情報についても、項番順に対応して項目、内容、サンプルについての具体的なデータを保有(但し、項番1の操作カウンタの値についてのサンプルは初期的に未定の空白である)している。
FIG. 13 is a diagram illustrating a specific data configuration of editing information as an editing result obtained by the
図4は、クライアントPC103の要部であるドキュメント類自動生成機能部106に備えられる出力処理部109の動作処理を示したフローチャートである。
FIG. 4 is a flowchart showing an operation process of the
図4を参照すれば、出力処理部109の動作処理(出力処理)は、最初に初期化(ステップS401)を行い、編集情報ファイルの編集情報(ステップS402)にアクセスし、編集情報を行単位に読込む行シーケンシャルの編集情報読込(ステップS403)を行った後、ファイルのEOF(終端)であるか否かの判定(ステップS404)を行う。
Referring to FIG. 4, in the operation process (output process) of the
次に、ファイルのEOF(終端)であるか否かの判定(ステップS404)の結果、EOF(終端)であれば動作処理を終了するが、EOF(終端)でなければ行カウンタに“1”を加算する行カウンタ+1(ステップS405)の処理を行った後、操作手順書出力(ステップS406)の処理により操作手順書(ステップS407)を生成する処理、チェックリスト出力(ステップS408)の処理によりチェックリスト(ステップS409)を生成する処理、シェルスクリプト出力(ステップS410)によりシェルスクリプト(ステップS411)を生成する処理を順次行った後、最初の初期化(ステップS401)の処理にリターンして上述した各処理をファイルの終端(EOF)に至る迄、繰り返すことにより、操作手順書110、チェックリスト111、シェルスクリプト112を生成する。即ち、ここでも動作処理の完了は、上述したファイルのEOF(終端)であるか否かの判定(ステップS404)の結果、EOF(終端)である場合に至った時点である。
Next, as a result of determining whether or not the file is EOF (end) (step S404), if it is EOF (end), the operation processing is terminated. If not EOF (end), the row counter is set to “1”. After the processing of the line counter +1 (step S405) to be added, the operation procedure manual (step S406) is generated by the operation procedure manual output (step S406) processing, and the check list output (step S408) processing is performed. The process of generating the check list (step S409) and the process of generating the shell script (step S411) by the shell script output (step S410) are sequentially performed, and then the process returns to the initial initialization (step S401) and described above. The
図5は、操作ログファイル105の操作ログのデータを付設される表示装置の表示画面上で具体的に例示した図である。
FIG. 5 is a diagram specifically illustrating the operation log data of the
ここでの操作ログの表示データ501において、解析処理部107が操作ログを読込む際、操作コマンド502のコマンドプロンプト(図5に示す例では$の(ftmst02@2010:apftm05)等)が存在する行から抽出し、その他の行のサーバSV101が応答する標準出力503からメッセージを抽出する。
In the operation
図6は、操作手順書110の具体的なデータ構成を例示した図である。また、図7は、チェックリスト111の具体的なデータ構成を例示した図である。更に、図8は、シェルスクリプト112のデータ構成を例示した図である。
FIG. 6 is a diagram illustrating a specific data structure of the
図6及び図7を参照すれば、操作手順書110及びチェックリスト111は、何れについても、項番順に対応して項目、内容、生成方法、サンプルについての具体的な多種データを保有している
操作手順書110については、操作の目的、操作内容(文章)、操作内容(コマンド)、操作時の確認内容(文章)、操作時の確認内容(標準出力)、開始時間(予定)、終了時間(予定)、所要時間(予定)、操作担当者名、確認担当者名、備考の各項目を要する場合を例示している。
Referring to FIGS. 6 and 7, the
チェックリスト111については、操作手順書項番、操作内容(コマンド)、操作時の確認内容(標準出力)、操作担当者名、確認担当者名、開始時間(実績)、終了時間(実績)、所要時間(実績)、備考の各項目を要する場合を例示している。
For the
これに対し、シェルスクリプト112は、図8を参照すれば、[ヘッダ情報]801、[タイトル]802、[作成者]803、[作成日時]804、[コマンド]805という具合に、項目内容が定められている。
On the other hand, referring to FIG. 8, the
操作ログからは、実行用コマンドである操作内容(コマンド)、並びにサーバSV101が応答する出力内容である操作時の確認内容(標準出力)を文字列として抽出可能であることから、ドキュメント類自動生成機能部106では操作内容(コマンド)、操作時の確認内容(標準出力)を取得することができる。また、操作内容(コマンド)に対応する操作内容(文章)、操作時の確認内容(文章)についても定型文章を抽出して付設される表示装置の表示画面上に出力表示することができる。
From the operation log, the operation content (command) that is an execution command and the operation confirmation content (standard output) that is the output content that the server SV101 responds can be extracted as a character string. The
本実施例1のドキュメント類自動生成機能部106では、操作手順書110の作成に際して、上記した4項目[操作内容(コマンド)、操作時の確認内容(標準出力)、操作内容(文章)、操作時の確認内容(文章)]について、編集処理部108及び出力処理部109により内容を含むレイアウトの自動生成を行うものとし、チェックリスト111の作成に際して、上記した3項目[操作手順書項番、操作内容(コマンド)、操作時の確認内容(標準出力)]について、編集処理部108及び出力処理部109により内容を含むレイアウトの自動生成を行う場合を例示できる。
In the document automatic
また、操作手順書110及びチェックリスト111の作成に際して、その他の各項目である操作の目的、開始時間(予定)、終了時間(予定)、所要時間(予定)、操作担当者名、確認担当者名、備考、開始時間(実績)、終了時間(実績)、所要時間(実績)については、内容を含まないレイアウトのみを生成する場合を例示できる。
Also, when creating the
ところで、操作時の操作手順書110には、作業の進捗や確認操作での結果確認等、チェックリスト111として機能させるべき項目がある。こうした場合、リハーサル時に取得した標準出力内容と、本番システム変更作業時に取得する標準出力内容とについて、比較を行う手順を操作手順書110の生成時に折り込めば良い。リハーサル中に結果確認の操作を行った場合、その操作を特定する文字列を操作手順書110の生成時に検知し、操作手順書110と共にチェックリスト111を生成することができる。更に、図5に示した操作ログから抽出した操作コマンド502は、シェルスクリプト112に加工することが容易であるため、加工したシェルスクリプト112を利用してシステム変更作業を行えば、作業手順の自動化と誤操作の防止とを実現することができる。具体的には、操作ログからプロンプトをキーにして操作コマンド502を抽出し、操作コマンド502の間にシステム日時を抽出するコマンドを挿入したシェルスクリプト112を生成すれば、作業実行時の開始時間(実績)、終了時間(実績)、所要時間(実績)を抽出することが可能となり、係る項目を持つシェルスクリプト112を生成することができる。
By the way, the operation procedure manual 110 at the time of operation includes items that should function as the
図14は、上述したクライアントPC103をシステム変更作業時に適用して試験環境1401でリハーサルを実施した後に本番環境1414で作業を行う場合のシーケンスを具体的に例示した機能ブロック図である。
FIG. 14 is a functional block diagram specifically illustrating a sequence in the case where the above-described
一般に、クライアントPC101及びサーバSV103をテルネット102で接続したような通常の商用システムでは、商用としてサービスを提供している環境の他に試験用の環境を有しており、システム変更作業時には、図14に示すような試験環境1401を利用してリハーサルを実施する用途が考えられる。
In general, an ordinary commercial system in which the
試験環境1401でのリハーサルの際に実際のシステム変更作業で行われる操作と同じ操作を行うことから、出力される操作ログファイル105からの操作ログに基づいて操作ドキュメント(操作手順書110、チェックリスト111、シェルスクリプト112)を生成すれば、本番環境1414でのシステム変更作業時に使用できる操作ドキュメントを効率的に作成することができる。尚、本番環境1414でのシェルスクリプト112は、ドキュメント類自動生成機能部106による操作手順書110の仮想端末装置104に対する入力に応じたチェックリスト111の消化時にサーバSV101へ転送されるように利用される。
Since the same operation as that performed in the actual system change work is performed during the rehearsal in the
以上に説明した実施例1に係るクライアントPC103は、ドキュメント類自動生成機能部106を有して作業実施前に操作ドキュメントを自動生成(実行用コマンドと作業内容に紐付いたチェックリスト111を生成・実行)するため、作業時の結果確認ミス、及び作業対象のサーバSV101の作業漏れの発生を低減することが出来る。また、仮想端末装置104である端末エミュレータの出力する操作ログに基づいて操作ドキュメントを自動生成し、大容量のデータベースを必要とせずにシンプルな入出力データ管理でドキュメント類自動生成機能が構築されるため、小規模で汎用的なシステム環境で運用することができる。特にドキュメント類自動生成機能部106については、端末エミュレータ自体に盛り込まず、独立したモジュールとして用意されているため、既存の端末エミュレータを活用したシステム構成で構築することが可能である。また、キュメント類自動生成機能部106はクライアントPC103内で動作することを想定しているため、生成した操作ドキュメントは既存のアプリケーションAP(ワードプロセッサソフト、表計算ソフト等)での保守を容易に行うことができる。
The
本発明のクライアントPC(ドキュメント類自動生成機能付クライアントコンピュータ)103は、大規模システム開発作業及びエンハンス作業において、システム変更作業や業務運用作業のための端末エミュレータからの操作を機械的に定型化させ、作業効率の向上と作業事故発生率の低減とを実現する用途に寄与できる。 The client PC (client computer with automatic document generation function) 103 according to the present invention mechanically standardizes operations from a terminal emulator for system change work and business operation work in large-scale system development work and enhancement work. Therefore, it is possible to contribute to the use for improving the work efficiency and reducing the work accident occurrence rate.
101 UNIXサーバコンピュータ(サーバSV)
102 テルネット(Telnet)
103 クライアントコンピュータ(クライアントPC)
104 仮想端末装置(端末エミュレータ)
105 操作ログファイル
106 ドキュメント類自動生成機能部
107 解析処理部
108 編集処理部
109 出力処理部
110 操作手順書
111 チェックリスト
112 シェルスクリプト
101 UNIX server computer (server SV)
102 telnet
103 Client computer (client PC)
104 Virtual terminal device (terminal emulator)
105
Claims (2)
前記仮想端末装置は、端末エミュレータであり、前記操作ログには、前記テルネット接続により前記UNIXサーバコンピュータに接続された他のクライアントコンピュータで動作するアプリケーションと連携させて同一の操作を複数の環境で実行するための証跡が含まれ、前記操作ドキュメントのドキュメント類には、前記証跡を利用して作成される操作手順書、チェックリスト、及びシェルスクリプトが含まれることを特徴とするドキュメント類自動生成機能付クライアントコンピュータ。 A virtual terminal device that performs operations on a Telnet-connected UNIX server computer, an operation log file that is recorded by inputting an operation log when the operation is executed by the virtual terminal device, and the operation log file that is obtained from the operation log file and a document such automatic generation function unit for automatically generating an operation document by editing the results of analysis and output content in the UNIX server computer in response to the execution command and the command for the execution of the operation log,
The virtual terminal device is a terminal emulator, and the operation log includes the same operation in a plurality of environments in cooperation with an application operating on another client computer connected to the UNIX server computer through the Telnet connection. The document automatic generation function , wherein a trail for execution is included, and the document of the operation document includes an operation procedure manual, a check list, and a shell script created using the trail With client computer.
前記シェルスクリプトは、試験環境から本番環境への適用時に前記ドキュメント類自動生成機能部による前記操作手順書の前記仮想端末装置に対する入力に応じた前記チェックリストの消化時に前記UNIXサーバコンピュータへ転送されることを特徴とするドキュメント類自動生成機能付クライアントコンピュータ。 The client computer with automatic document generation function according to claim 1 ,
The shell script is transferred to the UNIX server computer when the checklist is digested according to the input of the operation procedure manual to the virtual terminal device by the automatic document generation function unit when applied from the test environment to the production environment. A client computer with an automatic document generation function.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010241282A JP5683209B2 (en) | 2010-10-27 | 2010-10-27 | Client computer with automatic document generation function |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010241282A JP5683209B2 (en) | 2010-10-27 | 2010-10-27 | Client computer with automatic document generation function |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2012093996A JP2012093996A (en) | 2012-05-17 |
JP5683209B2 true JP5683209B2 (en) | 2015-03-11 |
Family
ID=46387243
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010241282A Expired - Fee Related JP5683209B2 (en) | 2010-10-27 | 2010-10-27 | Client computer with automatic document generation function |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5683209B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014186436A (en) * | 2013-03-22 | 2014-10-02 | Nec Networks & System Integration Corp | Evaluation apparatus, evaluation method, and program |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0384611A (en) * | 1989-08-29 | 1991-04-10 | Fuji Xerox Co Ltd | Terminal emulation device |
JPH0667864A (en) * | 1992-08-19 | 1994-03-11 | Fujitsu Ltd | Method for automatically preparing/updating manual or the like |
JP4293169B2 (en) * | 2005-08-16 | 2009-07-08 | 日本電気株式会社 | Network equipment control system |
JP2007304660A (en) * | 2006-05-08 | 2007-11-22 | Hitachi Information Systems Ltd | Command execution result recording system and command execution result recording method |
JP4869831B2 (en) * | 2006-08-15 | 2012-02-08 | 日本電信電話株式会社 | ADAPTER GENERATION DEVICE, METHOD, AND PROGRAM |
JP5150546B2 (en) * | 2009-03-30 | 2013-02-20 | 株式会社エヌ・ティ・ティ・データ | Information processing apparatus, operation history acquisition method, computer program |
-
2010
- 2010-10-27 JP JP2010241282A patent/JP5683209B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2012093996A (en) | 2012-05-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110309071B (en) | Test code generation method and module, and test method and system | |
CN103336705B (en) | Automatic transcoding between script process and Workflow system and semantic self adaptation | |
JP6033235B2 (en) | Formatting data by example | |
CN100492316C (en) | System and method for test automation | |
US9396279B1 (en) | Collaborative virtual markup | |
CN101996131A (en) | Automatic test method and automatic test platform for graphic user interface (GUI) based on x extensive makeup language (XML) packaging key word | |
CN109308254B (en) | Test method, test device and test equipment | |
CN110908890A (en) | Automatic test method and device for interface | |
US11468223B2 (en) | Model documentation generation system | |
CN114328276B (en) | Test case generation method and device, and test case display method and device | |
CN113505082B (en) | Application program testing method and device | |
US8839251B2 (en) | Automating sequential cross-application data transfer operations | |
CN108647147A (en) | It is a kind of to execute automatic test machine people and its application method using atlas analysis | |
CN111782117A (en) | Interface display method and device, storage medium and electronic device | |
CN113836014A (en) | Interface testing method and device, electronic equipment and storage medium | |
JP5683209B2 (en) | Client computer with automatic document generation function | |
KR20070062800A (en) | Method for transforming of electronic document based on mapping rule and system thereof | |
CN114968725A (en) | Task dependency relationship correction method and device, computer equipment and storage medium | |
CN112667202B (en) | Software design method and device combining MDA and BPMN | |
CN114218105A (en) | UI automatic regression testing system based on configuration application mode | |
CN115203057B (en) | Low code test automation method, device, equipment and storage medium | |
CN117473871B (en) | Formalized system modeling method based on CATIA MAGIC | |
Liu et al. | Having Difficulty Understanding Manuals? Automatically Converting User Manuals into Instructional Videos | |
Wang et al. | Applications of Cucumber on Automated Functional Simulation Testing | |
KR100656559B1 (en) | Program Automatic Generating Tools |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20131021 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20140519 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20140624 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20140822 |
|
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: 20150106 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20150113 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5683209 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |