TWI649668B - Method of authentication and dialogue robot based on instant messaging program - Google Patents
Method of authentication and dialogue robot based on instant messaging program Download PDFInfo
- Publication number
- TWI649668B TWI649668B TW105144296A TW105144296A TWI649668B TW I649668 B TWI649668 B TW I649668B TW 105144296 A TW105144296 A TW 105144296A TW 105144296 A TW105144296 A TW 105144296A TW I649668 B TWI649668 B TW I649668B
- Authority
- TW
- Taiwan
- Prior art keywords
- instant messaging
- messaging software
- customer
- account
- identity
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 35
- 238000004891 communication Methods 0.000 claims abstract description 33
- 238000012795 verification Methods 0.000 claims description 28
- 230000008569 process Effects 0.000 claims description 13
- 230000002452 interceptive effect Effects 0.000 claims description 12
- 230000008520 organization Effects 0.000 description 7
- 230000006870 function Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
一種建構於即時通訊軟體之身分驗證方法,包括:步驟A:由一通訊介面透過一即時通訊軟體取得該即時通訊軟體之一帳號所傳送之一第一訊息,且該第一訊息包括一客戶之一第一身分資料;步驟B:由一處理器分析該第一訊息,以取得該第一身分資料;步驟C:由一控制器查詢儲存多個客戶資料的一客戶資料庫,以判斷該第一身分資料是否唯一地對應於該多個客戶資料的任何一個;若該第一身分資料是唯一地對應於一特定客戶資料,則將該即時通訊軟體之該帳號記錄於該客戶資料庫,以結合該特定客戶資料。 A method for authenticating an identity authentication software includes: Step A: obtaining, by a communication interface, a first message transmitted by an account of the instant messaging software through an instant messaging software, and the first message includes a customer a first identity data; step B: analyzing the first message by a processor to obtain the first identity data; and step C: querying, by a controller, a client database storing a plurality of client data to determine the first Whether the identity data uniquely corresponds to any one of the plurality of customer profiles; if the first identity data uniquely corresponds to a specific customer profile, the account of the instant messaging software is recorded in the customer database, Combine this specific customer profile.
Description
本技術領域是關於身分驗證方法、電子商務方法及對話機器人,特別是關於建構於即時通訊軟體之身分驗證方法、電子商務方法及對話機器人。 The technical field relates to an identity verification method, an e-commerce method and a dialogue robot, in particular to an identity verification method, an e-commerce method and a dialogue robot constructed in an instant messaging software.
由於網路技術成熟,電子商務蓬勃發展,民眾可透過網路進行交易、轉帳、繳費、信託、投資、投保等各項商務。然而,民眾若希望就某機構辦理商務,則必須前往該機構的專用網站,或使用該機構的專用應用程式(APP)進行辦理,甚為不便。此外,這些專用網站或應用程式的操作介面總是相當複雜,難以習慣。因此,亟需發展一種技術,提供民眾在熟悉的操作介面下辦理商務。 Due to the maturity of network technology and the rapid development of e-commerce, people can conduct transactions, transfer, payment, trust, investment, insurance and other businesses through the Internet. However, if people want to conduct business for an organization, they must go to the agency's dedicated website or use the agency's dedicated application (APP) for processing, which is very inconvenient. In addition, the operation interface of these dedicated websites or applications is always quite complicated and difficult to get used to. Therefore, there is an urgent need to develop a technology that provides people with business in a familiar operating interface.
目前即時通訊軟體,例如:LINE、Facebook Messenger、Skype、WhatsApp、Instagram等相當發達,民眾接觸即時通訊軟體的時間很長和頻率很高。比起複雜的專用網站或專用應用程式,民眾較熟悉即時通訊軟體的操作。 因此,民眾若可使用即時通訊軟體辦理商務,將會十分便利。然而,商務涉及債之關係,往往需要身分認證。 At present, instant messaging software, such as LINE, Facebook Messenger, Skype, WhatsApp, Instagram, etc. are quite developed, and people have a long time and high frequency of access to instant messaging software. People are more familiar with the operation of instant messaging software than complex dedicated websites or dedicated applications. Therefore, if people can use instant messaging software to conduct business, it will be very convenient. However, business involves debt relationships and often requires identity certification.
有鑑於此,本發明提供一種建構於即時通訊軟體之身分驗證方法,包括:步驟A:由一通訊介面透過一即時通訊軟體取得該即時通訊軟體之一帳號所傳送之一第一訊息,且該第一訊息包括一客戶之一第一身分資料;步驟B:由一處理器分析該第一訊息,以取得該第一身分資料;及步驟C:由一控制器查詢儲存多個客戶資料的一客戶資料庫,以判斷該第一身分資料是否唯一地對應於該多個客戶資料的任何一個;若該第一身分資料是唯一地對應於一特定客戶資料,則將該即時通訊軟體之該帳號記錄於該客戶資料庫,以結合該特定客戶資料。 In view of the above, the present invention provides a method for authenticating an identity instant messaging software, comprising: Step A: obtaining, by a communication interface, a first message transmitted by an account of the instant messaging software through an instant messaging software, and The first message includes a first identity data of a client; step B: analyzing the first message by a processor to obtain the first identity data; and step C: querying, by a controller, one of storing a plurality of client profiles a customer database to determine whether the first identity data uniquely corresponds to any one of the plurality of customer profiles; if the first identity profile uniquely corresponds to a specific customer profile, the account of the instant messaging software Recorded in the customer database to combine that particular customer profile.
如此,客戶可直接使用即時通訊軟體進行身分認證,進而綁定帳號,亦即,使其即時通訊軟體的帳號獲得機構的認可,並記錄於機構的資料庫。 In this way, the customer can directly use the instant messaging software for identity authentication, and then bind the account, that is, the account of the instant messaging software is recognized by the organization and recorded in the organization's database.
再者,本發明提供一種建構於即時通訊軟體之電子商務方法,包括:步驟A:由一通訊介面透過一即時通訊軟體取得該即時通訊軟體之一帳號所傳送之一第一交易訊息;步驟B:由一自然語言處理器分析該第一交易訊息;步驟C:由一控制器查詢儲存多個交易策略的一資料庫,以判斷該第一交易訊息是否唯一地對應於該多個交易策略的任何一個;步驟D:由該控制器指示該自然語言處理器編寫一第二交易訊息;及 步驟E:由該通訊介面透過該即時通訊軟體將該第二交易訊息傳送至該即時通訊軟體之該帳號。 Furthermore, the present invention provides an e-commerce method for constructing an instant messaging software, comprising: Step A: obtaining, by a communication interface, a first transaction message transmitted by an account of the instant messaging software through an instant messaging software; Step B : analyzing the first transaction message by a natural language processor; step C: querying, by a controller, a database storing a plurality of transaction strategies to determine whether the first transaction message uniquely corresponds to the plurality of transaction strategies Any one; step D: instructing the natural language processor to write a second transaction message by the controller; and Step E: The communication interface transmits the second transaction message to the account of the instant messaging software through the instant messaging software.
如此,客戶可直接使用即時通訊軟體進行交易,以聊天對話的方式辦理商務,相當人性化且便利。 In this way, customers can use the instant messaging software to conduct transactions, and conduct business by chat and dialogue, which is quite user-friendly and convenient.
此外,本發明提供一種建構於即時通訊軟體之對話機器人,包括:一通訊介面,其連結至一即時通訊軟體,並透過該即時通訊軟體取得該即時通訊軟體之一帳號所傳送之一輸入語句;一自然語言處理器,用以分析該輸入語句,以取得一身分資料;一客戶資料庫,其儲存多個客戶資料;及一控制器,其查詢該客戶資料庫,以判斷該身分資料是否唯一地對應於該多個客戶資料的任何一個;若該身分資料是唯一地對應於一特定客戶資料,則將該帳號記錄於客戶該資料庫,以結合該特定客戶資料。 In addition, the present invention provides a dialog robot constructed in an instant messaging software, comprising: a communication interface coupled to an instant messaging software, and obtaining an input statement transmitted by an account of the instant messaging software through the instant messaging software; a natural language processor for analyzing the input sentence to obtain an identity data; a customer database storing a plurality of customer data; and a controller querying the customer database to determine whether the identity data is unique Corresponding to any one of the plurality of customer profiles; if the identity profile uniquely corresponds to a particular customer profile, the account is recorded in the customer's database to incorporate the particular customer profile.
如此,本發明的對話機器人可具體地實現為任何電腦相關實體,進而執行本發明的身分驗證方法或電子商務方法。 As such, the dialog robot of the present invention can be embodied as any computer-related entity to perform the identity verification method or the e-commerce method of the present invention.
1‧‧‧服務端 1‧‧‧ server
10‧‧‧對話機器人 10‧‧‧Dialog robot
100‧‧‧對話機器人的即時通訊軟體的帳號 100‧‧‧Talking robot's instant messaging software account
11‧‧‧通訊介面 11‧‧‧Communication interface
12‧‧‧語言資料庫 12‧‧‧Language database
13‧‧‧自然語言處理器 13‧‧‧Natural Language Processor
14‧‧‧客戶資料庫 14‧‧‧Customer Database
140-k‧‧‧客戶資料 140-k‧‧‧Customer Information
15‧‧‧控制器 15‧‧‧ Controller
20‧‧‧即時通訊軟體 20‧‧‧ instant messaging software
21‧‧‧即時通訊軟體的服務提供者的主機 21‧‧‧Host of the instant messenger service provider
3‧‧‧客戶端 3‧‧‧Client
30‧‧‧客戶 30‧‧‧Customer
300‧‧‧客戶的即時通訊軟體的帳號 300‧‧‧Customer's instant messaging software account
E‧‧‧電信公司 E‧‧‧Telecom Corporation
M1i、M3j‧‧‧訊息 M1i, M3j‧‧‧ messages
M1i0、M3j0‧‧‧語句 M1i0, M3j0‧‧‧ statement
N‧‧‧網路 N‧‧‧Network
圖1顯示本發明的對話機器人的系統架構。 Figure 1 shows the system architecture of the dialog robot of the present invention.
圖2顯示客戶資料庫的形式。 Figure 2 shows the form of the customer database.
圖3顯示本發明的對話機器人與客戶之間的第一種互動流程。 Figure 3 shows the first interactive flow between the dialog robot of the present invention and the customer.
圖4顯示第一種互動流程的訊息內容。 Figure 4 shows the message content of the first interactive process.
圖5顯示本發明的對話機器人與客戶之間的第二種互動流程。 Figure 5 shows a second interactive flow between the dialog robot and the client of the present invention.
圖6顯示第二種互動流程的訊息內容。 Figure 6 shows the message content of the second interactive process.
圖7顯示本發明的建構於即時通訊軟體之電子商務方法的流程。 FIG. 7 shows the flow of the electronic commerce method of the present invention constructed in the instant messaging software.
圖1顯示本發明的對話機器人10的系統架構。對話機器人10包括通訊介面11、語言資料庫12、自然語言處理器13、客戶資料庫14及控制器15。在本發明中,對話機器人10是作為應用程式而實現於伺服器。當然,對話機器人10及其元件亦可實現為任何電腦相關實體,包括:硬體、軟體或其組合,更具體地,可由處理器、記憶體、硬碟或多種(電磁學或光學)儲存裝置等硬體的組合配合物件、可執行件、執行緒、程式或其他電腦執行過程等軟體的組合實現之。 Figure 1 shows the system architecture of the dialog robot 10 of the present invention. The dialogue robot 10 includes a communication interface 11, a language database 12, a natural language processor 13, a customer database 14, and a controller 15. In the present invention, the dialog robot 10 is implemented as an application on a server. Of course, the dialogue robot 10 and its components can also be implemented as any computer related entity, including: hardware, software or a combination thereof, more specifically, by a processor, a memory, a hard disk or a plurality of (electromagnetic or optical) storage devices. A combination of hardware, such as a combination of objects, executables, threads, programs, or other computer-implemented processes.
通訊介面11是連結至對話機器人10外部的至少一種即時通訊軟體20。即時通訊軟體20可提供即時訊息交換,例如:Skype、WhatsApp、Instagram、LINE、Facebook Messenger等。通訊介面及即時通訊軟體20的連結可透過應用程式介面(Application Programming Interface,API)實現。在本說明書中,對話機器人10所傳送的訊息表示為M1i,客戶30所傳送的訊息表示為M3j,其中,i、j為正整數。 The communication interface 11 is at least one instant messaging software 20 that is coupled to the outside of the dialog robot 10. Instant messaging software 20 provides instant messaging, such as Skype, WhatsApp, Instagram, LINE, Facebook Messenger, and more. The communication interface and the link of the instant messaging software 20 can be implemented through an Application Programming Interface (API). In the present specification, the message transmitted by the dialogue robot 10 is represented as M1i, and the message transmitted by the client 30 is represented as M3j, where i and j are positive integers.
客戶30若擁有即時通訊軟體20的帳號300,則可透過即時通訊軟體20以帳號300將訊息M3j傳送至對話機器人10的帳號100。在此,帳號300是儲存於即時通訊軟體20的服務提供者的主機21,而客戶30可透過帳號300存取主機21;同理,對話機器人10可透過帳號100存取主機21。通訊介面11可根據即時通訊軟體20的應用程式介面進行設計,透過網鉤(webhook)取得客戶所傳送的訊息 M3j。對於對話機器人10而言,訊息M3j即是一筆輸入(input)。訊息M3j可包括自然語言(natural language)語句作為輸入語句M3j0。同理,對話機器人10所傳送的訊息M1i可包括自然語言語句作為輸出語句M1i0。 If the client 30 has the account 300 of the instant messaging software 20, the message M3j can be transmitted to the account 100 of the dialogue robot 10 via the instant messaging software 20 via the account 300. Here, the account 300 is the host 21 of the service provider stored in the instant messaging software 20, and the client 30 can access the host 21 through the account 300. Similarly, the dialog robot 10 can access the host 21 through the account 100. The communication interface 11 can be designed according to the application interface of the instant messaging software 20, and obtains the message transmitted by the client through the web hook (webhook). M3j. For the dialogue robot 10, the message M3j is an input. The message M3j may include a natural language statement as the input sentence M3j0. Similarly, the message M1i transmitted by the dialogue robot 10 may include a natural language statement as the output statement M1i0.
語言資料庫12儲存各種語言資源,包括:語言資料、詞彙知識庫(lexical knowledge)或知識本體(ontologies)。 The language database 12 stores various language resources, including: language materials, lexical knowledge, or ontology.
自然語言處理器13可自語言資料庫12取得多個詞彙(及其涵義),以便分析輸入語句M3j0,或編寫輸出語句M1i0。具體而言,其具有句法剖析(Syntactic Parsing)、句塊抽取(Chunking)、詞義排歧(Word Sense Disambiguation)、共指消歧(Co-reference Resolution)及命名實體辨識(Named Entity Recognition)等功能。自然語言處理器可採用已知的套件,例如:Language Understanding Intelligent Service(LUIS)。較佳地,自然語言處理器13可透過機械學習(machine learning)增強上述功能或擴充語言資料庫12。 The natural language processor 13 may retrieve a plurality of words (and their meanings) from the language database 12 to analyze the input statement M3j0 or to write the output statement M1i0. Specifically, it has functions such as Syntactic Parsing, Chunking, Word Sense Disambiguation, Co-reference Resolution, and Named Entity Recognition. . Natural language processors can be found in known packages such as the Language Understanding Intelligent Service (LUIS). Preferably, the natural language processor 13 can enhance the above functions or expand the language database 12 through machine learning.
在綁定帳號的過程中,客戶30所傳送的輸入語句M3j0會包括第一身分資料。此時,自然語言處理器13會分析輸入語句M3j0,以取得第一身分資料。 In the process of binding the account, the input statement M3j0 transmitted by the client 30 will include the first identity data. At this time, the natural language processor 13 analyzes the input sentence M3j0 to obtain the first identity data.
圖2顯示客戶資料庫14的形式。客戶資料庫14儲存多個客戶資料140-k,k為正整數。所謂「多個客戶資料」包括多個客戶的多種身分資料,例如:姓名、身分證字號、出生日期、住址、電話號碼、車號、卡號等。對話機器人10的所有人(例如:機構)可能是當客戶30臨櫃辦理商務時,或是當客戶30透過專用的網站或應用程式辦理商務時,取得客戶30的客戶資料。在帳號完成綁定後,客戶資料庫14可設定為允許客戶30透過即時通訊軟體20增、減或變更客戶30的客戶資料。 Figure 2 shows the form of the customer database 14. The customer database 14 stores a plurality of customer profiles 140-k, k being a positive integer. The so-called "multiple customer data" includes multiple identity data of multiple customers, such as: name, identity card size, date of birth, address, telephone number, car number, card number, etc. The owner of the dialogue robot 10 (e.g., an institution) may obtain customer data of the customer 30 when the customer 30 is in the business for business, or when the customer 30 conducts business through a dedicated website or application. After the account is bound, the customer database 14 can be configured to allow the customer 30 to add, subtract, or change the customer data of the customer 30 via the instant messaging software 20.
控制器15會接收自然語言處理器13分析所得的結果。在綁定帳號的過程中,當控制器15接收到自然語言處理器13分析所得的第一身分資料,它就會查詢客戶資料庫14,以判斷第一身分資料是否唯一地對應於客戶資料庫14所儲存的多個客戶資料140-k的任何一個。若第一身分資料是唯一地對應於特定客戶資料140-1,則將客戶30的即時通訊軟體20的帳號300記錄於客戶資料庫14,以結合特定客戶資料140-1。 The controller 15 receives the results of the analysis by the natural language processor 13. In the process of binding the account, when the controller 15 receives the first identity data analyzed by the natural language processor 13, it queries the client database 14 to determine whether the first identity data uniquely corresponds to the client database. 14 of any of the plurality of customer profiles 140-k stored. If the first identity data uniquely corresponds to the specific customer profile 140-1, the account 300 of the instant messaging software 20 of the client 30 is recorded in the customer database 14 to incorporate the particular customer profile 140-1.
舉例而言,當控制器15接收到的第一身分資料為「王小明」時,它就會查詢在客戶資料庫14中的多個客戶資料140-k有無任何一個包括字串「王小明」;若有,則進一步判斷「王小明」是否唯一地存在於客戶資料庫14;若是,則將即時通訊軟體20的帳號300紀錄在客戶資料庫14中「王小明」的相關欄位。 For example, when the first identity data received by the controller 15 is "Wang Xiaoming", it will query whether there is any one of the plurality of customer data 140-k in the customer database 14 including the string "Wang Xiaoming"; Yes, it is further determined whether "Wang Xiaoming" exists exclusively in the customer database 14; if so, the account 300 of the instant messaging software 20 is recorded in the relevant field of "Wang Xiaoming" in the customer database 14.
然而,若在客戶資料庫14中有二筆以上的客戶資料140-1、140-3為「王小明」,則有必要請求客戶30透過即時通訊軟體20提供其他第二身分資料,以便確認其身分而完成帳號綁定。此時,控制器15可指示自然語言處理器13編寫輸出語句M110,並指示通訊介面11透過即時通訊軟體20將輸出語句M110傳送至帳號300。 However, if there are more than two pieces of customer data 140-1, 140-3 in the customer database 14 as "Wang Xiaoming", it is necessary to request the customer 30 to provide other second identity information through the instant messaging software 20 in order to confirm the identity. And complete the account binding. At this time, the controller 15 may instruct the natural language processor 13 to write the output statement M110, and instruct the communication interface 11 to transmit the output statement M110 to the account 300 through the instant messaging software 20.
在某些例子中,經過控制器15的判斷,若第一身分資料是唯一地對應於特定客戶資料141,則對話機器人10可透過通訊介面11連線至電信公司E,以將驗證碼傳送至客戶30的手機,並透過即時通訊軟體20請求客戶30透過即時通訊軟體20回傳驗證碼,以便進一步驗證客戶30的真實身分。在驗證碼回傳後,才將客戶30的即時通訊軟體20的帳號300記錄於客戶資料庫14。 In some examples, at the discretion of the controller 15, if the first identity data uniquely corresponds to the particular customer profile 141, the dialog robot 10 can connect to the telecommunications company E via the communication interface 11 to transmit the verification code to The customer 30's mobile phone, and through the instant messaging software 20, requests the customer 30 to pass back the verification code through the instant messaging software 20 to further verify the true identity of the customer 30. The account 300 of the instant messaging software 20 of the client 30 is recorded in the customer database 14 after the verification code is transmitted back.
如圖2所示,客戶「王小明」(身分證字號:A123456789)的LINE帳號「wangline」被記錄在客戶資料庫14的客戶資料141中。 As shown in FIG. 2, the LINE account "wangline" of the customer "Wang Xiaoming" (identity certificate number: A123456789) is recorded in the customer profile 141 of the customer database 14.
在某些例子中,對話機器人10可與客戶30交換多筆訊息,以進一步驗證客戶30的真實身分。具體而言,控制器15可自客戶資料庫14所儲存的多種身分資料,例如:姓名、身分證字號、出生日期、住址、電話號碼、車號、卡號等,依序或隨機挑選出至少一種身分資料,指示自然語言處理器13基於該種身分資料編寫驗證問題,並指示通訊介面11透過即時通訊軟體20將驗證問題傳送至帳號300,以請求客戶30回答之。 In some examples, the dialogue robot 10 can exchange multiple messages with the customer 30 to further verify the true identity of the customer 30. Specifically, the controller 15 may sequentially or randomly select at least one of a plurality of identity materials stored in the client database 14, such as a name, an identity card number, a date of birth, an address, a phone number, a car number, a card number, and the like. The identity information instructs the natural language processor 13 to write a verification question based on the identity data, and instructs the communication interface 11 to transmit the verification question to the account 300 via the instant messaging software 20 to request the client 30 to answer the question.
在某些例子中,可以類似的方法綁定多種即時通訊軟體的帳號。如圖2所示,客戶「王小明」(身分證字號:A123456789)除了LINE帳號「wangline」之外,還有Facebook帳號「wangfb」被記錄在客戶資料庫14的客戶資料141中。 In some cases, you can bind multiple instant messaging software accounts in a similar way. As shown in FIG. 2, the customer "Wang Xiaoming" (identity certificate number: A123456789) is recorded in the customer profile 141 of the customer database 14 in addition to the LINE account "wangline" and the Facebook account "wangfb".
由此可見,本發明的目的在於使對話機器人10將客戶30的即時通訊軟體20的帳號300綁定客戶資料庫14所儲存的客戶30的客戶資料141,亦即,使即時通訊軟體20的帳號300與客戶資料141產生連結。如此,客戶可直接使用即時通訊軟體進行身分認證,進而綁定帳號,亦即,使其即時通訊軟體的帳號獲得機構的認可,並記錄於機構的資料庫。 It can be seen that the purpose of the present invention is to enable the dialog robot 10 to bind the account 300 of the instant messaging software 20 of the client 30 to the customer profile 141 of the client 30 stored in the customer database 14, that is, to make the account of the instant messaging software 20 300 is linked to customer profile 141. In this way, the customer can directly use the instant messaging software for identity authentication, and then bind the account, that is, the account of the instant messaging software is recognized by the organization and recorded in the organization's database.
圖3顯示本發明的對話機器人10與客戶30之間的第一種互動流程。圖4顯示第一種互動流程的訊息內容。 Figure 3 shows the first interaction flow between the dialog robot 10 of the present invention and the client 30. Figure 4 shows the message content of the first interactive process.
如圖3所示,在服務端1,對話機器人10會註冊即時通訊軟體20,而取得帳號100,並以帳號100登入即時通訊軟體20。在客戶端3,客戶30會註冊即時通訊軟體20,而取得帳號300,並以帳號300登入即時通訊軟體20,可透過即時通訊軟體20找到對話機器人10的帳號100,與其交換訊息。訊息不限於文字, 亦包括聲音或影像。訊息交換可透過JSON(JavaScript Object Notation)的資料格式作為媒介。 As shown in FIG. 3, at the server 1, the dialog robot 10 registers the instant messaging software 20, obtains the account 100, and logs in to the instant messaging software 20 with the account 100. At the client 3, the client 30 registers the instant messaging software 20, obtains the account 300, and logs in to the instant messaging software 20 with the account 300. The instant messaging software 20 can find the account 100 of the dialogue robot 10 and exchange messages with it. The message is not limited to text. Also includes sound or video. The message exchange can be accessed through the data format of JSON (JavaScript Object Notation).
在某些例子中,客戶30可在帳號300中將對話機器人的帳號100加入好友,或對話機器人10可在帳號100中將客戶30的帳號300加入好友。第一通訊息可由客戶30或對話機器人10發出。 In some examples, the customer 30 may add the account 100 of the dialog robot to the friend in the account 300, or the dialog robot 10 may add the account 300 of the customer 30 to the friend in the account 100. The first communication message can be sent by the client 30 or the dialogue robot 10.
如圖3所示,客戶30為了綁定帳號300,亦即,使帳號300建檔於對話機器人10的客戶資料庫14,以便日後可透過即時通訊軟體20以帳號300辦理商務,客戶30會透過即時通訊軟體20傳送訊息40請求對話機器人10對自己進行身分驗證。客戶30透過即時通訊軟體20以帳號300將訊息M31傳送至對話機器人10。 As shown in FIG. 3, in order to bind the account 300, the client 30 enables the account 300 to be archived in the client database 14 of the dialogue robot 10, so that the account 300 can be processed through the instant messaging software 20 in the future. The instant messaging software 20 transmits a message 40 requesting the dialogue robot 10 to perform identity verification on itself. The client 30 transmits the message M31 to the conversation robot 10 via the instant messaging software 20 with the account number 300.
如圖4所示,訊息M31包括自然語言語句:「我想要綁定帳號」。 As shown in Figure 4, message M31 includes a natural language statement: "I want to bind an account."
回到圖3,對話機器人10由通訊介面11透過即時通訊軟體20取得訊息31,並由自然語言處理器13分析訊息M31的涵義,再由控制器15基於分析結果判斷客戶30的需求。接著,對話機器人10會請求客戶30提供身分資料。為此,控制器15會指示自然語言處理器13編寫訊息M11,並指示通訊介面11透過即時通訊軟體20將訊息M11傳送至帳號300。 Referring back to FIG. 3, the dialog robot 10 obtains the message 31 from the instant messaging software 20 via the communication interface 11, and the natural language processor 13 analyzes the meaning of the message M31, and the controller 15 determines the demand of the client 30 based on the analysis result. Next, the dialogue robot 10 will request the client 30 to provide the identity information. To this end, the controller 15 instructs the natural language processor 13 to compose the message M11 and instructs the communication interface 11 to transmit the message M11 to the account 300 via the instant messaging software 20.
如圖4所示,訊息M11為:「請輸入您的身分證字號」,對於訊息M11,客戶30回應訊息M32:「A123456789」,在此,訊息M32包括客戶30的身分證字號作為第一身分資料。 As shown in FIG. 4, the message M11 is: "Please enter your ID card number". For the message M11, the client 30 responds with the message M32: "A123456789", where the message M32 includes the identity card number of the client 30 as the first identity. data.
回到圖3,同樣地,對話機器人10會取得並分析訊息M32,而取得第一身分資料,亦即「A123456789」。在某些例子中,客戶30可能回應訊息M32:「我的身分證字號是A123456789」。此時,訊息M32除了第一身分資料「A123456789」之外,還包括「我的身分證字號是」等文字。對此,對話機器人 10可進行多次詢問,以確保其分析正確。從而,控制器15會查詢在客戶資料庫14中的多個客戶資料140-k(較佳地,控制器可設定為直接查詢身分證字號的欄位)有無任何一個包括第一身分資料「A123456789」。 Returning to Fig. 3, in the same manner, the dialogue robot 10 acquires and analyzes the message M32 to obtain the first identity data, that is, "A123456789". In some instances, customer 30 may respond to message M32: "My ID number is A123456789." At this time, the message M32 includes characters such as "my identity card number is" in addition to the first identity data "A123456789". In this regard, dialogue robot 10 Multiple inquiries can be made to ensure that the analysis is correct. Therefore, the controller 15 queries the plurality of customer data 140-k in the customer database 14 (preferably, the controller can be set to directly query the field of the identity card number) whether or not any one includes the first identity data "A123456789 "."
若有,則控制器15會自客戶資料庫14所儲存的多種身分資料挑選出至少一種身分資料,並指示自然語言處理器13編寫訊息M12,作為安全提示問題,並指示通訊介面11透過即時通訊軟體20將訊息M12傳送至帳號300,以請求客戶30回答之。 If so, the controller 15 selects at least one identity data from the plurality of identity profiles stored in the client database 14, and instructs the natural language processor 13 to write the message M12 as a security prompt question and instructs the communication interface 11 to communicate through the instant messaging. The software 20 transmits the message M12 to the account 300 to request the client 30 to answer it.
若無,則控制器15會重新執行請求身分資料的步驟。 If not, the controller 15 re-executes the step of requesting the identity data.
如圖4所示,訊息M12為:「請輸入您的車號」。對於訊息M12,客戶30回應訊息M33:「AA-1234」,在此,訊息M33包括客戶30的車號作為第二身分資料。 As shown in Figure 4, the message M12 is: "Please enter your car number." For the message M12, the client 30 responds with the message M33: "AA-1234", where the message M33 includes the car number of the customer 30 as the second identity data.
回到圖3,同樣地,對話機器人10會取得並分析訊息M33,而取得第二身分資料,並將它傳送至控制器15。控制器15會判斷第二身分資料是否為正確答案(是否符合客戶資料庫14的客戶資料141): Returning to Fig. 3, similarly, the dialogue robot 10 acquires and analyzes the message M33, acquires the second identity data, and transmits it to the controller 15. The controller 15 determines whether the second identity data is the correct answer (whether it meets the customer profile 141 of the customer database 14):
若是,則控制器15會透過通訊介面11連線至電信公司E,以將驗證碼傳送至客戶30的手機。同時,控制器亦會指示自然語言處理器13編寫訊息M13,並指示通訊介面11透過即時通訊軟體20將訊息M13傳送至帳號300,以請求客戶30回答之。 If so, the controller 15 connects to the telecommunications company E through the communication interface 11 to transmit the verification code to the mobile phone of the customer 30. At the same time, the controller also instructs the natural language processor 13 to compose the message M13, and instructs the communication interface 11 to transmit the message M13 to the account 300 via the instant messaging software 20 to request the client 30 to answer it.
若否,則控制器會重新執行安全提示問題的相關步驟。 If not, the controller will re-execute the steps related to the security question.
如圖4所示,訊息M13為:「已將驗證碼以簡訊傳送至您的手機,請在五分鐘內在此輸入驗證碼」。對於訊息M13,客戶30回應訊息M34:「123456」。 As shown in Figure 4, the message M13 is: "The verification code has been sent to your mobile phone as a text message. Please enter the verification code here within five minutes." For message M13, client 30 responds with message M34: "123456".
回到圖3,同樣地,對話機器人10會取得並分析訊息M34,而取得客戶30所回答的驗證碼,並將它傳送至控制器15。控制器15會判斷客戶30所回答的驗證碼是否為正確答案(是否符合對話機器人10透過電信公司E所傳送的驗證碼)。 Returning to Fig. 3, similarly, the dialogue robot 10 acquires and analyzes the message M34, and obtains the verification code replied by the client 30, and transmits it to the controller 15. The controller 15 determines whether the verification code answered by the client 30 is the correct answer (whether it conforms to the verification code transmitted by the dialogue robot 10 through the telecommunication company E).
若是,則控制器15就會將客戶3的即時通訊軟體20的帳號300記錄於客戶資料庫14,以結合客戶30的客戶資料141。同時,控制器15亦會指示自然語言處理器13編寫訊息M14,並指示通訊介面11透過即時通訊軟體20將訊息M14傳送至帳號300,以告知客戶30帳號完成綁定。 If so, the controller 15 records the account 300 of the instant messaging software 20 of the customer 3 in the customer database 14 to combine the customer profile 141 of the customer 30. At the same time, the controller 15 also instructs the natural language processor 13 to compose the message M14, and instructs the communication interface 11 to transmit the message M14 to the account 300 via the instant messaging software 20 to inform the client 30 that the account is complete.
若否,則控制器15會重新執行驗證碼的相關步驟。 If not, the controller 15 will re-execute the steps associated with the verification code.
如圖4所示,訊息M14為:「系統已確認此帳號屬於王小明,往後您即可以此帳號向本公司辦理業務」。 As shown in Figure 4, the message M14 is: "The system has confirmed that this account belongs to Wang Xiaoming, and you can use this account to conduct business with the company."
待客戶30取得訊息M14,本發明的對話機器人10與客戶30之間的第一種互動流程即告完成。 When the client 30 obtains the message M14, the first interaction process between the dialog robot 10 of the present invention and the client 30 is completed.
圖5顯示本發明的對話機器人10與客戶30之間的第二種互動流程。圖6顯示第二種互動流程的訊息內容。第二種互動流程類似於第一種互動流程,但客戶30的第一通訊息M31就包括第一身分資料。 Figure 5 shows a second interactive flow between the dialog robot 10 of the present invention and the client 30. Figure 6 shows the message content of the second interactive process. The second interactive process is similar to the first interactive process, but the first communication information M31 of the customer 30 includes the first identity data.
如圖6所示,第一通訊息M31為:「我是王小明,我想要綁定帳號。」 As shown in Figure 6, the first communication message M31 is: "I am Wang Xiaoming, I want to bind an account."
如圖5所示,對話機器人10會取得並分析訊息M31,而取得第一身分資料,亦即「王小明」。從而,控制器15會查詢在客戶資料庫14中的多個客戶資料140-k(較佳地,控制器可設定為直接查詢姓名的欄位)有無任何一個包括第一身分資料「王小明」。 As shown in FIG. 5, the dialogue robot 10 acquires and analyzes the message M31 and obtains the first identity data, that is, "Wang Xiaoming". Thus, the controller 15 queries the plurality of customer profiles 140-k in the customer database 14 (preferably, the controller can be set to directly query the field of the name) whether or not any of the first identity data "Wang Xiaoming" is included.
然而,如圖2所示,在客戶資料庫14中有二筆以上的客戶資料140-1、140-3為「王小明」。 However, as shown in FIG. 2, there are two or more customer data 140-1 and 140-3 in the customer database 14 as "Wang Xiaoming".
因此,如圖5所示,必須再判斷「王小明」是否唯一地存在於客戶資料庫14。 Therefore, as shown in FIG. 5, it is necessary to judge whether "Wang Xiaoming" uniquely exists in the customer database 14.
若是,則控制器15可直接執行安全提示問題的步驟。 If so, the controller 15 can directly perform the steps of the security alert question.
若否,則必須請求客戶30透過即時通訊軟體20提供其他第二身分資料。為此,控制器15會指示自然語言處理器13編寫訊息M11,並指示通訊介面11透過即時通訊軟體20將訊息M11傳送至帳號300,以請求客戶30回答之。 If not, the client 30 must be requested to provide other second identity information via the instant messaging software 20. To this end, the controller 15 instructs the natural language processor 13 to compose the message M11, and instructs the communication interface 11 to transmit the message M11 to the account 300 via the instant messaging software 20 to request the client 30 to answer it.
如圖6所示,訊息M11為:「請問您的電話號碼是?」對於訊息M11,客戶30回應訊息M32:「0912-345-678」,在此,訊息M32包括客戶30的電話號碼作為第二身分資料。 As shown in FIG. 6, the message M11 is: "What is your phone number?" For the message M11, the client 30 responds with the message M32: "0912-345-678", where the message M32 includes the phone number of the client 30 as the first Two identity information.
回到圖5,同樣地,對話機器人10會取得並分析訊息M32,而取得第二身分資料。從而,控制器15會查詢在客戶資料庫14中的多個客戶資料140-k(較佳地,控制器可設定為直接查詢電話號碼的欄位)有無任何一個包括第二身分資料「0912-345-678」及其是否唯一地存在於客戶資料庫14。 Returning to Fig. 5, similarly, the dialogue robot 10 acquires and analyzes the message M32 to obtain the second identity data. Thus, the controller 15 queries the plurality of customer profiles 140-k in the customer database 14 (preferably, the controller can be set to directly query the field of the telephone number) whether or not any one includes the second identity data "0912- 345-678" and whether it exists uniquely in the customer database 14.
若是,則控制器15會自客戶資料庫14所儲存的多種身分資料挑選出至少一種身分資料,並指示自然語言處理器13編寫訊息M12,作為安全提示問題,並指示通訊介面11透過即時通訊軟體20將訊息M12傳送至帳號300,以請求客戶30回答之。 If yes, the controller 15 selects at least one identity data from the plurality of identity materials stored in the client database 14, and instructs the natural language processor 13 to write the message M12 as a security prompt question, and instructs the communication interface 11 to use the instant messaging software. 20 transmits the message M12 to the account 300 to request the client 30 to answer it.
若否,則控制器15會重新執行請求身分資料的步驟。 If not, the controller 15 re-executes the step of requesting the identity data.
如圖6所示,訊息M12為:「請問您的車號是?」 As shown in Figure 6, the message M12 is: "What is your car number?"
後續步驟均類似於第一種互動流程。 The next steps are similar to the first interactive process.
值得注意的是,若「王小明」是唯一地存在於客戶資料庫14,則訊息M11、訊息M32即可省略,如圖6的虛線方塊所示。 It is worth noting that if "Wang Xiaoming" is uniquely present in the customer database 14, the message M11 and the message M32 can be omitted, as shown by the dashed squares in FIG.
在帳號完成綁定後,對話機器人10即可設定為允許客戶30透過即時通訊軟體20以帳號300辦理商務,包括:交易、轉帳、繳費、信託、投資、投保等。 After the account is bound, the dialog robot 10 can be configured to allow the client 30 to conduct business through the instant messaging software 20 with the account 300, including: transaction, transfer, payment, trust, investment, insurance, and the like.
圖7顯示本發明的建構於即時通訊軟體之電子商務方法的流程。 FIG. 7 shows the flow of the electronic commerce method of the present invention constructed in the instant messaging software.
本發明的電子商務方法亦可透過圖1的對話機器人10的系統架構實現。只是,在本發明的電子商務方法中,語言資料庫12必須儲存多個交易策略,以針對客戶30的需求作出回應。具體而言,本發明的電子商務方法包括下列步驟: The electronic commerce method of the present invention can also be implemented by the system architecture of the dialog robot 10 of FIG. However, in the e-commerce method of the present invention, the language database 12 must store a plurality of transaction strategies to respond to the needs of the client 30. Specifically, the electronic commerce method of the present invention includes the following steps:
步驟1:由通訊介面11透過即時通訊軟體20取得即時通訊軟體20的帳號300所傳送的第一交易訊息。 Step 1: The first transaction message transmitted by the account 300 of the instant messaging software 20 is obtained by the communication interface 11 through the instant messaging software 20.
步驟2:由自然語言處理器13分析第一交易訊息。 Step 2: The first transaction message is analyzed by the natural language processor 13.
步驟3:由控制器15查詢儲存多個交易策略的語言資料庫12,以判斷第一交易訊息是否唯一地對應於多個交易策略的任何一個。 Step 3: The language database 12 storing the plurality of transaction policies is queried by the controller 15 to determine whether the first transaction message uniquely corresponds to any one of the plurality of transaction strategies.
步驟4:由控制器15指示自然語言處理器13編寫第二交易訊息。 Step 4: The natural language processor 13 is instructed by the controller 15 to write a second transaction message.
步驟5:由通訊介面11透過即時通訊軟體20將第二交易訊息傳送至即時通訊軟體20的帳號300。 Step 5: The second transaction message is transmitted from the communication interface 11 to the account 300 of the instant messaging software 20 through the instant messaging software 20.
舉例而言,客戶30可透過即時通訊軟體20傳送訊息:「我需要投保。」對話機器人10可透過通訊介面11接收此訊息,並透過自然語言處理器13分析此訊息而取得關鍵字:「投保」。接著,對話機器人10可透過自然語言處 理器13自語言資料庫12取得關於「投保」的資料,例如:保險契約、保險期間、保險費、保險金等資料,以編寫訊息,回應於客戶30。 For example, the client 30 can transmit a message through the instant messaging software 20: "I need to insure." The dialog robot 10 can receive the message through the communication interface 11 and analyze the message through the natural language processor 13 to obtain the keyword: "Insured "." Then, the dialogue robot 10 can pass through the natural language department. The processor 13 obtains information about "insured" from the language database 12, for example, insurance contract, insurance period, insurance premium, insurance premium, and the like, to prepare a message and respond to the customer 30.
綜上所述,透過本發明的建構於即時通訊軟體之身分驗證方法,客戶可直接使用即時通訊軟體進行身分認證,進而綁定帳號,亦即,使其即時通訊軟體的帳號獲得機構的認可,並記錄於機構的資料庫。透過本發明的建構於即時通訊軟體之電子商務方法,客戶可直接使用即時通訊軟體進行交易,以聊天對話的方式辦理商務,相當人性化且便利。而本發明的對話機器人則可具體地實現為任何電腦相關實體,進而執行本發明的身分驗證方法或電子商務方法。 In summary, through the identity verification method constructed by the instant messaging software of the present invention, the customer can directly use the instant messaging software to perform identity authentication, and then bind the account, that is, the account of the instant messaging software is recognized by the organization. And recorded in the organization's database. Through the e-commerce method of the instant messaging software constructed by the present invention, the customer can directly use the instant messaging software to conduct transactions, and the business is handled by chat and dialogue, which is quite user-friendly and convenient. The dialog robot of the present invention can be embodied as any computer related entity to perform the identity verification method or the electronic commerce method of the present invention.
本發明所屬技術領域中具有通常知識者,透過上述實施例已可理解本發明的特徵及功效,而可基於本發明的精神,進行組合、修飾、置換或轉用。本發明並不限於上述實施例,而是以申請專利範圍為準。 The features and functions of the present invention can be understood by the above-described embodiments, and can be combined, modified, substituted or transferred based on the spirit of the present invention. The present invention is not limited to the above embodiments, but is based on the scope of the patent application.
Claims (5)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW105144296A TWI649668B (en) | 2016-12-30 | 2016-12-30 | Method of authentication and dialogue robot based on instant messaging program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW105144296A TWI649668B (en) | 2016-12-30 | 2016-12-30 | Method of authentication and dialogue robot based on instant messaging program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TW201824050A TW201824050A (en) | 2018-07-01 |
| TWI649668B true TWI649668B (en) | 2019-02-01 |
Family
ID=63640143
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW105144296A TWI649668B (en) | 2016-12-30 | 2016-12-30 | Method of authentication and dialogue robot based on instant messaging program |
Country Status (1)
| Country | Link |
|---|---|
| TW (1) | TWI649668B (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI716099B (en) * | 2019-09-06 | 2021-01-11 | 中國信託商業銀行股份有限公司 | Intelligent guidance service method and system for mobile online banking |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TW200924459A (en) * | 2007-11-20 | 2009-06-01 | Mobot Technology Inc | Instant message exchanging method and system for capturing keyword and display associated information in instant messaging service |
| TW201525749A (en) * | 2013-12-31 | 2015-07-01 | Tencent Tech Shenzhen Co Ltd | Method of identity verification and system thereof |
| CN105577529A (en) * | 2015-12-30 | 2016-05-11 | 上海智臻智能网络科技股份有限公司 | Robot customer service and its customer service method, intelligent customer service system |
-
2016
- 2016-12-30 TW TW105144296A patent/TWI649668B/en active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TW200924459A (en) * | 2007-11-20 | 2009-06-01 | Mobot Technology Inc | Instant message exchanging method and system for capturing keyword and display associated information in instant messaging service |
| TW201525749A (en) * | 2013-12-31 | 2015-07-01 | Tencent Tech Shenzhen Co Ltd | Method of identity verification and system thereof |
| CN105577529A (en) * | 2015-12-30 | 2016-05-11 | 上海智臻智能网络科技股份有限公司 | Robot customer service and its customer service method, intelligent customer service system |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI716099B (en) * | 2019-09-06 | 2021-01-11 | 中國信託商業銀行股份有限公司 | Intelligent guidance service method and system for mobile online banking |
Also Published As
| Publication number | Publication date |
|---|---|
| TW201824050A (en) | 2018-07-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11924352B2 (en) | Systems, apparatus and methods for local state storage of distributed ledger data without cloning | |
| CN113344523B (en) | Data processing method and device, electronic equipment and computer readable storage medium | |
| US11756543B2 (en) | Methods and systems for application integration and macrosystem aware integration | |
| US20250068853A1 (en) | System and method for generating responses associated with natural language input | |
| US20160232463A1 (en) | Generating and executing computer system workflow action items based upon analysis of customer social media activity | |
| US12282533B2 (en) | System and method for detecting agent sharing credentials | |
| CN108073429A (en) | A kind of means of payment collocation method, device, equipment and storage medium | |
| US11669839B2 (en) | System and method for processing a digital transaction | |
| US10750020B2 (en) | Systems, methods and computer program products for voice call customer support | |
| CN113220640A (en) | Arbitration method and device based on block chain | |
| CN111353784A (en) | A transfer processing method, system, device and equipment | |
| US12462270B2 (en) | System and methods for soft credit approval using text redirect | |
| US20170213283A1 (en) | Device and a computer software for provisioning a user with requested services | |
| TWI649668B (en) | Method of authentication and dialogue robot based on instant messaging program | |
| JP6369968B1 (en) | Information providing system, information providing method, program | |
| US20150235281A1 (en) | Categorizing data based on cross-category relevance | |
| US9483660B2 (en) | Enterprise content management platform validator | |
| CA3124056A1 (en) | System and method for generating responses associated with natural language input | |
| US10013686B2 (en) | Securely and efficiently processing telephone orders | |
| US20190266602A1 (en) | Method and system for overseeing execution of graph-based contracts using hash chains | |
| US20240354860A1 (en) | Client lead notification | |
| KR102896941B1 (en) | Method, electronic device and recording medium for providing chat room | |
| US20250342547A1 (en) | Dynamic, Real-Time Service for Discovering Potential Online Deception Relating to Characteristics of People Using Internet Dating Applications | |
| US20250378508A1 (en) | Systems and methods for managing oil and gas production | |
| US20250029186A1 (en) | Dynamic electronic insurance application workflow system |