[go: up one dir, main page]

JP3187317B2 - Interactive program generation device - Google Patents

Interactive program generation device

Info

Publication number
JP3187317B2
JP3187317B2 JP05821896A JP5821896A JP3187317B2 JP 3187317 B2 JP3187317 B2 JP 3187317B2 JP 05821896 A JP05821896 A JP 05821896A JP 5821896 A JP5821896 A JP 5821896A JP 3187317 B2 JP3187317 B2 JP 3187317B2
Authority
JP
Japan
Prior art keywords
input
functional component
unit
menu
label
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP05821896A
Other languages
Japanese (ja)
Other versions
JPH09231062A (en
Inventor
石川  晃
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP05821896A priority Critical patent/JP3187317B2/en
Publication of JPH09231062A publication Critical patent/JPH09231062A/en
Application granted granted Critical
Publication of JP3187317B2 publication Critical patent/JP3187317B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)
  • User Interface Of Digital Computer (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、音声応答装置など
の対話処理を行なう計算機プログラムソースコードを自
動生成する対話処理プログラム生成装置に関し、特にメ
ニュー階層と必要入力項目の流れの定義のみから、対話
処理を行なうプログラムソースコードを自動生成し、音
声応答装置の対話処理を実現する対話処理プログラム生
成装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an interactive processing program generating apparatus for automatically generating a computer program source code for performing interactive processing such as a voice response apparatus. The present invention relates to an interactive processing program generation device that automatically generates a program source code for performing processing and realizes interactive processing of a voice response device.

【0002】[0002]

【従来の技術】一般に音声応答装置は、サービス利用者
との対話処理の変更が頻繁に行なわれるため、機種毎に
異なる簡易言語等を用意して、少ない工数で対話処理の
変更を可能としている。
2. Description of the Related Art Generally, in a voice response device, a dialogue process with a service user is frequently changed. Therefore, a simple language or the like which is different for each model is prepared so that the dialogue process can be changed with a small number of man-hours. .

【0003】前記従来の簡易言語の多くは音声応答装置
の機能を利用するための汎用APIを用意して、C言語
に似た文法により手続きを記述していく形式で、対話フ
ローにおける状態遷移については、図21のように遷移
先にラベルを設定して「goto」文により指定遷移先にジ
ャンプするというように記述する。
[0003] Many of the above-mentioned conventional simple languages prepare a general-purpose API for using the function of a voice response device, and describe procedures in a syntax similar to the C language. Is described such that a label is set at the transition destination as shown in FIG. 21 and a "goto" statement is used to jump to the designated transition destination.

【0004】また、前記簡易言語でプログラマーが作成
した状態遷移プログラムは、図22に示すC言語を特定
計算機に解釈可能なオブジェクトコード(機械語)に変
換するのと同様に、プリプロセッサー部2201によりマク
ロ定義やインクルード文の展開などが行なわれ、構文解
析部2202により文法を解釈して、音声応答装置のインタ
ープリターが解釈可能なコードにオブジェクトコード生
成部2203が変換するという方式が一般的である。
[0004] A state transition program created by a programmer in the simplified language is converted by a preprocessor 2201 in the same manner as the C language shown in FIG. 22 is converted into an object code (machine language) that can be interpreted by a specific computer. In general, a macro definition or expansion of an include statement is performed, and the syntax is interpreted by the syntax analysis unit 2202, and the object code generation unit 2203 converts the grammar into a code that can be interpreted by the interpreter of the voice response device. .

【0005】[0005]

【発明が解決しようとする課題】図2は、音声応答装置
を用いて公共施設の予約などを行なう対話フローのメニ
ュー階層と入力項目を示したものである。
FIG. 2 shows a menu hierarchy and input items of an interactive flow for making a reservation of a public facility or the like using a voice response device.

【0006】従来例に示した簡易言語で図2に示す対話
フローのプログラミングを行なう場合、同じ入力内容を
促し、PBコードを取得する処理(例えば施設番号の入
力)は部品化(サブルーチン化)して再利用を行なうこ
とにより、プログラミングの効率化を図ることが一般的
である。
When programming the interactive flow shown in FIG. 2 in the simplified language shown in the conventional example, the process of prompting the same input contents and acquiring the PB code (for example, inputting the facility number) is made into a part (subroutine). It is common practice to improve the efficiency of programming by performing reuse.

【0007】しかしながら、この場合も、入力ミスに応
じて直前に実行された部品に遷移するなどの、部品間の
遷移を行なうためのラベルを図23のように機能部品の
サブルーチンを呼び出す処理の他に別途記述する必要が
あり、1)ラベルが全体でユニークになるように、プロ
グラマーが注意して作成する必要がある、2)プログラ
ムソースが繁雑になる、3)部品内に具体的な遷移先ラ
ベル(例えば一つ前のラベル名)を記述すると、プログ
ラムコード中の位置特化がおこり部品としての再利用性
が失われる、などの問題点がある。
However, also in this case, a label for performing a transition between components, such as a transition to a component executed immediately before in response to an input error, is used in addition to a process for calling a subroutine of a functional component as shown in FIG. 1) It is necessary for the programmer to carefully create the label so that the label is unique as a whole. 2) The program source becomes complicated. 3) The specific transition destination in the part. If a label (for example, the label name immediately before) is described, there is a problem that the position in the program code is specialized and the reusability as a part is lost.

【0008】したがって、請求項1記載の発明は、前記
従来の問題点を解決することを目的にするものであっ
て、音声応答装置の対話処理を行う図2のような入力項
目とメニュー階層を示す対話の主要なフローは、部品化
された機能名を羅列することと、メニュ−階層表現をす
るための記号により表現するようにし、また、状態遷移
のためのラベルは機能部品名から自動生成するようにし
て、音声応答装置の動作を記述するプログラムコードを
簡略化し、プログラムの生産性、保守性を向上させるこ
とを目的とする。
Accordingly, an invention according to claim 1, wherein, be one that aims to solve the conventional problems, an input items and menu hierarchy as shown in FIG. 2 for interaction with voice response unit The main flow of the dialogue shown is to list the componentized function names and to express them with symbols for menu hierarchical expression, and labels for state transition are automatically generated from the functional component names. Thus, an object of the present invention is to simplify the program code describing the operation of the voice response device, and improve the productivity and maintainability of the program.

【0009】[0009]

【0010】[0010]

【0011】[0011]

【0012】[0012]

【0013】[0013]

【0014】[0014]

【課題を解決するための手段】 前述の目的を達成する
ために、請求項に記載の対話処理プログラム生成装置
は、音声応答装置の対話処理における、入力促進ガイダ
ンス送出・ユーザプッシュボタン(PB)入力受け付け
・入力されたPBに応じた処理、の組を対話処理を構成
する機能部品として記憶する機能部品定義記憶部と、前
記機能部品を実行順に記述された手続きとガイダンスの
メニュー階層構造を記憶する手続き・階層構造定義記憶
部と、前記手続きと階層構造を解釈する手続き・階層構
造解釈部と、前記機能部品の群をプログラムコードに展
開する機能部品展開部と、前記手続き・階層構造解釈部
が解釈中の前記メニュー階層情報を記憶する階層構造記
憶部と、前記メニュー階層情報と実行する機能名から、
遷移先を指定すると共にプログラム中の位置を示すラベ
ルを自動生成するラベル作成部を備えることによって、
音声応答装置が解釈可能な対話処理プログラムコードを
生成すると共に状態遷移のためのラベルを自動生成する
構成を有している。
To achieve Disclosed resolve means for the foregoing purpose, interactive program generating apparatus according to claim 1, in interaction with the voice response unit, input prompting guidance sent user pushbutton (PB) A functional component definition storage unit for storing a set of processes corresponding to input and received PBs as functional components constituting interactive processing, and a menu hierarchical structure of procedures and guidance in which the functional components are described in the order of execution. A procedure / hierarchical structure definition storage unit, a procedure / hierarchical structure interpreting unit for interpreting the procedures and the hierarchical structure, a functional component expanding unit for expanding the group of functional components into a program code, and the procedure / hierarchical structure interpreting unit A hierarchical structure storage unit that stores the menu hierarchy information being interpreted, and from the menu hierarchy information and the function name to be executed,
By providing a label creation unit for automatically generating a label indicating the position in the program as well as specify the transition destination,
It has a configuration that generates an interactive processing program code that can be interpreted by the voice response device and automatically generates a label for state transition.

【0015】[0015]

【0016】[0016]

【0017】[0017]

【0018】[0018]

【0019】[0019]

【0020】[0020]

【発明の実施の形態】 請求項1記載の発明では、音声
応答装置の対話フローを作成するプログラマーが、情報
サービスメニューを本発明の対話処理プログラム生成装
置が解釈可能な文法で記述する。本発明の対話処理プロ
グラム生成装置は、記述された対話フローを手続き・階
層構造解釈部が処理手順毎に一文づつ構文を解析し、現
在解析中のメニュー階層を階層構造記憶部に記憶する。
According to the first aspect of the present invention, a programmer who creates a dialogue flow of a voice response device describes an information service menu in a grammar that can be interpreted by a dialogue processing program generation device of the present invention. In the dialog processing program generation device according to the present invention, the procedure / hierarchical structure interpreter analyzes the syntax of the described dialog flow one sentence at a time for each processing procedure, and stores the currently analyzed menu hierarchy in the hierarchical structure storage.

【0021】次に解釈した機能名から状態遷移のための
ラベルをラベル作成部が階層情報をアペンドすることに
より作成し、動作定義ファイルに挿入する。機能部品展
開部は、機能名をもとに機能部品定義記憶部を検索し、
機能を音声応答装置が解釈可能な対話処理プログラムに
展開し、動作定義ファイルに出力する。
Next, a label for state transition is created from the interpreted function name by appending the hierarchical information to the label creating unit, and inserted into the operation definition file. The functional component development unit searches the functional component definition storage unit based on the function name,
The function is developed into an interactive processing program that can be interpreted by the voice response device and output to an operation definition file.

【0022】この時、機能部品内で他の機能の実行位置
に遷移する指示の記述があれば、遷移先の機能部品
と、階層構造記憶部の情報を元に、遷移先ラベルを生成
し、動作定義ファイルに挿入する。以上の動作を全対話
フロー記述文に対して繰り返し行なうことにより、音声
応答装置が解釈可能な対話処理プログラムが生成され
る。
At this time, if there is a description of an instruction to transition to the execution position of another function in the functional component , a transition destination label is generated based on the name of the functional component at the transition destination and the information in the hierarchical structure storage unit. , Inserted into the action definition file. By repeating the above operation for all the dialog flow description sentences, a dialog processing program that can be interpreted by the voice response device is generated.

【0023】[0023]

【0024】[0024]

【0025】[0025]

【0026】[0026]

【0027】[0027]

【0028】(第1の実施の形態) 以下、第1の実施の形態について図面を参照しながら
説明する。
First Embodiment Hereinafter , a first embodiment will be described with reference to the drawings.

【0029】図1は、本実施の形態の対話処理プログラ
ム生成装置の機能ブロック図である。図2は本実施の形
態で対象とする施設予約情報サービスメニューのフロー
図、図3は図2の対話フローを本実施の形態で用いる対
話フロー記述文法に従って記述したプログラムリスト、
図4は本実施の形態の対話処理プログラム生成装置の動
作を説明するフローチャート、図5は音声応答装置が解
釈可能な動作定義ファイルの生成結果である。
FIG. 1 is a functional block diagram of the interactive processing program generating device according to the present embodiment. FIG. 2 is a flowchart of a facility reservation information service menu targeted in the present embodiment. FIG. 3 is a program list describing the dialog flow of FIG. 2 according to a dialog flow description grammar used in the present embodiment.
FIG. 4 is a flowchart for explaining the operation of the interactive processing program generation device according to the present embodiment, and FIG. 5 is a generation result of an operation definition file that can be interpreted by the voice response device.

【0030】動作を説明する前に、本実施の形態で例と
して使用する対話フロー言語の記述文法について、図
2、図3をもとに説明する。図2のメニュー階層を構成
する「メニュー番号入力」機能部品を、図3では301「I
NPUT_MENU」で表す。各機能部品は、入力促進ガイダン
ス送出・ユーザプッシュボタン(PB)入力受け付け・
入力されたPBに応じた処理、の組で構成される。図3
の301「メニュー番号入力」機能部品の場合は、「メニ
ュー番号を入力して下さい」とガイダンスを送出し、利
用者が入力するPBコードのメニュー番号を取得し、取
得したPB番号(メニュー番号)に従って、各メニュー
(図2の予約サービス、案内サービス)へ分岐(遷移)
する処理を行なう、という処理からなる。メニュー番号
によって各サービスへ分岐する分岐ラベルを図3の302
のように記述する。ここで「*」の数は階層の深さ(レ
ベル)を表す。
Before describing the operation, a description grammar of a dialog flow language used as an example in the present embodiment will be described with reference to FIGS. The "menu number input" functional component constituting the menu hierarchy of FIG.
NPUT_MENU ". Each functional component sends input promotion guidance, accepts user push button (PB) input,
It is composed of a set of processes according to the input PB. FIG.
In the case of the 301 "Enter menu number" functional object, send the guidance "Please enter the menu number", obtain the menu number of the PB code input by the user, and obtain the obtained PB number (menu number) Branch (transition) to each menu (reservation service, guidance service in FIG. 2)
Is performed. The branch label for branching to each service according to the menu number is indicated by 302 in FIG.
Describe as follows. Here, the number of “*” indicates the depth (level) of the hierarchy.

【0031】機能部品「TOUROKU」の中で、取得したP
Bコードによりプログラムコード中の他の箇所へ遷移す
る機能を持つ場合、具体的な遷移先は機能部品定義とし
ては持たず、図3の303のように、手続き記述において
「>」記号と、遷移先の機能部品名「INPUT_SHISETSU」
を直後に記述することで表現する。なお、遷移可能な機
能部品は、同じメニュー階層内に限るものとする。ま
た、メニュー構造は図2に示すような木構造のもののみ
で定義できるものとする。
In the functional component “TOUROKU”, the acquired P
If the B code has a function of transiting to another part in the program code, the specific transition destination is not provided as a functional component definition, and as shown in 303 of FIG. Functional component name "INPUT_SHISETSU"
Is described immediately after. Note that the transitionable functional components are limited to the same menu hierarchy. Further, it is assumed that the menu structure can be defined only by a tree structure as shown in FIG.

【0032】なお、以上に説明した文法は本実施の形態
を説明するための一例であり、本発明が前記文法による
プログラム言語に特定されるものではない。ただし、
1)遷移可能な機能部品は、同じメニュー階層内に限る
ものとする、2)メニュー構造は図2に示すような木構
造のもののみで定義できるものとする、については本発
明を利用する上での前提となる。
The grammar described above is an example for describing the present embodiment, and the present invention is not limited to a program language based on the grammar. However,
The present invention will be described with respect to 1) that transitionable functional components are limited to the same menu hierarchy, and 2) that menu structure can be defined only by a tree structure as shown in FIG. It is assumed that

【0033】次に、図1及び図4を用いて動作を説明す
る。音声応答装置の対話フローを作成するプログラマー
が、図2の情報サービスメニューに基づき、本実施の形
態の対話処理プログラム生成装置が解釈可能な文法で図
3に示す対話フローを作成する。
Next, the operation will be described with reference to FIGS. A programmer who creates a dialog flow of the voice response device creates the dialog flow shown in FIG. 3 based on the information service menu of FIG. 2 using a grammar that can be interpreted by the dialog processing program generation device of the present embodiment.

【0034】本実施の形態の対話処理プログラム生成装
置は、記述された対話フローを手続き・階層構造解釈部
102が処理手順毎に一文づつ構文を解析する。図3の先
頭から解釈していくと、301の「INPUT_MENU」は実行機
能部品の指定と解釈され、次に階層構造記憶部101から
現在の階層構造を取得する。現在の階層レベルはトップ
(サービスの先頭)なので階層レベルはないことから、
状態遷移用のラベルは「INPUT_MENU」となる。
The dialogue processing program generating apparatus according to the present embodiment converts the described dialogue flow into a procedure / hierarchical structure interpreter.
102 analyzes the syntax one sentence at a time for each processing procedure. When interpreting from the top of FIG. 3, “INPUT_MENU” 301 is interpreted as designation of an execution functional component, and then the current hierarchical structure is acquired from the hierarchical structure storage unit 101. Since there is no hierarchy level because the current hierarchy level is the top (head of the service),
The label for state transition is “INPUT_MENU”.

【0035】作成した状態遷移用ラベルは動作定義ファ
イル105に挿入される。次に機能部品展開部104が機能部
品定義記憶部108を検索して展開結果を動作定義ファイ
ル105に展開する。
The created state transition label is inserted into the operation definition file 105. Next, the functional component expanding unit 104 searches the functional component definition storage unit 108 and expands the expanded result into the operation definition file 105.

【0036】図4のフローチャートの先頭に戻り、記述
された対話フローの次の文である図3の302「*L1」の解
釈を手続き・階層構造解釈部102が行なう。「*L1」は階
層構造定義なので、階層構造定義文に対する処理を行な
う。
Returning to the top of the flowchart of FIG. 4, the procedure / hierarchical structure interpreting unit 102 interprets 302 * L1 in FIG. 3, which is the next sentence of the described dialog flow. Since “* L1” is a hierarchical structure definition, processing is performed on the hierarchical structure definition statement.

【0037】まず、階層構造記憶部101から現在の階層
ラベルを取得する。現在の階層ラベルはないので、ラベ
ル作成部103が生成する新たな階層ラベルは「L1」とな
る。階層ラベル「L1」は階層構造記憶部101に保存され
る。また、階層ラベル「L1」は動作定義ファイル105に
挿入される。
First, the current hierarchical label is obtained from the hierarchical structure storage unit 101. Since there is no current hierarchical label, the new hierarchical label generated by the label creating unit 103 is “L1”. The hierarchical label “L1” is stored in the hierarchical structure storage unit 101. Also, the hierarchical label “L1” is inserted into the operation definition file 105.

【0038】再度図4のフローチャートの先頭に戻り、
記述された対話フローの次の文(INPUT_SHISETSU)を取
得する。これは実行機能部品指定であるので、階層構造
記憶部101から現在の階層ラベル「L1」を取得する。ラ
ベル作成部103はこの階層ラベルを機能部品名にアペン
ドして「INPUT_SHISETSU_L1」というラベルを生成し、
動作定義ファイル105に挿入する。次に機能部品展開部1
04が機能部品定義記憶部108を検索して展開結果を動作
定義ファイル105に展開する。
Returning again to the top of the flowchart of FIG.
Get the next statement (INPUT_SHISETSU) of the described dialog flow. Since this is an execution functional component designation, the current hierarchical label “L1” is acquired from the hierarchical structure storage unit 101. The label creating unit 103 appends the hierarchical label to the functional component name to generate a label “INPUT_SHISETSU_L1”,
Insert it into the action definition file 105. Next, functional component deployment unit 1
04 searches the functional component definition storage unit 108 and expands the expansion result into the operation definition file 105.

【0039】次の文「INPUT_MON_DAY」に関しては動作
は前記「INPUT_SHISETSU」の処理と同じである。
The operation of the next sentence "INPUT_MON_DAY" is the same as that of "INPUT_SHISETSU".

【0040】次の文「TOUROKU」に関しては、機能部品
展開部104が機能部品定義部108を検索して展開する処理
までは、前記「INPUT_SHISETSU」の場合と同じである。
次に展開する部品定義の中に状態遷移指定(goto 文)
が存在するかの判断で、「TOUROKU」部品は入力された
PBコードの内容によって、他の位置へ遷移する定義が
されている部品なので、手続き・階層構造記憶部107か
ら遷移先の機能部品名図3の303「>INPUT_SHISETSU」を
取得する。
The following sentence "TOUROKU" is the same as the case of "INPUT_SHISETSU" up to the processing in which the functional component expanding unit 104 searches and expands the functional component defining unit 108.
Specify state transition in the component definition to be expanded next (goto statement)
In determination of whether but present, the contents of the "TOUROKU" parts PB code entered, the parts that are the definition of the transition to another position, functional components name of a transition destination from a procedure-hierarchical structure storage unit 107 303 “> INPUT_SHISETSU” in FIG. 3 is acquired.

【0041】ここで、「>」は遷移先指定であることを
示す記号である。この遷移先機能名に現在の階層ラベル
「L1」をアペンドし、遷移先ラベル「INPUT_SHISETSU_L
1」を生成する。次にこの遷移先ラベルを元に遷移指定
文(例えば、goto INPUT_SHISETSU_L1)を生成し、動作
定義ファイル105の該当箇所に挿入する。
Here, ">" is a symbol indicating that the destination is designated. Append the current hierarchical label "L1" to this transition destination function name, and add the transition destination label "INPUT_SHISETSU_L
1 "is generated. Next, a transition designation statement (for example, goto INPUT_SHISETSU_L1) is generated based on the transition destination label, and inserted into a corresponding part of the operation definition file 105.

【0042】次の図3の303「>INPUT_SHISETSU」は、状
態遷移指定文で直前の部品展開時に既に処理されている
ので、手続き・階層構造解釈部102は何の処理も行なわ
ず、さらに次の文「*L2」の処理を行なう。この「*L2」
と、次の文「INPUT_SUBMENU」については前述の処理と
同様なので、省略する。
The next step 303 ">INPUT_SHISETSU" in FIG. 3 is already processed at the time of the immediately preceding component expansion in the state transition designation statement, so the procedure / hierarchical structure interpreting unit 102 does not perform any processing. The processing of the sentence "* L2" is performed. This * L2
And the next sentence "INPUT_SUBMENU" is the same as the above-described processing, and therefore will not be described.

【0043】図3の304「**L1」を手続き・階層構造解
釈部102が処理を行なうと、これは階層構造定義なの
で、まず現在の階層ラベル「L2」を取得し、新たな階層
ラベル「L2_L1」をラベル作成部103が生成する。これを
新たな階層ラベルとして階層構造記憶部101に保存す
る。以降の動作は前述の動作例と同じである。
When the procedure / hierarchical structure interpretation unit 102 processes 304 “** L1” in FIG. 3, since this is a hierarchical structure definition, first, the current hierarchical label “L2” is acquired, and a new hierarchical label “L2” is obtained. The label creating unit 103 generates “L2_L1”. This is stored in the hierarchical structure storage unit 101 as a new hierarchical label. Subsequent operations are the same as in the above-described operation example.

【0044】最終的に図3の対話フロー定義は、図5の
ようなプログラム(動作定義ファイル105)に変換され
る。動作定義ファイル105は、他コンパイラーによって
音声応答装置の動作を定義するオブジェクトコードに変
換されるかまたは、インタープリター形式の音声応答装
置であれば、動作定義ファイル105を随時解釈すること
によって、指定の動作を行なう。
Finally, the dialog flow definition of FIG. 3 is converted into a program (operation definition file 105) as shown in FIG. The operation definition file 105 is converted into an object code that defines the operation of the voice response device by another compiler, or, if the voice response device is an interpreter type, by interpreting the operation definition file 105 as needed, thereby Perform the operation.

【0045】以上説明したように、本実施の形態によれ
ば、音声応答装置の対話処理における、入力促進ガイダ
ンス送出・ユーザプッシュボタン(PB)入力受け付け
・入力されたPBに応じた処理、の組を対話処理を構成
する機能部品として記憶する機能部品定義記憶部と、前
記機能部品を実行順に記述された手続きとガイダンスの
メニュー階層構造を記憶する手続き・階層構造定義記憶
部と、前記手続きと階層構造を解釈する手続き・階層構
造解釈部と、前記機能部品の群をプログラムコードに展
開する機能部品展開部と、前記手続き・階層構造解釈部
が解釈中のメニュー階層情報を記憶する階層構造記憶部
と、前記メニュー階層情報と実行する機能名から、遷移
先指定のためのプログラム中の位置を示すラベルを自動
生成するラベル作成部を備えることによって、状態遷移
のためのラベルを自動生成し、状態遷移のためのラベル
をプログラマーがユニークになるように逐一記述するこ
となく、実行すべき機能部品を実行順に記述し、階層メ
ニューの定義と他へ遷移する場合は遷移先の機能名を指
定するのみの簡略な対話フロー記述で音声応答装置が解
釈可能な対話処理プログラムコードを生成することが可
能になり、また他部品へ遷移する機能を持つ機能部品も
プログラム中において再利用することが可能になる。
As described above, according to the present embodiment, in the interactive processing of the voice response apparatus, a set of input prompting guidance transmission, user push button (PB) input reception, and processing according to the input PB is performed. A functional component definition storage unit that stores the functional components constituting the interactive processing, a procedure / hierarchical structure definition storage unit that stores a menu hierarchical structure of procedures and guidance in which the functional components are described in the execution order, A procedure / hierarchical structure interpreting unit for interpreting the structure, a functional component expanding unit for expanding the group of functional components into a program code, and a hierarchical structure storing unit for storing menu hierarchical information being interpreted by the procedure / hierarchical interpreting unit And a label work for automatically generating a label indicating a position in a program for designating a transition destination from the menu hierarchy information and a function name to be executed. Section, automatically generate labels for state transitions, describe the functional components to be executed in the order of execution without describing the labels for state transitions one by one so that the programmer is unique. When transiting to another, it is possible to generate an interactive processing program code that can be interpreted by the voice response device with a simple interactive flow description that simply specifies the function name of the transition destination, and transitions to other parts It is also possible to reuse a functional component having a function to perform it in a program.

【0046】(第2の実施の形態) 以下、第2の実施の形態について、図面を参照しながら
説明する。
(Second Embodiment) Hereinafter , a second embodiment will be described with reference to the drawings.

【0047】図6は図1の機能部品展開部104に、本実
施の形態を実現する上で必要な機能を追加した機能ブロ
ック図である。図7は本実施の形態の動作を説明するフ
ローチャート、図8は動作定義ファイルの出力例であ
る。
FIG. 6 is a functional block diagram in which functions necessary for realizing the present embodiment are added to the functional component development unit 104 of FIG. FIG. 7 is a flowchart for explaining the operation of the present embodiment, and FIG. 8 is an output example of an operation definition file.

【0048】動作の説明の前に、本実施の形態で実現す
る機能について説明する。図2の予約サービスメニュー
の施設番号の入力において、「B体育館」の施設番号を
入力したつもりが、次の入力内容の確認メッセージで、
「A体育館ですね。」と出力されたとする。ここで、サ
ービス利用者は入力ミスしたことをシステムへ伝え、再
入力を行なうために、ある特定のPB列を月日入力の機
能部品実行時に月日入力と同じ桁数(例えば”9999”な
ど)を入力すれば、前実行機能部品へ遷移する処理を自
動生成する。
Before describing the operation, the functions realized in the present embodiment will be described. In the input of the facility number of the reservation service menu in FIG. 2, the intention of inputting the facility number of "B gymnasium" is confirmed by the following input message confirmation message.
It is assumed that "A gymnasium" is output. Here, the service user informs the system of the input error and re-enters the data. In order to perform the re-input, a certain PB column is executed in the same number of digits as the date input (for example, “9999” or the like) at the time of executing the functional component of the date input. ), A process for transitioning to the pre-executed functional component is automatically generated.

【0049】図1の機能部品展開の部分についてのみを
図6を用いて説明する。機能部品展開以外の処理は、前
記第1の実施の形態と同様である。まず、機能部品展開
部104が各機能部品としての定義内容を機能部品定義部6
01から読み出し、再入力指示可能な定義がされている部
品かを判断する。再入力指示可能な定義がされていなけ
れば、通常の展開と同じ処理を行なう。再入力指示可能
な定義がされていれば、再入力指定文字列生成部604が
再入力指定文字記憶部607からどのPB文字を再入力指
示記号として使用するかの設定を取得する。
Referring to FIG. 6, only the functional component development part of FIG. 1 will be described. The processing other than the functional component development is the same as in the first embodiment. First, the functional component development unit 104 stores the definition contents of each functional component in the functional component definition unit 6.
It is read from 01, and it is determined whether the component has a definition that allows re-input instruction. If there is no definition that allows a re-input instruction, the same processing as normal expansion is performed. If the re-input designation character definition is defined, the re-input designation character string generation unit 604 obtains from the re-input designation character storage unit 607 the setting of which PB character is used as the re-input designation symbol.

【0050】次に、PB入力内容比較文作成部605が、
機能部品定義部601から該当部品のPB入力桁数を取得
し、PB入力桁数文だけ再入力指定文字の文字列を作成
する。例えば、再入力指定文字が”9”、PB入力桁数
が4桁であれば、”9999”を生成する。さらに、この生
成された文字列をもとに、PB入力内容との比較文を生
成する。
Next, the PB input content comparison sentence creating unit 605
The PB input digit number of the corresponding component is acquired from the functional component definition unit 601 and a character string of the re-input designation character is created for the PB input digit number statement. For example, if the re-input designation character is “9” and the number of PB input digits is 4, “9999” is generated. Further, a comparison sentence with the PB input content is generated based on the generated character string.

【0051】次に、前実行機能遷移処理文作成部606が
手続き・階層構造定義記憶部608から、直前に実行され
る機能部品名を、階層構造記憶部603から現在の階層ラ
ベルを取得し、前実行機能への遷移用ラベルを生成し、
前記再入力指定時の遷移文(goto 文)の遷移先ラベル
として遷移処理文を生成する。最後に通常の部品展開処
理を行ない、動作定義ファイルに結果を挿入する。再入
力指定時の生成結果の例を示したのが、図8である。
Next, the pre-executed function transition processing statement creation unit 606 acquires the name of the functional component to be executed immediately before from the procedure / hierarchical structure definition storage unit 608, and the current hierarchical label from the hierarchical structure storage unit 603, Generate a label for transition to the previous execution function,
A transition processing statement is generated as a transition destination label of the transition statement (goto statement) when the re-input is specified. Finally, normal component development processing is performed, and the result is inserted into the operation definition file. FIG. 8 shows an example of a generation result when re-input is specified.

【0052】これらの記載から明らかなように、前実行
機能遷移処理文作成部606が請求項3で規定する前実行
機能部品ラベル記憶処理生成部を構成し、またPB入力
内容比較文作成部605が請求項3で規定する前実行機能
部品遷移自動生成機構を構成するものである。
As is apparent from these descriptions, the pre-execution function transition processing statement creation unit 606 constitutes the pre-execution function component label storage processing generation unit defined in claim 3, and the PB input content comparison statement creation unit 605. Constitutes a pre-execution functional component transition automatic generation mechanism defined in claim 3.

【0053】以上説明したように本実施の形態によれ
ば、第1の実施の形態の構成に加え、前記機能部品展開
部は、現在実行中の機能部品の前に実行された機能部品
の位置を示す状態遷移用ラベルを記憶する処理を生成す
る前実行機能部品ラベル記憶処理生成部と、指定文字の
指定桁数入力時に、前記前実行機能部品へ遷移する処理
を自動生成する前実行機能部品遷移自動生成機構を更に
備えることによって、特定のPBコード列が入力された
ときに、前入力の再入力状態へ遷移するフローを自動生
成することを可能とする。
As described above, according to the present embodiment, in addition to the configuration of the first embodiment, the functional component expanding unit executes the position of the functional component executed before the currently executed functional component. Pre-execution functional component label storage processing generation unit for generating a process for storing a state transition label indicating the status transition, and a pre-execution functional component for automatically generating a process of transitioning to the pre-execution functional component when a specified number of digits of a designated character is input By further including a transition automatic generation mechanism, when a specific PB code string is input, it is possible to automatically generate a flow that transits to a previous input re-input state.

【0054】(第3の実施の形態) 以下、第3の実施の形態について、図面を参照しながら
説明する。
(Third Embodiment) Hereinafter , a third embodiment will be described with reference to the drawings.

【0055】図9は図1の機能部品展開部104に、本実
施の形態を実現する上で必要な機能を追加した機能ブロ
ック図である。図10は本実施の形態の動作を説明する
フローチャートである。
FIG. 9 is a functional block diagram in which functions necessary for realizing the present embodiment are added to the functional component development unit 104 of FIG. FIG. 10 is a flowchart illustrating the operation of the present embodiment.

【0056】動作の説明の前に、本実施の形態で実現す
る機能について説明する。図2の予約サービスメニュー
は、施設番号の入力、月日の入力の後、実際の予約を行
なう確認指示を入力させるが、確認指示の入力を促す前
に、それまでの入力項目の内容を単なる入力数字ではな
く、番号でない内容を表す言葉(施設が「A体育館」、
月日が「10月16日」など)で確認音声を出力することが
一般的である。本実施例では、この確認メッセージの生
成方式を説明する。
Before describing the operation, the functions realized in the present embodiment will be described. In the reservation service menu of FIG. 2, after inputting the facility number and the date of the month, a confirmation instruction for making an actual reservation is input. Words that represent the contents that are not numbers but not input numbers (facility is "A gymnasium"
It is common to output a confirmation voice when the date is “October 16,” etc.). In this embodiment, a method of generating the confirmation message will be described.

【0057】図1の機能部品展開の部分についての動作
のみを図9、図10を用いて説明する。機能部品展開以
外の処理は、前記第1の実施の形態と同様である。ま
ず、機能部品展開部104が各機能部品の定義内容を機能
部品定義部901から読み出し、全入力内容確認指示が定
義されている部品かを判断する。全入力内容確認指示が
定義されていなければ、通常の展開と同じ処理を行な
う。
Only the operation of the part for expanding the functional components in FIG. 1 will be described with reference to FIGS. The processing other than the functional component development is the same as in the first embodiment. First, the functional component development unit 104 reads out the definition contents of each functional component from the functional component definition unit 901, and an instruction for confirming all input contents is determined.
To determine whether the parts that have been defined. All input contents confirmation instructions
If not defined , perform the same processing as normal expansion.

【0058】全入力内容確認指示が定義がされていれ
ば、入力項目検出部903が、手続き・階層構造定義記憶
部905を検索して、該当メニューにおいて、どの機能部
品が呼び出されたかを取得する。次に確認メッセージ作
成部904が、前記取得した全項目内容に基づき、確認メ
ッセージ送出処理のコードを作成する。最後に通常の部
品展開処理を行ない、動作定義ファイルに結果を挿入す
る。
If all the input content confirmation instructions have been defined, the input item detection unit 903 searches the procedure / hierarchical structure definition storage unit 905 to obtain which functional component has been called in the corresponding menu. . Next, the confirmation message creating unit 904 creates a confirmation message sending process code based on the acquired contents of all items. Finally, normal component development processing is performed, and the result is inserted into the operation definition file.

【0059】以上本実施の形態によれば、第1の実施の
形態の構成に加え、前記機能部品展開部は、各メニュー
の最後の確認メッセージ送出前までに同メニュー内で入
力された全ての項目を検出する入力項目検出部と、検出
された入力項目の確認メッセージを生成する確認メッセ
ージ生成部を更に備えることによって、対話処理で入力
された複数の項目について、確認メッセージを送出する
処理を自動生成することが可能になる。
According to the present embodiment, in addition to the configuration of the first embodiment, the functional component expanding unit performs all the input operations in the menu before sending the last confirmation message of each menu. By further including an input item detection unit for detecting an item and a confirmation message generation unit for generating a confirmation message for the detected input item, processing for sending confirmation messages for a plurality of items input in the interactive processing is automatically performed. Can be generated.

【0060】(第4の実施の形態) 以下、第4の実施の形態について、図面を参照しながら
説明する。
(Fourth Embodiment) Hereinafter , a fourth embodiment will be described with reference to the drawings.

【0061】図11は図1の機能部品展開部104に、本
実施の形態を実現する上で必要な機能を追加した機能ブ
ロック図である。図12は本実施の形態の動作を説明す
るフローチャートである。
FIG. 11 is a functional block diagram in which functions necessary for realizing the present embodiment are added to the functional component development unit 104 of FIG. FIG. 12 is a flowchart illustrating the operation of the present embodiment.

【0062】図1の機能部品展開部104の部分について
のみを図11を用いて説明する。機能部品展開以外の処
理は、第1の実施の形態と同様である。
Referring to FIG. 11, only the functional component developing section 104 shown in FIG. 1 will be described. The processing other than the functional component development is the same as in the first embodiment.

【0063】前提として、各機能部品の音声ガイダンス
出力指定は、「OUTPUT:,4,メニュー番号を2桁でどう
ぞ」などのように、ファイル検索のための音素片Index
番号と、その出力内容が文字列で記述されているものと
する。
As a premise, the voice guidance output designation of each functional component is specified by a phoneme index for file search such as “OUTPUT:, 4, menu number in two digits”.
It is assumed that the numbers and the output contents are described in character strings.

【0064】まず、機能部品展開部104が各機能部品と
しての定義内容を機能部品定義部1101から読み出し、発
声内容テキスト取得部1104が、定義内容から発声用文字
列を抽出する。次に音声合成装置1105が、前記抽出した
文字列を音声データに変換する。音素片登録部1106は、
前記変換された音声データを、対話フローを実行する音
声応答装置の音素片ファイル1103に機能部品に定義され
ているIndex番号で音声応答装置が解釈可能な形式で登
録する。
First, the functional component development unit 104 reads the definition contents of each functional component from the functional component definition unit 1101, and the utterance content text acquisition unit 1104 extracts an utterance character string from the definition contents. Next, the speech synthesizer 1105 converts the extracted character string into speech data. The phoneme unit registration unit 1106
The converted voice data is registered in the speech unit file 1103 of the voice response device that executes the interactive flow in a format that can be interpreted by the voice response device using the Index number defined for the functional component.

【0065】以上本実施の形態によれば、第1の実施の
形態の構成に加え、機能部品を新たに作成して登録する
際、機能部品作成者が部品定義の音声出力指示箇所に、
発声内容をテキストで記述し、このテキストを機能部品
記述から抽出する発声テキスト取得部と、前記取得した
テキストを音声データ(音素片)に変換する音声合成装
置と、前記音声合成装置が合成した音声データ(音素
片)を音声応答装置がガイダンス音声出力時に使用する
音素片ファイルとして登録する音素片登録部を更に備え
ることによって、マイクロフォンなどによる音声の録音
なしに、音声応答装置が対話処理を実行することが可能
になる。
As described above, according to the present embodiment, in addition to the configuration of the first embodiment, when a new functional component is created and registered, the functional component creator places a voice output instruction portion in the component definition.
An utterance text acquisition unit that describes the utterance content in text and extracts the text from the functional component description, a speech synthesis device that converts the acquired text into speech data (phoneme segments), and a speech synthesized by the speech synthesis device By further including a phoneme unit registration unit for registering data (phoneme unit) as a phoneme file used by the voice response device for outputting guidance voice, the voice response device executes interactive processing without recording voice using a microphone or the like. It becomes possible.

【0066】(第5の実施の形態) 以下、第5の実施の形態について、図面を参照しながら
説明する。
(Fifth Embodiment) Hereinafter , a fifth embodiment will be described with reference to the drawings.

【0067】図13は図1の構成に、ポインティング装
置1301、表示装置1303、入出力制御装置1304、対話フロ
ー変換部1305を追加した機能ブロック図である。図14
は図13の表示装置1303に表示される本実施の形態にお
ける対話フロー作成装置のユーザインタフェースの例を
図示したもの、図15はGUI上で作成した対話フロー
の図から手続き・階層構造定義ファイルを作成するため
の探索手順を図示したもの、図16はGUI上で作成し
た対話フローの図から手続き・階層構造定義ファイルを
作成する動作を説明するためのフローチャートである。
FIG. 13 is a functional block diagram in which a pointing device 1301, a display device 1303, an input / output control device 1304, and a dialog flow converter 1305 are added to the configuration of FIG. FIG.
FIG. 15 illustrates an example of a user interface of the dialog flow creation device according to the present embodiment displayed on the display device 1303 of FIG. 13. FIG. 15 illustrates a procedure / hierarchical structure definition file from the dialog flow created on the GUI. FIG. 16 is a flow chart for explaining an operation for creating a procedure / hierarchical structure definition file from a diagram of a dialog flow created on the GUI.

【0068】まず、図14を用いて本実施の形態におけ
る対話フロー作成装置の操作手順を説明する。1401は対
話フローを作成するための編集画面、1402は対話フロー
を構成する機能部品、1403はメニュー分岐のためのPB
コード番号、1404は機能部品間の遷移を表現するための
線分、1405は、図13の1301のポインティング装置を使
って機能部品を移動したり、線分を引くためのマウスカ
ーソル、1406は対話フローを構築するための機能部品群
の表示エリアである。
First, the operation procedure of the dialog flow creation device according to the present embodiment will be described with reference to FIG. 1401 is an edit screen for creating a dialog flow, 1402 is a functional component constituting the dialog flow, 1403 is a PB for menu branching
A code number, 1404 is a line segment for expressing a transition between functional components, 1405 is a mouse cursor for moving the functional component or drawing a line segment using the pointing device 1301 in FIG. 13, and 1406 is a dialogue. It is a display area of a functional component group for constructing a flow.

【0069】対話フローを作成する者は、1401の画面内
で木構造状に1402の部品を並べ、部品間の遷移を線分14
04を引いていくことにより対話フローのメニュー階層を
構築する。前記構築された対話フローは、対話フロー変
換部1305が図14のように、木構造のフローを探索して
図3の手続き・階層構造定義ファイルを生成する。
The person who creates the dialog flow arranges 1402 parts in a tree structure on the screen of 1401 and changes the transition between the parts by a line segment 14.
Build the menu hierarchy of the dialog flow by subtracting 04. In the constructed dialog flow, the dialog flow conversion unit 1305 searches for a tree-structured flow as shown in FIG. 14, and generates the procedure / hierarchical structure definition file of FIG.

【0070】図15、図16を用いて対話フロー作成者
が作成した対話フローを、手続き・階層構造定義ファイ
ルに変換する手順を説明する。変換結果は図3と同一に
なる。まず、フローのトップ(図15の「メニュー番号
入力」)から木構造の探索を開始し、機能部品名(図3
の「INPUT_MENU」)をファイル1311に挿入する。
A procedure for converting a dialog flow created by a dialog flow creator into a procedure / hierarchical structure definition file will be described with reference to FIGS. The conversion result is the same as in FIG. First, a search for a tree structure is started from the top of the flow (“input menu number” in FIG. 15), and a functional component name (FIG.
“INPUT_MENU”) into the file 1311.

【0071】次に機能部品「メニュー番号の入力」には
分岐が設定されているかどうかを判断する。図15で明
らかなように、メニュー番号「1」、「2」の2方向へ
の分岐が設定されており、どちらもまだ探索されていな
いパスである。まだ探索されていない最も若い番号のメ
ニュー分岐はこの場合、「1」であるので階層ラベルを
示す記号とともに、分岐ラベル(図3の 「*L1」)とし
てファイル1311へ挿入する。
Next, it is determined whether a branch has been set for the functional component "input menu number". As is apparent from FIG. 15, branching in two directions of menu numbers “1” and “2” is set, and both are paths that have not been searched yet. In this case, since the menu branch with the lowest number that has not been searched is “1”, it is inserted into the file 1311 as a branch label (“* L1” in FIG. 3) together with a symbol indicating a hierarchical label.

【0072】次にパスの探索を再開し、機能部品「施設
番号の入力」を得る。先と同様に部品名(図3の「INPU
T_SHISETSU」)をファイル1311へ挿入する。分岐は定義
されていないので、フローに従い次の部品「月日入力」
を得る。処理は同様で、さらに次の部品「申し込み登
録」を得る。
Next, the search for the path is restarted, and the functional component "input of facility number" is obtained. As before, the part name ("INPU
T_SHISETSU ”) into the file 1311. Since the branch is not defined, the next part "month and date input" according to the flow
Get. The processing is the same, and the next part "application registration" is obtained.

【0073】この部品は、他の機能部品への遷移指定
が、図15の1501として定義されているので、線分の指
す先の部品「施設番号の入力」の部品名を取得し、第1
の実施の形態で示したGOTO制御文を表す記述(>INPUT_S
HISETU)をファイル1311に挿入する。
In this part, since the designation of transition to another functional part is defined as 1501 in FIG. 15, the part name of the part "input facility number" to which the line segment points is acquired, and the first part is obtained.
Representing the GOTO control statement shown in the embodiment (> INPUT_S
HISETU) into file 1311.

【0074】次の部品を探索するが、フローとしては
「申し込み登録」部品は末端にあたるので、次の部品が
なく、探索先を図15の1502のように上位階層にあたる
メニュー「メニュー番号の入力」に戻す。戻り先の部品
においてまだ探索していない分岐があるかどうかを判断
する。「メニュー番号の入力」では「2」側のパスが探
索されていないので、階層ラベルを表すメニューラベル
(図3の 「*L2」)をファイル1311に挿入する。分岐を
探索し、「サブメニュー番号の入力」を得る。
The next part is searched for, but since the "application registration" part is at the end in the flow, there is no next part, and the search destination is the menu "input menu number" which corresponds to the upper hierarchy as shown by 1502 in FIG. Return to It is determined whether there is a branch that has not been searched for in the return destination component. Since the path on the “2” side has not been searched in “input menu number”, a menu label (“* L2” in FIG. 3) representing a hierarchical label is inserted into the file 1311. Search for a branch and get "Enter submenu number".

【0075】部品名(INPUT_SUBMENU)をファイル1311
に挿入し、分岐が定義されているかを判断する。メニュ
ー分岐が2方向に定義されているので、まだ探索されて
いない分岐先のメニューラベルを階層ラベルを表す記号
(図3の 「**L1」)としてファイル1311に挿入する。
The part name (INPUT_SUBMENU) is stored in the file 1311.
To determine if a branch is defined. Since the menu branch is defined in two directions, the menu label of the branch destination that has not been searched yet is inserted into the file 1311 as a symbol (“** L1” in FIG. 3) representing the hierarchical label.

【0076】以降は前述の「メニュー番号の入力」の場
合のように、下位階層の部品を探索し、ファイル1311に
挿入していく処理の繰り返しである。最後に1503の末端
の「音声の再生」の部品まで探索した後は、上位階層の
「サブメニュー番号入力」に戻り、まだ探索していない
分岐はないので、さらに上位階層のメニューである「メ
ニュー番号の入力」へ戻る。ここでも探索していない分
岐はなく、トップメニューに戻っているので、変換処理
は終了する。
Thereafter, as in the case of the above-mentioned "input of menu number", a process of searching for a component of a lower hierarchy and inserting it into the file 1311 is repeated. Finally, after searching for the “voice playback” component at the end of 1503, the process returns to the upper-level “submenu number input”, and there are no branches that have not been searched yet. Return to "Enter Number". Also here, there is no branch that has not been searched, and the process returns to the top menu, so the conversion process ends.

【0077】変換が終了した後は、変換されたファイル
1311が手続き・階層構造定義記憶部として使用され、第
1の実施の形態と同様な手順で動作定義ファイル1309が
生成される。
After the conversion is completed, the converted file
1311 is used as a procedure / hierarchical structure definition storage unit, and an operation definition file 1309 is generated in the same procedure as in the first embodiment.

【0078】以上本実施の形態によれば、第1の実施の
形態の構成に加え、前記機能部品をビットマップディス
プレイ上に部品オブジェクトとして表示することと、前
記部品オブジェクト間を結んだ線を表示することが可能
なディスプレイ装置と、前記部品オブジェクトをドラッ
グ&ドロップし、前記部品オブジェクト間を線で結ぶこ
とが可能なポインティング装置と、前記ディスプレイ装
置と前記ポインティング装置を制御する入出力制御装置
と、前記部品オブジェクトと線分で表現された木構造状
の対話フローを解釈して記述言語に変換する対話フロー
変換部を更に備えることによって、音声応答装置の対話
フローをグラフィカルなユーザインターフェース上で組
み立てていくのみで、対話処理プログラムソースコード
を簡単に生成することが可能になる。
According to the present embodiment, in addition to the configuration of the first embodiment, the functional component is displayed as a component object on a bitmap display, and a line connecting the component objects is displayed. A pointing device capable of dragging and dropping the component object and connecting the component objects with a line, an input / output control device controlling the display device and the pointing device, A dialog flow conversion unit for interpreting the tree-structured dialog flow expressed by the component objects and the line segments and converting the dialog flow into a descriptive language is provided, whereby the dialog flow of the voice response device is assembled on a graphical user interface. Generate interactive processing source code easily by just going Door is possible.

【0079】(第6の実施の形態)まず、本実施の形態
の概要について説明する。従来音声応答装置を用いて情
報提供を行なっていたものと同じサ−ビスを、ワ−ルド
ワイドウェッブ(以下WWW)においても同じメニュ−
体系で行なう必要が生じたとする。この時、新たにWW
W向けにメニュー表示、入力項目を専用の言語(Hyper
Text Markup Language 以下HTML)で記述すること
なく情報サービスを開始する手段を提供する。
(Sixth Embodiment) First, an outline of the present embodiment will be described. The same service as that used to provide information using a conventional voice response device is also provided on the same menu in the World Wide Web (WWW).
Suppose that it becomes necessary to do it systematically. At this time, a new WW
Menu display for W, input items in a special language (Hyper
Provides a means to start an information service without writing in Text Markup Language (HTML).

【0080】以下、第6の実施の形態について、図面を
参照しながら説明する。
Hereinafter , a sixth embodiment will be described with reference to the drawings.

【0081】図17は図1の構成に、メディア変換ル−
ル記憶部1702が追加されており、機能部品展開部は、第
1の実施の形態での機能の他に、前記メディア変換ル−
ル記憶部を解釈して音声応答装置用動作定義ファイル17
08の他に、HTMLファイル1710を生成する機能が追加
されている。
FIG. 17 shows a media conversion rule in the configuration of FIG.
A function storage unit 1702 has been added, and the functional component development unit has the functions described in the first embodiment, as well as the media conversion rule.
Interpretation of file storage unit and operation definition file 17 for voice response device
In addition to 08, a function for generating an HTML file 1710 has been added.

【0082】図18はメディア非依存の中間言語で書か
れた機能部品定義を、音声応答装置動作定義言語および
HTMLに変換する変換ル−ルを示したものである。
FIG. 18 shows a conversion rule for converting a functional component definition written in a media-independent intermediate language into a voice response device operation definition language and HTML.

【0083】図19(a)は音声応答装置向けの対話フ
ローメニュー階層の例、図19(b)は図19(a)の
音声応答装置向けのメニュ−階層をHTMLファイル間
のリンクに置き換えた例を図示したもの、図20は図1
7の機能部品展開部1705がHTMLファイル1710を作成
する動作を説明するためのフロ−チャ−トである。
FIG. 19A shows an example of a dialog flow menu hierarchy for a voice response device, and FIG. 19B shows a menu hierarchy for a voice response device of FIG. 19A replaced with a link between HTML files. FIG. 20 shows an example, and FIG.
7 is a flowchart for explaining the operation of generating the HTML file 1710 by the functional component developing unit 1705 of FIG.

【0084】図20のフロ−チャ−トを用いて動作を説
明する。手続き・階層構造解釈部、ラベル作成部の動作
は第1の実施の形態と同様である。機能部品展開部1705
は機能部品を展開する際、メニュ−としての役割をする
定義がされている部品か、入力を促しコード入力を受け
付けるだけの一般的な部品か、DBへの登録または取り
出しを行なう部品かどうかを判断する。
The operation will be described with reference to the flowchart of FIG. The operations of the procedure / hierarchical structure interpretation unit and the label creation unit are the same as those in the first embodiment. Functional component development unit 1705
When developing a functional component, determine whether it is a component that defines a role as a menu, a general component that prompts input and accepts code input, or a component that registers or retrieves to the DB. to decide.

【0085】もし、メニュ−であるならば、現在の階層
ラベル(階層ラベルがない場合は”TOP”をラベルと
する)をファイル名(TOP.html)として、HTMLファ
イルを生成する。次にHTMLとしてのヘッダ情報(タ
イトルなど)を機能部品名などから生成し、ファイルへ
挿入する。
If the menu is a menu, an HTML file is generated with the current hierarchical label (when there is no hierarchical label, “TOP” is used as a label) as a file name (TOP.html). Next, header information (such as a title) as HTML is generated from a functional component name or the like and inserted into a file.

【0086】次にメディア変換ル−ル記憶部1702に従っ
て、機能部品の定義内容をHTMLに変換する。機能部
品定義記憶部1707は、図18の機能部品定義例のように
メディアに依存しない中間言語によって定義されてお
り、ラベルL1の予約メニュ−に遷移する指定”GOTO:L
1;予約”との記述が、音声応答装置専用言語の場合遷移
コマンド”goto”と図17ラベル作成部1704によって作
成される遷移先ラベルL1が合成されて”goto L1”が
生成される。
Next, according to the media conversion rule storage unit 1702, the definition contents of the functional components are converted into HTML. The functional component definition storage unit 1707 is defined by an intermediate language that does not depend on the media as in the functional component definition example of FIG. 18, and specifies "GOTO: L" to transit to the reservation menu of label L1
If the description "1;reservation" is a language exclusively for a voice response device, the transition command "goto" and the transition destination label L1 created by the label creation unit 1704 in FIG. 17 are combined to generate "goto L1".

【0087】また、同じ定義文が図18のHTML生成
例のように変換される。すなわち図18のメニュー分岐
命令の行に示すように、$aは分岐ラベルL1に階層構
造記憶部1701で保持している第1の実施の形態の階層ラ
ベルを付与したものに置き換えられ、$bは「予約」と
いう文字列に置き換えられる。また、HTML生成例に
示す".html"はファイル拡張子であり、”$a.html”が
リンク先のファイル名となる。また”予約メニュ−”の
テキストはそのままHTMLのリンクテキスト1803とし
て使われる。こうして各メディア向けに変換された命令
は、それぞれの動作定義ファイルへ挿入される。
The same definition sentence is converted as in the HTML generation example of FIG. That is, as shown in the row of the menu branch instruction in FIG. 18, $ a is replaced with the branch label L1 added with the hierarchical label of the first embodiment held in the hierarchical structure storage unit 1701, and $ b Is replaced by the character string “reserved”. “.Html” shown in the HTML generation example is a file extension, and “$ a.html” is a file name of a link destination. The text of the "reservation menu" is used as it is as the HTML link text 1803. The instructions converted for each medium in this way are inserted into the respective operation definition files.

【0088】次に、図19の(a)の1902に続く分岐の
展開を図20のフローチャートを用いて説明する。「施
設番号の入力」機能部品は一般部品なので、図18のメ
ディア変換ルールに従い、音声出力命令、コード取得命
令の変換を行なう。"OUTPUT"は音声応答装置のコマンド
"play" に置き換えられ、HTMLにはテキスト部分
の”施設番号”がそのままHTMLでの表示文字列とな
る。
Next, the development of the branch following 1902 in FIG. 19A will be described with reference to the flowchart in FIG. Since the "input facility number" functional component is a general component, the voice output command and the code acquisition command are converted according to the media conversion rule of FIG. "OUTPUT" is a voice response device command
It is replaced with "play", and the "facility number" in the text portion becomes the display character string in HTML as it is in HTML.

【0089】次にコード取得命令”INPUT”が展開され
る。音声応答装置向けには"get_pb"というコマンドに置
き換えられ、HTMLでは図18に示すような”INPU
T”タグに置き換えられる。なお、ここで展開された一
般部品の内容は一時的にメモリ上に保持される。「月日
の入力」機能部品1903の展開も同様に行なう。
Next, the code acquisition instruction "INPUT" is expanded. For voice response devices, it is replaced by a command called "get_pb", and in HTML "INPU
It is replaced with a “T” tag. The contents of the general parts expanded here are temporarily stored in the memory. The expansion of the “input month and date” functional part 1903 is similarly performed.

【0090】フロー図19のメニュー分岐を行なわない
1902、1903、1904は、図19の1906のように一つのHT
MLファイルに挿入される。
Do not branch menu in flow chart 19
1902, 1903, and 1904 are one HT as in 1906 of FIG.
Inserted into the ML file.

【0091】1904「申し込み登録」部品は、図18の登
録の行に示すように、初めからTEL(=音声応答装置
の意)、WWWとメディアに応じて同じ処理を2通り記
述しておく。機能部品展開部1705は、メディア変換ルー
ル1702の記述にしたがいDB更新指示命令の展開を行な
う。
In the 1904 "application registration" part, as shown in the registration row of FIG. 18, two identical processes are described from the beginning according to TEL (= voice response device), WWW and media. The functional component expanding unit 1705 expands the DB update instruction command according to the description of the media conversion rule 1702.

【0092】HTMLでは図18のHTML生成例に示
すように、FORMタグを生成する。ここで、”./cgi-bin/
commit-db”はデータベースを更新するCGIスクリプ
トであり、別途作成しておく必要がある。
In HTML, a FORM tag is generated as shown in the HTML generation example of FIG. Where "./cgi-bin/
"commit-db" is a CGI script for updating the database, and must be created separately.

【0093】次に、先に展開されてメモリ上に保持され
ている1902、1903の展開結果を合わせてファイルに挿入
する。さらに、確認ボタンとして”<INPUT TYPE="submi
t">”を挿入する。以上により施設番号、月日を入力し
て、確認ボタンを押すことによりDBを更新するHTM
Lファイルを生成する。
Next, the result of expansion of 1902 and 1903, which has been previously expanded and held in the memory, is inserted into the file. In addition, "<INPUT TYPE =" submi
t Insert ">". HTM that updates the DB by inputting the facility number and the date on the above and pressing the confirmation button
Generate an L file.

【0094】残りの機能部品も同様に展開していくこと
によって、図19の(a)のような対話フローが、図1
9の(b)のようなリンクを持つHTMLドキュメント
として変換される。
By expanding the remaining functional components in the same manner, the dialog flow as shown in FIG.
It is converted as an HTML document having a link as shown in FIG.

【0095】以上本実施の形態によれば、第1の実施の
形態の構成に加え、機能部品の定義を音声応答装置以外
のメディアが解釈可能な言語に変換するための変換ルー
ルを記憶するメディア変換ルール記憶部を更に備え、さ
らに前記機能部品展開部に、前記メディア変換ルールの
指示に従い変換処理を行なう機能と、前記変換された他
メディアが解釈可能な言語を前記動作定義ファイルと別
のファイルに出力する機能とを付加することにより、複
数種類のメディア向けのフロー記述言語ファイルを一通
りの対話処理フロー定義をもとに生成することが可能に
なる。
According to the present embodiment, in addition to the configuration of the first embodiment, a medium storing a conversion rule for converting a definition of a functional component into a language interpretable by a medium other than the voice response device. Further comprising a conversion rule storage unit, wherein the functional component expanding unit has a function of performing a conversion process in accordance with the instruction of the media conversion rule, and a language that can be interpreted by the converted other medium is a file different from the operation definition file. By adding a function for outputting to a media, a flow description language file for a plurality of types of media can be generated based on one type of interactive processing flow definition.

【0096】[0096]

【発明の効果】以上説明したように、第1の実施の形態
によれば、対話処理を構成する機能部品を記憶する機能
部品定義記憶部と、前記機能部品を実行順に記述された
手続きとガイダンスのメニュー階層構造を記憶する手続
き・階層構造定義記憶部と、前記手続きと階層構造を解
釈する手続き・階層構造解釈部と、前記機能部品の群を
プログラムコードに展開する機能部品展開部と、手続き
・階層構造解釈部が解釈中のメニュー階層情報を記憶す
る階層構造記憶部と、この階層構造情報と実行する機能
名から、遷移先指定のためのラベルを自動生成するラベ
ル作成部を備えることによって、状態遷移のためのラベ
ルを自動生成し、状態遷移のためのラベルをプログラマ
ーがユニークになるように逐一記述することなく、実行
すべき機能部品を実行順に記述し、階層メニューの定義
と他へ遷移する場合は先の機能名を指定するのみの簡略
な対話フロー記述で音声応答装置が解釈可能な対話処理
プログラムコードを生成することが可能になる。
As described above, according to the first embodiment, the functional component definition storage unit for storing the functional components constituting the interactive processing, the procedure and the guidance in which the functional components are described in the execution order A procedure / hierarchical structure definition storage unit for storing the menu hierarchical structure of the above, a procedure / hierarchical structure interpreting unit for interpreting the procedure and the hierarchical structure, a functional component expanding unit for expanding the group of functional components into program code, By providing a hierarchical structure storage unit that stores the menu hierarchical information being interpreted by the hierarchical structure interpreting unit, and a label creating unit that automatically generates a label for specifying a transition destination from the hierarchical structure information and the name of the function to be executed. , Automatically generate labels for state transitions, and specify the functional components to be executed without describing the labels for state transitions one by one so that the programmer is unique. In the case of describing in line order and transiting to the definition of a hierarchical menu and the other, it is possible to generate a dialog processing program code that can be interpreted by the voice response device with a simple dialog flow description that merely specifies the function name of the preceding function .

【0097】また、第2の実施の形態によれば、第1の
実施の形態の構成に加え、前記機能部品展開部は、現在
実行中の機能部品の前に実行された機能部品の位置を示
す状態遷移用ラベルを記憶する処理を生成する前実行機
能部品ラベル記憶処理生成部と、指定文字の指定桁数入
力時に、前記前実行機能部品へ遷移する処理を自動生成
する前実行機能部品遷移自動生成機構を更に備えること
によって、特定のPBコード列を入力されたときに、前
入力の再入力状態へ遷移するフローを自動生成し、対話
型情報サービスにおける前入力のやり直し処理を自動生
成し、プログラマーが繁雑な処理を逐一記述する手間を
省くことが可能になる。
Further, according to the second embodiment, in addition to the configuration of the first embodiment, the functional component expanding unit determines the position of the functional component executed before the currently executed functional component. A pre-execution functional component label storage processing generation unit for generating a process for storing a state transition label to be shown, and a pre-execution functional component transition for automatically generating a process of transitioning to the pre-execution functional component when a designated number of digits of a designated character is input By further providing an automatic generation mechanism, when a specific PB code string is input, a flow for transitioning to a previous input re-input state is automatically generated, and a redoing process of the previous input in the interactive information service is automatically generated. This eliminates the need for the programmer to describe complicated processes one by one.

【0098】また、第3の実施の形態によれば、第1の
実施の形態の構成に加え、前記機能部品展開部は、各メ
ニューの最後の確認メッセージ送出前までに同メニュー
内で入力された全ての項目を検出する入力項目検出部
と、検出された入力項目の確認メッセージを生成する確
認メッセージ生成部とを更に備え、対話型情報サービス
における対話処理で入力された複数の項目について、確
認メッセージを送出する処理を自動生成し、プログラマ
ーが繁雑な処理を逐一記述する手間を省くことが可能に
なる。
Further, according to the third embodiment, in addition to the configuration of the first embodiment, the functional component developing unit is input in the same menu before sending the last confirmation message of each menu. Further comprising: an input item detection unit for detecting all the items detected; and a confirmation message generation unit for generating a confirmation message for the detected input items, for confirming a plurality of items input in the interactive processing in the interactive information service. A process for sending a message is automatically generated, and a programmer can save trouble of describing complicated processes one by one.

【0099】また、第4の実施の形態によれば、第1の
実施の形態の構成に加え、前記機能部品展開部は、機能
部品を新たに作成して登録する際、機能部品作成者が部
品定義の音声出力指示箇所に、発声内容をテキストで記
述し、このテキストを機能部品記述から抽出する発声テ
キスト取得部と、前記取得したテキストを音声データ
(音素片)に変換する音声合成装置と、前記音声合成装
置が合成した音素片を音声応答装置がガイダンス音声出
力時に使用する音素片ファイルとして登録する音素片登
録部を更に備え、マイクロフォンなどによる音声の録音
なしに、音声応答装置が新たなガイダンスを含む対話フ
ローを実現することが可能になる。
Further, according to the fourth embodiment, in addition to the configuration of the first embodiment, when the functional component development unit newly creates and registers a functional component, the functional component creator An utterance text acquisition unit that describes the utterance content in text at a voice output instruction portion of the component definition and extracts the text from the functional component description, and a speech synthesis device that converts the acquired text into speech data (phoneme segments) A voice response unit for registering a voice segment synthesized by the voice synthesis device as a voice segment file used when the voice response device outputs guidance voice, and the voice response device can be newly added without recording voice by a microphone or the like. It is possible to realize a dialog flow including guidance.

【0100】また、第5の実施の形態によれば、第1の
実施の形態の構成に加え、機能部品をビットマップディ
スプレイ上に部品オブジェクトとして表示することと、
前記部品オブジェクト間を結んだ線を表示することが可
能なディスプレイ装置と、前記部品オブジェクトをドラ
ッグ&ドロップし、前記部品オブジェクト間を線で結ぶ
ことが可能なポインティング装置と、前記ディスプレイ
装置と前記ポインティング装置を制御する入出力制御装
置と、前記部品オブジェクトと前記線分で表現された木
構造状の対話フローを解釈して記述言語に変換する対話
フロー変換部を更に備えることによって、音声応答装置
の対話フローをグラフィカルなユーザインターフェース
(GUI)上でマウス操作などで簡易に組み上げていく
ことが可能になる。
Further, according to the fifth embodiment, in addition to the configuration of the first embodiment, displaying a functional component as a component object on a bitmap display,
A display device capable of displaying a line connecting the component objects, a pointing device capable of dragging and dropping the component object, and connecting the component objects with a line; and the display device and the pointing device An input / output control device for controlling the device; and a dialog flow conversion unit for interpreting a tree-structured dialog flow expressed by the component objects and the line segments and converting the dialog flow into a description language, thereby providing a voice response device. It becomes possible to easily assemble a dialog flow on a graphical user interface (GUI) by mouse operation or the like.

【0101】さらに、第6の実施の形態によれば、第1
の実施の形態の構成に加え、機能部品の定義を音声応答
装置以外のメディアが解釈可能な言語に変換するための
変換ルールを記憶するメディア変換ルール記憶部を更に
備え、さらに前記機能部品展開部に、前記メディア変換
ルールの指示に従い変換処理を行なう機能と、前記変換
された他メディアが解釈可能な言語を前記動作定義ファ
イルと別のファイルに出力する機能とを付加することに
より、複数種類のメディア向けのフロー記述言語ファイ
ルを一通りの対話処理フロー定義をもとに生成すること
が可能になる。
Further, according to the sixth embodiment, the first
A media conversion rule storage unit for storing a conversion rule for converting a definition of a functional component into a language interpretable by a medium other than the voice response device, and further comprising the functional component expanding unit By adding a function of performing a conversion process in accordance with the instructions of the media conversion rule and a function of outputting a language interpretable by the converted other medium to a file different from the operation definition file, It becomes possible to generate a flow description language file for media based on one type of interactive processing flow definition.

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

【図1】本発明の第1の実施の形態における対話処理プ
ログラム生成装置の構成を示す機能ブロック図、
FIG. 1 is a functional block diagram showing a configuration of an interactive processing program generation device according to a first embodiment of the present invention;

【図2】本発明の第1の実施の形態で対象とする施設予
約情報サービスメニューのフロー図、
FIG. 2 is a flowchart of a facility reservation information service menu targeted in the first embodiment of the present invention;

【図3】図2のフローを本発明の第1の実施の形態で用
いるフロー記述文法に従って記述したプログラムリスト
の例、
FIG. 3 is an example of a program list describing the flow of FIG. 2 according to a flow description grammar used in the first embodiment of the present invention;

【図4】本発明の第1の実施の形態において対話処理プ
ログラム生成装置の動作を説明するフローチャート、
FIG. 4 is a flowchart illustrating an operation of the interactive processing program generation device according to the first embodiment of the present invention;

【図5】本発明の第1の実施の形態における音声応答装
置が解釈可能な動作定義ファイルの生成結果の例、
FIG. 5 is an example of a generation result of an operation definition file that can be interpreted by the voice response device according to the first embodiment of the present invention;

【図6】本発明の第2の実施の形態における対話処理プ
ログラム生成装置の構成を説明するための機能ブロック
図、
FIG. 6 is a functional block diagram for explaining a configuration of an interactive processing program generation device according to a second embodiment of the present invention;

【図7】本発明の第2の実施の形態の動作を説明するフ
ローチャート、
FIG. 7 is a flowchart for explaining the operation of the second embodiment of the present invention;

【図8】本発明第2の実施の形態における動作定義ファ
イルの出力例、
FIG. 8 shows an output example of an operation definition file according to the second embodiment of the present invention;

【図9】本発明の第3の実施の形態における対話処理プ
ログラム生成装置の構成を説明するための機能ブロック
図、
FIG. 9 is a functional block diagram for explaining a configuration of an interactive processing program generating device according to a third embodiment of the present invention;

【図10】本発明の第3の実施の形態の動作を説明する
フローチャート、
FIG. 10 is a flowchart for explaining the operation of the third embodiment of the present invention;

【図11】本発明の第4の実施の形態における対話処理
プログラム生成装置の構成を説明するための機能ブロッ
ク図、
FIG. 11 is a functional block diagram illustrating a configuration of an interactive processing program generating device according to a fourth embodiment of the present invention;

【図12】本発明の第4の実施の形態の動作を説明する
フローチャート、
FIG. 12 is a flowchart for explaining the operation of the fourth embodiment of the present invention;

【図13】本発明の第5の実施の形態における対話処理
プログラム生成装置の構成を示す機能ブロック図、
FIG. 13 is a functional block diagram showing a configuration of an interactive processing program generating device according to a fifth embodiment of the present invention;

【図14】本発明の第5の実施の形態における対話フロ
ー作成装置のユーザインタフェースの例、
FIG. 14 shows an example of a user interface of a dialog flow creation device according to a fifth embodiment of the present invention;

【図15】GUI上で作成した対話フローの図から手続
き・階層構造定義ファイルを作成するための探索手順、
FIG. 15 is a search procedure for creating a procedure / hierarchical structure definition file from a diagram of a dialog flow created on a GUI,

【図16】本発明の第5の実施の形態の動作を説明する
フローチャート、
FIG. 16 is a flowchart for explaining the operation of the fifth embodiment of the present invention;

【図17】本発明の第6の実施の形態における対話処理
プログラム生成装置の構成を示す機能ブロック図、
FIG. 17 is a functional block diagram showing a configuration of an interactive processing program generating device according to a sixth embodiment of the present invention;

【図18】機能部品定義を音声応答装置動作定義言語お
よびHTMLに変換する変換ルール、
FIG. 18 is a conversion rule for converting a functional component definition into a voice response device operation definition language and HTML,

【図19】(a)音声応答装置向けのメニュ−階層の
例、(b)(a)を本発明の第6の実施の形態における
装置でHTMLファイル間のリンクに置き換えた例、
FIG. 19A shows an example of a menu hierarchy for a voice response device, FIG. 19B shows an example in which the device according to the sixth embodiment of the present invention is replaced with a link between HTML files,

【図20】本発明の第6の実施の形態の動作を説明する
フローチャート、
FIG. 20 is a flowchart for explaining the operation of the sixth embodiment of the present invention;

【図21】音声応答装置動作定義プログラムコードの従
来例、
FIG. 21 shows a conventional example of a voice response device operation definition program code;

【図22】従来例におけるプログラム言語をオブジェク
トコードにコンパイルする装置の機能ブロック図、
FIG. 22 is a functional block diagram of a conventional device for compiling a programming language into object code,

【図23】対話フローを機能部品関数の呼び出しで記述
した場合のプログラムコードの従来例である。
FIG. 23 is a conventional example of a program code when a dialog flow is described by calling a functional component function.

【符号の説明】 101、603、1302、1701 階層構造記憶部 102、1306、1703 手続き・階層構造解釈部 103、1307、1704 ラベル作成部 104、602、902、1102、1308、1705 機能部品展開部 105、1309 動作定義ファイル 106、1310 他コンパイラー・インタープリターなど 107、608、905、1311、1706 手続き・階層構造定義記
憶部 108、601、901、1101、1312、1707 機能部品定義記憶
部 301 機能名(メニュー番号の入力) 302 メニュー番号ラベル(1階層) 303 状態遷移指示文 304 メニュー番号ラベル(2階層) 604 再入力指示文字列生成部 605 PB入力内容比較文字作成部 606 前実行機能遷移処理文作成部 607 再入力指定文字記憶部 903 入力項目検出部 904 確認メッセージ作成部 1103 音素片ファイル 1104 発声内容テキスト取得部 1105 音声合成装置 1106 音素片登録部 1301 ポインティング装置 1303 表示装置 1304 入出力制御装置 1305 対話フロー変換部 1401 編集画面 1402 機能部品 1403 PBコード番号 1404 遷移先指定線分 1405 マウスカーソル 1406 部品群表示エリア 1501 他部品への遷移指定 1502 探索パス1 1503 探索パス2 1702 メディア変換ルール記憶部 1708 音声応答装置動作定義ファイル 1709 音声応答装置エンジンプログラム 1710 HTMLファイル 1711 WWWサーバ 1901 トップメニュー機能部品 1902 施設入力機能部品 1903 月日入力機能部品 1904 申し込み登録機能部品 1905 メニュー選択ページ 1906 予約登録ページ 2201 プリプロセッサー部 2202 構文解析部 2203 オブジェクトコード生成部
[Description of Signs] 101, 603, 1302, 1701 Hierarchical structure storage unit 102, 1306, 1703 Procedure / hierarchical structure interpretation unit 103, 1307, 1704 Label creation unit 104, 602, 902, 1102, 1308, 1705 Functional component expansion unit 105, 1309 Action definition file 106, 1310 Other compiler / interpreter, etc. 107, 608, 905, 1311, 1706 Procedure / hierarchical structure definition storage 108, 601, 901, 1101, 1312, 1707 Functional component definition storage 301 Function name (Input of menu number) 302 Menu number label (1 layer) 303 State transition instruction 304 Menu number label (2 layer) 604 Re-input instruction character string generator 605 PB input content comparison character generator 606 Previous execution function transition processing statement Creation unit 607 Re-input designated character storage unit 903 Input item detection unit 904 Confirmation message creation unit 1103 Phoneme file 1104 Speech content text acquisition unit 1105 Speech synthesis unit 1106 Phoneme unit registration unit 1301 Pointing device 1303 Display Device 1304 I / O controller 1305 Dialog flow converter 1401 Edit screen 1402 Functional object 1403 PB code number 1404 Transition destination designation line 1405 Mouse cursor 1406 Parts group display area 1501 Specify transition to other parts 1502 Search path 1 1503 Search path 2 1702 Media conversion rule storage unit 1708 Voice response device operation definition file 1709 Voice response device engine program 1710 HTML file 1711 WWW server 1901 Top menu functional component 1902 Facility input functional component 1903 Month / day input functional component 1904 Application registration functional component 1905 Menu selection page 1906 Reservation registration page 2201 Preprocessor 2202 Syntax analyzer 2203 Object code generator

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平4−294424(JP,A) 特開 平7−261969(JP,A) 特開 平7−73026(JP,A) 特開 平4−233631(JP,A) 特開 平5−289859(JP,A) 橋本・宮井著、”ユーザインタフェー スシミュレータINTERA”、情報処 理学会論文誌,Vol.31,No.10 (1990年10月)p.1497−1504 (58)調査した分野(Int.Cl.7,DB名) G06F 9/06 - 9/44 G06F 3/00 ────────────────────────────────────────────────── ─── Continuation of the front page (56) References JP-A-4-294424 (JP, A) JP-A-7-261969 (JP, A) JP-A-7-73026 (JP, A) JP-A-4-294 233631 (JP, A) JP-A-5-289859 (JP, A) Hashimoto and Miyai, "User Interface Simulator INTERA," Transactions of the Information Processing Society of Japan, Vol. 31, No. 10 (October 1990) p. 1497-1504 (58) Field surveyed (Int.Cl. 7 , DB name) G06F 9/06-9/44 G06F 3/00

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 音声応答装置の対話処理における、入力
促進ガイダンス送出・ユーザプッシュボタン(PB)入
力受け付け・入力されたPBに応じた処理、の組を対話
処理を構成する機能部品として記憶する機能部品定義記
憶部と、前記機能部品を実行順に記述された手続きとガ
イダンスのメニュー階層構造を記憶する手続き・階層構
造定義記憶部と、前記手続きと階層構造を解釈する手続
き・階層構造解釈部と、前記機能部品の群をプログラム
コードに展開する機能部品展開部と、前記手続き・階層
構造解釈部が解釈中のメニュー階層情報を記憶する階層
構造記憶部と、前記メニュー階層情報と実行する機能名
から、遷移先を指定すると共にプログラム中の位置を示
すラベルを自動生成するラベル作成部を備えることを特
徴とする対話処理プログラム生成装置。
1. A function of storing a set of input prompting guidance transmission, user push button (PB) input reception, and processing according to the input PB in the interactive processing of the voice response device as a functional component constituting the interactive processing. A component definition storage unit, a procedure / hierarchical structure definition storage unit for storing a menu hierarchical structure of procedures and guidance in which the functional components are described in the execution order, a procedure / hierarchical structure interpreting unit for interpreting the procedure and the hierarchical structure, a functional component development unit for developing a group of the functional component in the program code, the procedures and hierarchy
The hierarchy that stores the menu hierarchy information being interpreted by the structure interpreter
Structure storage unit, the menu hierarchy information and the name of the function to be executed
From, specify the transition destination and indicate the position in the program
An interactive processing program generating apparatus, comprising: a label creating unit for automatically generating a label .
JP05821896A 1996-02-22 1996-02-22 Interactive program generation device Expired - Fee Related JP3187317B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP05821896A JP3187317B2 (en) 1996-02-22 1996-02-22 Interactive program generation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP05821896A JP3187317B2 (en) 1996-02-22 1996-02-22 Interactive program generation device

Publications (2)

Publication Number Publication Date
JPH09231062A JPH09231062A (en) 1997-09-05
JP3187317B2 true JP3187317B2 (en) 2001-07-11

Family

ID=13077935

Family Applications (1)

Application Number Title Priority Date Filing Date
JP05821896A Expired - Fee Related JP3187317B2 (en) 1996-02-22 1996-02-22 Interactive program generation device

Country Status (1)

Country Link
JP (1) JP3187317B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070233495A1 (en) * 2006-03-29 2007-10-04 International Business Machines Corporation Partially automated technology for converting a graphical interface to a speech-enabled interface
JP4951407B2 (en) * 2007-05-15 2012-06-13 株式会社日立製作所 Content parts retrieval method and apparatus

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
橋本・宮井著、"ユーザインタフェースシミュレータINTERA"、情報処理学会論文誌,Vol.31,No.10(1990年10月)p.1497−1504

Also Published As

Publication number Publication date
JPH09231062A (en) 1997-09-05

Similar Documents

Publication Publication Date Title
CN100354823C (en) System and method for creating, managing and using code segments
KR100661393B1 (en) Website Management System and Method Applying Web Programming Environment
US8244541B2 (en) Content creation system, content creation method, computer executable program for executing the same content creation method, computer readable storage medium having stored the same program, graphical user interface system and display control method
US20030110472A1 (en) Method and system for generating program source code of a computer application from an information model
US20020007483A1 (en) Interactive flow visualization, graphical editing and analysis of textual languages
JP2002544584A (en) System and method for dynamic assistance in a software application using behavioral and host application models
JPH09134282A (en) How to create a program
JP3423296B2 (en) Voice dialogue interface device
KR100738175B1 (en) Information processing method and apparatus
KR20110094026A (en) Management and automatic linking of data objects
Meixner et al. Model-driven useware engineering
JP5147240B2 (en) Method and system for reversible design tree transformation
JP2008145769A (en) Dialog scenario generation system, method and program
JP5363589B2 (en) Method and system for generating voice user interface code from a data metamodel
US20070189493A1 (en) Interactive voice system
JP3542578B2 (en) Speech recognition apparatus and method, and program
JPH07200587A (en) Document editing device
JP3187317B2 (en) Interactive program generation device
JP2009211599A (en) Mapping definition creation system and mapping definition creation program
Mangeot et al. Online generic editing of heterogeneous dictionary entries in papillon project
JP2007226358A (en) Application generation apparatus, application generation method, and application generation program
KR20060120004A (en) Dialogue Control Unit for Dialog System
JP2946715B2 (en) Program generation method and specification input method for it
JPH06195189A (en) Configuration system of interactive command
JP2003280956A (en) Database case device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees