Embodiments of this disclosure generally relate to generating communication components, more particularly, to a system and a method for generating and communicating the communication components over a messaging channel.
Messaging channel is usually a loosely managed communication medium with unstructured messages flowing between two or more parties in the medium. The lack of structure in the medium prevents certain types of interactions to be easily handled by the medium. As an example, using free form text to provide information for a loan application can cause a lot of inaccuracies in data collection and cause the communication to go back and forth between the parties involved to correct the inaccuracies, thereby resulting in a frustrated customer and making the channel less desirable for such interaction. Some of the existing products available in the market solve the problem by sending users links to online forms or documents or external workflow applications that are used to complete the workflows (e.g. a loan application form on the web). Such an approach carries a portion of the workflow to outside the scope of the messaging channel which prevents the state of the transaction from being preserved in the channel. Some products like Facebook Messenger provide structured widgets. However, they only provide a few predefined types of widgets and a user is forced to fit their use case into one of the predefined types or use free form text. This limits the usability of the channel for a large category of business workflows.
Accordingly, there remains a need for a system and method for generating and communicating communication components over a messaging channel.
In view of foregoing, an embodiment herein provides a method for generating and communicating communication components over a messaging channel. The method includes (i) generating widgets using at least one of (a) a pre-existing set of blocks or (b) one or more micro blocks which are selected by a user, (ii) configuring a data type that includes strongly typed widgets, (iii) incorporating the widgets or said one or more micro blocks that collects strongly typed information from the user as a part of a messaging conversation, (iv) generating a structured workflow by interleaving the structured micro blocks with unstructured natural language and (v) communicating the structured workflow over the messaging channel for enabling the user to perform one or more operations.
In one embodiment, the method includes step of analyzing the unstructured natural language for extracting entities along with content and intent to add type information in the unstructured natural language.
In another embodiment, the widgets are expressed in a Hypertext Markup Language (HTML) with said type information that is stored as pattern attributes in said HTML.
In yet another embodiment, the data is provided to the widgets through external parameters.
In yet another embodiment, the data is provided to the user entering the data into a user interface element of the widgets.
In yet another embodiment, the widgets along with the data entered into the widgets are made persistent by (a) sending the widgets Uniform Resource Locator (URL) and (b) sending the data corresponding to the widgets in a separate message on the messaging channel.
In yet another embodiment, the method includes step of recreating a previous state of a conversation history based on (a) the widgets Uniform Resource Locator (URL), and (b) the data corresponding to the widgets in the separate message on the messaging channel.
In yet another embodiment, the method further includes step of validating the data entered at the widgets based on user specific business logic.
In yet another embodiment, the widgets are prefilled when the widgets are presented to the user or an agent based on at least one of (a) context of a recent conversation, (b) previous user history, (c) predicted conversation, (d) a specific point in time or (e) point in time relative to a specific time or event.
In yet another embodiment, the widgets include a title and one or more meta data associated with the widgets. The one or more meta data enables the user to recreate a context in which the widgets are used.
In yet another embodiment, the widget includes a set of data elements and visual representations of said data elements.
In yet another embodiment, the data is derived from at least one of static data from design time, collected or changed data at runtime and persistent dynamic data changes over time at runtime.
In one aspect, one or more non-transitory computer readable storage mediums storing one or more sequences of instructions, which when executed by one or more processors, causes a processor implemented method for generating and communicating communication components over a messaging channel is provided. The one or more non-transitory computer readable storage mediums includes the steps of: (i) generating widgets using at least one of (a) a pre-existing set of blocks or (b) one or more micro blocks which are selected by a user; (ii) configuring a data type that includes strongly typed widgets; (iii) incorporating the widgets or the one or more micro blocks that collects strongly typed information from the user as a part of a messaging conversation, (iv) generating a structured workflow by interleaving the structured micro blocks with unstructured natural language and (v) communicating the structured workflow over the messaging channel for enabling the user to perform one or more operations.
In one embodiment, the method further includes analysis of the unstructured natural language for extracting entities along with content and intent to add type information in the unstructured natural language.
In another embodiment, the data is provided to said widgets through external parameters.
In yet another embodiment, the data is provided to the user entering the data into a user interface element of the widgets.
In yet another embodiment, the widgets along with the data entered into the widgets are made persistent by (a) sending the widgets Uniform Resource Locator (URL) and (b) sending the data corresponding to the widgets in a separate message on the messaging channel.
In yet another embodiment, the method further includes recreation of a previous state of a conversation history based on (a) the widgets Uniform Resource Locator (URL), and (b) the data corresponding to the widgets in the separate message on the messaging channel.
In another aspect, a system for generating and communicating communication components over a messaging channel is provided. The system includes a memory that stores a set of instructions and a processor that executes the set of instructions and is configured to (i) generate widgets using at least one of (a) a pre-existing set of blocks or (b) one or more micro blocks which are selected by a user, (ii) configure a data type that includes strongly typed widgets, (iii) incorporate the widgets or the one or more micro blocks that collects strongly typed information from the user as a part of a messaging conversation, (iv) generate a structured workflow by interleaving the structured micro blocks with unstructured natural language and (v) communicate the structured workflow over the messaging channel for enabling the user to perform one or more operations.
In one embodiment, the processor is further configured to analyze the unstructured natural language for extracting entities along with content and intent to add type information in the unstructured natural language.
These and other aspects of the embodiments herein will be better appreciated and understood when considered in conjunction with the following description and the accompanying drawings. It should be understood, however, that the following descriptions, while indicating preferred embodiments and numerous specific details thereof, are given by way of illustration and not of limitation. Many changes and modifications may be made within the scope of the embodiments herein without departing from the spirit thereof, and the embodiments herein include all such modifications.
The embodiments herein will be better understood from the following detailed description with reference to the drawings, in which:
The embodiments herein and the various features and advantageous details thereof are explained more fully with reference to the non-limiting embodiments that are illustrated in the accompanying drawings and detailed in the following description. Descriptions of well-known components and processing techniques are omitted so as to not unnecessarily obscure the embodiments herein. The examples used herein are intended merely to facilitate an understanding of ways in which the embodiments herein may be practiced and to further enable those of skill in the art to practice the embodiments herein. Accordingly, the examples should not be construed as limiting the scope of the embodiments herein.
As mentioned, there remains a need for a system and method for generating and communicating communication components over a messaging channel. Referring now to the drawings, and more particularly to
The server 108 recreates a previous state of a conversation history based on (a) the widgets Uniform Resource Locator (URL), and (b) the data corresponding to the widgets in the separate message on the messaging channel. The server 108 incorporates the widgets or the one or more micro blocks that collects strongly typed information from the user 102 as a part of a messaging conversation to obtain structured micro blocks. The server 108 generates a structured workflow by interleaving the structured micro blocks with unstructured natural language. The server 108 analyzes the unstructured natural language for extracting entities along with content and intent to add type information in the unstructured natural language. In one embodiment, the unstructured natural language is analyzed by at least one of (i) regular expression, pattern matching, statistical methods, deep learning neural networks, or other machine learning techniques. The server 108 communicates the structured workflow over the messaging channel for enabling the user 102 to perform one or more operations. The widgets are communicated to the user device 104 and the agent device 110 through the network 106. In one embodiment, the network 106 is a wired network or a wireless network. In one embodiment, the user device 104 and the agent device 110 may be a mobile phone, a kindle, a PDA (Personal Digital Assistant), a tablet, a music player, a computer, an electronic notebook, or a smartphone.
The server 108 validates the data entered at the widgets based on user specific business logic. The widgets are prefilled when the widgets are presented to the user 102 or the agent 112 based on at least one of (a) context of a recent conversation, (b) previous user history, (c) predicted conversation, (d) a specific point in time or (e) point in time relative to a specific time or event.
A code for generating widgets for checking balance is shown below:
The data type configuring module 204 configures the data type that includes the strongly typed widgets. The widgets incorporating module 206 incorporates the widgets or the one or more micro blocks that collects strongly typed information from the user 102 as the part of the messaging conversation. The structured workflow generating module 208 generates the structured workflow by interleaving the structured micro blocks with the unstructured natural language. The structured workflow communicating module 210 communicates the structured workflow over the messaging channel for enabling the user 102 to perform the one or more operations.
With reference to
The embodiments herein may comprise a computer program product configured to include a pre-configured set of instructions, which when performed, can result in actions as stated in conjunction with the methods described above. In an example, the pre-configured set of instructions can be stored on a tangible non-transitory computer readable medium or a program storage device. In an example, the tangible non-transitory computer readable medium can be configured to include the set of instructions, which when performed by a device, can cause the device to perform acts similar to the ones described here. Embodiments herein may also include tangible and/or non-transitory computer-readable storage media for carrying or having computer executable instructions or data structures stored thereon.
Generally, program modules utilized herein include routines, programs, components, data structures, objects, and the functions inherent in the design of special-purpose processors, etc. that perform particular tasks or implement particular abstract data types. Computer executable instructions, associated data structures, and program modules represent examples of the program code means for executing steps of the methods disclosed herein. The particular sequence of such executable instructions or associated data structures represents examples of corresponding acts for implementing the functions described in such steps.
The techniques provided by the embodiments herein may be implemented on an integrated circuit chip (not shown). The chip design is created in a graphical computer programming language and stored in a computer storage medium (such as a disk, tape, physical hard drive, or virtual hard drive such as in a storage access network). If the designer does not fabricate chips or the photolithographic masks used to fabricate chips, the designer transmits the resulting design by physical means (e.g., by providing a copy of the storage medium storing the design) or electronically (e.g., through the Internet) to such entities, directly or indirectly. The stored design is then converted into the appropriate format (e.g., GDSII) for the fabrication of photolithographic masks, which typically include multiple copies of the chip design in question that are to be formed on a wafer. The photolithographic masks are utilized to define areas of the wafer (and/or the layers thereon) to be etched or otherwise processed.
The resulting integrated circuit chips can be distributed by the fabricator in raw wafer form (that is, as a single wafer that has multiple unpackaged chips), as a bare die, or in a packaged form. In the latter case the chip is mounted in a single chip package (such as a plastic carrier, with leads that are affixed to a motherboard or other higher level carrier) or in a multichip package (such as a ceramic carrier that has either or both surface interconnections or buried interconnections). In any case the chip is then integrated with other chips, discrete circuit elements, and/or other signal processing devices as part of either (a) an intermediate product, such as a motherboard, or (b) an end product. The end product can be any product that includes integrated circuit chips, ranging from toys and other low-end applications to advanced computer products having a display, a keyboard or other input device, and a central processor.
The embodiments herein can include both hardware and software elements. The embodiments that are implemented in software include but are not limited to, firmware, resident software, microcode, etc.
A data processing system suitable for storing and/or executing program code will include at least one processor coupled directly or indirectly to memory elements through a system bus. The memory elements can include local memory employed during actual execution of the program code, bulk storage, and cache memories which provide temporary storage of at least some program code in order to reduce the number of times code must be retrieved from bulk storage during execution.
Input/output (I/O) devices (including but not limited to keyboards, displays, pointing devices, etc.) can be coupled to the system either directly or through intervening I/O controllers. Network adapters may also be coupled to the system to enable the data processing system to become coupled to other data processing systems or remote printers or storage devices through intervening private or public networks. Modems, cable modem and Ethernet cards are just a few of the currently available types of network adapters.
A representative hardware environment for practicing the embodiments herein is depicted in
The server 108 further includes a user interface adapter 19 that connects a keyboard 15, mouse 17, speaker 24, microphone 22, and/or other user interface devices such as a touch screen device (not shown) or a remote control to the bus 12 to gather user input. Additionally, a communication adapter 20 connects the bus 12 to a data processing network 25, and a display adapter 21 connects the bus 12 to a display device 23 which may be embodied as an output device such as a monitor, printer, or transmitter, for example.
The foregoing description of the specific embodiments will so fully reveal the general nature of the embodiments herein that others can, by applying current knowledge, readily modify and/or adapt for various applications such specific embodiments without departing from the generic concept, and, therefore, such adaptations and modifications should and are intended to be comprehended within the meaning and range of equivalents of the disclosed embodiments. It is to be understood that the phraseology or terminology employed herein is for the purpose of description and not of limitation. Therefore, while the embodiments herein have been described in terms of preferred embodiments, those skilled in the art will recognize that the embodiments herein can be practiced with modification within the spirit and scope of the appended claims.