JPH0760363B2 - Method for automatically creating user-defined commands - Google Patents

Method for automatically creating user-defined commands

Info

Publication number
JPH0760363B2
JPH0760363B2 JP61234181A JP23418186A JPH0760363B2 JP H0760363 B2 JPH0760363 B2 JP H0760363B2 JP 61234181 A JP61234181 A JP 61234181A JP 23418186 A JP23418186 A JP 23418186A JP H0760363 B2 JPH0760363 B2 JP H0760363B2
Authority
JP
Japan
Prior art keywords
user
command
sentence
information
conversation history
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
Application number
JP61234181A
Other languages
Japanese (ja)
Other versions
JPS6388627A (en
Inventor
一朋 山中
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP61234181A priority Critical patent/JPH0760363B2/en
Publication of JPS6388627A publication Critical patent/JPS6388627A/en
Publication of JPH0760363B2 publication Critical patent/JPH0760363B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、会話形式の情報処理システムにおける、ユー
ザ定義コマンド(ユーザが定義したプログラム)の自動
作成方式に関する。
The present invention relates to a method for automatically creating a user-defined command (a program defined by a user) in an interactive information processing system.

〔従来の技術〕[Conventional technology]

従来、会話形式の情報処理システムには、例えば特開昭
58-184652号公報に記載のように、ディスプレイ装置と
会話形式でプログラムを入力できるようにしたものや、
特開昭60-120431号公報に記載のように、サンプル仕様
をディスプレイ装置により修正してプログラムを作成す
ることができるようにしたものがあるが、プログラム作
成に会話履歴情報を利用することは配慮されていない。
一方、特開昭60-178535号公報には、自動的に記憶した
入力と処理の実行手順により再実行する方式が示されて
いるが、これは入力時に決めた処理の再実行はできる
が、会話の履歴から、必要な部分を選択してコマンド
(ユーザ定義コマンド、すなわちユーザが定義したプロ
グラム)として登録する点について配慮されていない。
Conventionally, for example, Japanese Unexamined Patent Application Publication No.
As described in Japanese Patent Laid-Open No. 58-184652, it is possible to enter a program interactively with a display device,
As described in Japanese Patent Application Laid-Open No. 60-120431, there is a sample specification that can be modified by a display device to create a program, but it is considered to use conversation history information for program creation. It has not been.
On the other hand, JP-A-60-178535 discloses a method of re-executing by automatically stored input and execution procedure of processing, but this can re-execute processing decided at input, No consideration is given to selecting a necessary part from the conversation history and registering it as a command (user-defined command, that is, a program defined by the user).

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

ユーザが情報処理システムと会話形式で業務を処理する
際、多くの場合、ユーザはその処理手順をあらかじめ分
かっている訳ではなく、試行錯誤によりシステムと会話
しながら必要な情報を逐次入力して処理を進め、目的の
結果を導びく。この試行錯誤による処理手順をユーザ定
義コマンドとして保存しておけば、以後、同様の業務を
処理する場合、該コマンドを実行するだけで目的の結果
を導びくことができ、ユーザとシステムとの会話を省略
できる。しかしながら、試行錯誤のコマンドの中には不
要な部分もあり、いかにして必要な部分を選択するかが
問題となる。従来技術ではこの点について配慮されてお
らず、業務の処理の都度、ユーザはシステムと会話形式
で処理を進めなければならないという問題があった。
When a user processes a business in an interactive manner with an information processing system, in many cases, the user does not know the processing procedure in advance, and the necessary information is sequentially input while processing the conversation with the system by trial and error. To achieve the desired result. If this processing procedure by trial and error is saved as a user-defined command, when processing the same business thereafter, the desired result can be derived simply by executing the command, and the conversation between the user and the system. Can be omitted. However, some trial-and-error commands have unnecessary parts, and the problem is how to select the necessary parts. In the prior art, this point was not taken into consideration, and there was a problem that the user had to proceed with processing in a conversational manner with the system every time processing of business was performed.

本発明の目的は、会話形式の情報処理システムにおい
て、ユーザとシステムとの会話履歴情報をもとに、必要
な処理手順(命令群)を抜き出してユーザ定義コマンド
として登録することにより、以後、同様の業務を行う
際、該コマンドを利用することで、ユーザとシステムの
会話を省略することにある。
An object of the present invention is to perform the same in an interactive information processing system by extracting a necessary processing procedure (command group) based on conversation history information between a user and the system and registering it as a user-defined command. When performing the above task, the command is used to omit the conversation between the user and the system.

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

本発明は、ユーザとシステムとの会話履歴情報を格納す
る手段と、ユーザが入力する情報よりプログラミング言
語の文(命令文)を作成する手段と、該作成したプログ
ラミング言語の文情報(命令群)を会話履歴情報と対応
して格納する手段と、会話履歴情報を表示し、ユーザが
その範囲を指定することにより、対応するプログラミン
グ言語の文を抽出して、それをユーザ定義コマンドとし
て登録する手段とを設ける。
The present invention relates to means for storing conversation history information between a user and a system, means for creating a sentence (command statement) in a programming language from information input by a user, and statement information (command group) in the created programming language. And a means for storing the conversation history information, displaying the conversation history information, and extracting the sentence in the corresponding programming language by the user designating the range and registering it as a user-defined command. And.

〔作用〕[Action]

ユーザがシステムと会話形式で試行錯誤で業務を処理す
るときに、システムでは、遂一、該会話履歴情報を取得
し、保持する。同時に、所望の処理を指定するコマンド
等、ユーザが入力した情報からプログラム言語の文(命
令文)を作成して、会話履歴情報と対応させて文履歴情
報として格納する。その後、ユーザ定義コマンド作成を
ユーザから指定されると、ディスプレイ上にすでに実行
した処理で取得した会話履歴情報を表示する。この会話
履歴情報に対してユーザがカーソルキーにより、ユーザ
定義コマンドとしたい処理の先頭及び終りの指定を行
う。これにより、文履歴情報より対応する文を抽出し、
この抽出した文の並び(命令群)をユーザ定義コマンド
してファイルに登録する。
When the user processes the business in a conversational manner with the system by trial and error, the system finally acquires and retains the conversation history information. At the same time, a sentence (command sentence) in a programming language is created from information input by the user such as a command for designating a desired process, and stored as sentence history information in association with the conversation history information. After that, when the user specifies the creation of the user-defined command, the conversation history information acquired by the processing already executed is displayed on the display. With respect to this conversation history information, the user specifies the start and end of the process desired to be a user-defined command with the cursor keys. By this, the corresponding sentence is extracted from the sentence history information,
The extracted sentence sequence (command group) is registered as a user-defined command in a file.

〔実施例〕〔Example〕

以下、本発明の一実施例について図面により詳述する。 An embodiment of the present invention will be described in detail below with reference to the drawings.

第1図は本発明の一実施例のシステム構成を示したもの
で、ディスプレイ装置1と、このディスプレイ装置1の
表示画面を制御する画面入出力部2と、入力情報を解析
する入力解析部3と、入力情報よりプログラム言語の文
(命令文)を作成する文作成部4と、解析した結果を実
行する実行部5と、ユーザ定義コマンドの作成を行うコ
マンド作成部6と、会話履歴情報を格納する会話履歴フ
ァイル7と、文情報を入れる文履歴ファイル8及び作成
したコマンドを登録しておくコマンドファイル9から成
る。
FIG. 1 shows a system configuration of an embodiment of the present invention. A display device 1, a screen input / output unit 2 that controls a display screen of the display device 1, and an input analysis unit 3 that analyzes input information. A sentence creation unit 4 that creates a sentence (imperative sentence) in a programming language from input information, an execution unit 5 that executes the analyzed result, a command creation unit 6 that creates a user-defined command, and conversation history information. It includes a conversation history file 7 to be stored, a sentence history file 8 for storing sentence information, and a command file 9 for registering created commands.

通常、実行部5は画面入出力部2を介して質問文をディ
スプレイ装置1に表示し、ユーザが該ディスプレイ装置
1より情報(基本コマンド、その他)を入力すると、該
情報を画面入出力部2を介して入力解析部3が解析し、
実行部5で実行する。実行部5は、実行結果を画面入出
力部2を介してディスプレイ装置1に表示し、さらに、
必要があれば次の質問文を同じく画面入出力部2を介し
てディスプレイ装置1に表示する。ユーザは、これを見
て再び情報の入力等を行う。以下、これを繰り返し、目
的の業務処理を会話形式で実行する。
Normally, the execution unit 5 displays the question text on the display device 1 via the screen input / output unit 2, and when the user inputs information (basic command, other) from the display device 1, the execution unit 5 displays the information on the screen input / output unit 2. The input analysis unit 3 analyzes via
It is executed by the execution unit 5. The execution unit 5 displays the execution result on the display device 1 via the screen input / output unit 2, and
If necessary, the following question text is also displayed on the display device 1 via the screen input / output unit 2. The user sees this and inputs information again. Hereinafter, this is repeated, and the target business process is executed in a conversational manner.

このユーザとシステムの会話入出力情報を、遂一、会話
履歴情報として画面入出力部2を介して会話履歴ファイ
ル7に取得する(ステップ21,22)。ユーザからの入力
情報は入力解析部3で解析され、通常は(コマンド作成
でない場合)、実行部5で実行される(ステップ24,2
6)。同時に、文作成部4では、入力解析部3よりユー
ザが入力した情報(基本コマンド、その他)を受け取
り、実行部5で実行される命令語と同様のプログラム言
語の文(命令文)に組み立て、会話履歴ファイル7の会
話履歴情報と対応させて文履歴ファイル5に格納する
(ステップ20)。
The conversation input / output information of the user and the system is finally acquired as the conversation history information in the conversation history file 7 via the screen input / output unit 2 (steps 21 and 22). The input information from the user is analyzed by the input analysis unit 3 and normally (when not command creation) is executed by the execution unit 5 (steps 24, 2).
6). At the same time, the sentence creation unit 4 receives the information (basic command, etc.) input by the user from the input analysis unit 3 and assembles it into a sentence (statement sentence) in the same programming language as the instruction language executed by the execution unit 5, It is stored in the sentence history file 5 in association with the conversation history information of the conversation history file 7 (step 20).

次に、ユーザ定義コマンドを作成する場合、ユーザはデ
ィスプレイ装置1よりコマンド作成を指示するコマンド
を入力する。入力解析部3が、このコマンド作成の指示
コマンドの入力を解析すると、コマンド作成部6を起動
する。コマンド作成部6では、まず、会話履歴ファイル
7より会話履歴情報を読み出し、画面入出力部2を介し
てディスプレイ装置1に表示する(ステップ27)。第3
図はその表示画面の一例であり、文1から文n及びその
結果の文がすでに実行された処理手順に対応する会話履
歴情報を示す。この表示画面を見て、ユーザは作成した
いユーザ定義コマンドの履歴範囲を指定する(ステップ
28)。例えば、カーソル31をコマンドとして作成したい
文iの先頭に位置付けてディスプレイ装置1の送信キー
を押し、引き続いてカーソル31を文nの先頭に位置に付
けて同様に送信キーを押す。コマンド作成部6は、指定
された範囲の会話履歴情報に対応する文情報(命令文)
を文履歴ファイル8より抽出し(ステップ29)、画面入
出部2を介してディスプレイ装置1の文表示領域32に表
示すると共に、固有のラベルを付してユーザ定義コマン
ドとしてコマンドファイル9に登録する(ステップ3
0)。
Next, when creating a user-defined command, the user inputs a command instructing command creation from the display device 1. When the input analysis unit 3 analyzes the input of the command command for command creation, the command creation unit 6 is activated. The command creating section 6 first reads the conversation history information from the conversation history file 7 and displays it on the display device 1 via the screen input / output section 2 (step 27). Third
The figure is an example of the display screen, and shows the conversation history information corresponding to the processing procedure in which the sentences 1 to n and the resulting sentence have already been executed. Looking at this display screen, the user specifies the history range of the user-defined command to be created (step
28). For example, the cursor 31 is positioned at the beginning of the sentence i to be created as a command and the send key of the display device 1 is pressed, and subsequently the cursor 31 is positioned at the beginning of the sentence n and the send key is pressed in the same manner. The command creation unit 6 uses the sentence information (command sentence) corresponding to the conversation history information in the designated range.
Is extracted from the sentence history file 8 (step 29), is displayed in the sentence display area 32 of the display device 1 via the screen entry / exit section 2, and is given a unique label and registered in the command file 9 as a user-defined command. (Step 3
0).

以上により、ユーザが一度試行錯誤して得た会話履歴情
報をもとに、簡単な操作で所要のユーザ定義コマンドを
作成することができる。第1図では、省略したが、コマ
ンドファイル9に登録されたユーザ定義コマンドは、以
後、それに付されたラベルをディスプレイ装置1より入
力するだけでコマンドファイル9から読み出され、入力
解析部3を通して実行部5で実行される。
As described above, the required user-defined command can be created by a simple operation based on the conversation history information which the user once obtained by trial and error. Although omitted in FIG. 1, the user-defined command registered in the command file 9 is read from the command file 9 by simply inputting the label attached to the command file 9 from the display device 1 through the input analysis unit 3. It is executed by the execution unit 5.

第4図に具体例を示す。これは、ファイル読出しの処理
を会話形式で行う場合を簡単化して示したものである。
第4図において、例えば文1の「何をしますか」、「オ
ープンするファイルは」などはシステムの質問文であ
り、「file OPEN」(基本コマンド)、「file1」(処理
対象データ)は、質問文に対しユーザが入力する情報で
ある。「OPEN file1」は、文1について、ユーザの入力
情報にもとづいて組み立てられるプログラム言語の文
(命令文)である。また、「file1はありません。」
は、文1に対するシステムの実行結果出力である。文i
から文nについても同様である。第4図では、「file
1」がシステムになく、次に、ユーザはあらためてシス
テムと会話しながら、「file2」の読出しを実行した場
合の、会話履歴ファイル7の会話履歴情報とそれに対応
する文履歴ファイル8のプログラム言語の文(命令文)
を示している。
FIG. 4 shows a specific example. This is a simplified illustration of the case where the file reading process is performed interactively.
In Fig. 4, for example, "What do you do?" And "File to open" in sentence 1 are system question sentences, and "file OPEN" (basic command) and "file1" (process target data) are , Information that the user inputs for the question text. “OPEN file 1” is a sentence (command sentence) of a programming language that is constructed for sentence 1 based on the input information of the user. Also, "file1 does not exist."
Is the execution result output of the system for sentence 1. Sentence i
The same applies to the sentence n. In Figure 4, "file
1 ”does not exist in the system, and then the user newly reads" file2 "while having a conversation with the system, the conversation history information of the conversation history file 7 and the corresponding program language of the sentence history file 8 Statement (statement)
Is shown.

ユーザがユーザ定義コマンド作成を指示すると、第4図
に示す会話履歴ファイル7の内容がディスプレイ装置1
に表示される。この表示画面を見ながら、ユーザが文i
から文nの範囲を指定すると、コマンド作成部6では、
文履歴ファイル8から文i〜文nに対応するプログラム
言語の文情報(OPEN file2,READ file2,CLOSE file2)
を選択し、それに固有のラベルを付してユーザ定義コマ
ンドとしてコマンドファイル9に登録する。これによ
り、以後、ファイル(file2)の読出しを行う場合、ユ
ーザが当該ラベルを入力すれば、コマンドファイル9か
ら“OPEN file2,READ file2,CLOSE file2"の命令文(命
令群)が読み出され、目的のファイル読出しが自動的に
実行される。
When the user gives an instruction to create a user-defined command, the contents of the conversation history file 7 shown in FIG.
Is displayed in. While looking at this display screen, the user
When the range from to n is specified, the command creation unit 6
Statement information of the programming language corresponding to the statements i to n from the statement history file 8 (OPEN file2, READ file2, CLOSE file2)
Is selected, and a unique label is added to it to be registered in the command file 9 as a user-defined command. As a result, when reading the file (file2) thereafter, if the user inputs the label, the command sentence (command group) of "OPEN file2, READ file2, CLOSE file2" is read from the command file 9, The target file read is automatically executed.

〔発明の効果〕〔The invention's effect〕

以上の説明から明らかな如く、本発明によれば、会話形
式の情報処理システムにおいて、会話履歴情報をもと
に、ユーザがユーザ定義コマンドにしたい文(命令文)
の範囲を指定することにより、試行錯誤による処理手順
のプログラム言語の文から、以後の処理で必要とする文
(命令群)のみを抽出して、ユーザ定義コマンドとして
登録することが可能になる。
As is clear from the above description, according to the present invention, in a conversation type information processing system, a sentence (command sentence) that the user wants to make into a user-defined command based on conversation history information.
By specifying the range of, it becomes possible to extract only the statement (group of instructions) required for the subsequent processing from the statements in the programming language of the processing procedure by trial and error and register it as a user-defined command.

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

第1図は本発明の一実施例のシステム構成図、第2図は
第1図の動作を説明するためのフローチャート、第3図
は会話履歴の表示形式の一例を示す図、第4図は具体的
処理例を示す図である。 1……ディスプレイ装置、2……画面入出力部、3……
入力解析部、4……文作成部、5……実行部、6……コ
マンド作成部、7……会話履歴ファイル、8……文履歴
ファイル、9……コマンドファイル。
FIG. 1 is a system configuration diagram of an embodiment of the present invention, FIG. 2 is a flow chart for explaining the operation of FIG. 1, FIG. 3 is a diagram showing an example of a conversation history display format, and FIG. It is a figure which shows the example of a specific process. 1 ... Display device, 2 ... Screen input / output section, 3 ...
Input analysis unit, 4 ... sentence creation unit, 5 ... execution unit, 6 ... command creation unit, 7 ... conversation history file, 8 ... sentence history file, 9 ... command file.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】ディスプレイ装置を有し、ユーザと会話形
式で業務を実行する情報処理システムにおいて、 ユーザとの会話履歴情報を保存する手段と、 ユーザが入力する情報より命令語を表わすプログラム言
語の文を作成する手段と、 前記会話履歴情報と対応させて前記プログラム言語の文
を格納する手段と、 前記保存した会話履歴情報をディスプレイ装置に表示
し、ユーザが該表示された会話履歴情報の範囲を指定す
ることにより、前記格納されたプログラミング言語の文
から、該指定された範囲の会話履歴情報に対応する文を
抽出し、それをユーザ定義コマンドとして登録する手段
と、 を有することを特徴とするユーザ定義コマンドの自動作
成方式。
1. An information processing system having a display device for executing business in a conversation form with a user, comprising means for storing conversation history information with the user, and a program language for expressing an instruction word from information input by the user. A means for creating a sentence; a means for storing the sentence in the programming language in association with the conversation history information; a display of the saved conversation history information on a display device; and a range of the displayed conversation history information by the user. Is specified, the sentence corresponding to the conversation history information of the specified range is extracted from the stored sentence of the programming language, and the unit is registered as a user-defined command. A method for automatically creating user-defined commands.
JP61234181A 1986-10-01 1986-10-01 Method for automatically creating user-defined commands Expired - Lifetime JPH0760363B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61234181A JPH0760363B2 (en) 1986-10-01 1986-10-01 Method for automatically creating user-defined commands

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61234181A JPH0760363B2 (en) 1986-10-01 1986-10-01 Method for automatically creating user-defined commands

Publications (2)

Publication Number Publication Date
JPS6388627A JPS6388627A (en) 1988-04-19
JPH0760363B2 true JPH0760363B2 (en) 1995-06-28

Family

ID=16966941

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61234181A Expired - Lifetime JPH0760363B2 (en) 1986-10-01 1986-10-01 Method for automatically creating user-defined commands

Country Status (1)

Country Link
JP (1) JPH0760363B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0374045U (en) * 1989-11-17 1991-07-25
JPH05127855A (en) * 1991-10-30 1993-05-25 Nec Corp Execution history integrated menu system
JP3648764B2 (en) * 1994-08-24 2005-05-18 松下電器産業株式会社 Device operation support method and apparatus
JP2002158749A (en) * 2000-11-22 2002-05-31 Nec Corp Communication equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59109947A (en) * 1982-12-15 1984-06-25 Matsushita Electric Ind Co Ltd Command language processing method
JPS60237535A (en) * 1984-04-17 1985-11-26 Fujitsu Ltd Command input control system

Also Published As

Publication number Publication date
JPS6388627A (en) 1988-04-19

Similar Documents

Publication Publication Date Title
US5845119A (en) Software development tool for combining software components/modules
EP1423787B1 (en) Method and apparatus for interoperation between legacy software and screen reader programs
JPH05100833A (en) Data processor having code forming means and method of forming code
JPH01172997A (en) Graphic customization of memu display
JPH0760363B2 (en) Method for automatically creating user-defined commands
JPH09265431A (en) Method and device for editing document, and client device including the device
JPH11175370A (en) Program testing method
JP2677605B2 (en) Information processing apparatus and information processing method
JP3031767B2 (en) Natural language processor
JP3391808B2 (en) Natural language input method and device
JP2757367B2 (en) Character processor
JPS63211433A (en) Prior error check system for generating command procedure/job control language
JP2999654B2 (en) Terminal device
JPH05189221A (en) Information display device
JPH02287824A (en) Production system for control sentence
JPH1069381A (en) Program generation support device
JPH0392955A (en) Input processing system for interactive system
JPH05151259A (en) Sentence input processing system
JPS63627A (en) Key word setting processing system
JPH04253253A (en) Method and device for executing application program
JPH08171560A (en) Document data editing device
JPH04299449A (en) Sentence input device
JPS6344217A (en) Station conversation control system
JPH04137128A (en) Character string input system
JPH03251901A (en) Controller for measuring device or the like