TWI699699B - System for developing graphical automatic dialogue procedure, method thereof and computer-readable storage device - Google Patents
System for developing graphical automatic dialogue procedure, method thereof and computer-readable storage device Download PDFInfo
- Publication number
- TWI699699B TWI699699B TW107133402A TW107133402A TWI699699B TW I699699 B TWI699699 B TW I699699B TW 107133402 A TW107133402 A TW 107133402A TW 107133402 A TW107133402 A TW 107133402A TW I699699 B TWI699699 B TW I699699B
- Authority
- TW
- Taiwan
- Prior art keywords
- graphical
- program
- interface
- condition
- operating
- Prior art date
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
Description
說明書公開一種自動對話程序的開發系統,特別是指一個具有圖形化介面的自動對話程序的邏輯的開發系統,以及開發方法。 The manual discloses a development system for an automatic dialogue program, especially a logic development system and a development method for an automatic dialogue program with a graphical interface.
在自動化與節省人力的需求下,許多企業在提供消費者服務時,會使用一種自動的對話程序,一般稱為聊天機器人,利用軟體程序將所需服務的內容設計在與消費者之間的互動對話中,常見的作法是由企業端對話程序主導消費者進入問題中,例如設計一些問答選擇題,根據服務項目設計題目,可以語音或是線上文字對話的形式提供消費者一一選擇項目,設計每個項目的流程,以引導到問題的最終解答。 Under the demand of automation and labor saving, many companies use an automatic dialogue program when providing consumer services, generally called chatbots, which use software programs to design the content of the required services in the interaction with consumers In the dialogue, the common practice is that the enterprise-side dialogue program leads the consumers to enter the question, such as designing some question and answer questions, designing the questions according to the service items, and providing consumers with the form of voice or online text dialogue. The process of each project leads to the final answer to the question.
在開發這類自動對話流程時,常見的程式開發是先確認客戶需求,之後開發客製化的對話內容,在程式開發到結果之間,需要經過很多的轉換。舉例來說,由客戶描述整套對話流程,程式人員依照需求建立資料庫,並設計對話內容,並需要反覆驗證才可以達到客戶需求。 When developing this kind of automatic dialogue process, the common program development is to first confirm the customer's needs, and then develop the customized dialogue content. From the program development to the result, many conversions are required. For example, the customer describes the entire dialogue process, the programmer builds a database according to the requirements, and designs the content of the dialogue, and requires repeated verification to meet the customer's needs.
說明書公開一種圖形化自動對話程序開發系統、方法與電腦 可讀取儲存裝置,提供的開發系統以軟體方法實現,通過圖形化介面讓使用者可以可視化流程編輯自動對話程序,提供可視化流程編輯器與可程式化的影像編輯器等軟體工具,從開始到編譯完成都在同一平台完成,能增加開發效率。 The manual discloses a graphical automatic dialogue program development system, method and computer The storage device can be read, and the development system provided is realized by software. Through the graphical interface, users can visualize the process and edit the automatic dialogue program. Provide software tools such as a visual process editor and a programmable image editor, from the beginning to the Compilation is completed on the same platform, which can increase development efficiency.
根據圖形化自動對話程序開發系統的實施例,提供一伺服系統,其中設有軟體實現的軟體模組,包括一條件設定模組,用以提供一或多個類別的對話指令,各個對話指令形成一個條件;一作業程序設定模組,用以提供對應每個條件的一作業程序;以及一結果設定模組,用以提供對應每個作業程序的一輸出結果。圖形化自動對話程序開發系統設有一資料庫模組,其中提供資料庫,包括圖形庫與程式庫。 According to the embodiment of the graphical automatic dialogue program development system, a servo system is provided, in which a software module implemented by software, including a condition setting module, is used to provide one or more types of dialogue commands, and each dialogue command forms A condition; an operating procedure setting module to provide an operating procedure corresponding to each condition; and a result setting module to provide an output result corresponding to each operating procedure. The graphical automatic dialogue program development system is provided with a database module, which provides a database, including a graphics library and a program library.
系統提供一圖形化介面模組,可將所述條件設定模組、作業程序設定模組與結果設定模組以一視覺化處理為多個圖形化工具,並安排於一圖形化操作介面上。如此,此圖形化操作介面則提供使用者應用所述的多個圖形化工具,鏈結至少一條件、對應每個條件的作業程序,以及對應每個作業程序的輸出結果,經動態編譯後建立一自動對話程序。 The system provides a graphical interface module, which can visually process the condition setting module, operation program setting module and result setting module into multiple graphical tools and arrange them on a graphical operation interface. In this way, this graphical operation interface provides the user to apply the multiple graphical tools to link at least one condition, the operation program corresponding to each condition, and the output result corresponding to each operation program, which are created after dynamic compilation An automatic dialogue program.
進一步地,圖形化自動對話程序開發系統更包括一外部服務連接模組,用以連接至少一外部服務系統,以提供查詢外部服務的作業程序。 Further, the graphical automatic dialogue program development system further includes an external service connection module for connecting at least one external service system to provide an operating program for querying external services.
進一步地,系統更包括一介面伺服模組,可通過圖形化介面模組形成呈現於使用者裝置的使用者介面。 Furthermore, the system further includes an interface servo module, which can form a user interface presented on the user device through the graphical interface module.
在一實施方式中,所述圖形化介面模組提供使用者以拖放的方式取得其中圖形化工具,能以拖放的方式安排於圖形化操作介面的一工作區域,對多個圖形化工具形成的多個區域編程,產生顯示內容。 In one embodiment, the graphical interface module provides users with a drag-and-drop method to obtain graphical tools, which can be arranged in a work area of the graphical operation interface by drag-and-drop, and can be used for multiple graphical tools. The formed multiple areas are programmed to generate display content.
在說明書所提出的圖形化自動對話程序開發方法的實施例中,於一初始化程序中,提供一或多個類別的對話指令,其中對 話指令形成條件,提供對應每個條件的作業程序,以及提供對應每個作業程序的輸出結果,之後,可以一視覺化程序處理條件、作業程序以及對應每個作業程序的輸出結果,以形成安排於所述圖形化操作介面上的多個圖形化工具。 In the embodiment of the graphical automatic dialog program development method proposed in the specification, one or more types of dialog commands are provided in an initialization program, among which The instruction forms the conditions, provides the operating procedures corresponding to each condition, and provides the output results corresponding to each operating procedure. After that, the conditions, operating procedures and output results corresponding to each operating procedure can be processed in a visualized program to form an arrangement Multiple graphical tools on the graphical operating interface.
之後,通過圖形化操作介面選擇圖形化工具,並安排於圖形化操作介面的工作區域中,其中產生多個圖形化工具形成的多個區域,再經鏈結所述條件、對應每個條件的作業程序,以及對應每個作業程序的輸出結果,可於一編譯程序中建立自動對話程序。 Afterwards, select graphical tools through the graphical operating interface and arrange them in the working area of the graphical operating interface, where multiple areas formed by multiple graphical tools are generated, and then the conditions corresponding to each condition are linked by The operating procedures, and the output results corresponding to each operating procedure, can be built into an automatic dialogue program in a compiler.
進一步地,當在系統中完成建立的一自動對話程序時,此自動對話程序將先儲存在伺服系統中,讓伺服系統可以提供一個自動對話服務,例如,可以提供一社群媒體通過網路連結此自動對話程序,伺服系統即可根據社群媒體所產生的一請求訊息產生回應訊息。 Further, when an automatic dialogue procedure is established in the system, the automatic dialogue procedure will be stored in the server system first, so that the server system can provide an automatic dialogue service, for example, it can provide a social media connection through the Internet With this automatic dialogue process, the server system can generate a response message based on a request message generated by social media.
公開的揭露內容更提出一種電腦可讀取儲存裝置,其中儲存用於執行上述圖形化自動對話程序開發方法的程式集,程式集經伺服系統中一或多個處理器執行後,執行上述步驟。 The disclosed disclosure further proposes a computer-readable storage device in which a program set for executing the above-mentioned graphical automatic dialog program development method is stored. After the program set is executed by one or more processors in the servo system, the above-mentioned steps are executed.
為了能更進一步瞭解本發明為達成既定目的所採取之技術、方法及功效,請參閱以下有關本發明之詳細說明、圖式,相信本發明之目的、特徵與特點,當可由此得以深入且具體之瞭解,然而所附圖式僅提供參考與說明用,並非用來對本發明加以限制者。 In order to further understand the technology, methods and effects of the present invention to achieve the established objectives, please refer to the following detailed descriptions and drawings about the present invention. I believe that the objectives, features and characteristics of the present invention can be thoroughly and concretely obtained. It is understood that, however, the accompanying drawings are only provided for reference and illustration, and are not intended to limit the present invention.
10‧‧‧圖形化操作介面 10‧‧‧Graphical operation interface
101‧‧‧圖形化工具區 101‧‧‧Graphical tool area
102‧‧‧流程管理區 102‧‧‧Process Management Area
A‧‧‧流程 A‧‧‧Process
B‧‧‧流程 B‧‧‧Process
C‧‧‧流程 C‧‧‧Process
103‧‧‧工作區域 103‧‧‧Working area
20‧‧‧伺服系統 20‧‧‧Servo system
201‧‧‧條件設定模組 201‧‧‧Condition setting module
202‧‧‧作業程序設定模組 202‧‧‧Operating program setting module
203‧‧‧結果設定模組 203‧‧‧Result setting module
204‧‧‧資料庫模組 204‧‧‧Database Module
25‧‧‧圖形庫 25‧‧‧Graphics library
26‧‧‧程式庫 26‧‧‧Library
205‧‧‧圖形化介面模組 205‧‧‧Graphical interface module
21‧‧‧圖形化操作介面 21‧‧‧Graphical operation interface
206‧‧‧外部服務連接模組 206‧‧‧External Service Connection Module
27‧‧‧外部服務系統 27‧‧‧External Service System
207‧‧‧介面伺服模組 207‧‧‧Interface Servo Module
23‧‧‧使用者介面 23‧‧‧User Interface
208‧‧‧使用者管理模組 208‧‧‧User Management Module
29‧‧‧使用者 29‧‧‧User
30‧‧‧圖形化操作介面 30‧‧‧Graphical operation interface
301‧‧‧圖形化工具 301‧‧‧Graphical tools
303‧‧‧工作區域 303‧‧‧Working area
311,312,313,314,315‧‧‧圖形化作業元件 311,312,313,314,315‧‧‧Graphical operating components
40‧‧‧初始化程序 40‧‧‧initialization program
51‧‧‧條件 51‧‧‧Conditions
511‧‧‧條件一 511‧‧‧Condition 1
512‧‧‧條件二 512‧‧‧Condition 2
513‧‧‧條件三 513‧‧‧Condition Three
514‧‧‧條件四 514‧‧‧Condition 4
515‧‧‧條件五 515‧‧‧Condition 5
53‧‧‧作業程序 53‧‧‧Operating Procedure
531‧‧‧作業程序一 531‧‧‧Operating Procedure One
532‧‧‧作業程序二 532‧‧‧Operating Procedure Two
533‧‧‧作業程序三 533‧‧‧Operating Procedure Three
534‧‧‧作業程序四 534‧‧‧Operating Procedure Four
535‧‧‧作業程序五 535‧‧‧Operating Procedure Five
55‧‧‧輸出結果 55‧‧‧Output result
551‧‧‧結果一 551‧‧‧Result 1
552‧‧‧結果二 552‧‧‧Result 2
553‧‧‧結果三 553‧‧‧Result Three
554‧‧‧結果四 554‧‧‧Result Four
555‧‧‧結果五 555‧‧‧Result 5
20‧‧‧伺服系統 20‧‧‧Servo system
6‧‧‧網路 6‧‧‧Internet
60‧‧‧使用者裝置 60‧‧‧User Device
70‧‧‧社群伺服器 70‧‧‧Community Server
72‧‧‧使用者 72‧‧‧User
步驟S401~S415‧‧‧圖形化自動對話程序開發流程 Steps S401~S415‧‧‧Graphical automatic dialogue program development process
701~707‧‧‧社群應用自動對話程序的流程 701~707‧‧‧The flow of automatic dialogue program for community applications
圖1顯示圖形化自動對話程序開發系統提出的圖形化操作介面的實施例示意圖;圖2顯示圖形化自動對話程序開發系統的軟體模組實施例圖;圖3顯示圖形化自動對話程序開發系統中圖形化操作介面的使用操作示意圖;圖4顯示圖形化自動對話程序開發方法的實施例流程圖; 圖5示意顯示圖形化自動對話程序開發系統中條件設定模組、作業程序設定模組與結果設定模組的鏈結關係;圖6顯示以自動對話程序的範例圖;圖7顯示社群媒體應用自動對話程序的實施例流程。 Figure 1 shows a schematic diagram of an embodiment of the graphical operation interface proposed by the graphical automatic dialog program development system; Figure 2 shows an embodiment diagram of the software module of the graphical automatic dialog program development system; Figure 3 shows the graphical automatic dialog program development system A schematic diagram of the use and operation of the graphical operation interface; FIG. 4 shows a flowchart of an embodiment of a graphical automatic dialog program development method; Figure 5 schematically shows the link relationship between the condition setting module, the operating program setting module and the result setting module in the graphical automatic dialog program development system; Figure 6 shows an example diagram of the automatic dialog program; Figure 7 shows the social media application The embodiment flow of the automatic dialogue program.
說明書公開一種圖形化自動對話程序開發系統,相關開發方法,以及儲存執行此方法的程式集的電腦可讀取儲存裝置,圖形化自動對話程序開發系統為提出一個以電腦實現的具有圖形化介面的自動對話程序開發系統,呈現的結果可以如一種聊天機器人。開發系統提供圖形化操作介面,讓設計者可以利用其中工具設計自動對話程序的邏輯,包括設定自動對話中的決策樹。 The manual discloses a graphical automatic dialogue program development system, related development methods, and computer-readable storage devices that store the program set for executing this method. The graphical automatic dialogue program development system proposes a computer-implemented graphical interface Automatic dialogue program development system, the results presented can be like a chat robot. The development system provides a graphical operation interface, allowing designers to use the tools to design the logic of the automatic dialogue program, including setting the decision tree in the automatic dialogue.
圖1顯示圖形化自動對話程序開發系統提出的圖形化操作介面的實施例示意圖,此示意圖僅示意表示一個圖形化自動對話程序的開發環境,並非用來限制本發明範圍。 FIG. 1 shows a schematic diagram of an embodiment of a graphical operation interface proposed by a graphical automatic dialog program development system. This schematic diagram only schematically shows a development environment of a graphical automatic dialog program, and is not intended to limit the scope of the present invention.
此例中,圖中顯示通過軟體程序啟始的一個圖形化操作介面10,例如是顯示在使用者端的裝置上,可以是利用網頁瀏覽器所呈現的網頁,或是特定軟體的圖形使用者介面。圖形化操作介面10中設有一圖形化工具區101,其中提供多種讓使用者選擇編入自動對話程序的圖形化工具,分別可以不同樣式的圖形表示一或多個類別的對話指令所形成的條件、對應每個條件的作業程序,以及對應每個作業程序的輸出結果。
In this example, the figure shows a
使用者可以在此圖形化操作介面10上以滑鼠、鍵盤、手勢(不拘)等輸入方式選擇圖形化工具區101的圖形化工具,並置放到一旁的工作區域103上。舉例來說,當使用者欲設計一個對話指令,可以滑鼠或手勢拖放(Drag-and-drop)方式將有關對話指令的圖形化工具由圖形化工具區101拉到工作區域103上,並擺放於適當位置。所述拖放的方式常用於圖形使用者介面(Graphical
user interface)中的操作行為,因此,使用者可以藉此將多個圖形化工具串接在一個流程中,在兩個圖形化工具之間建立邏輯上的連結,最後可以建立自動對話邏輯的決策樹。
The user can select the graphical tools in the
欲建立一個完整的圖形化自動對話程序,因為考量問題與答案的多樣性,因此可能是由多個流程所建構,圖中顯示在圖形化操作介面10上可以設計一個流程管理區102,當中示意顯示一個圖形化自動對話程序的專案中有流程A、流程B與流程C,讓使用者可以增減流程,以及針對特定流程進行設計。
To build a complete graphical automatic dialogue program, because of the diversity of questions and answers, it may be constructed by multiple processes. As shown in the figure on the
經圖形化操作介面10建立對話指令、作業程序與輸出結果的鏈結(link)之後,即完成圖形化自動對話程序專案後,可以通過測試找到邏輯上的缺陷,並可按下完成按鈕後結束設計。
After establishing a link between the dialog instructions, operating procedures, and output results through the
值得一提的是,當完成某個自動對話程序專案後,相關程式將儲存在一伺服系統中,可以提供外部連結使用,例如提供一社群媒體的某個群組內的自動對話服務。 It is worth mentioning that when an automatic dialogue program project is completed, the related program will be stored in a server system, which can provide external links for use, such as providing an automatic dialogue service in a certain group of social media.
所述圖形化自動對話程序開發系統是由多個軟體程序的組成,根據軟體功能可以區分如圖2所示的實施例圖,其中顯示伺服系統20根據所提供的條件、作業程序與對應輸出結果等設計自動對話程序的軟體模組。
The graphical automatic dialogue program development system is composed of a plurality of software programs. According to the software function, the embodiment shown in FIG. 2 can be distinguished, in which the
伺服系統20中包括有一條件設定模組201,條件設定模組201用以提供一或多個類別的對話指令,舉例來說,所述類別例如有關吃的議題,在此議題下,自動對話程序讓使用者設計出尋找餐廳的種種對話指令;例如類別為股票,在查詢股票的議題下,自動對話程序讓使用者設計出有關股票這個議題可能產生的問題,如股票號碼、股票指數、走勢等。其中,在特定類別下的各個對話指令將形成一個條件,或多個條件的組合。
The
伺服系統20包括有一作業程序設定模組202,作業程序設定模組202提供對應每個條件的一作業程序,所述作業程序可以為對應每個條件的程序,一般可以腳本語言(script)或巨集(macro)
撰寫,最後可以通過結果設定模組203提供對應每個作業程序的一輸出結果,而結果在自動對話程序中可以設定以文字或圖形方式表示。
The
需要一提的是,建立對話、作業程序與結果的邏輯關係後,結果設定模組203將可以輸出結果形成下一個對話指令的參數,再輸入至條件設定模組201,產生完整的自動對話程序。
It should be mentioned that after establishing the logical relationship between the dialog, the operation procedure and the result, the
舉例來說,作業程序例如為根據每個對話指令形成的條件查詢系統的內部資料庫,或是連結到外部服務系統的資料庫,之後以排序與/或篩選後得到一或多筆輸出結果,最後顯示出來。作業程序也可以連結前後有邏輯關係的對話指令,例如連結前一個對話指令產生的結果,將這個結果視為下一個條件的參數,並帶入後面的對話指令中,如此可以藉由這個作業程序產生連續查詢與關聯的結果。 For example, the operating procedure is to query the internal database of the system according to the conditions formed by each dialog command, or link to the database of an external service system, and then sort and/or filter to obtain one or more output results. Finally displayed. The operation program can also be connected to the dialogue commands that have a logical relationship before and after, for example, the result of the previous dialogue command is linked, and the result is regarded as the parameter of the next condition and brought into the following dialogue command, so that this operation procedure can be used Produce continuous query and associated results.
所述資料庫的存取指令可以一資料庫模組204處理,資料庫模組204提供資料庫,資料庫主要包括一圖形庫25,用以儲存圖形化介面所需圖案;包括一程式庫26,程式庫26則是儲存作業程序所需的軟體程式,讓使用者載入使用。
The access commands of the database can be processed by a
伺服系統20亦可提供外部資源,例如提出一外部服務連接模組206,可以連接至少一外部服務系統27,用以提供查詢外部服務的作業程序。為了要界接外部服務系統27,可以使用相關服務業者提供的應用程式介面(API),以利存取外部的資源。舉例來說,當使用者設計查詢天氣的自動對話程序,則需要連結到外部氣象局或是特定氣象預報的外部服務系統27,以提供即時的訊息。
The
伺服系統20提供圖形化介面模組205,圖形化介面模組205是將上述條件設定模組201、作業程序設定模組205與結果設定模組203分別產生的條件、作業程序與結果以一視覺化處理為多個圖形化工具,安排於圖形化操作介面21上。
The
伺服系統20提供介面伺服模組207,這是提供終端使用者可
以通過網頁或其他軟體啟始的使用者介面存取伺服系統20,例如採用HTTP協定提供網頁服務,其中通過圖形化介面模組205形成呈現於使用者裝置的一軟體程式啟始的使用者介面23。
The
此圖形化自動對話程序開發系統可通過伺服系統20中的使用者管理模組208管理系統的使用者29,包括認證登入系統的使用者,維護使用者在系統中的資料,以及提供使用者設計自動對話流程的圖形化使用者介面與軟體工具。
This graphical automatic dialogue program development system can manage the
圖3接著以示意圖表示圖形化自動對話程序開發系統中的圖形化操作介面形成輸出結果的實施範例,此例係以軟體程式啟始的一使用者介面的形式表示,但本發明並不限定在此介面。 Figure 3 then shows a schematic diagram of an implementation example of the graphical operation interface in the graphical automatic dialogue program development system to form output results. This example is shown in the form of a user interface initiated by a software program, but the present invention is not limited to This interface.
圖中示意表示通過圖形化操作介面30設計出一個設計自動對話程序的圖形使用者介面實施例。圖形化操作介面30可以設計有不同區域,此例顯示有提供多樣對話設計工具的圖形化工具301以及提供使用者設定對話流程與決策樹的工作區域303。
The figure schematically shows an embodiment of a graphical user interface for designing an automatic dialogue program through a
工作區域303讓使用者可以根據自動對話流程所需呈現的內容,自圖形化工具301選擇工具後,置放到工作區域303上,此例顯示在工作區域303中有了幾個圖形化作業元件311,312,313,314,315。
The working
也就是,電腦系統可以根據自動對話程序得到各種參數,最後要形成有意義的輸出結果,在此,使用者可從圖形化操作介面30上的圖形化工具301中選擇幾個圖形化作業元件311,312,313,314,315,電腦系統的軟體程序將背景執行後鏈結其中至少一條件、對應每個條件的作業程序,以及對應每個作業程序的輸出結果,最後產生預期的輸出結果。
That is, the computer system can obtain various parameters according to the automatic dialogue program, and finally form a meaningful output result. Here, the user can select several
應用圖形化操作介面30時,可以滑鼠或手勢拖拉的方式,根據事先設計的決策樹自圖形化工具301選擇圖形化作業元件311,312,313,314,315,其中有些作業元件用於設計指令、有些用於鏈結各作業元件的輸出入參數、有些用於呈現出結果,以及有些用
於編寫程序。每個圖形化作業元件311,312,313,314,315可以圖形或文字顯示在工作區域303中,每個作業元件更為可編程,可讓使用者進一步進行編程其中程式碼。
When using the
以上示意圖表示可以通過圖形化操作介面開發出自動對話程序,相關方法實施例流程如圖4所示。 The above schematic diagram shows that an automatic dialogue program can be developed through a graphical operation interface, and the related method embodiment process is shown in FIG. 4.
在圖形化操作介面開發系統開始時,先進行初始化程序40,圖中顯示初始化程序40至少包括三個步驟,這三個步驟的執行順序並沒有絕對的前後關係,而可以是其他排列順序,或是同時運行。其中包括了步驟S401,提供一或多個類別的對話指令,這是讓開發自動對話程序的使用者可以選擇類別,以及設定在此類別的議題的對話指令,每個對話指令形成一個條件。在步驟S403中,系統提供對應每個條件的作業程序,也就是每個條件背後執行的軟體程序;在步驟S405中,系統提供對應每個作業程序的輸出結果,也就是執行了作業程序後都會產生一個以文字或圖案表示的結果。
At the beginning of the graphical operation interface development system, the
之後,使用者依據需求,如步驟S407,可以安排對應條件、作業程序與結果的圖形化工具至圖形化操作介面上,其中主要是以一視覺化程序處理所述一或多個類別的對話指令形成的條件、對應每個條件的該作業程序以及對應每個作業程序的輸出結果,例如可以拖放的方式安排於圖形化操作介面上,形成安排於一圖形化操作介面上的多個圖形化工具。之後,如步驟S409,選擇對應的圖形化工具,並可以拖放至工作區域中。每個圖形化工具背後對應一個編程,在步驟S411中,對多個圖形化工具形成的多個區域編程,每個區域顯示內容為可編程,這些編程的組合將產生圖形化的顯示內容。 Afterwards, the user can arrange graphical tools corresponding to the conditions, operating procedures, and results to the graphical operating interface according to requirements, such as step S407, in which the one or more types of dialogue commands are mainly processed by a visual process The formed conditions, the operation program corresponding to each condition, and the output result corresponding to each operation program, for example, can be arranged on a graphical operation interface in a drag-and-drop manner to form multiple graphics arranged on a graphical operation interface tool. Then, in step S409, the corresponding graphical tool is selected and can be dragged and dropped into the working area. Each graphical tool corresponds to a programming. In step S411, multiple regions formed by multiple graphical tools are programmed, and the display content of each region is programmable, and the combination of these programming will generate graphical display content.
在此圖形化操作介面上,通過工作區域中多個區域鏈結至少一條件、對應每個條件的作業程序,以及對應每個作業程序的輸出結果(步驟S413)。例如,選擇對應條件的作業程序為根據每個 對話指令形成的條件查詢資料庫後,以排序或篩選後得到一或多筆輸出結果。之後,系統於一編譯程序中建立一自動對話程序(步驟S415)。 On the graphical operation interface, at least one condition, the operation program corresponding to each condition, and the output result of each operation program are linked through multiple areas in the work area (step S413). For example, select the operating procedures corresponding to the conditions according to each After querying the database based on the conditions formed by the dialogue command, one or more output results are obtained after sorting or filtering. After that, the system creates an automatic dialogue program in a compiler program (step S415).
經編譯(包括直譯)完成的自動對話程序將儲存在伺服系統中,伺服系統同時也可以為所述的圖形化操作介面開發系統,建立一個分享連線,當有特定應用時,使用者可以利用這個分享連線執行自動對話程序。 The automatic dialogue program completed by compilation (including literal translation) will be stored in the servo system. The servo system can also develop a system for the graphical operation interface and establish a sharing connection. When there is a specific application, the user can use This sharing connection executes an automatic conversation process.
圖5示意顯示上述條件、作業程序與結果的鏈結關係的實施例。 Fig. 5 schematically shows an embodiment of the linkage relationship between the above conditions, operating procedures and results.
第一欄顯示系統提供的條件51,提供使用者通過對話指令設計出各種條件,包括條件一511、條件二512、條件三513、條件四514與條件五515。第二欄則是提供作業程序53的設定,每個作業程序為一個軟體程序,使用者可以設計某個條件鏈結某個作業程序,此例顯示有作業程序一531、作業程序二532、作業程序三533、作業程序四534與作業程序五535等多個作業程序,包括系統提供的功能以及使用者自己設計的程序。第三欄顯示了對應每個作業程序的輸出結果55,同樣地,可以針對每個作業程序設計一個輸出結果,此例顯示有結果一551、結果二552、結果三553、結果四554與結果五555。
The first column shows the
以上條件51、作業程序53與輸出結果55成為圖形化介面模組提供使用者以拖放的方式取得一或多個圖形化工具,讓使用者可以直覺(如拖放)的方式安排於圖形化操作介面的工作區域上,在工作區域中建立每個圖形化工具的顯示區域,每個區域顯示內容為可編程。之後將個別的條件51、作業程序53與輸出結果55鏈結起來,形成一個自動對話程序。
The
根據以上實施例,當完成自動對話程序的設計後,可以直譯或編譯方式儲存整個流程,可應用於股票(查詢)、電影(查詢、下單)、旅遊(查詢)、餐廳(點餐、下單)等服務。 According to the above embodiment, when the design of the automatic dialogue program is completed, the entire process can be stored in a literal or compiled manner, which can be applied to stocks (query), movies (query, order), travel (query), restaurants (order, order) Single) and other services.
當完成條件、作業程序與結果之間的邏輯設計與編譯後,建立自動對話程序,根據一實施例,這個自動對話程序將儲存在伺服系統中,由伺服系統提供外部連線使用,相關實施例可參考圖6所示的系統示意圖。 After completing the logical design and compilation between the conditions, operating procedures, and results, an automatic dialogue program is established. According to one embodiment, this automatic dialogue program will be stored in the servo system and used by the servo system to provide external connections. Related embodiments Refer to the system diagram shown in Figure 6.
此圖例顯示伺服系統20通過網路6提供各端使用者裝置60登入使用,包括開發自動對話程序,以及使用已經完成開發的自動對話程序。當有使用者操作使用者裝置60進入特定網站時,如一個社群媒體,可以在其中設置一個通過網路6執行在伺服系統20中的自動對話程序的一個連結指令。這個連結指令將可以提供社群媒體中相關的用戶點入後,觸發儲存在伺服系統20中的某個自動對話程序。
This illustration shows that the
在一實施例中,在一個社群媒體中,可以利用伺服系統20中的某個自動對話程序提供自動對話服務,例如,可以提供電影查詢、餐廳訂位、旅遊規劃與股票查詢與下單等(並非限定這些類別)多種自動對話服務。當終端使用者使用終端裝置通過網路6連接伺服系統20中的自動對話服務時,執行此自動對話程序,可以依據上述圖形化自動對話程序開發系統建立的決策樹開始自動對話服務。
In one embodiment, in a social media, an automatic dialogue program in the
舉例來說,若使用者通過伺服系統20執行其中之一自動對話程序,若為餐廳訂位的對話服務,伺服系統20可主動產生自動對話框,並根據之前設計的自動對話程序開始對話,例如,系統提出這個餐廳項目中的第一個對話:「吃甚麼?」,在系統背後形成一個條件;接著,使用者回答:「西餐」,形成一個查詢資料庫的條件;系統繼續根據設計的對話邏輯詢問使用者的預算,例如提出問題:「多少錢?」,此時使用者可以回應:「1000元」;接著,系統根據自動對話程序而提問:「多少人?」,使用者回答:「2人」;系統提問:「日期?」,使用者回答:「1/1/2018」。
For example, if the user executes one of the automatic dialogue procedures through the
當系統通過以上對話得到各種條件,開始運行背後的作業程 序,包括查詢資料庫,可以得出符合上述多個條件的輸出結果,成為下一個對話指令的條件,此例顯示以選項提供使用者選擇餐廳,如:「(1)餐廳A、(2)餐廳B,以及(3)餐廳C」,此時使用回答「(2)」,也就是選擇了「餐廳B」。 When the system obtains various conditions through the above dialogue, it starts to run the work process behind it Sequence, including querying the database, can obtain output results that meet the above multiple conditions and become the conditions of the next dialog command. This example shows that the user is provided with options to choose a restaurant, such as: "(1) Restaurant A, (2) Restaurant B, and (3) Restaurant C", use the answer "(2)" at this time, that is, select "Restaurant B".
背後的作業程序查詢有關餐廳B的結果,其中可能可以進一步考量使用者的位置,甚至是過去的歷史數據產生的喜好分析,讓系統可以回應較佳與客製化的問題,此例問:「(1)位置A、(2)位置B,或是(3)位置C」,而使用者回答「(3)」,表示選擇了位於「位置C的餐廳B」。 The operating procedure behind queries the results of restaurant B, which may further consider the user's location, and even the preference analysis generated by past historical data, so that the system can respond to better and customized questions. This example asks: " (1) Location A, (2) Location B, or (3) Location C", and the user answers "(3)", indicating that the restaurant B located at "location C" is selected.
之後,伺服系統20查詢資料庫(或外部系統)得到輸出結果,如圖顯示一個標示「餐廳B」的電子地圖,這個輸出結果可以根據如圖3所示事前設計的決策樹,其中顯示內容背後為一個完整的作業程序。即完成本次自動對話服務。
After that, the
值得一提的是,自動對話程序並不限於這樣的應用,而可以查詢外部服務系統得到即時的訊息。例如,使用者可以進一步詢問這個餐廳是否有空位、進入訂位系統等外部服務等。 It is worth mentioning that the automatic dialogue program is not limited to such applications, but can query external service systems to obtain instant messages. For example, the user can further inquire whether the restaurant is available, enter the reservation system and other external services.
當使用者通過所述的圖形化自動對話程序開發系統完成建立一個自動對話程序,自動對話程序可儲存在伺服系統中,以提供自動對話服務,包括提供外部系統連結自動對話程序,而伺服系統將可根據外部系統產生的請求訊息產生回應。實施例如圖7所示一社群媒體應用自動對話程序的實施例流程。 When the user completes the establishment of an automatic dialog program through the graphical automatic dialog program development system, the automatic dialog program can be stored in the server system to provide automatic dialog services, including providing external system links to the automatic dialog program, and the server system will Responses can be generated based on request messages generated by external systems. An example is the flow of an embodiment of an automatic dialogue program for a social media application as shown in FIG. 7.
此流程圖顯示提供自動對話服務的伺服系統20連結一外部服務系統27,此外部服務系統27能夠根據查詢的請求提供查詢到的結果,例如,當有使用者通過自動服務程序查詢電影的時刻時,外部服務系統27將提供對應某部電影在某家戲院的播放時間表;當有使用者查詢某支股票的走勢時,外部服務系統27可以為一提供股票查詢服務的外部系統,根據使用者通過自動對話程序提出的股票名稱,提供對應的股票走勢圖。
This flowchart shows that the
在圖例的實施例流程中,一開始,使用者72登入到某個社群伺服器70,利用其中的某個自動對話服務產生一訊息(步驟701),訊息將攜帶查詢的指令以及使用者72在社群媒體的使用者ID,這個訊息通過社群伺服器70對連線的伺服系統20發出一請求訊息(步驟702),伺服系統20接收此請求訊息,同時也接收到來源,也就識別社群伺服器70的伺服器ID。
In the example process shown in the figure, at the beginning, the user 72 logs in to a certain social server 70 and uses one of the automatic dialogue services to generate a message (step 701). The message will carry the query command and the user 72 In the social media user ID, this message sends a request message to the
伺服系統20將根據此請求訊息執行對應流程(步驟703),若為詢問的指令,即提供回覆,若指令涉及外部查詢,即連線對應的外部服務系統27,產生並傳送請求外部訊息(步驟704),由外部服務系統27根據這個訊息產生回覆,也就是傳送一回覆外部訊息至伺服系統20。
The
接著,伺服系統20根據各種識別資訊可以知道這個外部訊息應該回傳到社群伺服器70,即產生一回應訊息(步驟706),最後可以在社群媒體中的對話服務回應給使用者72(步驟707)。如此完成一個自動對話程序。
Then, the
揭露書更公開儲存所述方法的程式集的一種電腦可讀取儲存裝置,其中儲存用於執行圖形化自動對話程序開發方法的程式集,程式集經伺服系統中一或多個處理器執行,即執行上述方法。 The disclosure also discloses a computer-readable storage device storing the program set of the method, in which the program set for executing the graphical automatic dialog program development method is stored, and the program set is executed by one or more processors in the servo system. The above method is executed.
另有實施例如查詢股票,系統可以通過對話得到使用者欲查詢的股票資訊,如詢問股票代號、日期、類股等對話指令,形成查詢資料庫的作業程序的條件,之後可以一結果頁面呈現股票價值、走勢與相關資訊。 In another implementation, such as querying stocks, the system can obtain the stock information that the user wants to query through dialogues, such as querying stock code, date, stocks and other dialogue commands, to form the conditions of the operating procedure for querying the database, and then display the stocks on a result page Value, trend and related information.
綜上所述,根據以上描述的具有圖形化介面的自動對話程序開發系統,此為一以電腦實現的開發系統,以及開發方法,可以利用圖形化操作介面設計自動對話程序的邏輯,建立自動對話的決策樹。通過圖形化介面讓使用者可以可視化流程編輯自動對話程序,提供可視化流程編輯器與可程式化的影像編輯器等軟體工具,從開始到編譯完成都在同一平台完成,能增加開發效率。 In summary, according to the above-described automatic dialogue program development system with a graphical interface, this is a computer-implemented development system and development method. The graphical operation interface can be used to design the logic of the automatic dialogue program to establish an automatic dialogue Decision tree. Through the graphical interface, users can visualize the process and edit the automatic dialogue program, and provide software tools such as a visual process editor and a programmable image editor. From the beginning to the completion of the compilation, they are completed on the same platform, which can increase development efficiency.
以上所述僅為本發明之較佳可行實施例,凡依本發明申請專利範圍所做之均等變化與修飾,皆應屬本發明之涵蓋範圍。 The foregoing descriptions are only preferred and feasible embodiments of the present invention, and all equivalent changes and modifications made in accordance with the scope of the patent application of the present invention should fall within the scope of the present invention.
10‧‧‧圖形化操作介面 10‧‧‧Graphical operation interface
101‧‧‧圖形化工具區 101‧‧‧Graphical tool area
102‧‧‧流程管理區 102‧‧‧Process Management Area
A‧‧‧流程 A‧‧‧Process
B‧‧‧流程 B‧‧‧Process
C‧‧‧流程 C‧‧‧Process
103‧‧‧工作區域 103‧‧‧Working area
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW107133402A TWI699699B (en) | 2018-09-21 | 2018-09-21 | System for developing graphical automatic dialogue procedure, method thereof and computer-readable storage device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW107133402A TWI699699B (en) | 2018-09-21 | 2018-09-21 | System for developing graphical automatic dialogue procedure, method thereof and computer-readable storage device |
Publications (2)
Publication Number | Publication Date |
---|---|
TW202013180A TW202013180A (en) | 2020-04-01 |
TWI699699B true TWI699699B (en) | 2020-07-21 |
Family
ID=71130458
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW107133402A TWI699699B (en) | 2018-09-21 | 2018-09-21 | System for developing graphical automatic dialogue procedure, method thereof and computer-readable storage device |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI699699B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130268260A1 (en) * | 2012-04-10 | 2013-10-10 | Artificial Solutions Iberia SL | System and methods for semiautomatic generation and tuning of natural language interaction applications |
US20150089399A1 (en) * | 2013-09-26 | 2015-03-26 | Polis Technology Inc. | System and methods for real-time formation of groups and decentralized decision making |
US20150220616A1 (en) * | 2011-08-31 | 2015-08-06 | Research & Business Foundation Sungkyunkwan University | System and method for analyzing experience in real time |
US20160357418A1 (en) * | 2014-03-26 | 2016-12-08 | Unanimous A. I., Inc. | Methods for analyzing decisions made by real-time collective intelligence systems |
-
2018
- 2018-09-21 TW TW107133402A patent/TWI699699B/en active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150220616A1 (en) * | 2011-08-31 | 2015-08-06 | Research & Business Foundation Sungkyunkwan University | System and method for analyzing experience in real time |
US20130268260A1 (en) * | 2012-04-10 | 2013-10-10 | Artificial Solutions Iberia SL | System and methods for semiautomatic generation and tuning of natural language interaction applications |
US20150089399A1 (en) * | 2013-09-26 | 2015-03-26 | Polis Technology Inc. | System and methods for real-time formation of groups and decentralized decision making |
US20160357418A1 (en) * | 2014-03-26 | 2016-12-08 | Unanimous A. I., Inc. | Methods for analyzing decisions made by real-time collective intelligence systems |
Also Published As
Publication number | Publication date |
---|---|
TW202013180A (en) | 2020-04-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9070104B2 (en) | Cross-context task management | |
US7945907B2 (en) | System and method for configuring application programs | |
US20120260254A1 (en) | Visual scripting of web services for task automation | |
US8965831B2 (en) | System, method, and software program product for enabling users to create and use rule patterns to generate custom product-configuration rules | |
US10762292B2 (en) | Systems and methods for collaborative editing of interactive walkthroughs of content | |
US20180321830A1 (en) | Screen-based workflow configuration and execution platform | |
CN111309315B (en) | Automatic configuration method based on industrial Internet of things data and business modeling | |
WO2020214282A1 (en) | Visualization of training dialogs for a conversational bot | |
Schmidt et al. | Analyzing requirements on software tools according to the functional engineering phase in the technical systems engineering process | |
Tiedemann et al. | Structuring a new product development process portfolio using decoupling thinking | |
Ng et al. | Designing for digital fabrication: An empirical study of industry needs, perceived benefits, and strategies for adoption | |
CN112395100A (en) | Data-driven complex product cloud service data packet calling method and system | |
JP6452882B1 (en) | System, method and program for automating business processes involving operation of web browser | |
Azevedo et al. | Supporting the entire life-cycle of the extended manufacturing enterprise | |
TWI699699B (en) | System for developing graphical automatic dialogue procedure, method thereof and computer-readable storage device | |
US11811712B2 (en) | Conversational natural language interfaces for data analysis | |
CN111045662A (en) | Graphical automatic dialogue program development system, method and computer readable memory | |
Börsting et al. | Towards a Systematic Approach for Chatbot Development in Digital Work Environments | |
KR20030047442A (en) | Enterprise business process consulting system | |
Bal et al. | Virtual-reality-based information requirements analysis tool for CIM system implementation: a case study in die-casting industry | |
US20240320247A1 (en) | System and method for providing analytics and intelligent question-answering via interactive dashboard | |
US11740986B2 (en) | System and method for automated desktop analytics triggers | |
Campagnolo et al. | From specifications to specific vagueness: how enterprise software mediates relations in engineering practices | |
TWI745620B (en) | Method for dynamically generating customized picture, system thereof, and computer-readable storage device | |
US20110153514A1 (en) | Generating Customer-Specific Solution Documentation |