JPH03192415A - Conversation processing control method and device - Google Patents
Conversation processing control method and deviceInfo
- Publication number
- JPH03192415A JPH03192415A JP1333574A JP33357489A JPH03192415A JP H03192415 A JPH03192415 A JP H03192415A JP 1333574 A JP1333574 A JP 1333574A JP 33357489 A JP33357489 A JP 33357489A JP H03192415 A JPH03192415 A JP H03192415A
- Authority
- JP
- Japan
- Prior art keywords
- screen
- transition
- variable
- display
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000012545 processing Methods 0.000 title claims abstract description 93
- 238000000034 method Methods 0.000 title claims description 92
- 230000007704 transition Effects 0.000 claims abstract description 217
- 230000014509 gene expression Effects 0.000 claims description 138
- 238000004364 calculation method Methods 0.000 claims description 67
- 238000007781 pre-processing Methods 0.000 claims description 16
- 238000012805 post-processing Methods 0.000 claims description 14
- 238000013500 data storage Methods 0.000 claims description 3
- 230000000717 retained effect Effects 0.000 claims 1
- 238000013461 design Methods 0.000 abstract description 8
- 238000010586 diagram Methods 0.000 description 20
- 230000004397 blinking Effects 0.000 description 2
- 235000014510 cooky Nutrition 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000011017 operating method Methods 0.000 description 1
- 230000033772 system development Effects 0.000 description 1
Landscapes
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
- Input From Keyboards Or The Like (AREA)
Abstract
Description
【発明の詳細な説明】
[産業上の利用分野]
本発明は、PO8端末や銀行営業店端末等の会話処理シ
ステムにおける会話処理制御方法及び装置に関し、特に
会話画面の遷移や表示等の仕様の違いに拘らず、設計や
仕様変更を行うのに好適な会話処理制御方法及び装置に
関する。[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a conversation processing control method and device in a conversation processing system such as a PO8 terminal or a bank branch terminal, and particularly to a conversation processing control method and device for conversation screen transitions, displays, etc. The present invention relates to a conversation processing control method and device suitable for changing designs and specifications regardless of differences.
[従来の技術]
従来、操作者一端末間の会話形式で処理を進める会話処
理システムは、小売店、スーパー、百貨店、銀行等に広
く導入されている。例えば、P。[Prior Art] Conventionally, conversation processing systems that proceed with processing in the form of conversation between an operator and a terminal have been widely introduced in retail stores, supermarkets, department stores, banks, and the like. For example, P.
S端末や銀行営業店端末等においても、操作者が端末に
データを入力し、入力されたデータに基づいて端末が操
作者に次のデータ入力を促すというように、処理を進め
る。In S terminals, bank branch terminals, etc., the operator inputs data into the terminal, and based on the input data, the terminal prompts the operator to input the next data, and so on.
このような会話処理システムは、導入先顧客の業務体制
の違い、競合他社に対する特徴づけ等のため、顧客ごと
に個有の処理を要する場合が多く、顧客別の仕様に基づ
いて設計および開発を行っていた。また、システム稼動
後も、操作者一端末間の会話形式で処理を進めるという
点から、操作手順や使い勝手の面で仕様変更要求が出さ
れる場合があり、その対応に多大の労力を要していた。Conversation processing systems like this often require unique processing for each customer due to differences in the business structure of the customer and how they are characterized relative to competitors, so they are designed and developed based on customer-specific specifications. I was going. Furthermore, even after the system is operational, because processing proceeds in a conversational format between the operator and the terminal, there may be requests for specification changes in terms of operating procedures or usability, which requires a great deal of effort to respond to. Ta.
このような問題に対して、具体的な処理内容に依存せず
、同一手順の繰返しで定式化可能な制御方式が提案され
ている。To address these problems, a control method has been proposed that does not depend on specific processing content and can be formulated by repeating the same procedure.
例えば、特開平1−99160号公報に記載されている
ように、会話画面ごとに、会話処理の前に行う処理を規
定する前処理テーブルと、会話処理中の処理を規定する
キー処理テーブルと、会話処理終了後の処理を規定する
後処理テーブルを設け、これらのテーブルに基づいて会
話状態中の処理を行い、画面識別子により会話状態の遷
移を行うことか提案されている。For example, as described in Japanese Unexamined Patent Publication No. 1-99160, each conversation screen includes a pre-processing table that specifies the process to be performed before conversation processing, a key processing table that specifies the process to be performed during conversation processing, It has been proposed to provide post-processing tables that define the processing to be performed after the end of conversation processing, perform processing during the conversation state based on these tables, and change the conversation state using screen identifiers.
これにより、処理内容に依存していた会話処理の制御方
式を同一手順の繰返しで定式化することができ、会話処
理システム開発の生産性および保守性を向上させること
が可能である。As a result, it is possible to formulate a control method for conversation processing that was dependent on the processing content by repeating the same procedure, and it is possible to improve the productivity and maintainability of conversation processing system development.
上記従来技術では、同一手順で制御する具体的な処理内
容の設計および仕様変更に対しては、配慮がなされてい
ない。In the above-mentioned conventional technology, no consideration is given to the design and specification changes of specific processing contents controlled by the same procedure.
すなわち、具体的な処理内容は呼出部品として登録され
ているため、具体的な処理内容の細かな設計および仕様
変更については、呼出部品の作り直しや手直しが必要と
なる。従って、呼出部品の再利用や呼出手順の定式化に
よる生産性および保守性の向上は図れるが、呼出部品に
依存する具体的な処理内賽については、従来と同様に煩
雑であった。That is, since the specific processing content is registered as a called component, detailed design and specification changes to the specific processing content require remaking or reworking of the called component. Therefore, although it is possible to improve productivity and maintainability by reusing called parts and formulating calling procedures, specific intra-processing decisions that depend on called parts are as complicated as in the past.
本発明の目的は、このような問題点を改善し、会話処理
の制御方式を同一手順の繰返しで定式化するとともに、
具体的な処理内容を呼出部品に依存せず、設計および仕
様変更が容易な会話処理制御方法及び装置を提供するこ
とにある。The purpose of the present invention is to improve such problems, formulate a control method for conversation processing by repeating the same procedure, and
It is an object of the present invention to provide a conversation processing control method and device whose specific processing contents do not depend on called components and whose design and specifications can be easily changed.
[課題を解決するための手段]
上記目的を達成するため、本発明の会話処理制御方法及
び装置は、会話画面単位に定義する画面識別子毎に、画
面遷移の引金となるキー入力と遷移先の画面識別子とで
構成する画面遷移情報と、表示位置データと表示データ
とで構成する画面表示情報と、変数および数値の組み合
わせによる演算式と各演算式の計算結果を代入する変数
とで構成する変数・演算式情報とを、予め情報記憶部の
各テーブルに記憶しておき、キー入力がある度に、現在
会話中の画面識別子に対応する画面遷移情報を参照し、
キー入力か画面遷移の引金となるキー入力に一致するか
否かにより、画面遷移の成立/不成立を判定して、不成
立ならば、成立するまでキー入力を待ち、成立すると、
遷移先の画面識別子に対応する変数・演算式情報を参照
して、演算式を予め計算し、計算結果を対応する変数に
代入しておき、続いて遷移先の画面識別子に対応する画
面表示情報を参照し、表示データに変数が含まれる場合
には、代入された変数の値を参照して、表示位置で指定
する場所に表示データを出力した後、次の画面遷移の引
金となるキー入力を待つことに特徴がある。[Means for Solving the Problems] In order to achieve the above object, the conversation processing control method and device of the present invention provide key inputs that trigger screen transitions and transition destinations for each screen identifier defined for each conversation screen. screen transition information consisting of a screen identifier, screen display information consisting of display position data and display data, arithmetic expressions based on combinations of variables and numerical values, and variables to which calculation results of each arithmetic expression are substituted. Variables and calculation formula information are stored in advance in each table of the information storage unit, and each time a key is input, screen transition information corresponding to the screen identifier currently being spoken is referred to,
Depending on whether the key input matches the key input that triggers the screen transition, it is determined whether the screen transition is successful or not. If it is not successful, the key input is waited until it is successful, and if it is successful,
Refer to the variable/arithmetic expression information corresponding to the transition destination screen identifier, calculate the expression in advance, assign the calculation result to the corresponding variable, and then calculate the screen display information corresponding to the transition destination screen identifier. , and if the display data includes a variable, refer to the value of the assigned variable and output the display data to the location specified by display position, then select the key that will trigger the next screen transition. It is characterized by waiting for input.
[作用]
本発明においては、キーボードからの入力があると、会
話処理システムでは、予めテーブルウェアに記憶された
現在会話中の画面蟲別子に対応する画面遷移情報を参照
し、操作者のキー入力が画面遷移の引金となるキー入力
に一致するか否かを判断する。[Operation] In the present invention, when there is an input from the keyboard, the conversation processing system refers to the screen transition information corresponding to the screen bug currently being conversed, stored in advance in the tableware, and changes the operator's key Determine whether the input matches a key input that triggers a screen transition.
その結果、一致しなかった場合には、画面遷移が成立し
なかったと判定し、操作者が画面遷移成立のキー入力を
行うまで待つ。As a result, if they do not match, it is determined that the screen transition has not been established, and the process waits until the operator performs a key input to establish the screen transition.
また、一致する場合には、画面遷移が成立したと判定し
、予め情報記憶部のテーブルに記憶された遷移先の画面
識別子に対応する変数・演算式情報を参照して、予め定
義された演算式を計算する。If they match, it is determined that the screen transition has been established, and the predefined calculation is performed by referring to the variable/operation expression information corresponding to the transition destination screen identifier stored in the table of the information storage section in advance. Calculate the formula.
この計算結果は、対応する変数に代入しておく。This calculation result is assigned to the corresponding variable.
続いて、予めテーブルウェアに記憶された遷移先の画面
識別子に対応する画面表示データを参照し、表示位置デ
ータで指定された場所に表示データを出力する。この際
、表示データに変数が含まれている場合には、代入され
た変数の値を参照して出力する。Next, the screen display data corresponding to the transition destination screen identifier stored in advance in the tableware is referred to, and the display data is output to the location specified by the display position data. At this time, if the display data includes a variable, the value of the assigned variable is referenced and output.
こうして表示データが出力された後、会話処理システム
は、操作者が次の画面遷移の引金となるキー入力を行う
のを待つ。一方、操作者は、表示データの出力が完了す
ることにより、画面が遷移し終ったことを知ることがで
き、次の画面遷移を引き起こすべく、端末へのキー入力
を行う。After the display data is output in this manner, the conversation processing system waits for the operator to perform a key input that will trigger the next screen transition. On the other hand, the operator can know that the screen has finished transitioning by completing the output of the display data, and inputs a key into the terminal to trigger the next screen transition.
以上により、操作者と会話処理システムとの会話処理の
制御方式を同一手順の繰返しで定式化するとともに、具
体的な処理内容を呼出部品に依存せず、変数・演算式の
画面単位の任岸定義にて実現できるので、設計、仕様変
更が容易である。As described above, the control method for conversation processing between the operator and the conversation processing system can be formulated by repeating the same procedure, and the specific processing content can be controlled on a screen-by-screen basis for variables and arithmetic expressions without depending on the called component. Since it can be realized by definition, design and specification changes are easy.
f実施例〕 以下、本発明の一実施例を図面により説明する。f Example] An embodiment of the present invention will be described below with reference to the drawings.
(第1の実施例)
まず、画面遷移情報により、画面遷移先を決定して、画
面表示情報を出力する場合について述べる。(First Example) First, a case will be described in which a screen transition destination is determined based on screen transition information and screen display information is output.
第1図は、本発明の第1の実施例における会話処理手順
を示すフローチャート、第2図は本発明の会話処理制御
方法を適用する会話処理システムの構成図である。FIG. 1 is a flowchart showing a conversation processing procedure in a first embodiment of the present invention, and FIG. 2 is a configuration diagram of a conversation processing system to which the conversation processing control method of the present invention is applied.
第2図において、20は会話処理システムのデータ記憶
手段であり、各種の情報を記憶する情報記憶部、21は
会話処理システムの操作者、22はデータ入力装置(キ
ーボード)、23はデータ出力装置(CRT)、24は
システム全体を制御する制御部である。In FIG. 2, 20 is a data storage means of the conversation processing system, which is an information storage section for storing various information, 21 is an operator of the conversation processing system, 22 is a data input device (keyboard), and 23 is a data output device. (CRT), 24 is a control unit that controls the entire system.
本実施例では、操作者21はキーボード22を用いてデ
ータを入力し、CRT23に出力されるデータを見て、
会話処理を行う。また、会話処理に必要な各種の情報は
、情報記憶部2oに蓄えられており、制御部24によっ
て各デバイスの制御および操作者21との会話制御を行
う。In this embodiment, the operator 21 inputs data using the keyboard 22, looks at the data output to the CRT 23,
Performs conversation processing. Further, various types of information necessary for conversation processing are stored in the information storage section 2o, and the control section 24 controls each device and controls the conversation with the operator 21.
また、第1図において、20aは情報記憶部20を構成
する画面表示情報記憶部、20bは情報記憶部2oを構
成する画面遷移情報記憶部である。Further, in FIG. 1, 20a is a screen display information storage section that constitutes the information storage section 20, and 20b is a screen transition information storage section that constitutes the information storage section 2o.
本実施例では、会話処理開始後、まず、画面識別子(以
下画面IDと記す)を初期画面の画面丁りとする(10
0)。In this embodiment, after starting conversation processing, first, the screen identifier (hereinafter referred to as screen ID) is set to the screen size of the initial screen (10
0).
次に、画面表示情報記憶部20aより、画面IDに対応
する画面表示情報を参照しく101)、CRT23へ出
力する(102)。Next, the screen display information corresponding to the screen ID is output from the screen display information storage section 20a to the CRT 23 (see 101) (102).
この時点で、会話処理システムは、操作者のキー入力待
ち状態となる(103)。At this point, the conversation processing system enters a state of waiting for key input by the operator (103).
さらに、操作者21がキーボード22からキー入力する
と、会話処理システムは、そのキー入力が会話処理を終
了させるものであるか否かを判断する(104)。Further, when the operator 21 inputs a key from the keyboard 22, the conversation processing system determines whether the key input is to end the conversation processing (104).
その結果、終了のキー入力であれば、会話処理を終了し
、そうでなければ、画面遷移情報記憶部20bより画面
IDに対応する画面遷移情報を参照する(105)。As a result, if the end key input is input, the conversation process is ended, and if not, the screen transition information corresponding to the screen ID is referred to from the screen transition information storage section 20b (105).
続いて、操作者21からのキー入力と画面遷移情報とを
比較し、画面遷移を成立させるキー入力であるか否かを
判断する(106)。Subsequently, the key input from the operator 21 is compared with the screen transition information, and it is determined whether the key input is a key input that causes a screen transition to occur (106).
その結果、画面遷移成立のキー入力でなければ、ステッ
プ103へ戻り、新たなキー入力を待つ。As a result, if the key input does not establish the screen transition, the process returns to step 103 and waits for a new key input.
また、画面遷移成立のキー入力であれば、画面■Dを遷
移先画面の画面EDとしく107)、ステップ101へ
戻る。Further, if the key input indicates that the screen transition is established, screen ①D is set as the screen ED of the transition destination screen 107), and the process returns to step 101.
第3図は、本発明の第1の実施例における画面遷移の過
程を示す説明図である。FIG. 3 is an explanatory diagram showing the process of screen transition in the first embodiment of the present invention.
第3図において、31は第1図の画面遷移情報記憶部2
0bに格納された画面遷移情報テーブル、32は画面表
示情報記憶部20aに格納された画面表示情報テーブル
、33.34はCRT表示画面である。この画面遷移情
報テーブル31は、画面IDごとに存在し、画面遷移の
引金となるキー入力と遷移先の画面IDを予め定義して
いる。また、画面表示情報テーブル32は、画面IDご
とに存在し、CRT画面上での行、桁、長さからなる表
示位置データと、CRT画面へ出力する表示データとを
予め定義している。In FIG. 3, 31 is the screen transition information storage unit 2 of FIG.
0b is a screen transition information table, 32 is a screen display information table stored in the screen display information storage section 20a, and 33 and 34 are CRT display screens. This screen transition information table 31 exists for each screen ID, and predefines the key input that triggers a screen transition and the screen ID of the transition destination. Further, the screen display information table 32 exists for each screen ID, and predefines display position data consisting of lines, digits, and lengths on the CRT screen, and display data to be output to the CRT screen.
本実施例では、現在会話中の画面33はX画面(Xは画
面ID)であり、X画面に対して、操作者21がキーボ
ード22からキー入力する。In this embodiment, the screen 33 currently in conversation is the X screen (X is the screen ID), and the operator 21 inputs keys from the keyboard 22 onto the X screen.
例えば、操作者が′b″というキーを入力すると、会話
処理システムはX画面の画面遷移情報テーブル31を参
照し、操作者21のキー入力が画面遷移の引金となるキ
ー入力に一致するか否かを判断する。この場合、項番2
において、操作者1のキー入力が画面遷移の引金となる
キー入力に一致している。すなわち、操作者21が”
b ”とキー人ノJした段階で、X画面の画面遷移情報
テーブル31の項番2において画面遷移が成立しており
、遷移先の画面IDはZであると判定できる。For example, when the operator inputs the key 'b'', the conversation processing system refers to the screen transition information table 31 of the X screen and determines whether the key input by the operator 21 matches the key input that triggers the screen transition. Determine whether or not.In this case, item number 2
In this case, the key input by the operator 1 matches the key input that triggers the screen transition. That is, the operator 21
At the stage when the user presses the key ``b'', it can be determined that a screen transition has been established in item number 2 of the screen transition information table 31 for the X screen, and that the screen ID of the transition destination is Z.
これにより、遷移先画面である2画面の画面表示情報テ
ーブル32を参照して、表示位置データで指定する場所
に表示データを出力する。Thereby, the screen display information table 32 of the two screens that are the transition destination screens is referred to, and the display data is output to the location specified by the display position data.
こうして、2画面の画面表示情報テーブル32に定義さ
れた表示データが全てCRT画面へ出力されると、X画
面(CRT表示画面33)から2画面(CR7表示画面
34)への画面遷移が完了する。In this way, when all the display data defined in the screen display information table 32 for the 2nd screen is output to the CRT screen, the screen transition from the X screen (CRT display screen 33) to the 2nd screen (CR7 display screen 34) is completed. .
画面遷移完了後、操作者21は2画面に対するキー入力
を行う。After the screen transition is completed, the operator 21 performs key input for the two screens.
(第2の実施例)
次に、画面表示情報を出力する際、表示中の画面をクリ
アするか、あるいは画面はそのままで上書きするかを示
す有効/無効フラグをチェックする方法について述べる
。(Second Embodiment) Next, when outputting screen display information, a method of checking a valid/invalid flag indicating whether to clear the screen being displayed or to overwrite the screen without changing it will be described.
第4図は、本発明の第2の実施例における会話処理手順
を示すフローチャートである。FIG. 4 is a flowchart showing the conversation processing procedure in the second embodiment of the present invention.
本実施例では、会話処理開始後、第1の実施例(第1図
)と同様に、画面IDを初期画面の画面IDとして(1
00)、画面IDに対応する画面表示情報を参照する(
101)。さらに、有効/f#、効フラグをチェックす
る(400)。なお、有効/無効フラグは、表示中の画
面をクリアするか、あるいは画面はそのままで上書きす
るかを示すものである。In this embodiment, after starting conversation processing, the screen ID is set as the screen ID of the initial screen (1
00), refer to the screen display information corresponding to the screen ID (
101). Further, the valid/f# and valid flags are checked (400). Note that the valid/invalid flag indicates whether to clear the screen being displayed or to overwrite the screen without changing it.
その結果、有効/無効フラグがONならば、前画面をク
リアして(401)、新たに画面IDに対応する表示情
報をCRT23へ出力する(102)。As a result, if the valid/invalid flag is ON, the previous screen is cleared (401), and display information corresponding to the screen ID is newly output to the CRT 23 (102).
また、有効/無効フラグがOFFならば、前画面をその
ままにして、画面IDに対応する表示情報をCRT23
へ出力する(102)。Also, if the valid/invalid flag is OFF, the previous screen is left as is and the display information corresponding to the screen ID is displayed on the CRT23.
(102).
以下のステップ102〜107は、第1の実施例と同様
である。The following steps 102 to 107 are the same as in the first embodiment.
第5図は、本発明の第2の実施例における画面遷移の過
程を示す説明図である。FIG. 5 is an explanatory diagram showing the process of screen transition in the second embodiment of the present invention.
第5図において、35は前画面の有効/無効(前画面を
そのまま使用して重ね書きするか、あるいはクリアして
新たな画面を用いるか)を示す有効/無効フラグ、36
は第4図の画面遷移情報記憶部20bに格納された画面
遷移情報テーブル、37は画面表示情報記憶部20aに
格納された画面表示情報テーブル、38.39はCR7
表示画面である。この画面遷移情報テーブル36、画面
表示情報テーブル37は、第1の実施例と同様に構成さ
れる。In FIG. 5, 35 is a valid/invalid flag indicating the validity/invalidity of the previous screen (whether to use the previous screen as it is and overwrite it, or to clear it and use a new screen); 36
is a screen transition information table stored in the screen transition information storage section 20b in FIG. 4, 37 is a screen display information table stored in the screen display information storage section 20a, and 38.39 is a CR7
This is the display screen. The screen transition information table 36 and the screen display information table 37 are configured in the same manner as in the first embodiment.
本実施例では、現在会話中の画面38はX画面であり、
例えば操作者が” b ”というキーを入力すると、会
話処理システムはX画面の画面遷移情報テーブル36を
参照し、そのキー入力” b ”が、項番2において画
面遷移の引金となるキー入力に一致しているので、遷移
先の画面IDはZであると判定する。In this embodiment, the screen 38 that is currently having a conversation is the X screen,
For example, when the operator inputs the key "b", the conversation processing system refers to the screen transition information table 36 of the X screen and determines that the key input "b" is the key input that triggers the screen transition in item number 2. , it is determined that the screen ID of the transition destination is Z.
さらに、有効/無効フラグ35がパビ′であるため、前
画面をそのままとし、画面遷移成立判定の結果、遷移先
画面である2画面の画面表示情報テーブル37を参照し
て、表示位置データで指定する場所に表示データを出力
する。Furthermore, since the valid/invalid flag 35 is Pavi', the previous screen is left as is, and as a result of the screen transition establishment determination, the screen display information table 37 of the two screens that are the transition destination screens is referred to, and the display position data is specified. Output the display data to the desired location.
こうして、2画面の画面表示情報テーブル37に定義さ
れた表示データが全てCR7画面へ出力されると、X画
面(CRT表示画面38)からX画面(CR7表示画面
39)への画面遷移が完了する。In this way, when all the display data defined in the screen display information table 37 for the two screens is output to the CR7 screen, the screen transition from the X screen (CRT display screen 38) to the X screen (CR7 display screen 39) is completed. .
(第3の実施例)
本実施例では、画面表示データを表示属性に従って出力
する場合について述べる。(Third Embodiment) In this embodiment, a case will be described in which screen display data is output according to display attributes.
第6図は、本発明の第3の実施例における画面出力側図
である。FIG. 6 is a view of the screen output side in the third embodiment of the present invention.
第6図において、40は第2図に示した情報記憶部2o
の画面表示情報記憶部に格納された画面表示情報テーブ
ル、41はCR7表示画面である。In FIG. 6, 40 is the information storage unit 2o shown in FIG.
The screen display information table 41 is stored in the screen display information storage section of the CR7 display screen.
この画面表示情報テーブル40には、CRT画面上での
行、桁、長さからなる表示位置データと、詰め方(左詰
めか右詰めか)、ブリンク、リバースからなる表示属性
と、CR7画面41へ出力する表示データとが予め定義
されている。This screen display information table 40 includes display position data consisting of line, digit, and length on the CRT screen, display attributes consisting of filling method (left justified or right justified), blink, and reverse, and the CR7 screen 41. Display data to be output to is defined in advance.
本実施例では、第1の実施例で示した画面遷移成立判定
の結果、遷移先画面である2画面の画面表示情報テーブ
ル40を参照し、CRT23の指定する場所に表示デー
タを出力する。この時、表示データは表示属性に従って
CRT表示画面41に出力される。In this embodiment, as a result of the screen transition establishment determination shown in the first embodiment, the screen display information table 40 of the two screens that are the transition destination screens is referred to, and display data is output to the location specified by the CRT 23. At this time, the display data is output to the CRT display screen 41 according to the display attributes.
すなわち、2画面の画面表示情報テーブル40では、項
番1の表示データは、左詰めで、ブリンクもリバースも
しない状態で表示される。また、項番2の表示データは
、右詰めで、ブリンクはするがリバースはしない状態で
表示される。また、項番3の表示データは、左詰めで、
ブリンクはしないがリバースする状態で表示される。That is, in the two-screen screen display information table 40, the display data of item number 1 is displayed left-aligned without blinking or reversing. Furthermore, the display data of item number 2 is displayed right-aligned, blinking but not reversing. Also, the display data in item number 3 is left-aligned,
It does not blink, but is displayed in reverse.
(第4の実施例)
本実施例では、複数の画面表示情報を参照して表示デー
タを出力する場合について述べる。(Fourth Embodiment) In this embodiment, a case will be described in which display data is output by referring to a plurality of pieces of screen display information.
第7図は、本発明の第4の実施例における会話処理手順
を示すフローチャートである。FIG. 7 is a flowchart showing the conversation processing procedure in the fourth embodiment of the present invention.
第7図において、20cは第2図に示した情報記憶部2
oを構成する画面表示情報ID記憶部である。In FIG. 7, 20c is the information storage unit 2 shown in FIG.
This is a screen display information ID storage unit that constitutes o.
本実施例では、会話処理開始後、まず、画面■Dを初期
画面の画面IDとする(100)。In this embodiment, after starting the conversation process, first, screen ■D is set as the screen ID of the initial screen (100).
次に、画面表示情報ID記憶部20cより、画面IDに
対応する画面表示情報IDを参照する(700)。Next, the screen display information ID corresponding to the screen ID is referenced from the screen display information ID storage unit 20c (700).
続いて、画面表示情報記憶部20aより、全ての画面表
示情報IDに対応する画面表示情報を参照して(701
)、CRT23へ出力する(702)。Next, the screen display information corresponding to all the screen display information IDs is referred to from the screen display information storage unit 20a (701).
) and output to the CRT 23 (702).
なお、ステップ103〜107は第1の実施例(第1図
)で示した会話処理手順と同じであり、ステップ107
終了後、ステップ700へ戻る。Note that steps 103 to 107 are the same as the conversation processing procedure shown in the first embodiment (FIG. 1), and step 107
After finishing, the process returns to step 700.
第8図は、本発明の第4の実施例における画面遷移の過
程を示す説明図である。FIG. 8 is an explanatory diagram showing the process of screen transition in the fourth embodiment of the present invention.
第8図において、42は画面遷移情報テーブル、44は
画面表示情報テーブル、43は画面表示情報TD子テー
ブル45.46はCR7表示画面である。この画面表示
情報テーブル44は画面表示情報IDごとに存在し、表
示位置データと表示データとを予め定義している。また
、画面表示情報IDテーブル43は、画面TDに対応す
る複数の画面表示情報IDを予め定義している。In FIG. 8, 42 is a screen transition information table, 44 is a screen display information table, 43 is a screen display information TD child table 45, and 46 is a CR7 display screen. This screen display information table 44 exists for each screen display information ID, and defines display position data and display data in advance. Further, the screen display information ID table 43 defines in advance a plurality of screen display information IDs corresponding to the screen TD.
本実施例では、現金会話中の画面45はX画面であり、
画面遷移成立判定までの過程は第1の実施例と同じであ
る。画面遷移成立判定の結果、遷移先の画面IDである
Zをキーにして、画面表示情報IDテーブル43を参照
すると、2画面で出力すべき画面表示情報テーブル44
を特定する画面表示情報IDとして、Z1〜z5が得ら
れる。In this embodiment, the screen 45 during cash conversation is the X screen,
The process up to the screen transition establishment determination is the same as in the first embodiment. As a result of the screen transition establishment determination, when the screen display information ID table 43 is referred to using Z, which is the screen ID of the transition destination, as a key, the screen display information table 44 that should be output on two screens
Z1 to z5 are obtained as screen display information IDs that specify .
さらに、これらの画面表示情報IDに基づき、例えばI
D=Z、の画面表示情報テーブル44を参照して、表示
域に対応した表示データを出力する。Furthermore, based on these screen display information IDs, for example, I
Referring to the screen display information table 44 of D=Z, display data corresponding to the display area is output.
こうして、2画面に対する全ての画面表示情報テーブル
44に定義された表示データが全て出力されると、X画
面(CR7表示画面45)から2画面(CR7表示画面
46)への画面遷移が完了する。In this way, when all the display data defined in all the screen display information tables 44 for the two screens are output, the screen transition from the X screen (CR7 display screen 45) to the second screen (CR7 display screen 46) is completed.
なお、画面表示情報IDの添字(z、〜2.における1
〜3)とCR7画面上の表示領域との間に、何らかの相
互関係を持たせることもできる。これにより、例えば゛
″添字番号が1の画面表示情報IDで特定される画面表
示テーブルの表示データは、CRT画面の左半分、」二
から3分の2までの領域に限る″等の条件を設定するこ
とができる。Note that the subscript of the screen display information ID (z, 1 in ~2.
~3) and the display area on the CR7 screen may have some kind of mutual relationship. As a result, for example, the display data of the screen display table specified by the screen display information ID with the subscript number 1 is limited to the left half of the CRT screen, or the area from 2 to 2/3. Can be set.
(第5の実施例)
本実施例では、画面遷移の引金となる任意の事象列によ
り、画面遷移成立を判断する場合について述べる。(Fifth Embodiment) In this embodiment, a case will be described in which the establishment of a screen transition is determined based on an arbitrary event sequence that triggers a screen transition.
第9図は、本発明の第5の実施例における会話処理手順
を示すフローチャートである。FIG. 9 is a flowchart showing the conversation processing procedure in the fifth embodiment of the present invention.
第9図において、20dはキー入力/事象対応情報記憶
部、20eは画面遷移情報記憶部である。In FIG. 9, 20d is a key input/event correspondence information storage section, and 20e is a screen transition information storage section.
本実施例では、会話処理開始後、第1の実施例(第1図
)と同様の処理を行う。In this embodiment, after the conversation processing starts, the same processing as in the first embodiment (FIG. 1) is performed.
さらに、ステップ104の判定後、操作者21のキー入
力が会話処理の終了を指示するものでなければ、キー人
ノJ/事象対応tit報記憶部20dを参照し、キー入
力に対応する事象を判定する(900)。Furthermore, after the determination in step 104, if the key input by the operator 21 does not instruct the end of the conversation process, the key person/event correspondence tit information storage unit 20d is referred to, and the event corresponding to the key input is recorded. Determine (900).
続いて、画面遷移情報記憶部20eより、画面IDに対
応する画面遷移情報を参照しく901)、キー入力に対
応する事象が新たに加わった事象列と画面遷移情報とを
比較し、画面遷移を成立させる事象列が発生したか否か
を判断する(902)。Next, the screen transition information corresponding to the screen ID is referenced from the screen transition information storage unit 20e (901), and the screen transition information is compared with the event string in which the event corresponding to the key input has been newly added, and the screen transition is performed. It is determined whether an event sequence to be established has occurred (902).
その結果、画面遷移成立の事象列が発化していなければ
、ステップ103へ戻1ハ新たなキー入力を待つ。また
、画面遷移成立の事象列が発生していれば、画面IDを
遷移先画面の画面IDどしく107)、ステップ!01
へ戻る。As a result, if the event sequence for screen transition establishment has not occurred, the process returns to step 103 and waits for a new key input. Also, if an event sequence for screen transition establishment has occurred, set the screen ID to the screen ID of the transition destination screen (107), and step! 01
Return to
第10図は、本発明の第5の実施例における画面遷移成
立後の過程を示す説明図である。FIG. 10 is an explanatory diagram showing the process after the screen transition is established in the fifth embodiment of the present invention.
第10図において、50は画面遷移情報テーブル、47
はキー入力/事象対応情報テーブル、48.49はキー
入力ある度に、キー入力に対応した事象が加わることに
より発生する事象列を記憶する事象バッファである。こ
の画面遷移情報テーブル50は、画面IDごとに存在し
、画面遷移の引金となる任意の事象列を遷移先の画面I
Dとを予め定義している。また、キー入力/事象対応情
報テーブル47は、任意の事象列を構成する個々の事象
を、1つ1つのキー入力に対応させて予め定義するもの
である。In FIG. 10, 50 is a screen transition information table, 47
Reference numeral 48 and 49 indicate a key input/event correspondence information table, and 48 and 49 indicate an event buffer that stores an event sequence that occurs when an event corresponding to the key input is added each time there is a key input. This screen transition information table 50 exists for each screen ID, and specifies an arbitrary event sequence that triggers a screen transition to the screen ID of the transition destination.
D is defined in advance. Further, the key input/event correspondence information table 47 defines in advance each event constituting an arbitrary event sequence in correspondence with each key input.
本実施例では、現在会話中の画面はX画面である。例え
ば、操作者が′b″というキーを入力したとすると、会
話処理システムはキー入力/事象対応テーブル47を参
照し、SS2°゛という事象が加わったと判断する。次
に、この時点での事象バッファ48に対して、X画面の
画面遷移情報テーブル50を参照し、事象バッファ48
.49の事象列が画面遷移の引金となる事象列に一致す
るか否かを判断する。In this embodiment, the screen currently in conversation is the X screen. For example, if the operator inputs the key 'b'', the conversation processing system refers to the key input/event correspondence table 47 and determines that the event SS2° has been added.Next, the event at this point is For the buffer 48, refer to the screen transition information table 50 of the X screen, and write the event buffer 48.
.. It is determined whether or not the event string No. 49 matches the event string that triggers the screen transition.
この場合、事象バッファ48の事象列” S S 2
”に一致するものはないので、次のキー入力待ちとなる
。次のキー入力としてII CIIというキーが入力さ
れると、キー入力/事象対応テーブル47により、“S
PF”という事象が加わったと判断できる。この時点で
の事象バッファ49の事象列は”SS2+SPF”であ
り、前述と同様にX画面の画面遷移情報テーブル50を
参照すると、項番2において、画面遷移の引金となる事
象列に一致することがわかる。In this case, the event sequence of the event buffer 48 “S S 2
”, so the system waits for the next key input. When the next key input is the key II CII, the key input/event correspondence table 47 indicates that “S
It can be determined that the event "PF" has been added.The event string in the event buffer 49 at this point is "SS2+SPF", and when referring to the screen transition information table 50 for the X screen in the same way as described above, in item number 2, the screen transition It can be seen that this matches the event sequence that is the trigger.
すなわち、操作者lが′b″、 c″とキー入力した段
階で、X画面の画面遷移情報テーブル50の項番2にお
いて画面遷移が成立しており、遷移先の画面IDは2で
あると判定できる。従って、遷移先画面である3画面の
画面表示情報テーブルを参照し、表示データを出力する
。That is, at the stage when the operator l inputs the keys 'b'' and c'', the screen transition is established in item number 2 of the screen transition information table 50 of the X screen, and the screen ID of the transition destination is 2. Can be judged. Therefore, the display data is output by referring to the screen display information table of the three screens that are the transition destination screens.
(第6の実施例)
本実施例では、表示データに変数が含まれている場合に
ついて述べる。(Sixth Example) In this example, a case will be described in which display data includes variables.
第11図は、本発明の第6の実施例における会話処理手
順を示すフローチャートである。FIG. 11 is a flowchart showing the conversation processing procedure in the sixth embodiment of the present invention.
第11図において、20fは変数・演算式情報記憶部、
20gは画面表示情報記憶部である。In FIG. 11, 20f is a variable/arithmetic expression information storage unit;
20g is a screen display information storage section.
本実施例では、会話処理開始後、画面IDを初期画面の
画面IDとする(IQO)。In this embodiment, after conversation processing starts, the screen ID is set as the screen ID of the initial screen (IQO).
次に、変数・演算式情報記憶部2Ofより、画面IDに
対応する変数・演算式情報を参照しく1100)、演算
式を計算し、計算結果を変数に代入しておく(1101
)。Next, refer to the variable/arithmetic expression information corresponding to the screen ID from the variable/arithmetic expression information storage unit 2Of (1100), calculate the arithmetic expression, and assign the calculation result to the variable (1101).
).
続いて、画面表示情報記憶部20gより、画面■Dに対
応する画面表示情報を参照しく1102)、CRTIO
へ出力する(1103)。なお、表示データに変数が含
まれる場合には、代入された計算結果をステップ110
2において予め参照して出力する。Next, from the screen display information storage unit 20g, refer to screen display information corresponding to screen ■D (1102), CRTIO
(1103). Note that if the display data includes variables, the substituted calculation results are used in step 110.
2, reference is made in advance and output.
この後、第1の実施例(第1図)と同様に、ステップ1
03〜107を行い、ステップ1100へ戻る。After this, step 1 is carried out similarly to the first embodiment (Fig. 1).
Steps 03 to 107 are performed, and the process returns to step 1100.
第12図は、本発明の第6の実施例における画面遷移の
過程を示す説明図である。FIG. 12 is an explanatory diagram showing the process of screen transition in the sixth embodiment of the present invention.
第12図において、51は画面遷移情報テーブル、52
は画面表示情報テーブル、53は変数・演算式情報テー
ブル、54.55はCR7表示画面である。この画面表
示情報テーブル52は、画面IDごとに存在し、表示位
置データと表示データとを予め定義している。なお、表
示データには、変数も含まれており、単なる表示データ
と区別するため、変数名の先頭に′&″を付加している
。In FIG. 12, 51 is a screen transition information table;
53 is a screen display information table, 53 is a variable/arithmetic expression information table, and 54.55 is a CR7 display screen. This screen display information table 52 exists for each screen ID, and defines display position data and display data in advance. Note that the display data also includes variables, and to distinguish them from mere display data, ``&'' is added to the beginning of the variable name.
また、変数・演算式情報テーブル53は、画面IDごと
に存在し、変数および数値の組み合わせによる演算式と
、各演算式の計算結果を代入する変数とを予め定義して
いる。Further, the variable/arithmetic expression information table 53 exists for each screen ID, and defines in advance an arithmetic expression based on a combination of variables and numerical values, and variables to which calculation results of each arithmetic expression are substituted.
本実施例では、現在会話中の画面はX画面であり、画面
遷移成立までの過程は、第1の実施例と同じである。In this embodiment, the screen currently in conversation is the X screen, and the process until the screen transition is established is the same as in the first embodiment.
さらに、画面遷移成立判定の結果、遷移先画面である3
画面の画面表示情報テーブル52を参照し、表示データ
を出力する。この際、表示データに変数が含まれる場合
には、3画面の変数・演算式情報テーブル53の変数の
値を参照して出力する。なお、変数の値は、画面遷移が
成立して遷移先の画面IDが決定した直後に、画面ID
に対応する変数・演算式情報テーブル53の演算式を計
算し、計算結果を変数に代入しておくことにより得られ
る。Furthermore, as a result of screen transition establishment determination, 3, which is the transition destination screen,
The display data is output with reference to the screen display information table 52 of the screen. At this time, if the display data includes variables, the values of the variables in the variable/arithmetic expression information table 53 of the three screens are referred to and output. Note that the value of the variable is changed to the screen ID immediately after the screen transition is established and the screen ID of the transition destination is determined.
This can be obtained by calculating the arithmetic expression in the variable/arithmetic expression information table 53 corresponding to , and assigning the calculation result to the variable.
第12図では、3画面の変数・演算式情報テーブル53
の項番l〜3において、″価格″、“値弓額“、パ売値
″という変数が定義されており、それぞれ、″”300
”、″゛価格XO,l”、°′価価格−値引額上いう計
算式の計算結果が代入される。すなわち、価格=300
、値引額=価格X0,1=300xO,1=30、売値
=価格−値引額=300−270=30という結果を得
る。In FIG. 12, the variable/arithmetic expression information table 53 on three screens is shown.
In item numbers 1 to 3, the variables "price", "price bow amount", and "selling price" are defined, and each has a value of "300".
","゛Price
, discount amount = price X0, 1 = 300xO, 1 = 30, selling price = price - discount amount = 300-270 = 30.
従って、2画面の画面表示情報テーブル52の項番2の
表示データである゛′売売価上いう変数の値は”270
”となレバその値がそのまま出力される。Therefore, the value of the variable ``Sales price'', which is the display data in item number 2 of the screen display information table 52 for the two screens, is ``270''.
”The value will be output as is.
こうして、3画面の画面表示情報テーブル52に定義さ
れた表示データ(変数を含む)が全てCR1画面へ出力
されると、X画面(CRT表示画面54)から3画面(
CRT表示画面55)への画面遷移が完了する。In this way, when all the display data (including variables) defined in the screen display information table 52 for the three screens is output to the CR1 screen, the screen from the X screen (CRT display screen 54) to the third screen (
The screen transition to the CRT display screen 55) is completed.
(第7の実施例)
本実施例では、変数の属性情報として、数値か文字かを
区別する場合について述べる。(Seventh Embodiment) In this embodiment, a case will be described in which a distinction is made between numerical values and characters as attribute information of variables.
第13図は、本発明の第7の実施例における画面出力側
図である。FIG. 13 is a view of the screen output side in the seventh embodiment of the present invention.
第13図において、56は画面表示情報テーブル、57
は変数・演算式情報テーブル、58はCR7表示画面で
ある。この画面表示情報テーブル56には、表示位置デ
ータと表示データとが予め定義されている。なお、表示
データには変数も含まれており、単なる表示データと区
別するため、変数の属性には関係なく変数名の先頭に“
&″′を付加している。また、変数・演算式情報テーブ
ル57には、演算式と変数と変数の属性(数値か文字か
)とが予め定義されている。但し、演算式は、変数の属
性が数値の場合は、属性が数値の変数および数値の組み
合わせによる計算式、変数の属性が文字の場合には文字
列となっている。In FIG. 13, 56 is a screen display information table, 57
is a variable/arithmetic expression information table, and 58 is a CR7 display screen. In this screen display information table 56, display position data and display data are defined in advance. Note that the display data also includes variables, and to distinguish them from mere display data, “ is placed at the beginning of the variable name regardless of the variable attributes.
&″′ is added. Also, in the variable/arithmetic expression information table 57, arithmetic expressions, variables, and variable attributes (numeric or character) are defined in advance. However, the arithmetic expression is If the attribute is numeric, the attribute is a calculation formula using a combination of variables and numeric values, and if the attribute of the variable is character, it is a string.
本実施例では、第1の実施例で示した画面遷移成立判定
の結果、遷移先画面である2画面の画面表示情報テーブ
ル56を参照し、表示データを出力する。この際、表示
データに含まれる変数データのうち、属性が数値のもの
は、第6の実施例と同様にして出力される。なお、属性
が文字のものは、変数・演算式情報テーブル57の演算
式に定義された文字列を参照して、そのまま出力する。In this embodiment, as a result of the screen transition establishment determination shown in the first embodiment, display data is output with reference to the screen display information table 56 of two screens that are transition destination screens. At this time, among the variable data included in the display data, those whose attributes are numerical values are output in the same manner as in the sixth embodiment. Note that if the attribute is a character, the character string defined in the arithmetic expression in the variable/arithmetic expression information table 57 is referred to and output as is.
第13図では、2画面の変数・演算式情報テーブル57
0項番4において、″商品名″という文字変数が定義さ
れており、その演算式は゛′クッキ″という文字列であ
る。従って、2画面の画面表示情報テーブル56の項番
2の表示データであるパ商品名″という文字変数の値は
“クツキーという文字列となり、その文字列がそのまま
出力、表示される。その表示例はCRT表示画面58に
示される。In FIG. 13, the variable/arithmetic expression information table 57 on two screens is shown.
In item number 4 of item 0, a character variable called "product name" is defined, and its arithmetic expression is the character string "cookie". Therefore, the display data of item number 2 of the screen display information table 56 for two screens The value of the character variable "A certain product name" becomes the character string "Kutsuki", and that character string is output and displayed as is. An example of its display is shown on the CRT display screen 58.
(第8の実施例)
本実施例では、変数の属性情報として、画面内か画面間
かを区別する場合を示す。(Eighth Embodiment) In this embodiment, a case will be shown in which attribute information of a variable distinguishes whether it is within a screen or between screens.
第14図は、本発明の第8の実施例における画面遷移の
過程を示す説明図である。FIG. 14 is an explanatory diagram showing the process of screen transition in the eighth embodiment of the present invention.
第14図において、61.62は画面表示情報テーブル
、59.60は変数・演算式情報テーブル、63.64
はCRT表示画面である。この画面表示情報テーブル6
1.62には、表示位置データと表示データ(変数を含
む)が予め定義されている。また、変数・演算式情報テ
ーブル59゜60には、演算式と変数と変数の属性(画
面内が画面間か)とが予め定義されている。In Fig. 14, 61.62 is a screen display information table, 59.60 is a variable/arithmetic expression information table, and 63.64
is a CRT display screen. This screen display information table 6
1.62, display position data and display data (including variables) are predefined. Further, in the variable/arithmetic expression information tables 59 and 60, arithmetic expressions, variables, and attributes of the variables (whether within a screen or between screens) are defined in advance.
本実施例では、X画面の変数・演算式情報テーブル59
の項番l〜4において、゛°合計“、パ価格″、“小計
″、゛合計”という変数が定義されており、それぞれ、
”o”、’100−”小計十合計゛、゛合計+価格″と
いう演算式の計算結果が代入される。In this embodiment, the variable/arithmetic expression information table 59 on the X screen
In items 1 to 4, the variables ``Total'', ``Price'', ``Subtotal'', and ``Total'' are defined, respectively.
"o", '100-' subtotal ten sum', 'total + price' calculation results are substituted.
すなわち、合計=0、価格=100、小計=小計+価格
=O+l 0O=100、合計=合計+価格=O+10
0=100という結果を得る。なお、゛小計“′は画面
的変数であり、その初期値(初めて参照する時の値)は
0である。That is, total = 0, price = 100, subtotal = subtotal + price = O + l 0O = 100, total = total + price = O + 10
We get the result 0=100. Note that the "subtotal" is a screen variable, and its initial value (value when referenced for the first time) is 0.
このX画面の変数・演算式情報テーブルS9の計算結果
を参照して、X画面の画面表示情報テーブル61の表示
データが出力、表示される。その表示例はCRT表示画
面63に示される。The display data of the screen display information table 61 of the X screen is output and displayed with reference to the calculation results of the variable/arithmetic expression information table S9 of the X screen. A display example thereof is shown on the CRT display screen 63.
さらに、第1の実施例と同様にして、2画面への画面遷
移が成立すると、2画面の画面表示情報テーブル62を
参照し、表示データを出力する。Furthermore, similarly to the first embodiment, when the screen transition to the second screen is established, the screen display information table 62 for the second screen is referred to and display data is output.
この際、2画面の変数・演算式情報テーブル60の項番
l〜3において、“価格″、″°小計″、′°合合計上
いう変数が定義されており、それぞれ、“170”、“
小計+価格”、゛合計+価格″という演算式の計算結果
が代入される。従って、価格=170、小計=小計+価
格=O+ 170= 170.合計=合計+価格=10
0+170=270という結果を得る。なお、゛小計″
は画面内でのみ値が有効な画面的変数であり、その初期
値はOであるが、′°合合計上画面間に渡って値が有効
な画面間変数であり、その初期値は的画面であるX画面
での値がそのまま参照される。At this time, the variables "Price", "°Subtotal", and '°Sumtotal' are defined in item numbers 1 to 3 of the variable/arithmetic expression information table 60 on the two screens, and "170" and "
The calculation results of the expressions ``Subtotal + Price'' and ``Total + Price'' are substituted. Therefore, price = 170, subtotal = subtotal + price = O + 170 = 170. Total = Total + Price = 10
We get the result 0+170=270. In addition, "subtotal"
is a screen-like variable whose value is valid only within the screen, and its initial value is O, but it is an inter-screen variable whose value is valid between screens on the sum total, and its initial value is O. The value on the X screen is referred to as is.
すなわち、2画面での″合計″の初期値は、2画面の変
数・演算式情報テーブル60の計算結果を参照して、X
画面の変数・演算式情報テーブルS9で計算した時の最
終的な値である’100″となる。That is, the initial value of the "total" on the two screens is determined by
The final value calculated using the variable/arithmetic expression information table S9 on the screen is '100'.
この2画面の変数・演算式情報テーブル60の計算結果
を参照し、2画面の画面表示テーブル62の表示データ
が全てCR7画面へ出力されると、X画面(CRT表示
画面63)から2画面(CRT表示画面64)への画面
遷移が完了する。Referring to the calculation results of the variable/arithmetic expression information table 60 on these two screens, when all the display data in the screen display table 62 on the two screens is output to the CR7 screen, the screen from the X screen (CRT display screen 63) to the second screen ( The screen transition to the CRT display screen 64) is completed.
(第9の実施例)
本実施例では、変数・演算式情報を前処理と後処理に分
ける場合について述べる。(Ninth Embodiment) In this embodiment, a case will be described in which variable/arithmetic expression information is divided into pre-processing and post-processing.
第15図は、本発明の第9の実施例における会話処理手
順を示すフローチャートである。FIG. 15 is a flowchart showing the conversation processing procedure in the ninth embodiment of the present invention.
第15図において、20gは画面表示情報記憶部、20
hは前処理変数・演算式情報記憶部、201は後処理変
数・演算式情報記憶部である本実施例では、会話処理開
始後、画面IDを初期画面の画面IDとする(100)
。In FIG. 15, 20g is a screen display information storage unit;
h is a pre-processing variable/arithmetic expression information storage unit, and 201 is a post-processing variable/arithmetic expression information storage unit. In this embodiment, after conversation processing starts, the screen ID is set as the screen ID of the initial screen (100).
.
次に、前処理変数・演算式情報記憶部20hより、画面
IDに対応する前処理変数・演算式情報を参照しく+5
00)、演算式を計算して、計算結果を変数に代入して
おく:(1501)。Next, refer to the preprocessing variable/arithmetic expression information corresponding to the screen ID from the preprocessing variable/arithmetic expression information storage unit 20h.+5
00), calculate the arithmetic expression and assign the calculation result to a variable: (1501).
続いて、画面表示情報記憶部20gより、画面IDに対
応する画面表示情報を参照しく+502)、CRT23
へ出力する(1503)。この際、表示データに変数が
含まれる場合、代入された計算結果をステップ1502
において予め参照し、出力する。Next, from the screen display information storage unit 20g, refer to the screen display information corresponding to the screen ID (+502) and the CRT 23
(1503). At this time, if the display data includes variables, the substituted calculation results are sent to step 1502.
The information is referenced in advance and output.
次に、後処理変数・演算式情報記憶部20iより、画面
rDに対応する後処理変数・演算式情報を参照して(1
504)、演算式を計算し、計算結果を変数に代入する
(1505)。Next, the post-processing variable/arithmetic expression information corresponding to the screen rD is referenced from the post-processing variable/arithmetic expression information storage unit 20i (1
504), calculates the arithmetic expression, and assigns the calculation result to a variable (1505).
なお、ステップ103〜107は第1の実施例と同様で
あり、ステップ107終了後にステップ1500へ戻る
。Note that steps 103 to 107 are the same as in the first embodiment, and after step 107 is completed, the process returns to step 1500.
第16図は、本発明の第9の実施例における画面遷移の
過程を示す説明図である。FIG. 16 is an explanatory diagram showing the process of screen transition in the ninth embodiment of the present invention.
第16図において、65.67は前処理変数・演算式情
報テーブル、66は後処理変数・演算式情報テーブル、
70.71はCRT表示画面である。この前処理変数・
演算式情報テーブル65゜67には、表示データを出力
する前に計算を実行する変数・演算式情報(演算式と変
数と変数の属性)が予め定義されている。また、後処理
変数・演算式情報テーブル66には、表示データを出力
した後に計算を実行する変数・演算式情報が予め定義さ
れている。In FIG. 16, 65.67 is a pre-processing variable/arithmetic expression information table, 66 is a post-processing variable/arithmetic expression information table,
70.71 is a CRT display screen. This preprocessing variable
In the arithmetic expression information tables 65 to 67, variables and arithmetic expression information (arithmetic expressions, variables, and variable attributes) for performing calculations before outputting display data are defined in advance. Further, in the post-processing variable/arithmetic expression information table 66, variable/arithmetic expression information for executing calculations after outputting display data is defined in advance.
本実施例では、X画面の前処理変数・演算式テーブル6
5の項番1〜4において、“合計″、“価格″、゛小計
′°、゛合計″という変数が定義されている。これらの
変数の値は、第8の実施例と同様にして得る。さらに、
X画面の前処理変数・演算式情報テーブル65の計算結
果を参照して、X画面の画面表示情報テーブル68の表
示データが出力、表示される。この表示例をCR7表示
画面70に示す。In this embodiment, the preprocessing variables/calculation formula table 6 on the X screen is
In items 1 to 4 of 5, the variables “total”, “price”, “subtotal”°, and “total” are defined.The values of these variables can be obtained in the same manner as in the eighth embodiment. .moreover,
The display data of the screen display information table 68 of the X screen is output and displayed with reference to the calculation results of the preprocessing variable/arithmetic expression information table 65 of the X screen. An example of this display is shown in CR7 display screen 70.
このX画面の表示データ出力後、X画面の後処理変数・
演算式情報テーブル66の計算が実行される。この場合
、X画面の後処理変数・演算式情報テーブル66の項番
1,2において、“税金″、パ合計″という変数が定義
されており、それぞれ、税金=価格X0.03=100
X0,03=3、合計=合計+税金=、100+3=1
03という結果を得る。なお、゛価格″、゛合計″の初
期値は、前処理変数・演算式情報テーブル65で計算し
た時の値がそのまま参照される。すなわち、゛′価格″
、゛合計″の初期値は、それぞれ”100”、″100
”となる。After outputting the display data of this X screen, the post-processing variables of the
Calculation of the arithmetic expression information table 66 is executed. In this case, the variables “tax” and “total amount” are defined in item numbers 1 and 2 of the post-processing variable/arithmetic expression information table 66 on the X screen, and each tax = price x0.03 = 100
X0,03=3, total=total+tax=,100+3=1
We get a result of 03. Note that, as the initial values of "price" and "total", the values calculated in the preprocessing variable/arithmetic expression information table 65 are referred to as they are. In other words, ``price''
, the initial values of ``total'' are ``100'' and ``100'', respectively.
” becomes.
こうして、第1の実施例と同様に、2画面への画面遷移
が成立すると、7画面の画面表示情報テーブル69を参
照し、表示データを出力する。この時、7画面の前処理
変数・演算式情報テーブル67の項番l〜3において、
゛′価格パ、パ小計パ、″合計″という変数が定義され
ており、それぞれ、価格=170、小計=小計+価格=
O+ 170=170、合計=合計+価格=103+1
70=273という結果を得る。なお、゛′小計″は画
面白変数であり、その初期値はOであるが、″合計″は
画面間変数であり、その初期値は前画面であるX画面で
の値がそのまま参照される。すなわち、7画面での″合
計″の初期値は、X画面の後処理変数・演算情報テーブ
ル66で計算した時の最終的な値である” 103 ”
となる。In this way, similarly to the first embodiment, when the screen transition to the second screen is established, the screen display information table 69 for the seven screens is referred to and display data is output. At this time, in item numbers l to 3 of the preprocessing variable/arithmetic expression information table 67 on the 7 screens,
Variables ``Price, Subtotal, and Total'' are defined, and respectively, price = 170, subtotal = subtotal + price =
O+ 170=170, total=total+price=103+1
We get a result of 70=273. Note that ``Subtotal'' is a screen white variable and its initial value is O, but ``Total'' is an inter-screen variable, and its initial value is directly referenced from the value on the previous screen, X screen. In other words, the initial value of "total" for the 7th screen is "103", which is the final value calculated using the post-processing variable/calculation information table 66 of the X screen.
becomes.
さらに、7画面の前処理変数・演算式情報テーブル67
の計算結果を参照して、7画面の画面表示情報テーブル
69の表示データが全てCR7画面へ出力されると、X
画面(CR7表示画面70)から7画面(CR7表示画
面71)への画面遷移が完了する。Furthermore, 7 screens of preprocessing variable/arithmetic expression information table 67
With reference to the calculation results of
The screen transition from the screen (CR7 display screen 70) to the seventh screen (CR7 display screen 71) is completed.
(第10の実施例)
本実施例では、表示条件式を満足している場合にのみ、
表示データを出力する方法について述べる。(Tenth Example) In this example, only when the display conditional expression is satisfied,
The method for outputting display data will be described.
第17図および第18図は、本発明の第1oの実施例に
おける画面出力側面である。FIGS. 17 and 18 are side views of the screen output in the 1oth embodiment of the present invention.
第17図において、72は画面表示情報テーブル、73
は変数・演算式情報テーブル、74はCR7表示画面で
ある。この画面表示情報テーブル72には、表示位置デ
ータと表示データ(変数を含む)と変数および数値の組
み合わせによる表示条件式とが予め定義されている。ま
た、変数・演算式情報テーブル73には、演算式と変数
と変数の属性(数値か文字か)とが予め定義されている
。In FIG. 17, 72 is a screen display information table, 73
is a variable/arithmetic expression information table, and 74 is a CR7 display screen. In this screen display information table 72, display position data, display data (including variables), and display condition expressions based on combinations of variables and numerical values are defined in advance. Further, in the variable/arithmetic expression information table 73, arithmetic expressions, variables, and variable attributes (numeric values or characters) are defined in advance.
本実施例では、第1の実施例で示した画面遷移成立判定
の結果、遷移先画面である2画面の画面表示情報テーブ
ル72を参照し、表示データを出力する。この時、表示
データに含まれる変数は、第7の実施例と同様にして出
力される。但し、表示データが出力されるのは、画面表
示情報テーブル72の表示条件式が満足されている場合
に限られる。In this embodiment, as a result of the screen transition establishment determination shown in the first embodiment, display data is output with reference to the screen display information table 72 of two screens that are transition destination screens. At this time, the variables included in the display data are output in the same manner as in the seventh embodiment. However, the display data is output only when the display conditional expression of the screen display information table 72 is satisfied.
例えば、2画面の画面表示情報テーブル72では、項番
2に″個数=ビ′、項番3〜5に゛個数〉1″という表
示条件式が定義されている。また、項番lには、何ら表
示条件式が定義されていないので、項番1の表示データ
は無条件に出力される。For example, in the screen display information table 72 for two screens, the display condition expression ``number=bi'' is defined in item number 2, and ``number>1'' is defined in item numbers 3 to 5. Further, since no display conditional expression is defined for item number 1, the display data of item number 1 is output unconditionally.
一方、第6の実施例と同様にして、2画面の変数・演算
式情報テーブル73の計算を実行すると、個数=1を得
る。従って、2画面の画面表示情報テーブル72の表示
条件のうち、項番2だけが満足されており、項番2の表
示データが出力、表示される。その表示例はCRT表示
画面74に示される。On the other hand, when the calculation of the two-screen variable/arithmetic expression information table 73 is executed in the same manner as in the sixth embodiment, the number of items=1 is obtained. Therefore, among the display conditions of the two-screen screen display information table 72, only item number 2 is satisfied, and the display data of item number 2 is output and displayed. A display example thereof is shown on the CRT display screen 74.
また、第18図において、75は画面表示情報テーブル
、76は変数・演算式情報テーブル、77はCR7表示
画面である。Further, in FIG. 18, 75 is a screen display information table, 76 is a variable/arithmetic expression information table, and 77 is a CR7 display screen.
第18図では、画面表示情報テーブル75、変数・演算
式情報テーブル76の構成、画面遷移成立の判定手順、
変数値の計算、参照手順、表示データの出力方法は第1
7図と同様であり、2画面の変数・演算式情報テーブル
76の計算結果だけが異なる。FIG. 18 shows the configuration of the screen display information table 75, the variable/arithmetic expression information table 76, the procedure for determining whether a screen transition is established,
The calculation of variable values, the reference procedure, and the output method of display data are explained in the first part.
This is similar to FIG. 7, and only the calculation results of the variable/arithmetic expression information table 76 on the two screens are different.
すなわち、ziii面の変数・演算式情報テーブル76
の計算を実行すると、個数=2を得る。従って、2画面
の画面表示情報テーブル75の表示条件式のうち、項番
2〜5が満足されており、項番3〜5の表示データが出
力、表示される。その表示例は、CR7表示画面77に
示される。In other words, the variable/arithmetic expression information table 76 on the ziii surface
When the calculation is executed, the number of pieces = 2 is obtained. Therefore, among the display conditional expressions of the two-screen screen display information table 75, item numbers 2 to 5 are satisfied, and the display data of item numbers 3 to 5 are output and displayed. A display example thereof is shown on the CR7 display screen 77.
(第11の実施例)
本実施例では、遷移条件式を満たしている場合のみ、画
面遷移を実行する方法について述べる。(Eleventh Embodiment) In this embodiment, a method of executing screen transition only when a transition conditional expression is satisfied will be described.
第19図は、本実施例の第11の実施例における画面遷
移成立判定の過程を示す説明図である。FIG. 19 is an explanatory diagram showing the process of determining whether a screen transition is established in the eleventh example of this embodiment.
第19図において、78は画面遷移情報テーブル、79
は変数・演算式情報テーブルである。この画面遷移情報
テーブル78には、画面遷移の弓金となるキー入力と、
遷移先の画面IDと、変数および数値の組み合わせによ
る遷移条件式とが予め定義されている。また、変数・演
算式情報テーブル79には、演算式と変数とが予め定義
されている。In FIG. 19, 78 is a screen transition information table, 79
is a variable/arithmetic expression information table. This screen transition information table 78 includes key inputs that are key to screen transitions,
A transition destination screen ID and a transition conditional expression that is a combination of variables and numerical values are defined in advance. Further, in the variable/arithmetic expression information table 79, arithmetic expressions and variables are defined in advance.
本実施例では、現在会話中の画面はX画面であり、X画
面の変数・演算式情報テーブル78の計算は、既に実行
済みである。すなわち、第6の実施例と同様にして、価
格=1500という結果を得ている。ここで、操作者が
例えばIl bI+というキーを入力すると、会話処理
システムはX画面の画面遷移情報テーブル78を参照し
、第1の実施例と同様にして、画面遷移の成立/不成立
を判定する。但し、画面遷移の成立が認められるのは、
画面遷移情報テーブル79の遷移条件式が満足されてい
る場合に限られる。In this embodiment, the screen currently being used for conversation is the X screen, and the calculations in the variable/arithmetic expression information table 78 for the X screen have already been performed. That is, similarly to the sixth embodiment, a result of price=1500 is obtained. Here, when the operator inputs a key such as Il bI+, the conversation processing system refers to the screen transition information table 78 of the X screen and determines whether the screen transition is successful or not in the same manner as in the first embodiment. . However, the establishment of screen transition is recognized as follows:
This is limited to the case where the transition conditional expression of the screen transition information table 79 is satisfied.
例えば、X画面の画面遷移情報テーブル79では、項番
2にパ価格≦1000′′、項番3にパ価格)1000
”という遷移条件式が定義されているが、価格=150
0という結果を得ているので、遷移条件式を満足してい
る項番3のみが有効となる。For example, in the screen transition information table 79 of the
” is defined, but price = 150
Since the result is 0, only item number 3 that satisfies the transition conditional expression is valid.
すなわち、操作者21が“b”というキーを入カした段
階で、x@1iijiliの画面遷移情報テーブル79
の項番3において画面遷移が成立しており、遷移先の画
面IDはZであると判定できる。さらに、画面遷移成立
判定の結果、遷移先画面である2画面の画面表示情報テ
ーブル(図示せず)を参照し、表示データを出力する。That is, at the stage when the operator 21 inputs the key "b", the x@1iijili screen transition information table 79
The screen transition is established in item number 3, and it can be determined that the screen ID of the transition destination is Z. Furthermore, as a result of the screen transition establishment determination, display data is output with reference to the screen display information table (not shown) for the two screens that are the transition destination screens.
(第12の実施例)
本実施例では、演算条件式を満足している場合のみ、演
算式の計算を実行する方法について述べる。(Twelfth Embodiment) In this embodiment, a method will be described in which calculation of an arithmetic expression is executed only when the arithmetic conditional expression is satisfied.
第20図は、本発明の第12の実施例における画面出力
側図である。FIG. 20 is a view of the screen output side in the twelfth embodiment of the present invention.
第20図において、80は画面表示情報テーブル、81
は画面表示情報テーブル、82はCR7表示画面である
。この画面表示情報テーブル80には、表示位置と表示
データ(変数を含む)とが予め定義されている。また、
変数・演算式情報テーブル81には、演算式と変数と変
数の属性(数値か文字か)と属性が数値の変数および数
値の組み合わせによる演算条件式とが予め定義されてい
る。In FIG. 20, 80 is a screen display information table, 81
is a screen display information table, and 82 is a CR7 display screen. In this screen display information table 80, display positions and display data (including variables) are defined in advance. Also,
In the variable/arithmetic expression information table 81, arithmetic expressions, variables, attributes of variables (numeric or character), variables whose attributes are numeric, and arithmetic condition expressions based on combinations of numeric values are defined in advance.
本実施例では、第1の実施例で示した画面遷移成立判定
の結果、遷移先画面である2画面の画面表示情報テーブ
ル80を参照し、表示データを出力する。この時、表示
データに含まれる変数は、第7の実施例と同様にして変
数・演算式情報テーブル8表の計算を実行し、その値を
参照することによって出力される。但し、計算の実行は
、変数・演算式情報テーブル81の演算条件式が満足さ
れる場合に限られる。In this embodiment, as a result of the screen transition establishment determination shown in the first embodiment, display data is output with reference to the screen display information table 80 of two screens that are transition destination screens. At this time, the variables included in the display data are output by executing calculations in the variable/arithmetic expression information table 8 in the same manner as in the seventh embodiment and by referring to the values. However, the calculation is executed only when the calculation conditional expression in the variable/arithmetic expression information table 81 is satisfied.
例えば、2画面の変数・演算式情報テーブル81では、
項番2に゛′価格>1000”という演算条件式が定義
されており、項番1の計算により、価格=300を得る
。従って、項番2の演算条件式は満足されず、項番2の
計算は実行されない。For example, in the variable/arithmetic expression information table 81 on two screens,
The calculation conditional expression ``'Price >1000'' is defined in Item No. 2, and the calculation in Item No. 1 yields price = 300. Therefore, the calculation conditional expression in Item No. 2 is not satisfied, and Item No. 2 calculation is not performed.
よって、2画面の変数・演算式情報テーブル81の計算
では、価格=300、売価=価格−値引額=300−0
=300、商品名=クツキーという結果を得る。Therefore, in the calculation of the variable/arithmetic expression information table 81 on the two screens, price = 300, selling price = price - discount amount = 300 - 0
= 300, product name = Kutsky.
さらに、2画面の変数・演算式情報テーブル81の計算
結果を参照して、2画面の画面表示情報テーブル80の
表示データが出力、表示される。その表示例はCR7表
示画面82に示される。Further, the display data of the screen display information table 80 of two screens is output and displayed with reference to the calculation results of the variable/arithmetic expression information table 81 of two screens. A display example thereof is shown on the CR7 display screen 82.
(第13の実施例)
本実施例では、入力されたテンキーの値を予め定めた変
数に割り当てる場合について述べる。(Thirteenth Embodiment) In this embodiment, a case will be described in which a value input using a numeric keypad is assigned to a predetermined variable.
第21図は、本発明の第13の実施例における会話処理
手順を示すフローチャートである。FIG. 21 is a flowchart showing the conversation processing procedure in the thirteenth embodiment of the present invention.
第21図において、20jは変数・演算式情報記憶部、
20には画面遷移情報記憶部である。In FIG. 21, 20j is a variable/arithmetic expression information storage unit;
20 is a screen transition information storage section.
本実施例では、会話処理開始後、画面IDを初期画面の
画面IDとする(100)。In this embodiment, after starting conversation processing, the screen ID is set to the screen ID of the initial screen (100).
次に、変数・演算式情報記憶部20jより、画面IDに
対応する変数・演算式情報を参照しく2100)、演算
式を計算して、計算結果を変数に代入しておく(210
1)。この時、入力されたテンキーの値を割り当てられ
た変数(以下入力変数と呼ぶ)も、他の変数と同様に扱
うが、入力変数に新たに値を代入することは禁止する。Next, refer to the variable/arithmetic expression information corresponding to the screen ID from the variable/arithmetic expression information storage unit 20j (2100), calculate the arithmetic expression, and assign the calculation result to the variable (210).
1). At this time, variables to which the input numeric keypad values are assigned (hereinafter referred to as input variables) are treated in the same way as other variables, but it is prohibited to assign new values to the input variables.
続いて、画面表示情報記憶部20gより、画面IDに対
応する画面表示情報を参照しく2102)、CRT23
へ出力する(2103)。この時、表示データに変数が
含まれれば、代入された計算結果をステップ2102で
予め参照して出力する。Next, the screen display information corresponding to the screen ID is referenced from the screen display information storage unit 20g (2102), and the CRT 23
(2103). At this time, if the display data includes a variable, the substituted calculation result is referenced in advance in step 2102 and output.
なお、ステップ103,104は第1の実施例の会話処
理手順と同様である。Note that steps 103 and 104 are similar to the conversation processing procedure of the first embodiment.
さらに、ステップ104の判定後、操作者のキー入力が
会話処理の終了を指示するものでなければ、画面遷移情
報記憶部20により、画面IDに対応する画面遷移情報
を参照する(2104)。Furthermore, after the determination in step 104, if the operator's key input does not instruct the end of the conversation process, the screen transition information storage unit 20 refers to the screen transition information corresponding to the screen ID (2104).
続いて、操作者からのキー入力と画面遷移情報とを比較
し、画面遷移を成立させるキー入力であるか否かを判断
する(2105)。Subsequently, the key input from the operator is compared with the screen transition information, and it is determined whether the key input is a key input that establishes a screen transition (2105).
その結果、画面遷移成立のキー入力でなければ、ステッ
プ103へ戻り、新たなキー入力を待つ。As a result, if the key input does not establish the screen transition, the process returns to step 103 and waits for a new key input.
また、画面遷移成立のキー入力であれば、操作者のキー
入力にテンキー入力があるか否かを判断する(2106
)。In addition, if the key input is a screen transition establishment, it is determined whether the operator's key input includes a numeric key input (2106
).
そして、テンキー入力がある場合には、テンキーの値を
入力変数に割り当て(2107)、画面IDを遷移先画
面の画面IDとして(107)、ステップ2100へ戻
る。また、テンキー入力がない場合は、ステップ210
7をジャンプしてステップ107へ進む。If there is an input from the numeric keypad, the value of the numeric keypad is assigned to the input variable (2107), the screen ID is set as the screen ID of the transition destination screen (107), and the process returns to step 2100. In addition, if there is no numeric key input, step 210
7 and proceed to step 107.
第22図は、本発明の第13の実施例における画面遷移
の過程を示す説明図である。FIG. 22 is an explanatory diagram showing the process of screen transition in the thirteenth embodiment of the present invention.
第22図において、83は画面遷移情報テーブル、84
は画面表示情報テーブル、85は変数・演算式情報テー
ブル、86.87はCRT表示画而画面る。この画面遷
移情報テーブル83には、画面遷移の引金となるキー入
力と遷移先の画面IDとが予め定義されている。なお、
画面遷移の引金となるキー入力のうち、任意のテンキー
入力は、°T′で表わされる。また、変数・演算式情報
テーブル85には、演算式と変数とが予め定義されてい
る。この演算式には入力変数が含まれており、入力変数
はTで表わされる。In FIG. 22, 83 is a screen transition information table, 84
is a screen display information table, 85 is a variable/arithmetic expression information table, and 86 and 87 are CRT display images. In this screen transition information table 83, key inputs that trigger screen transitions and screen IDs of transition destinations are defined in advance. In addition,
Among the key inputs that trigger a screen transition, any numeric key input is represented by °T'. Further, in the variable/arithmetic expression information table 85, arithmetic expressions and variables are defined in advance. This arithmetic expression includes an input variable, and the input variable is represented by T.
本実施例では、現在会話中の画面はX画面である。例え
ば、操作者か2″′というテンキーを入力すると、会話
処理システムはX画面の画面遷移情報テーブル83を参
照し、操作者21のキー入力が画面遷移の引金となるキ
ー入力に一致するか否かを判断する。In this embodiment, the screen currently in conversation is the X screen. For example, when the operator inputs 2'' on the numeric keypad, the conversation processing system refers to the screen transition information table 83 of the X screen and determines whether the key input by the operator 21 matches the key input that triggers the screen transition. Decide whether or not.
この場合、項番2において、任意のテンキー入力を意味
するT′が定義されており、操作者のキー入力が画面遷
移の引金となるキー入力に一致していることがわかる。In this case, in item number 2, T' is defined which means any numeric key input, and it can be seen that the operator's key input matches the key input that triggers the screen transition.
すなわち、操作者が” 2 ”とキー入力した段階で、
X画面の画面遷移情報テーブル83の項番2において、
画面遷移が成立しており、遷移先の画面IDはZである
と判定できる。In other words, when the operator keys in "2",
In item number 2 of the screen transition information table 83 of the X screen,
It can be determined that the screen transition has been established and the screen ID of the transition destination is Z.
この画面遷移成立判定の結果、遷移先画面である2画面
の画面表示情報テーブル84を参照し、表示データを出
力する。この時、表示データに含まれる変数は、第6の
実施例と同様にして、変数・・演算式情報テーブルの計
算を実行し、その値を参照することにより出力される。As a result of this screen transition establishment determination, display data is output with reference to the screen display information table 84 of the two screens that are the transition destination screens. At this time, the variables included in the display data are output by executing calculations in the variable/arithmetic expression information table and referring to the values in the same manner as in the sixth embodiment.
なお、変数・演算式情報テーブル85の演算式に含まれ
ている入力変数の値は、操作者21がキー入力したテン
キーの値が割り当てられる。Note that the values of the input variables included in the arithmetic expressions in the variable/arithmetic expression information table 85 are assigned the values entered by the operator 21 using the numeric keypad.
例えば、2画面の変数・演算式情報テーブル85では、
項番2の演算式に入力変数(Tで表わされる)を含む。For example, in the variable/arithmetic expression information table 85 on two screens,
The calculation formula of item number 2 includes an input variable (represented by T).
この入力変数に操作者21がキー入力した” 2 ”が
割り当てらるので、2画面の変数・演算式情報テーブル
85の計算では、価格300、個数=T=2、売価=価
格×個数=300X2=600という結果を得る。Since "2" keyed in by the operator 21 is assigned to this input variable, in the calculation of the variable/arithmetic expression information table 85 on the two screens, price is 300, quantity = T = 2, selling price = price x quantity = 300 x 2 =600 is obtained.
さらに、2画面の変数・演算式情報テーブル85の計算
結果を参照して、2画面の画面表示情報テーブル84の
表示データが全てCR7画面へ出力されると、X画面(
CRT表示画面86)から2画面(CRT表示画面87
)への画面遷移が完了する。Furthermore, with reference to the calculation results of the variable/arithmetic expression information table 85 on the two screens, when all the display data in the screen display information table 84 on the two screens is output to the CR7 screen, the X screen (
CRT display screen 86) to 2 screens (CRT display screen 87)
) screen transition is completed.
[発明の効果]
本発明によれば、会話処理システムの制御方式を同一手
順の繰返しで定式化するとともに、具体的な処理内容を
呼出部品に依存することなく実現できる。[Effects of the Invention] According to the present invention, a control method for a conversation processing system can be formulated by repeating the same procedure, and specific processing contents can be realized without depending on called components.
また、定義データや演算処理と会話画面との対応が明確
になり、データや演算がどの画面に影響しているかが一
目瞭然となるので、会話処理システムの設計、仕様変更
が容易になる。Furthermore, the correspondence between definition data and calculation processing and conversation screens becomes clear, and it becomes obvious at a glance which screen the data and calculations affect, making it easier to design and change the specifications of the conversation processing system.
第1図は本発明の第1の実施例における会話処理手順を
示すフローチャート、第2図は本発明の会話処理制御方
法を適用する会話処理システムの構成図1.第3図は本
発明の第1の実施例における画面遷移の過程を示す説明
図、第4図は本発明の第2の実施例における会話処理手
順を示すフローチャート、第5図は本発明の第2の実施
例における画面遷移の過程を示す説明図、第6図は本発
明の第3の実施例における画面出力側図、第7図は本発
明の第4の実施例における会話処理手順を示すフローチ
ャー1・、第8図は本発明の第4の実施例における画面
遷移の過程を示す説明図、第9図は本発明の第5の実施
例における会話処理手順を示すフローチャート、第10
図は本発明の第5の実施例における画面遷移成立後の過
程を示す説明図、第11図は本発明の第6の実施例にお
ける会話処理手順を示すフローチャート、第12図は本
発明の第6の実施例における画面遷移の過程を示す説明
図、第13図は本発明の第7の実施例における画面出力
側図、第14図は本発明の第8の実施例における画面遷
移の過程を示す説明図、第15図は本発明の第9の実施
例における会話処理手順を示すフローチャート、第16
図は本発明の第9の実施例における画面遷移の過程を示
す説明図、第17図および第18図は本発明の第10の
実施例における画面出力側図、第19図は本発明の第1
1の実施例における画面遷移成立判定の過程を示す説明
図、820図は本発明の第12の実施例における画面出
力側図、第21図は本発明の第13の実施例における会
話処理手順を示すフローチャート、第22図は本発明の
第13の実施例における画面遷移の過程を示す説明図で
ある。
20・情報記憶部、20a:画面表示情報記憶部、20
b:画面遷移情報記憶部、20c・画面遷移情報ID記
憶部、20d:キー入力/事象対応情報記憶部、20e
:画面遷移情報記憶部、2Of変数・演算式情報記憶部
、20g:画面表示情報記憶部、20h:前処理変数・
演算式情報記m部。
201:後処理変数・演算式情報記憶部、20j変数・
演算式情報記憶部、20に+画面遷移情報記憶部、21
:操作者、22:キーボード、23CRT、24:制御
部、31,36,42,50゜51.79,83:画面
遷移情報テーブル、32゜37.40,44,52,5
6,61,62,68゜69.72,75,80,84
:画面表示情報テーブル、33,34,38,39,
41,45゜46.54,55,58,63,64,7
0,71゜74.77.82,86,87 :CRT表
示画面。
35:有効/無効フラグ、43:画面遷移情報IDテー
ブル、47:キー入力/事象対応情報テーブル、48,
49:バッファ、53,57,59゜60.73,76
.78,81,85:変数・演算式情報テーブル、65
.67:前処理変数・演算式情報テーブル、66:後処
理変数・演算式情報テーブル。
第
図
第
図
第
4
図
第
図FIG. 1 is a flowchart showing a conversation processing procedure in a first embodiment of the present invention, and FIG. 2 is a configuration diagram of a conversation processing system to which the conversation processing control method of the present invention is applied. FIG. 3 is an explanatory diagram showing the screen transition process in the first embodiment of the present invention, FIG. 4 is a flowchart showing the conversation processing procedure in the second embodiment of the present invention, and FIG. FIG. 6 is an explanatory diagram showing the screen transition process in the second embodiment, FIG. 6 is a screen output side view in the third embodiment of the present invention, and FIG. 7 is a conversation processing procedure in the fourth embodiment of the present invention. Flowchart 1., FIG. 8 is an explanatory diagram showing the screen transition process in the fourth embodiment of the present invention, FIG. 9 is a flowchart showing the conversation processing procedure in the fifth embodiment of the present invention, and FIG.
The figure is an explanatory diagram showing the process after the screen transition is established in the fifth embodiment of the present invention, FIG. 11 is a flowchart showing the conversation processing procedure in the sixth embodiment of the present invention, and FIG. FIG. 13 is an explanatory diagram showing the screen transition process in the sixth embodiment, FIG. 13 is a screen output side view in the seventh embodiment of the present invention, and FIG. 14 is an explanatory diagram showing the screen transition process in the eighth embodiment of the present invention. FIG. 15 is a flowchart showing the conversation processing procedure in the ninth embodiment of the present invention, and FIG.
The figure is an explanatory diagram showing the process of screen transition in the ninth embodiment of the present invention, FIGS. 17 and 18 are screen output side views in the tenth embodiment of the present invention, and FIG. 1
FIG. 820 is an explanatory diagram showing the process of screen transition establishment determination in the 1st embodiment, FIG. 820 is a screen output side view in the 12th embodiment of the present invention, and FIG. The flowchart shown in FIG. 22 is an explanatory diagram showing the process of screen transition in the thirteenth embodiment of the present invention. 20・Information storage unit, 20a: Screen display information storage unit, 20
b: Screen transition information storage unit, 20c/Screen transition information ID storage unit, 20d: Key input/event correspondence information storage unit, 20e
: Screen transition information storage unit, 2Of variable/arithmetic expression information storage unit, 20g: Screen display information storage unit, 20h: Preprocessing variable/
Arithmetic formula information section m. 201: Post-processing variable/arithmetic expression information storage unit, 20j variable/
Calculation formula information storage unit, 20 + screen transition information storage unit, 21
: Operator, 22: Keyboard, 23 CRT, 24: Control unit, 31, 36, 42, 50° 51.79, 83: Screen transition information table, 32° 37.40, 44, 52, 5
6,61,62,68゜69.72,75,80,84
:Screen display information table, 33, 34, 38, 39,
41,45°46.54,55,58,63,64,7
0,71°74.77.82,86,87: CRT display screen. 35: Valid/invalid flag, 43: Screen transition information ID table, 47: Key input/event correspondence information table, 48,
49: Buffer, 53, 57, 59° 60.73, 76
.. 78, 81, 85: Variable/arithmetic expression information table, 65
.. 67: Pre-processing variable/arithmetic expression information table, 66: Post-processing variable/arithmetic expression information table. Figure Figure 4 Figure Figure 4
Claims (1)
手段とを有する会話処理システムの会話処理制御方法に
おいて、会話画面単位に定義した画面識別子ごとに、画
面遷移の引金となるキー入力、および遷移先の画面識別
子で構成する画面遷移情報と、表示位置データおよび表
示データで構成する画面表示情報とを予め記憶しておき
、キー入力がある度に、現在会話中の画面識別子に対応
する画面遷移情報を参照して、キー入力が画面遷移の引
金となるキー入力に一致するか否かにより、画面遷移の
成立/不成立を判定して、不成立ならば、成立するまで
キー入力を待ち、成立すると、遷移先の画面識別子に対
応する画面表示情報を参照し、表示位置データで指定す
る場所に表示データを出力して、次の画面遷移の引金と
なるキー入力を待つことを特徴とする会話処理制御方法
。 2、上記画面表示情報を参照する際、表示中の画面をク
リアするか、表示中の画面に上書きするかを示す有効/
無効フラグをチェックして、該フラグがOFFの場合、
表示中の画面をクリアし、また、該フラグがONの場合
には、表示中の画面をクリアせず、表示位置データで指
定する場所に表示データを出力して、次の画面遷移の引
金となるキー入力を待つことを特徴とする請求項1記載
の会話処理制御方法。 3、上記画面表示情報を表示位置データと表示データと
表示属性とで構成して、画面遷移の成立後、遷移先画面
の表示データを出力する際、表示属性に従って表示デー
タを出力することを特徴とする請求項1記載の会話処理
制御方法。 4、上記画面表示情報に対して、画面表示情報識別子を
設定し、画面識別子ごとに、複数の画面表示情報識別子
を対応させて予め記憶しておき、画面遷移が成立した場
合、遷移先の画面識別子に対応する複数の画面表示情報
識別子で特定される画面表示情報を参照し、表示データ
を出力することを特徴とする請求項1記載の会話処理制
御方法。 5、上記画面遷移情報を、画面遷移の引金となる任意の
事象列と遷移先の画面識別子とで構成し、予め任意の事
象列を構成する個々の事象とキー入力とを対応させて記
憶しておき、キー入力がある度に、現在会話中の画面識
別子に対応する画面遷移情報を参照して、キー入力に対
応した事象により、画面遷移の引金となる任意の事象列
が発生したか否かを判断して、画面遷移の成立/不成立
を判定することを特徴とする請求項1記載の会話処理制
御方法。 6、上記画面識別子ごとに、予め変数および数値の組み
合わせによる演算式、および演算式の計算結果を代入す
る変数で構成する変数・演算式情報を記憶して、画面遷
移成立後、遷移先画面の表示データを出力する際、遷移
先の画面識別子に対応する演算式を予め計算し、計算結
果を対応する変数に代入しておき、表示データに変数が
含まれる場合には、代入された変数の値を参照して出力
することを特徴とする請求項1記載の会話処理制御方法
。 7、上記変数・演算式情報には、変数が数値か文字かを
区別する属性情報を設け、変数に対応する演算式として
、変数の属性が数値の場合、属性が数値の変数および数
値の組み合わせによる計算式を予め記憶し、変数の属性
が文字の場合には、文字列を予め記憶して、画面遷移の
成立後、遷移先画面の表示データを出力する際には、該
属性情報に応じ、計算式の実行結果か文字列の何れか一
方を、対応する変数に予め代入しておき、表示データに
変数が含まれる場合には、代入された計算式の実行結果
か文字列の何れか一方を参照することを特徴とする請求
項6記載の会話処理制御方法。 8、上記変数・演算式には、変数が画面内のみで有効か
画面間に渡って有効かを区別する属性情報を設け、画面
内で有効な場合には、画面遷移ごとに変数の値をクリア
し、画面間で有効な場合には、画面遷移後も変数の値を
保持して、画面遷移成立後、遷移先の画面識別子に対応
する演算式を予め計算する際、画面間で有効な変数を初
めて参照する場合には、前画面まで保持されていた値を
参照することを特徴とする請求項6記載の会話処理制御
方法。 9、上記変数・演算式情報を、遷移先の表示データを出
力する前に計算を実行する前処理変数・演算式と、遷移
先の表示データを出力した後に計算を実行する後処理変
数・演算式とに分けて記憶しておき、画面遷移成立後、
前処理変数・演算式の計算、遷移先画面の表示データの
出力、後処理変数・演算式の計算を順次実行することを
特徴とする請求項6記載の会話処理制御方法。 10、上記画面表示情報を、表示位置データ、表示デー
タ、および変数と数値の組み合わせによる表示条件式で
構成して、画面遷移成立後、遷移先画面の表示データを
出力する際、演算式の計算結果が代入された変数が、該
表示条件式を満足している場合にのみ、表示データを出
力することを特徴とする請求項6記載の会話処理制御方
法。 11、上記画面遷移情報を、キー入力、画面識別子、お
よび変数と数値の組み合わせによる遷移条件式で構成し
、キー入力がある度に、現在会話中の画面識別子に対応
する画面遷移情報を参照し、キー入力が画面遷移の引金
となるキー入力に一致し、かつ演算式の計算結果が代入
された変数が、該遷移条件式を満足している場合にのみ
、画面遷移が成立したと判定することを特徴とする請求
項6記載の会話処理制御方法。 12、上記変数・演算式情報を、変数と数値の組み合わ
せによる演算式、演算式の計算結果を代入する変数、お
よび変数と数値の組み合わせによる演算条件式で構成し
て、画面遷移成立後、遷移先の画面識別子に対応する演
算式を予め計算する際、演算式の計算結果が代入された
変数が、該演算条件式を満足している場合にのみ、演算
式の計算を実行することを特徴とする請求項6記載の会
話処理制御方法。 13、上記画面遷移の引金となるキー入力のうち、任意
のテンキー入力を任意の記号で表現して、画面遷移成立
後、該記号を入力テンキーの値が代入された変数として
処理することを特徴とする請求項6記載の会話処理制御
方法。 14、データ入力手段と、データ記憶手段と、データ出
力手段とを有する会話処理システムにおいて、会話画面
単位に定義した画面識別子ごとに、キー入力と画面遷移
の成立/不成立とを関係づける画面遷移情報、データを
表示する際の画面表示情報、および、表示データに変数
が含まれる場合に用いる演算式と演算結果を代入する変
数とに関する変数・演算式情報を記憶する手段を備え、
上記データ入力手段からのキー入力と画面遷移情報から
画面遷移の成立/不成立を判定し、遷移先の画面識別子
に対応する画面表示情報に変数が含まれる場合には、予
め変数演算式情報によって計算し、当該変数に代入して
おいた値を参照して、表示データを出力することを特徴
とする会話処理制御装置。[Claims] 1. In a conversation processing control method for a conversation processing system having data input means, data storage means, and data output means, a screen transition trigger is set for each screen identifier defined for each conversation screen. The screen transition information consisting of the key input and the screen identifier of the transition destination, and the screen display information consisting of the display position data and display data are stored in advance, and each time there is a key input, the current conversation Referring to the screen transition information corresponding to the screen identifier, determine whether the screen transition is established or not based on whether the key input matches the key input that triggers the screen transition, and if it is not established, the screen transition is established. Waits for a key input until then, and when it is established, refers to the screen display information corresponding to the screen identifier of the transition destination, outputs the display data to the location specified by the display position data, and then executes the key input that triggers the next screen transition. A conversation processing control method characterized by waiting for. 2. When referring to the above screen display information, enable/indicate whether to clear the currently displayed screen or overwrite the currently displayed screen.
Check the invalid flag and if the flag is OFF,
Clears the currently displayed screen, and if the flag is ON, does not clear the currently displayed screen, outputs the display data to the location specified by the display position data, and triggers the next screen transition. 2. The conversation processing control method according to claim 1, further comprising waiting for a key input corresponding to . 3. The screen display information is composed of display position data, display data, and display attributes, and after a screen transition is established, when outputting the display data of the transition destination screen, the display data is output according to the display attributes. 2. The conversation processing control method according to claim 1. 4. Set a screen display information identifier for the above screen display information, store in advance a plurality of screen display information identifiers in correspondence with each screen identifier, and when a screen transition is established, the screen of the transition destination 2. The conversation processing control method according to claim 1, further comprising outputting display data by referring to screen display information specified by a plurality of screen display information identifiers corresponding to the identifiers. 5. The above screen transition information is composed of an arbitrary event sequence that triggers a screen transition and a transition destination screen identifier, and is stored in advance by associating each event that constitutes the arbitrary event sequence with a key input. Then, each time there is a key input, it refers to the screen transition information corresponding to the screen identifier currently in conversation, and determines whether an arbitrary event sequence that triggers the screen transition has occurred due to the event corresponding to the key input. 2. The conversation processing control method according to claim 1, further comprising the step of determining whether the screen transition is established or not by determining whether or not the screen transition occurs. 6. For each of the above screen identifiers, store in advance variable/arithmetic expression information consisting of an arithmetic expression that is a combination of variables and numerical values, and a variable to which the calculation result of the arithmetic expression is substituted. When outputting display data, calculate the arithmetic expression corresponding to the transition destination screen identifier in advance, and assign the calculation result to the corresponding variable. If the display data includes variables, the assigned variable's 2. The conversation processing control method according to claim 1, further comprising the step of outputting with reference to the value. 7. The above variable/arithmetic expression information includes attribute information that distinguishes whether a variable is a numeric value or a character, and if the attribute of the variable is numeric, the arithmetic expression corresponding to the variable will include variables with numeric attributes and combinations of numeric values. If the attribute of the variable is character, the character string is stored in advance, and after the screen transition is established, when outputting the display data of the transition destination screen, the calculation formula is stored in advance. , either the execution result of the calculation formula or the character string is assigned to the corresponding variable in advance, and if the display data includes the variable, either the execution result of the calculation formula or the character string is assigned. 7. The conversation processing control method according to claim 6, wherein one of the two is referred to. 8. The above variables/arithmetic expressions have attribute information that distinguishes whether the variable is valid only within a screen or across screens, and if it is valid within a screen, the value of the variable is changed at each screen transition. If cleared and valid between screens, the value of the variable is retained even after the screen transition, and after the screen transition is completed, when calculating the arithmetic expression corresponding to the transition destination screen identifier in advance, the value of the variable is maintained between screens. 7. The conversation processing control method according to claim 6, wherein when a variable is referenced for the first time, a value held until the previous screen is referenced. 9. Pre-processing variables and calculation formulas that perform calculations on the above variable and calculation expression information before outputting the display data at the transition destination, and post-processing variables and calculations that perform calculations after outputting the display data at the transition destination. Memorize the formula separately, and after the screen transition is established,
7. The conversation processing control method according to claim 6, wherein calculation of pre-processing variables and arithmetic expressions, output of display data of a transition destination screen, and calculation of post-processing variables and arithmetic expressions are executed in sequence. 10. The above screen display information is composed of display position data, display data, and a display conditional expression that is a combination of variables and numerical values, and after the screen transition is established, when outputting the display data of the transition destination screen, calculation of the arithmetic expression is performed. 7. The conversation processing control method according to claim 6, wherein the display data is output only when the variable to which the result is assigned satisfies the display conditional expression. 11. The above screen transition information is composed of key inputs, screen identifiers, and transition conditional expressions that are combinations of variables and numerical values, and each time there is a key input, the screen transition information corresponding to the screen identifier currently being spoken is referred to. , It is determined that the screen transition has occurred only if the key input matches the key input that triggers the screen transition, and the variable to which the calculation result of the arithmetic expression is assigned satisfies the transition condition expression. 7. The conversation processing control method according to claim 6, characterized in that: 12. Configure the above variable/arithmetic expression information with an arithmetic expression that is a combination of variables and numerical values, a variable to which the calculation result of the arithmetic expression is substituted, and an arithmetic conditional expression that is a combination of variables and numerical values, and after the screen transition is established, the transition When pre-calculating the arithmetic expression corresponding to the previous screen identifier, the calculation of the arithmetic expression is executed only if the variable to which the calculation result of the arithmetic expression is assigned satisfies the arithmetic condition expression. 7. The conversation processing control method according to claim 6. 13. Among the key inputs that trigger the above-mentioned screen transition, any numeric key input can be expressed with an arbitrary symbol, and after the screen transition is established, the symbol can be processed as a variable to which the value of the input numeric keypad has been assigned. 7. The conversation processing control method according to claim 6. 14. In a conversation processing system having data input means, data storage means, and data output means, screen transition information that associates key input with success/failure of screen transition for each screen identifier defined for each conversation screen. , comprising means for storing screen display information when displaying data, and variable/arithmetic expression information regarding arithmetic expressions used when variables are included in display data and variables to which calculation results are substituted;
It is determined whether the screen transition is successful or not based on the key input from the data input means and the screen transition information, and if the screen display information corresponding to the transition destination screen identifier includes a variable, it is calculated in advance using the variable calculation formula information. A conversation processing control device that outputs display data by referring to a value assigned to the variable.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1333574A JPH03192415A (en) | 1989-12-22 | 1989-12-22 | Conversation processing control method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1333574A JPH03192415A (en) | 1989-12-22 | 1989-12-22 | Conversation processing control method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH03192415A true JPH03192415A (en) | 1991-08-22 |
Family
ID=18267567
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP1333574A Pending JPH03192415A (en) | 1989-12-22 | 1989-12-22 | Conversation processing control method and device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH03192415A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07200358A (en) * | 1993-12-22 | 1995-08-04 | Internatl Business Mach Corp <Ibm> | Automatic test method of software application |
JP2014132489A (en) * | 2014-03-10 | 2014-07-17 | Bank Of Tokyo-Mitsubishi Ufj Ltd | Online system, program creation device and screen control program creation device |
-
1989
- 1989-12-22 JP JP1333574A patent/JPH03192415A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07200358A (en) * | 1993-12-22 | 1995-08-04 | Internatl Business Mach Corp <Ibm> | Automatic test method of software application |
JP2014132489A (en) * | 2014-03-10 | 2014-07-17 | Bank Of Tokyo-Mitsubishi Ufj Ltd | Online system, program creation device and screen control program creation device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH0658703B2 (en) | Electronic cash register | |
JPH03192415A (en) | Conversation processing control method and device | |
JPS63303495A (en) | Transaction processor | |
US4852676A (en) | Electronic weighing machine | |
JPH0816684A (en) | Data input control method on the screen | |
CA2064257C (en) | Electronic register | |
JPH0675730A (en) | Conversation processing control device and method thereof | |
JP2000123221A (en) | Automatic transaction system | |
JPH04120690A (en) | Transaction processor | |
JP7149705B2 (en) | Information processing device, information processing method, and program | |
JP2998393B2 (en) | Data input device | |
JP2001297185A (en) | Supply chain management evaluation equipment | |
JPH0562069A (en) | Merchandise sales data processor | |
JP2586356B2 (en) | Sales data processing device | |
JP3132571B2 (en) | Data processing device | |
JPS62164195A (en) | POS terminal | |
CN114138978A (en) | Virtual resource processing method, device, equipment and storage medium | |
KR100446951B1 (en) | Method for controlling electronic cash register capable of simultaneously registering for a plurality of users, especially reducing time loss required for wait | |
JPH07110747A (en) | Data display method | |
JPH0322122A (en) | Screen control method | |
JPH01201712A (en) | display device | |
JPH0477911A (en) | Input control system for input device | |
JPH052684A (en) | Sales register | |
JPH0580907A (en) | Data input device | |
JPH10241048A (en) | Commodity sales data processor |