TWI701958B - Method and device for realizing business function - Google Patents
Method and device for realizing business function Download PDFInfo
- Publication number
- TWI701958B TWI701958B TW106101945A TW106101945A TWI701958B TW I701958 B TWI701958 B TW I701958B TW 106101945 A TW106101945 A TW 106101945A TW 106101945 A TW106101945 A TW 106101945A TW I701958 B TWI701958 B TW I701958B
- Authority
- TW
- Taiwan
- Prior art keywords
- business
- instant
- item
- shortcut operation
- operation item
- Prior art date
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
本發明提供一種業務功能的實現方法,應用在即時通信伺服器上,包括:接收即時對話參與方發送的即時消息;當即時對話中即時消息的內容滿足某個業務類型的預設觸發條件時,向即時對話參與方的終端發送顯示快捷操作項的指令;所述快捷操作項用於由終端發起所述業務類型的業務任務。透過本發明的技術方案,減少了用戶的手動操作和手動輸入,提高了用戶執行業務任務的效率。 The present invention provides a business function realization method, which is applied to an instant communication server, including: receiving instant messages sent by participants in an instant conversation; when the content of the instant message in the instant conversation meets a preset trigger condition of a certain business type, Send an instruction to display a shortcut operation item to the terminal of the instant conversation participant; the shortcut operation item is used for the terminal to initiate the business task of the service type. Through the technical scheme of the present invention, the manual operation and manual input of the user are reduced, and the efficiency of the user in performing business tasks is improved.
Description
本發明涉及網路通信技術領域,尤其涉及一種業務功能的實現方法和裝置。 The present invention relates to the field of network communication technology, in particular to a method and device for realizing business functions.
隨著通信技術的發展和智能終端的普及,人們越來越習慣於透過網路來完成各種工作和生活事項。例如,在處理需要事先溝通或需要事後對方繼續推進的業務時,用戶經常透過即時通信系統與對方聯繫,在即時對話過程中利用網路完成某個業務。 With the development of communication technology and the popularization of smart terminals, people are becoming more and more accustomed to completing various work and life matters through the Internet. For example, when dealing with a business that requires pre-communication or needs the other party to continue to advance afterwards, users often communicate with the other party through an instant messaging system, and use the Internet to complete a certain business during the instant conversation.
以透過第三方支付平臺轉帳為例,現有技術中,用戶通常在即時對話中和轉帳的對方確認好金額後,再打開第三方支付平臺,輸入轉入帳戶和轉帳金額完成轉帳,然後再回到即時對話中與對方確認轉帳結果。上述過程用戶需要多次手動操作和手動輸入較多內容,繁瑣而低效。 Take transfer through a third-party payment platform as an example. In the prior art, the user usually confirms the amount with the transferee in an instant conversation, then opens the third-party payment platform, enters the transfer account and the transfer amount to complete the transfer, and then returns Confirm the transfer result with the other party in the instant conversation. In the above process, the user needs to manually operate multiple times and manually input more content, which is tedious and inefficient.
有鑒於此,本發明提供一種業務功能的實現方法,應用在即時通信伺服器上,包括: 接收即時對話參與方發送的即時消息;當即時對話中即時消息的內容滿足某個業務類型的預設觸發條件時,向即時對話參與方的終端發送顯示快捷操作項的指令;所述快捷操作項用於由終端發起所述業務類型的業務任務。 In view of this, the present invention provides a method for realizing business functions, which is applied on an instant messaging server, including: receiving instant messages sent by participants in an instant conversation; when the content of the instant message in the instant conversation meets a preset service type When the condition is triggered, an instruction to display a shortcut operation item is sent to the terminal of the instant conversation participant; the shortcut operation item is used for the terminal to initiate the business task of the service type.
本發明提供的一種業務功能的實現方法,應用在終端上,包括:向即時通信伺服器發送所參與即時對話中的即時消息;根據從即時通信伺服器接收的顯示快捷操作項的指令,向用戶顯示快捷操作項;所述快捷操作項對應於與即時消息內容相關聯的業務任務;在收到用戶針對快捷操作項的預定執行操作後,發起所述快捷操作項對應的業務任務。 The method for realizing business functions provided by the present invention is applied to a terminal, including: sending instant messages in an instant conversation participated in to an instant communication server; according to an instruction to display shortcut operation items received from an instant communication server, to the user Shortcut operation items are displayed; the shortcut operation items correspond to business tasks associated with the content of the instant message; after receiving a user's scheduled execution operation for the shortcut operation items, the business task corresponding to the shortcut operation items is initiated.
本發明還提供了一種業務功能的實現裝置,應用在即時通信伺服器上,包括:即時消息接收單元,用於接收即時對話參與方發送的即時消息;快捷操作指令單元,用於當即時對話中即時消息的內容滿足某個業務類型的預設觸發條件時,向即時對話參與方的終端發送顯示快捷操作項的指令;所述快捷操作項用於由終端發起所述業務類型的業務任務。 The present invention also provides a device for realizing business functions, which is applied to an instant messaging server, and includes: an instant message receiving unit for receiving instant messages sent by participants in an instant conversation; a quick operation instruction unit for instant conversation When the content of the instant message satisfies the preset trigger condition of a certain service type, an instruction to display the shortcut operation item is sent to the terminal of the instant conversation participant; the shortcut operation item is used for the terminal to initiate the service task of the service type.
本發明提供的一種業務功能的實現裝置,應用在終端上,包括: 即時消息發送單元,用於向即時通信伺服器發送所參與即時對話中的即時消息;操作項顯示接收單元,用於根據從即時通信伺服器接收的顯示快捷操作項的指令,向用戶顯示快捷操作項;所述快捷操作項對應於與即時消息內容相關聯的業務任務;操作項發起單元,用於在收到用戶針對快捷操作項的預定執行操作後,發起所述快捷操作項對應的業務任務。 The device for realizing business functions provided by the present invention is applied to a terminal, and includes: an instant message sending unit, used to send instant messages in an instant conversation participated in to an instant communication server; an operation item display receiving unit, used according to the slave The instruction to display the shortcut operation item received by the instant messaging server displays the shortcut operation item to the user; the shortcut operation item corresponds to the business task associated with the content of the instant message; the operation item initiating unit is used to receive the user’s response to the shortcut After the predetermined execution operation of the operation item, the business task corresponding to the shortcut operation item is initiated.
由以上技術方案可見,本發明的實施例中,當透過即時對話中即時消息的內容判斷出用戶將要使用某種類型的業務時,在用戶的終端上顯示該業務類型的快捷操作項,供用戶快捷啟動該業務類型的業務任務,從而減少了用戶的手動操作和手動輸入,提高了用戶的效率。 It can be seen from the above technical solutions that in the embodiment of the present invention, when it is determined that the user will use a certain type of service through the content of the instant message in the instant conversation, the shortcut operation item of the service type is displayed on the user's terminal for the user Quickly start the business tasks of this business type, thereby reducing the user's manual operation and manual input, and improving the user's efficiency.
圖1是本發明實施例中一種應用在即時通信伺服器上的業務功能的實現方法的流程圖;圖2是本發明實施例中一種應用在終端上的業務功能的實現方法的流程圖;圖3是本發明應用示例中終端上一個顯示有即時消息的即時會話界面;圖4是本發明應用示例中終端上一個顯示有快捷操作項的即時會話界面;圖5是本發明應用示例中終端上一個顯示有業務任務執行結果的即時會話界面; 圖6是終端或伺服器的一種硬體結構圖;圖7是本發明實施例中一種應用在即時通信伺服器上的業務功能的實現裝置的邏輯結構圖;圖8是本發明實施例中一種應用在終端上的業務功能的實現裝置的邏輯結構圖。 Figure 1 is a flowchart of a method for implementing business functions applied to an instant messaging server in an embodiment of the present invention; Figure 2 is a flowchart of a method for implementing business functions applied on a terminal in an embodiment of the present invention; 3 is an instant conversation interface displaying instant messages on the terminal in the application example of the present invention; Figure 4 is an instant conversation interface displaying shortcut operation items on the terminal in the application example of the present invention; Figure 5 is an instant conversation interface on the terminal in the application example of the present invention An instant conversation interface displaying the execution result of a business task; Fig. 6 is a hardware structure diagram of a terminal or server; Fig. 7 is the logic of an implementation device of a business function applied to an instant messaging server in an embodiment of the present invention Structure diagram; Figure 8 is a logical structure diagram of a device for implementing service functions applied to a terminal in an embodiment of the present invention.
本發明的實施例提出一種新的業務功能的實現方法,即時通信伺服器監測即時對話中即時消息的內容,在判斷用戶意圖進行某種類型的業務時,指令該用戶的終端顯示該業務類型的快捷操作項,使得用戶可以利用快捷操作項來簡單方便的啟動該業務類型的業務任務,避免了用戶手動操作該類型的業務系統以及手動輸入相關資訊,簡化了用戶的操作,為用戶提供更大的便利,從而解决現有技術中存在的問題。 The embodiment of the present invention proposes a method for realizing a new service function. The instant messaging server monitors the content of the instant message in the instant conversation, and when judging that the user intends to perform a certain type of service, it instructs the user's terminal to display the service type The shortcut operation item allows the user to use the shortcut operation item to start the business task of the business type simply and conveniently, avoiding the user manually operating the business system of this type and manually inputting related information, simplifying the user's operation and providing users with greater It is convenient to solve the problems existing in the prior art.
本發明的實施例中,一個即時對話中的用戶將即時消息透過其終端發送到即時通信伺服器,由即時通信伺服器將即時消息轉發到同一即時對話中的其他用戶的終端。即時消息的發送方終端與即時通信伺服器、接收方終端與即時通信伺服器透過網路相互可訪問。其中,終端(發送方和/或接收方終端)可以是手機、平板電腦、PC(Personal Computer,個人電腦)、筆記型電腦等設備;即時通信伺服器可以是一個實體或邏輯伺服器,也可以是由兩個或兩個以上分擔不同職責的實體或邏輯伺服器、相互協同來實 現本發明實施例中即時通信伺服器的各項功能。本發明實施例對終端、即時通信伺服器的種類,以及發送方終端與即時通信伺服器之間、接收方終端與即時通信伺服器之間通信網路的類型、協定等均不做限定。 In the embodiment of the present invention, a user in an instant conversation sends an instant message to an instant communication server through his terminal, and the instant communication server forwards the instant message to the terminals of other users in the same instant conversation. The sender terminal and the instant messaging server of the instant message, and the receiver terminal and the instant messaging server are mutually accessible through the network. Among them, the terminal (the sender and/or the receiver terminal) can be a mobile phone, a tablet computer, a PC (Personal Computer, personal computer), a notebook computer, etc.; the instant messaging server can be a physical or logical server, or Two or more entities or logical servers that share different responsibilities cooperate with each other to realize the functions of the instant messaging server in the embodiment of the present invention. The embodiments of the present invention do not limit the types of terminals and instant messaging servers, and the types and protocols of communication networks between the sender terminal and the instant messaging server, and between the receiver terminal and the instant messaging server.
本發明的實施例中,業務功能的實現方法在即時伺服器上的流程如圖1所示,在終端上的流程如圖2所示。在終端上,步驟210,向即時通信伺服器發送所參與即時對話中的即時消息。 In the embodiment of the present invention, the flow of the implementation method of the service function on the instant server is shown in FIG. 1, and the flow on the terminal is shown in FIG. 2. On the terminal, in
在即時通信伺服器上,步驟110,接收即時對話參與方發送的即時消息。 On the instant messaging server,
用戶將在某個即時對話中要發送的即時消息輸入到終端,由終端發送到即時通信伺服器。即時通信伺服器接收即時對話的各個參與方發送的即時消息,並轉發給該即時消息的接收方(部分或全部即時會話中參與方)的終端。即時會話可以是兩個用戶或多個用戶之間的會話,也可以是群組會話。 The user inputs an instant message to be sent in an instant conversation into the terminal, and the terminal sends the instant message to the instant messaging server. The instant messaging server receives instant messages sent by each participant in the instant conversation, and forwards the instant message to the terminal of the recipient of the instant message (participants in some or all of the instant conversation). An instant conversation can be a conversation between two users or multiple users, or a group conversation.
在即時通信伺服器上,步驟120,當即時對話中即時消息的內容滿足某個業務類型的預設觸發條件時,向即時對話參與方的終端發送顯示快捷操作項的指令,快捷操作項由終端用來發起該業務類型的業務任務。 On the instant messaging server, in
在終端上,步驟220,根據從即時通信伺服器接收的顯示快捷操作項的指令,向用戶顯示快捷操作項;該快捷操作項對應於與即時消息內容相關聯的業務任務。 On the terminal, in
能够透過本發明實施例實現的業務功能包括所有可以 透過網路完成的生活和工作事項;如網路支付功能、網路購物功能等。屬同一業務類型的業務由相同的業務伺服器進行處理,並且完成該類型的業務所需提供的業務參數相同或類似;例如,業務類型可以是支付、轉帳、發紅包、在某個購物網站下單等等。業務任務是帶有具體業務參數的某一業務類型的業務,所帶有的業務參數可以是完成該類型業務所需的部分參數,也可以是全部參數;例如,用戶A向商家B支付,就是一項帶有部分業務參數的業務任務。 The business functions that can be implemented through the embodiments of the present invention include all life and work items that can be completed through the Internet; such as online payment functions, online shopping functions, and so on. Services of the same business type are processed by the same business server, and the business parameters required to complete this type of business are the same or similar; for example, the business type can be payment, transfer, red envelope, or under a certain shopping website Single wait. A business task is a business of a certain business type with specific business parameters. The business parameters carried can be part of the parameters required to complete the type of business, or all parameters; for example, if user A pays merchant B, it is A business task with some business parameters.
即時通信伺服器透過即時對話的內容來判斷用戶是否有發起某個業務類型的業務任務的意圖。當用戶之間就不同類型的業務進行溝通時,所使用的詞匯、表達方式等存在較大的差異,因此,本發明實施例中預設了各個業務類型的觸發條件,當即時對話中即時消息的內容滿足某個業務類型的預設觸發條件時,認為用戶有發起該類型的業務任務的意圖。各個業務類型的預設觸發條件保存在即時通信伺服器本地或者即時通信伺服器可以透過網路訪問的儲存位置。 The instant messaging server judges whether the user intends to initiate a business task of a certain business type through the content of the instant conversation. When users communicate about different types of services, the vocabulary, expressions, etc. used are quite different. Therefore, the trigger conditions for each service type are preset in the embodiment of the present invention. When the content meets the preset trigger condition of a certain business type, it is considered that the user has the intention to initiate this type of business task. The preset trigger conditions of each service type are stored locally in the instant messaging server or a storage location that the instant messaging server can access through the network.
即時消息包括文本、語音、視頻等形式的消息。對非文本形式的消息,即時通信伺服器可以採用現有的各種識別技術來將該即時消息所傳遞的資訊轉化為文本,來作為該即時消息的內容。即時通信伺服器可以採用各種對文本資訊的分析處理方法來辨別用戶在即時消息中表現的意圖,並根據所採用的分析處理方法來確定各個業務類型的 預設觸發條件。每個業務類型可以有兩個以上的預定觸發條件,滿足其中的任意一個即可。 Instant messages include messages in the form of text, voice, and video. For non-text messages, the instant messaging server can use various existing recognition technologies to convert the information transmitted by the instant message into text as the content of the instant message. The instant messaging server can use various analysis and processing methods of text information to identify the user's intention in the instant message, and determine the preset trigger conditions for each service type according to the adopted analysis and processing method. Each service type can have more than two predetermined trigger conditions, and any one of them can be satisfied.
例如,即時通信伺服器可以對即時消息的內容採用關鍵詞匹配的處理方法,將與業務類型對應的一個到多個詞語作為關鍵詞,以即時消息的內容中包括至少一個關鍵詞作為一個預設觸發條件;再如,即時通信伺服器可以採用對相鄰的若干條即時消息的內容進行語義分析的處理方法,將語義分析結果符合對應的業務類型來作為一個預設觸發條件;即時通信伺服器還可以結合上述兩種處理方法,並採用上述兩個預設觸發條件。即時通信伺服器也可以採用現有技術中其他的文本資訊處理分析方法,不再贅述。 For example, the instant messaging server may adopt a keyword matching processing method for the content of the instant message, using one or more words corresponding to the business type as keywords, and the content of the instant message including at least one keyword as a preset Trigger conditions; for another example, the instant messaging server can use a processing method of semantic analysis on the content of several adjacent instant messages, and the semantic analysis result meets the corresponding business type as a preset trigger condition; the instant messaging server It is also possible to combine the above two processing methods and use the above two preset trigger conditions. The instant messaging server can also use other text information processing and analysis methods in the prior art, which will not be repeated.
即時通信伺服器可以將單條即時消息的內容作為分析處理對象來匹配預設觸發條件,也可以將固定條數或以其他條件確定條數的相鄰即時消息內容作為分析處理對象,相鄰的即時消息可以是由同一個終端接連發送的即時消息,也可以是所有對話參與方接連發送的即時消息,本發明的實施例均不做限定。 The instant messaging server can use the content of a single instant message as the analysis and processing object to match the preset trigger condition, and can also use a fixed number or the number of adjacent instant messages determined by other conditions as the analysis and processing object. The message may be an instant message sent successively by the same terminal, or it may be an instant message sent successively by all the participants in the conversation, which is not limited in the embodiment of the present invention.
當即時消息的內容滿足某個業務類型的預設觸發條件時,即時通信伺服器產生與即時消息內容相關聯的該業務類型的業務任務,並向有意圖發起該業務任務的即時對話參與方的終端發送顯示對應於該業務任務的快捷操作項的指令。 When the content of the instant message meets the preset trigger condition of a certain business type, the instant messaging server generates a business task of the business type associated with the content of the instant message and sends it to the instant conversation participant who intends to initiate the business task. The terminal sends an instruction to display the shortcut operation item corresponding to the business task.
即時通信伺服器可以根據對即時消息內容的分析處理 確定是否有用戶很可能會使用某個類型的業務,同時可以確定有意圖使用該類型業務的用戶是哪個;這樣,即時通信伺服器可以以該用戶的帳戶作為所產生業務任務中的一個業務參數。此外,根據具體的業務類型,即時通信伺服器還可以根據即時消息內容和/或即時對話的其他參與方來得到所產生業務任務中的其他業務參數,例如,可以將即時對話的對方帳戶作為業務任務中的另一個業務參數,將即時消息中涉及的金額作為業務任務的金額。即時通信伺服器能够確定的業務參數越多,用戶在業務任務的執行過程中需要手動輸入的項目就越少,從而更為高效。 The instant messaging server can determine whether a user is likely to use a certain type of service based on the analysis and processing of the content of the instant message, and at the same time can determine which user intends to use this type of service; in this way, the instant messaging server can The user's account is used as a business parameter in the generated business task. In addition, according to the specific service type, the instant messaging server can also obtain other business parameters in the generated business task according to the content of the instant message and/or other participants in the instant conversation. For example, the account of the other party in the instant conversation can be used as the business. Another business parameter in the task uses the amount involved in the instant message as the amount of the business task. The more business parameters that the instant messaging server can determine, the fewer items users need to manually enter during the execution of business tasks, which makes them more efficient.
即時通信伺服器向終端發送的顯示快捷操作項的指令中包括終端在進行對應的業務任務時要訪問的伺服器的位址,以及對應的業務任務的相關資訊。實際應用場景中,如果終端透過即時通信伺服器訪問所屬業務類型的業務伺服器,則指令中伺服器位址為即時通信伺服器的位址;如果終端直接向業務伺服器發起訪問,則指令中伺服器位址為業務伺服器的位址。即時通信伺服器可以在顯示快捷操作項的指令中攜帶業務任務所屬的業務類型和已產生的一個到多個業務參數,這樣終端可以這些資訊顯示給用戶,使得用戶明確透過快捷操作項所進行的業務任務的具體細節。例如,對轉帳業務,其業務參數可以是轉出帳戶、轉入帳戶和轉帳金額中的一個到多個;對發紅包業務,其業務參數可以是發紅包的帳戶、紅包金額中的一個或兩個。 The instructions for displaying shortcut operation items sent by the instant messaging server to the terminal include the address of the server to be accessed by the terminal when performing the corresponding business task, and related information about the corresponding business task. In the actual application scenario, if the terminal accesses the business server of the business type through the instant messaging server, the server address in the instruction is the address of the instant messaging server; if the terminal directly initiates access to the business server, the instruction is The server address is the address of the business server. The instant messaging server can carry the business type to which the business task belongs and one or more business parameters that have been generated in the instruction to display the shortcut operation item, so that the terminal can display this information to the user, so that the user is clear about what is done through the shortcut operation item The specific details of the business task. For example, for the transfer business, the business parameters can be one or more of the transfer-out account, the transfer-in account, and the transfer amount; for the red envelope business, the business parameter can be one or two of the red envelope issuing account and the red envelope amount. One.
終端在收到顯示快捷操作項的指令後,根據指令向用 戶顯示快捷操作項。快捷操作項可以以各種可操作的頁面元素的形式顯示給用戶,例如,可點擊的浮窗、即時對話窗口中的一條系統消息等,本發明的實施例中不做限定。終端可以在快捷操作項中將對應的業務任務的所屬業務類型和業務參數顯示給用戶。 After receiving the instruction to display the shortcut operation item, the terminal displays the shortcut operation item to the user according to the instruction. The shortcut operation item may be displayed to the user in the form of various operable page elements, for example, a clickable floating window, a system message in an instant dialog window, etc., which are not limited in the embodiment of the present invention. The terminal can display the business type and business parameters of the corresponding business task in the shortcut operation item to the user.
在終端上,步驟230,在收到用戶針對快捷操作項的預定執行操作後,發起該快捷操作項對應的業務任務。 On the terminal, in
對快捷操作項的預定執行操作可以是點擊所顯示的快捷操作項、預定的觸屏手勢或預定的快捷鍵或快捷鍵組合等。當終端收到用戶的預定執行操作後,發起快捷操作項對應的業務任務。 The predetermined execution operation on the shortcut operation item may be clicking the displayed shortcut operation item, a predetermined touch screen gesture, or a predetermined shortcut key or a combination of shortcut keys, or the like. When the terminal receives the user's scheduled execution operation, it initiates the business task corresponding to the shortcut operation item.
如果在顯示快捷操作項的指令中攜帶的是業務伺服器的位址,則終端可以在發起業務任務請求時,攜帶顯示快捷操作項的指令中的業務參數,以減少需要手動輸入的項目。 If the instruction to display the shortcut operation item carries the address of the business server, the terminal can carry the business parameters in the instruction to display the shortcut operation item when initiating the service task request, so as to reduce the items that need to be manually input.
如果在顯示快捷操作項的指令中攜帶的是即時通信伺服器的位址,則終端在收到用戶的預定執行操作後,向即時通信伺服器發起請求。即時通信伺服器收到終端基於快捷操作項發起的請求後,執行該快捷操作項對應的業務任務。即時通行伺服器可以向業務伺服器發送該業務任務所屬業務類型和各個業務參數,在收到業務伺服器的處理結果後,還可以向終端發送顯示該業務任務執行結果的指令,在指令中攜帶與執行結果相關的資訊。終端根據從即時通信伺服器接收的顯示業務任務執行結果的指令,向用 戶顯示執行結果。即時通信伺服器與業務伺服器協同執行業務任務的過程可以參照現有技術實現,此處不再贅述。 If the instruction for displaying the shortcut operation item carries the address of the instant messaging server, the terminal will initiate a request to the instant messaging server after receiving the user's scheduled execution operation. After receiving the request initiated by the terminal based on the shortcut operation item, the instant messaging server executes the business task corresponding to the shortcut operation item. The instant access server can send the business type and various business parameters of the business task to the business server. After receiving the processing result of the business server, it can also send an instruction to the terminal to display the execution result of the business task. The instruction carries Information related to execution results. The terminal displays the execution result to the user according to the instruction to display the execution result of the business task received from the instant messaging server. The process of cooperatively executing business tasks by the instant messaging server and the business server can be implemented with reference to the prior art, and will not be repeated here.
在一種實現方式中,當用戶在利用顯示的快捷操作發起請求時,還可以根據具體的業務完成業務中相應的操作,例如讓用戶輸入密碼的操作,或者其他操作。例如,在該快捷操作為轉帳操作時,若用戶觸發該快捷操作發起轉帳請求時,可事先產生一個轉帳確認框,由用戶進行確認,該確認可以是輸入支付密碼的操作,這樣,只有用戶輸入密碼後,轉帳操作才會生效。又例如,若該快捷操作為發紅包操作時,若用戶觸發該快捷操作發起發放紅包的請求,則可先產生一個紅包確認框,該確認框可以提供其他選項或參數供用戶選擇,例如紅包的類型,發放紅包的數量等,並可有輸入密碼確認的操作等。 In an implementation manner, when the user initiates a request by using the displayed shortcut operation, the corresponding operation in the business can also be completed according to the specific business, such as the operation of allowing the user to enter a password, or other operations. For example, when the quick operation is a transfer operation, if the user triggers the quick operation to initiate a transfer request, a transfer confirmation box can be generated in advance for the user to confirm. The confirmation can be an operation of entering a payment password, so that only the user enters After the password, the transfer operation will take effect. For another example, if the shortcut operation is a red envelope operation, if the user triggers the shortcut operation to initiate a red envelope request, a red envelope confirmation box can be generated first, and the confirmation box can provide other options or parameters for the user to choose, such as the red envelope The type, the number of red envelopes issued, etc., and the operation of entering a password to confirm.
本發明實施例中,在終端顯示的快捷操作項是即時通信伺服器對用戶意圖的估測,並不能够100%準確的反映用戶的意願,尤其未必是用戶當前需要執行的意願。為了避免顯示快捷操作項對用戶造成過多的干擾、甚至可能造成的誤操作,可以設置快捷操作項的顯示時間,終端在將快捷操作項顯示在屏幕上後開始計時,計時到顯示時間後取消快捷操作項的顯示。顯示時間可以預設在終端上,也可以由即時通信伺服器在顯示快捷操作項的指令中將顯示時間下發給終端。 In the embodiment of the present invention, the shortcut operation item displayed on the terminal is an estimation of the user's intention by the instant messaging server, and cannot 100% accurately reflect the user's wishes, especially not necessarily the user's current wishes to be executed. In order to avoid displaying the shortcut operation items causing excessive interference to the user and possibly even causing misoperations, the display time of the shortcut operation item can be set. The terminal starts timing after the shortcut operation item is displayed on the screen, and cancels the shortcut operation after the display time is reached. The display of items. The display time can be preset on the terminal, or the instant messaging server can issue the display time to the terminal in the instruction to display the shortcut operation item.
可見,本發明的實施例中即時通信伺服器監控即時對話中即時消息的內容,當用戶表現出將要使用某種類型的 業務的意圖時,在用戶的終端上顯示該業務類型的快捷操作項,供用戶利用快捷操作項來簡便的發起對應的業務任務,簡化了用戶發起業務任務所需的手動操作和輸入工作,提高了用戶完成業務任務的效率。 It can be seen that the instant messaging server in the embodiment of the present invention monitors the content of the instant message in the instant conversation, and when the user shows the intention to use a certain type of service, the shortcut operation item of the service type is displayed on the user’s terminal. Allows users to use shortcut operation items to easily initiate corresponding business tasks, which simplifies the manual operation and input required for users to initiate business tasks, and improves the efficiency of users in completing business tasks.
在本發明的一個應用示例中,即時通信伺服器採用關鍵詞匹配技術和語義分析技術來監控即時對話中即時消息的內容,每個業務類型對應於多個預設觸發條件。以轉帳業務為例,其預設觸發條件包括:有關鍵詞“轉帳”;有關鍵詞“轉給”、“轉我”或“轉你”,並且本條或相鄰2條以內的即時消息中帶有數字等。 In an application example of the present invention, the instant messaging server uses keyword matching technology and semantic analysis technology to monitor the content of instant messages in instant conversations, and each service type corresponds to multiple preset trigger conditions. Take the transfer business as an example, the preset trigger conditions include: there is the keyword "transfer"; there is the keyword "transfer to", "transfer me" or "transfer you", and in this article or in the instant messages within 2 adjacent articles With numbers etc.
在用戶B與好友A(用戶A)的即時會話中,用戶B在終端上輸入即時消息“轉你105”,由終端發送該即時消息到即時通信伺服器。用戶B終端上顯示的即時會話界面如圖3所示。 In an instant conversation between user B and friend A (user A), user B enters an instant message "Zou You 105" on the terminal, and the terminal sends the instant message to the instant messaging server. The instant conversation interface displayed on the user B terminal is shown in Figure 3.
即時通信伺服器從用戶B的即時消息中發現關鍵詞“轉你”,並且該即時消息中帶有數字,滿足轉帳業務的其中一個預設觸發條件。即時通信伺服器對該條即時消息進行語義分析,得出轉帳的轉出帳戶為用戶B,轉入帳戶為用戶A,轉帳金額為105。即時消息伺服器利用上述業務參數產生“用戶B向用戶A轉帳105”的轉帳業務任務,產生顯示對應於該轉帳業務任務的快捷操作項的指令發送給用戶B終端,在指令中攜帶業務任務的類型(轉帳)和上述3個業務參數。 The instant messaging server finds the keyword "transfer you" from the instant message of user B, and the instant message carries a number, which meets one of the preset trigger conditions of the transfer business. The instant messaging server performs semantic analysis on the instant message and finds that the outgoing account of the transfer is user B, the incoming account is user A, and the transfer amount is 105. The instant message server uses the above service parameters to generate a transfer service task of "User B transfers money 105 to user A", generates an instruction showing the shortcut operation item corresponding to the transfer service task, and sends it to the terminal of User B. The instruction carries the information of the service task. Type (transfer) and the above 3 business parameters.
用戶B的終端收到顯示快捷操作項的指令後,提取指 令中的業務類型和業務參數,在即時會話界面上將對業務任務的描述(根據以業務類型和部分業務參數產生:“是否轉錢給好友A 105.00元”)顯示在可點擊的消息框中,並啟動計時。本應用示例中顯示時間為10秒,預設在終端上的即時通信客戶端軟體中。剩餘顯示時間顯示在消息框中對業務任務的描述之後,如圖4所示。當剩餘顯示時間為0時,用戶B的終端取消可點擊消息框的顯示。 After user B's terminal receives the instruction to display the shortcut operation item, it extracts the business type and business parameters in the instruction, and displays the description of the business task on the instant conversation interface (based on the business type and some business parameters: "Do you want to transfer money?" Give Friend A 105.00 yuan") is displayed in the clickable message box, and the timer starts. The display time in this application example is 10 seconds, which is preset in the instant messaging client software on the terminal. The remaining display time is displayed after the description of the business task in the message box, as shown in Figure 4. When the remaining display time is 0, the terminal of user B cancels the display of the clickable message box.
當用戶B點擊圖4中的消息框時,用戶B的終端請求即時通信伺服器發起執行該業務任務。即時通信伺服器向支付伺服器發起轉帳請求,在轉帳請求中帶入轉出帳戶、轉入帳戶和轉帳金額。在收到支付伺服器返回的轉帳成功的確認資訊後,即時通信伺服器產生顯示業務任務執行結果的指令,在指令中將轉帳成功的結果通知用戶B的終端。 When user B clicks on the message box in FIG. 4, the terminal of user B requests the instant messaging server to initiate the execution of the business task. The instant messaging server initiates a transfer request to the payment server, and brings in the transfer-out account, transfer-in account, and transfer amount in the transfer request. After receiving the confirmation information of the successful transfer from the payment server, the instant messaging server generates an instruction to display the execution result of the business task, and informs the terminal of user B of the successful transfer result in the instruction.
用戶B的終端收到顯示業務任務執行結果的指令,將“向對方轉帳105.00元”顯示給用戶,如圖5所示。 User B's terminal receives the instruction to display the execution result of the business task, and displays "Transfer 105.00 yuan to the other party" to the user, as shown in Figure 5.
與上述流程實現對應,本發明的實施例還提供了一種應用在即時通信伺服器上的業務功能的實現裝置,和一種應用在終端上的業務功能的實現裝置。這兩種裝置均可以透過軟體實現,也可以透過硬體或者軟體硬體結合的方式實現。以軟體實現為例,作為邏輯意義上的裝置,是透過終端或伺服器的CPU(Central Process Unit,中央處理器)將對應的電腦程式指令讀取到記憶體中運行形成的。從硬體層面而言,除了圖6所示的CPU、記憶體以及非易 失性記憶體之外,業務功能的實現裝置所在的終端通常還包括用於進行無線信號收發的芯片等其他硬體,業務功能的實現裝置所在的伺服器通常還包括用於實現網路通信功能的板卡等其他硬體。 Corresponding to the implementation of the foregoing process, the embodiment of the present invention also provides a device for realizing service functions applied on an instant messaging server, and a device for realizing service functions applied on a terminal. Both of these devices can be implemented through software, or through hardware or a combination of software and hardware. Take software implementation as an example. As a logical device, it is formed by reading the corresponding computer program instructions into the memory through the CPU (Central Process Unit, central processing unit) of the terminal or server. From the hardware level, in addition to the CPU, memory, and non-volatile memory shown in Figure 6, the terminal where the business function implementation device is located usually includes other hardware such as chips for wireless signal transmission and reception. , The server where the business function realization device is located usually also includes other hardware such as boards for realizing network communication functions.
圖7所示為本實施例提供的一種業務功能的實現裝置,應用在即時通信伺服器上,包括即時消息接收單元和快捷操作指令單元,其中:即時消息接收單元用於接收即時對話參與方發送的即時消息;快捷操作指令單元用於當即時對話中即時消息的內容滿足某個業務類型的預設觸發條件時,向即時對話參與方的終端發送顯示快捷操作項的指令;所述快捷操作項用於由終端發起所述業務類型的業務任務。 Figure 7 shows a service function implementation device provided by this embodiment. It is applied to an instant messaging server and includes an instant message receiving unit and a quick operation instruction unit. The instant message receiving unit is used to receive messages from participants in an instant conversation. The shortcut operation instruction unit is used to send an instruction to display the shortcut operation item to the terminal of the instant conversation participant when the content of the instant message in the instant conversation meets the preset trigger condition of a certain service type; the shortcut operation item Used by the terminal to initiate the service task of the service type.
一個例子中,所述裝置還包括操作請求接收單元,用於接收終端基於所述快捷操作項發起的請求,執行所述快捷操作項對應的業務任務。 In an example, the device further includes an operation request receiving unit, configured to receive a request initiated by the terminal based on the shortcut operation item, and execute the business task corresponding to the shortcut operation item.
上述例子中,所述裝置還可以包括執行結果指令單元,用於向終端發送顯示所述業務任務的執行結果的指令。 In the above example, the device may further include an execution result instruction unit for sending an instruction to display the execution result of the business task to the terminal.
可選的,所述預設觸發條件包括:即時消息內容中包括與業務類型對應的關鍵詞,和/或對若干條相鄰即時消息內容的語義分析結果與對應的業務類型相符合。 Optionally, the preset trigger condition includes: the instant message content includes a keyword corresponding to the service type, and/or the semantic analysis results of several adjacent instant message contents are consistent with the corresponding service type.
可選的,所述顯示快捷操作項的指令中包括所述快捷操作項在終端上的顯示時間,顯示時間到時由終端取消所述快捷操作項的顯示。 Optionally, the instruction for displaying the shortcut operation item includes the display time of the shortcut operation item on the terminal, and the terminal cancels the display of the shortcut operation item when the display time expires.
可選的,所述顯示快捷操作項的指令中包括所述業務類型和所述業務任務的至少一個業務參數;所述業務參數根據即時對話中即時消息的內容和/或即時對話的參與方產生。 Optionally, the instruction for displaying the shortcut operation item includes at least one business parameter of the business type and the business task; the business parameter is generated according to the content of the instant message in the instant dialogue and/or the participants of the instant dialogue .
可選的,所述業務功能包括網路支付功能;所述業務類型包括轉帳和/或發紅包;轉帳的業務參數包括轉出帳戶、轉入帳戶和轉帳金額中的一個到多個;發紅包的業務參數包括發紅包的帳戶、紅包金額中的一個或兩個。 Optionally, the business function includes an online payment function; the business type includes money transfer and/or red envelope issuing; the business parameters of the transfer include one or more of outgoing account, inbound account and transfer amount; red envelope issued The business parameters include one or both of the account that issued the red envelope and the amount of the red envelope.
圖8所示為本實施例提供的一種業務功能的實現裝置,應用在終端上,包括即時消息發送單元、操作項顯示接收單元和操作項發起單元,其中:即時消息發送單元用於向即時通信伺服器發送所參與即時對話中的即時消息;操作項顯示接收單元用於根據從即時通信伺服器接收的顯示快捷操作項的指令,向用戶顯示快捷操作項;所述快捷操作項對應於與即時消息內容相關聯的業務任務;操作項發起單元用於在收到用戶針對快捷操作項的預定執行操作後,發起所述快捷操作項對應的業務任務。 Figure 8 shows a device for realizing business functions provided by this embodiment. It is applied to a terminal and includes an instant message sending unit, an operation item display receiving unit, and an operation item initiating unit. The instant message sending unit is used to communicate with The server sends the instant messages in the instant conversations it participates in; the operation item display receiving unit is used to display the shortcut operation items to the user according to the instruction to display the shortcut operation items received from the instant communication server; the shortcut operation items correspond to the instant The business task associated with the message content; the operation item initiating unit is used to initiate a business task corresponding to the quick operation item after receiving a predetermined execution operation of the user for the quick operation item.
可選的,所述裝置還包括操作項顯示取消單元,用於在向用戶顯示快捷操作項達到顯示時間後,取消快捷操作項的顯示;所述顯示時間預設在終端上,或由即時通信伺服器在顯示快捷操作項的指令中指定。 Optionally, the device further includes an operation item display canceling unit, which is used to cancel the display of the shortcut operation item after the display time of the shortcut operation item is displayed to the user; the display time is preset on the terminal, or by instant messaging The server is specified in the command to display the shortcut operation item.
可選的,所述操作項發起單元具體用於:在收到用戶針對快捷操作項的預定執行操作後,基於所述快捷操作項向即時通信伺服器發起請求;所述裝置還包括執行結果顯 示單元,用於根據從即時通信伺服器接收的顯示所述業務任務的執行結果的指令,向用戶顯示執行結果。 Optionally, the operation item initiating unit is specifically configured to initiate a request to the instant messaging server based on the shortcut operation item after receiving a predetermined execution operation for the shortcut operation item from the user; the device further includes an execution result display The unit is configured to display the execution result to the user according to the instruction for displaying the execution result of the business task received from the instant messaging server.
可選的,所述業務功能包括網路支付功能;所述業務任務的業務類型包括轉帳或發紅包;轉帳的業務參數包括轉出帳戶、轉入帳戶和轉帳金額中的一個到多個;發紅包的業務參數包括發紅包的帳戶、紅包金額中的一個或兩個。 Optionally, the business function includes an online payment function; the business type of the business task includes transfer or red envelope; the business parameters of the transfer include one or more of transfer-out account, transfer-in account and transfer amount; send The business parameters of the red envelope include one or two of the account that issued the red envelope and the amount of the red envelope.
以上所述僅為本發明的較佳實施例而已,並不用以限制本發明,凡在本發明的精神和原則之內,所做的任何修改、等同替換、改進等,均應包含在本發明保護的範圍之內。 The above are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the present invention Within the scope of protection.
在一個典型的配置中,計算設備包括一個或多個處理器(CPU)、輸入/輸出介面、網路介面和記憶體。 In a typical configuration, the computing device includes one or more processors (CPU), input/output interfaces, network interfaces, and memory.
記憶體可能包括電腦可讀媒體中的非永久性記憶體,隨機存取記憶體(RAM)和/或非易失性記憶體等形式,如唯讀記憶體(ROM)或快閃記憶體(flash RAM)。記憶體是電腦可讀媒體的示例。 Memory may include non-permanent memory in computer-readable media, random access memory (RAM) and/or non-volatile memory, such as read-only memory (ROM) or flash memory ( flash RAM). Memory is an example of computer-readable media.
電腦可讀媒體包括永久性和非永久性、可移動和非可移動媒體可以由任何方法或技術來實現資訊儲存。資訊可以是電腦可讀指令、資料結構、程式的模組或其他資料。電腦的儲存媒體的例子包括,但不限於相變記憶體(PRAM)、靜態隨機存取記憶體(SRAM)、動態隨機存取記憶體(DRAM)、其他類型的隨機存取記憶體(RAM)、唯讀記憶體(ROM)、電可擦除可編程唯讀 記憶體(EEPROM)、快閃記憶體或其他記憶體技術、唯讀光碟唯讀記憶體(CD-ROM)、數位多功能光碟(DVD)或其他光學儲存、磁盒式磁帶,磁帶磁磁碟儲存或其他磁性儲存設備或任何其他非傳輸媒體,可用於儲存可以被計算設備訪問的資訊。按照本文中的界定,電腦可讀媒體不包括暫存電腦可讀媒體(transitory media),如調製的資料信號和載波。 Computer-readable media includes permanent and non-permanent, removable and non-removable media, and information storage can be realized by any method or technology. Information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), and other types of random access memory (RAM) , Read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, CD-ROM, digital multi-function disc (DVD) or other optical storage, magnetic cassettes, magnetic tape storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by computing devices. According to the definition in this article, computer-readable media does not include transitory media, such as modulated data signals and carrier waves.
還需要說明的是,術語“包括”、“包含”或者其任何其他變體意在涵蓋非排他性的包含,從而使得包括一系列要素的過程、方法、商品或者設備不僅包括那些要素,而且還包括沒有明確列出的其他要素,或者是還包括為這種過程、方法、商品或者設備所固有的要素。在沒有更多限制的情况下,由語句“包括一個......”限定的要素,並不排除在包括所述要素的過程、方法、商品或者設備中還存在另外的相同要素。 It should also be noted that the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, product or equipment including a series of elements not only includes those elements, but also includes Other elements that are not explicitly listed, or include elements inherent to this process, method, commodity, or equipment. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, commodity or equipment including the element.
本領域技術人員應明白,本發明的實施例可提供為方法、系統或電腦程式產品。因此,本發明可採用完全硬體實施例、完全軟體實施例或結合軟體和硬體方面的實施例的形式。而且,本發明可採用在一個或多個其中包含有電腦可用程式代碼的電腦可用儲存媒體(包括但不限於磁碟記憶體、CD-ROM、光學記憶體等)上實施的電腦程式產品的形式。 Those skilled in the art should understand that the embodiments of the present invention can be provided as methods, systems or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware. Moreover, the present invention can be in the form of computer program products implemented on one or more computer-usable storage media (including but not limited to disk memory, CD-ROM, optical memory, etc.) containing computer-usable program codes. .
Claims (22)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW106101945A TWI701958B (en) | 2017-01-19 | 2017-01-19 | Method and device for realizing business function |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW106101945A TWI701958B (en) | 2017-01-19 | 2017-01-19 | Method and device for realizing business function |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201828728A TW201828728A (en) | 2018-08-01 |
TWI701958B true TWI701958B (en) | 2020-08-11 |
Family
ID=63960383
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW106101945A TWI701958B (en) | 2017-01-19 | 2017-01-19 | Method and device for realizing business function |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI701958B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050091111A1 (en) * | 1999-10-21 | 2005-04-28 | Green Jason W. | Network methods for interactive advertising and direct marketing |
US20070011104A1 (en) * | 2003-03-21 | 2007-01-11 | Ebay Inc. | Payment transactions via substantially instant communication system |
US20070208816A1 (en) * | 2006-02-03 | 2007-09-06 | Cibernet Corporation | System and method for electronically facilitating, recording, and tracking transactions |
US20160055549A1 (en) * | 2011-04-28 | 2016-02-25 | Boku, Inc. | Systems and methods to process donations |
-
2017
- 2017-01-19 TW TW106101945A patent/TWI701958B/en active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050091111A1 (en) * | 1999-10-21 | 2005-04-28 | Green Jason W. | Network methods for interactive advertising and direct marketing |
US20070011104A1 (en) * | 2003-03-21 | 2007-01-11 | Ebay Inc. | Payment transactions via substantially instant communication system |
US20070208816A1 (en) * | 2006-02-03 | 2007-09-06 | Cibernet Corporation | System and method for electronically facilitating, recording, and tracking transactions |
US20160055549A1 (en) * | 2011-04-28 | 2016-02-25 | Boku, Inc. | Systems and methods to process donations |
Also Published As
Publication number | Publication date |
---|---|
TW201828728A (en) | 2018-08-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2017041641A1 (en) | Method and device for realizing service function | |
US11683279B2 (en) | System and method of using conversational agent to collect information and trigger actions | |
CN104144154B (en) | Initiate the method, apparatus and system of preset conference | |
CN111434128A (en) | Chat-enabled messaging | |
JP5031833B2 (en) | Multi-threaded instant messaging | |
US20180048594A1 (en) | Systems and methods for providing cross-messaging application conversations | |
US8943147B2 (en) | Sending a chat context to a recipient | |
TW201915701A (en) | Message display method and device | |
US9813373B2 (en) | Methods and devices for online contacts expansion | |
KR20210157848A (en) | Computer-implemented conference reservation method and apparatus, device, and medium | |
US8266533B2 (en) | Method and system configured to assess a fee for communication facilitation regarding publication information | |
US10270865B1 (en) | Method for handing off a communications session | |
JP2023521508A (en) | Mail processing method, device, electronic device and storage medium | |
US11297029B2 (en) | System and method for unified multi-channel messaging with block-based datastore | |
WO2015010465A1 (en) | Receiving information processing method and device | |
WO2019015507A1 (en) | Communication method and device | |
WO2019091323A1 (en) | Batch calling method and device | |
CN112291216B (en) | Communication method and device and electronic equipment | |
CN106161199B (en) | A kind of Content of Communication treating method and apparatus | |
TWI701958B (en) | Method and device for realizing business function | |
US8433756B2 (en) | Multiple terminal collaboration system | |
WO2018214795A1 (en) | Call indication method, device and system | |
WO2018209462A1 (en) | Mail management method and mail server | |
KR101479987B1 (en) | Free sms/mms system using smart phone | |
CN104580070A (en) | Method, device and system for confirming network conversations |