Not Applicable.
Not Applicable.
The present invention relates to the electrical, electronic and computer arts, and, more particularly, to cloud computing and the like.
The development of virtualization technology has triggered the emergence of cloud services. Over the past several years, an increasing number of service vendors have migrated their traditional information technology (IT) services to the cloud. Due to their flexibility, convenience, and low cost, cloud services have gradually become a high priority for enterprise customers.
Principles of the invention provide techniques for interactive acquisition of remote services. In one aspect, an exemplary method includes the steps of obtaining from a user, via a conversational interface, a natural language specification of at least one high level information technology services requirement; and parsing the natural language specification of the at least one high level information technology services requirement into first pre-defined semi-structured data, using a conversation parser. Further steps include, based on the first pre-defined semi-structured data, identifying, with a dialog engine, a subset of candidate information technology services from a plurality of candidate information technology services provided by a plurality of vendors; and formulating, with the dialog engine, a response comprising second pre-defined semi-structured data. An even further step includes reverse parsing the response comprising the second pre-defined semi-structured data into a natural language response, using the conversation parser. The natural language response includes a question for the user to assist in further refining the subset of candidate information technology services. An even further step includes causing the natural language response to be presented to the user via the conversational interface.
In another aspect, an exemplary system includes a memory; at least one processor, coupled to the memory; and a computer-readable storage medium. A plurality of distinct software modules are embodied on the computer-readable storage medium. The distinct software modules are loadable into the memory for execution by the processor. The distinct software modules include a conversational interface module, a conversation parser module, and a dialog engine module. The at least one processor is operative to create a conversational interface by executing the conversational interface module. The conversational interface obtains from a user a natural language specification of at least one high level information technology services requirement. The at least one processor is further operative to create a conversation parser by executing the conversation parser module. The conversation parser parses the natural language specification of the at least one high level information technology services requirement into first pre-defined semi-structured data. The at least one processor is still further operative to create a dialog engine by executing the dialog engine module. The dialog engine, based on the first pre-defined semi-structured data, identifies a subset of candidate information technology services from a plurality of candidate information technology services provided by a plurality of vendors; and formulates a response comprising second pre-defined semi-structured data. The conversation parser reverse parses the response comprising the second pre-defined semi-structured data into a natural language response. The natural language response comprises a question for the user to assist in further refining the subset of candidate information technology services. The conversational interface causes the natural language response to be presented to the user.
As used herein, “facilitating” an action includes performing the action, making the action easier, helping to carry the action out, or causing the action to be performed. Thus, by way of example and not limitation, instructions executing on one processor might facilitate an action carried out by instructions executing on a remote processor, by sending appropriate data or commands to cause or aid the action to be performed. For the avoidance of doubt, where an actor facilitates an action by other than performing the action, the action is nevertheless performed by some entity or combination of entities.
One or more embodiments of the invention or elements thereof can be implemented in the form of a computer program product including a computer readable storage medium with computer usable program code for performing the method steps indicated. Furthermore, one or more embodiments of the invention or elements thereof can be implemented in the form of a system (or apparatus) including a memory, and at least one processor that is coupled to the memory and operative to perform exemplary method steps. Yet further, in another aspect, one or more embodiments of the invention or elements thereof can be implemented in the form of means for carrying out one or more of the method steps described herein; the means can include (i) hardware module(s), (ii) software module(s) stored in a computer readable storage medium (or multiple such media) and implemented on a hardware processor, or (iii) a combination of (i) and (ii); any of (i)-(iii) implement the specific techniques set forth herein.
Techniques of the present invention can provide substantial beneficial technical effects. For example, one or more embodiments may provide one or more of the following advantages:
These and other features and advantages of the present invention will become apparent from the following detailed description of illustrative embodiments thereof, which is to be read in connection with the accompanying drawings.
One or more embodiments can be used in a variety of contexts. One or more embodiments can be used in connection with interactive acquisition of remote services, such as information technology (IT) services, both cloud-based and non-cloud based. Furthermore, regardless of what kinds of services are being acquired, one or more embodiments can themselves be computer-implemented, in cloud or non-cloud environments.
Cloud computing is a model of service delivery for enabling convenient, on-demand network access to a shared pool of configurable computing resources (e.g. networks, network bandwidth, servers, processing, memory, storage, applications, virtual machines, and services) that can be rapidly provisioned and released with minimal management effort or interaction with a provider of the service. This cloud model may include at least five characteristics, at least three service models, and at least four deployment models.
Characteristics are as follows:
On-demand self-service: a cloud consumer can unilaterally provision computing capabilities, such as server time and network storage, as needed automatically without requiring human interaction with the service's provider.
Broad network access: capabilities are available over a network and accessed through standard mechanisms that promote use by heterogeneous thin or thick client platforms (e.g., mobile phones, laptops, and PDAs).
Resource pooling: the provider's computing resources are pooled to serve multiple consumers using a multi-tenant model, with different physical and virtual resources dynamically assigned and reassigned according to demand. There is a sense of location independence in that the consumer generally has no control or knowledge over the exact location of the provided resources but may be able to specify location at a higher level of abstraction (e.g., country, state, or datacenter).
Rapid elasticity: capabilities can be rapidly and elastically provisioned, in some cases automatically, to quickly scale out and rapidly released to quickly scale in. To the consumer, the capabilities available for provisioning often appear to be unlimited and can be purchased in any quantity at any time.
Measured service: cloud systems automatically control and optimize resource use by leveraging a metering capability at some level of abstraction appropriate to the type of service (e.g., storage, processing, bandwidth, and active user accounts). Resource usage can be monitored, controlled, and reported providing transparency for both the provider and consumer of the utilized service.
Service Models are as follows:
Software as a Service (SaaS): the capability provided to the consumer is to use the provider's applications running on a cloud infrastructure. The applications are accessible from various client devices through a thin client interface such as a web browser (e.g., web-based email). The consumer does not manage or control the underlying cloud infrastructure including network, servers, operating systems, storage, or even individual application capabilities, with the possible exception of limited user-specific application configuration settings.
Platform as a Service (PaaS): the capability provided to the consumer is to deploy onto the cloud infrastructure consumer-created or acquired applications created using programming languages and tools supported by the provider. The consumer does not manage or control the underlying cloud infrastructure including networks, servers, operating systems, or storage, but has control over the deployed applications and possibly application hosting environment configurations.
Infrastructure as a Service (IaaS): the capability provided to the consumer is to provision processing, storage, networks, and other fundamental computing resources where the consumer is able to deploy and run arbitrary software, which can include operating systems and applications. The consumer does not manage or control the underlying cloud infrastructure but has control over operating systems, storage, deployed applications, and possibly limited control of select networking components (e.g., host firewalls).
Deployment Models are as follows:
Private cloud: the cloud infrastructure is operated solely for an organization. It may be managed by the organization or a third party and may exist on-premises or off-premises.
Community cloud: the cloud infrastructure is shared by several organizations and supports a specific community that has shared concerns (e.g., mission, security requirements, policy, and compliance considerations). It may be managed by the organizations or a third party and may exist on-premises or off-premises.
Public cloud: the cloud infrastructure is made available to the general public or a large industry group and is owned by an organization selling cloud services.
Hybrid cloud: the cloud infrastructure is a composition of two or more clouds (private, community, or public) that remain unique entities but are bound together by standardized or proprietary technology that enables data and application portability (e.g., cloud bursting for load balancing between clouds).
A cloud computing environment is service oriented with a focus on statelessness, low coupling, modularity, and semantic interoperability. At the heart of cloud computing is an infrastructure comprising a network of interconnected nodes.
Referring now to
In cloud computing node 10 there is a computer system/server 12, which is operational with numerous other general purpose or special purpose computing system environments or configurations. Examples of well-known computing systems, environments, and/or configurations that may be suitable for use with computer system/server 12 include, but are not limited to, personal computer systems, server computer systems, thin clients, thick clients, handheld or laptop devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputer systems, mainframe computer systems, and distributed cloud computing environments that include any of the above systems or devices, and the like.
Computer system/server 12 may be described in the general context of computer system executable instructions, such as program modules, being executed by a computer system. Generally, program modules may include routines, programs, objects, components, logic, data structures, and so on that perform particular tasks or implement particular abstract data types. Computer system/server 12 may be practiced in distributed cloud computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed cloud computing environment, program modules may be located in both local and remote computer system storage media including memory storage devices.
As shown in
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MCA) bus, Enhanced ISA (EISA) bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnects (PCI) bus.
Computer system/server 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by computer system/server 12, and it includes both volatile and non-volatile media, removable and non-removable media.
System memory 28 can include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and/or cache memory 32. Computer system/server 12 may further include other removable/non-removable, volatile/non-volatile computer system storage media. By way of example only, storage system 34 can be provided for reading from and writing to a non-removable, non-volatile magnetic media (not shown and typically called a “hard drive”). Although not shown, a magnetic disk drive for reading from and writing to a removable, non-volatile magnetic disk (e.g., a “floppy disk”), and an optical disk drive for reading from or writing to a removable, non-volatile optical disk such as a CD-ROM, DVD-ROM or other optical media can be provided. In such instances, each can be connected to bus 18 by one or more data media interfaces. As will be further depicted and described below, memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
Program/utility 40, having a set (at least one) of program modules 42, may be stored in memory 28 by way of example, and not limitation, as well as an operating system, one or more application programs, other program modules, and program data. Each of the operating system, one or more application programs, other program modules, and program data or some combination thereof, may include an implementation of a networking environment. Program modules 42 generally carry out the functions and/or methodologies of embodiments of the invention as described herein.
Computer system/server 12 may also communicate with one or more external devices 14 such as a keyboard, a pointing device, a display 24, etc.; one or more devices that enable a user to interact with computer system/server 12; and/or any devices (e.g., network card, modem, etc.) that enable computer system/server 12 to communicate with one or more other computing devices. Such communication can occur via Input/Output (I/O) interfaces 22. Still yet, computer system/server 12 can communicate with one or more networks such as a local area network (LAN), a general wide area network (WAN), and/or a public network (e.g., the Internet) via network adapter 20. As depicted, network adapter 20 communicates with the other components of computer system/server 12 via bus 18. It should be understood that although not shown, other hardware and/or software components could be used in conjunction with computer system/server 12. Examples, include, but are not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data archival storage systems, etc.
Referring now to
Referring now to
Hardware and software layer 60 includes hardware and software components. Examples of hardware components include mainframes, in one example IBM® zSeries® systems; RISC (Reduced Instruction Set Computer) architecture based servers, in one example IBM pSeries® systems; IBM xSeries® systems; IBM BladeCenter® systems; storage devices; networks and networking components. Examples of software components include network application server software, in one example IBM WebSphere® application server software; and database software, in one example IBM DB2® database software. (IBM, zSeries, pSeries, xSeries, BladeCenter, WebSphere, and DB2 are trademarks of International Business Machines Corporation registered in many jurisdictions worldwide).
Virtualization layer 62 provides an abstraction layer from which the following examples of virtual entities may be provided: virtual servers; virtual storage; virtual networks, including virtual private networks; virtual applications and operating systems; and virtual clients.
In one example, management layer 64 may provide the functions described below. Resource provisioning provides dynamic procurement of computing resources and other resources that are utilized to perform tasks within the cloud computing environment. Metering and Pricing provide cost tracking as resources are utilized within the cloud computing environment, and billing or invoicing for consumption of these resources. In one example, these resources may comprise application software licenses. Security provides identity verification for cloud consumers and tasks, as well as protection for data and other resources. User portal provides access to the cloud computing environment for consumers and system administrators. Service level management provides cloud computing resource allocation and management such that required service levels are met. Service Level Agreement (SLA) planning and fulfillment provide pre-arrangement for, and procurement of, cloud computing resources for which a future requirement is anticipated in accordance with an SLA.
Workloads layer 66 provides examples of functionality for which the cloud computing environment may be utilized. Examples of workloads and functions which may be provided from this layer include: mapping and navigation; software development and lifecycle management; virtual classroom education delivery; data analytics processing; transaction processing; and mobile desktop.
As noted, one or more embodiments can be used in connection with interactive acquisition of remote services, such as information technology (IT) services, both cloud-based and non-cloud based. Furthermore, regardless of what kinds of services are being acquired, one or more embodiments can themselves be computer-implemented, in cloud or non-cloud environments. Where one or more embodiments are themselves implemented in a cloud environment, they can reside, for example, in or above workloads layer 66, with access, for example, via a user portal in layer 64.
One or more embodiments provide a cloud services marketplace (CSM), which can be thought of as a “digital application distribution platform for services” (although again, the IT services involved may or may not be cloud based). One or more embodiments provide an intelligent online marketplace that facilitates services acquisition for enterprise customers. Traditional service acquisition is time-consuming and unable to provide customers with a systematic comparison of candidate services. In the era of “one click checkout” and pay-as-you-go service plans, customers expect services to be purchased online in an efficient and convenient manner. However, due to the unique and complex characteristics of services, existing keyword search-based marketplaces are less suitable for purchasing services. Advantageously, one or more embodiments provide a new generation of marketplace interfaces.
In CSM, exploring and configuring services is an iterative experience. The customers provide their requirements in natural language and interact with the system through a series of questions and answers. Based on a customer's input, the system can gradually “understand” what services the customer is looking for, narrowing down the potential candidates and profiling the configuration information of the candidate services at the same time. CSM's back end is built around a Services Knowledge Base (SKB) and leverages semantic web technologies to enable the semantical understanding of the customer's requirements. To quantitatively assess the value of CSM, experiments were conducted on real life use cases. The evaluation results demonstrate the efficiency and convenience of one or more embodiments employing this new service acquisition approach.
As noted, the development of virtualization technology has triggered the emergence of cloud services. Over the past several years, an increasing number of service vendors have migrated their traditional information technology (IT) services to the cloud. Due to their flexibility, convenience, and low cost, cloud services have gradually become a high priority for enterprise customers. However, as more services get to be available online, the question of how to track down a service satisfying a particular set of requirements rises as a new challenge for those customers. Traditionally, obtaining the desired service involves the following steps: (1) Survey all potential service vendors and identify the candidate services; (2) Visit the vendors' web sites and gather information about the services and vendors' contact venues; (3) Contact the services' agents for detailed information about their services and share with them both the functional and non-functional requirements of the researched service; and (4) Make a decision on the candidate services, proceed with purchase and on-boarding, and conduct service configuration. Due to the large number of vendors and services, the traditional service acquisition is tedious and time-consuming. Moreover, since each service vendor has its own ways of describing services, there is no systematic way for customers to compare similar services in terms of their features. Finally, as there are always new service vendors joining the market, it is constantly difficult for customers to have a complete list of vendors that may provide their desired services.
A possible quick solution to improve services acquisition effectiveness and efficiency would be to expose the services in an existing online marketplace such as Amazon (available from Amazon dot com, Seattle, Wash., USA, where the notation “dot” is used to avoid inclusion of browser-executable code in the text of this patent application) and ebay (available from eBay Inc., San Jose, Calif., USA). However, since these online marketplaces are specifically designed for selling commodity products, they are not suitable for service customers for the following reasons:
A few cloud service oriented marketplaces, such as Amazon Cloud Marketplace, now known as AWS Marketplace, and HP Cloud (available from Hewlett-Packard Company, Palo Alto, Calif., USA), started to emerge in the market. However, their efforts on helping customers to resolve the integration of services address only their own customers' needs. Thus, these vendor-dedicated marketplaces avoid the problem of having the customer find their desired services out of a large pool of services from various vendors.
In the ecosystem of traditional IT services, there are two kinds of participants: consumers and vendors. The information they exchange during service matching procedures includes a bipartite graph with a many-to-many relationship between the participants. This kind of service ecosystem requires a strenuous effort for the service consumer to find a service matching the requirements. Indeed, once the number of candidate services is large, consumers are not likely to efficiently find a proper service, given that they need to consider the services' capabilities, functionalities and prices. On the other hand, the service vendors lack feedback from consumers regarding desired new services and/or desired improvements to existing services. One or more embodiments advantageously provide Cloud Services Marketplace (CSM) as a third participant to the existing ecosystem. CSM acts as an intermediary between service consumers and vendors. From a consumer's perspective, one or more embodiments of CSM offer any one, some, or all of the following advantages:
One or more embodiments advantageously provide a service acquisition system which helps customers to quickly obtain the desired services via a conversational interaction. In at least some instances, the system includes a plurality of distinct software modules, embodied on a computer-readable storage medium, which contain computer code which configures one or more hardware processors. In one or more embodiments, these modules include a service knowledge base, a conversation parser, and a dialog engine.
In one or more embodiments, CSM provides a rich set of features to facilitate the cloud services acquisition, including, for example, and one, some, or all of the following:
Service Marketplace Module 406 maintains and provides functionalities to manipulate the service meta-data such as knowledge data, parsed requirement(s), and service request data. This module includes the Service Knowledge Base 408, Semantic Query Engine 410, Service Configurator 412, and Service Registrar 414. Each item is in charge of one particular set of tasks such as knowledge storage, knowledge retrieval, candidate service configuration, and new service profile registration, respectively. The Service Customer Module 402 handles interaction with the customers, parsing of the requirements, and guidance of the conversation, as supported by the Conversational Interface 416, Conversation Parser 418, and Dialog Engine 420, respectively.
One significant distinction between one or more embodiments of CSM and traditional on-line marketplaces is interaction with customers. The methodology of one or more embodiments of CSM involves iterative knowledge retrieval. This design is appropriate due to the unique characteristics and complexity of IT services, which require support for sophisticated and extendable service descriptions. Given that neither keyword search nor faceted search is applicable, an intuitive way to provide service matching is to allow the customers to express their requirements in natural language. One or more embodiments adopt a heuristic approach to this aim. That is, the customers do not need to provide all their requirements at once; they only need to provide initially partial or high level requirements. Then, based on the feedback from CSM, they can follow iteratively with the following requirements. Two practical considerations make this method a good choice:
In particular, in this non-limiting example, at 512, CSM confirms that the user has selected storage and virtual infrastructure. The system responds by advising that there are 56 related services (i.e., n=56) and that it will be necessary to gradually rule out some. At 516, the system queries the user to determine whether fast on-demand access to a secure virtual server is needed. At 518, the system confirms the user's affirmative input to the query at 516. At 520, the system advises the user that there two remaining candidate services, and queries the user as to whether an enterprise class private cloud is needed. The user clicks the “yes” button such that the list of candidate services is reduced to one, namely, service number twenty three. Of course, the trade names of the candidate services would typically be displayed; for example, “service 23” could correspond to IBM SMARTCLOUD ENTERPRISE PLUS cloud computing solution for enterprises, available from INTERNATIONAL BUSINESS MACHINES CORPORATION, Armonk, N.Y., USA. At 522, the user is prompted to configure the remaining service with the desired number of virtual machines. The user's input is confirmed at 524. At 526, the user is prompted to select “BLOCK” or “STORAGE.” The user selects “BLOCK” as shown by the clicked button in region 526 and at 528 in region 514.
Obtaining service knowledge is a significant aspect to enable CSM to conduct service acquisition. In one or more embodiments, a service knowledge base (SKB) 408 is maintained. To appropriately represent the knowledge in the IT service realm, discussions are held with domain experts and an ontology is constructed to model the entities and relations. Following the schema of the ontology, the corresponding features are extracted from available service descriptions and/or profiles. These are transformed into RDF format and stored into specified knowledge database.
An ontology is chosen to represent the knowledge, in one or more embodiments, because it elegantly extends the entity-relationship model with reasoning ability to represent the data. Comparing with ER-model based storage (the way people store the data in a relational database), an advantage of storing the knowledge in RDF with ontology is that it enables the data user (CSM in this context) to express more knowledge than it actually stores. Because of the reasoning rules defined in the ontology, extra knowledge can be dynamically retrieved through semantic inference.
To illustrate the service ontology in
Consider now conversation parser 418. Some embodiments do not carry out complex NLP parsing for customer's input. This is appropriate in some embodiments because:
Some embodiments only parse the input of the first few conversation iterations to determine which service categories and service capabilities the customer may be interested in. For the following iterations, the system guides the customer to conduct the service filtering and configuration under control, as discussed below with regard to the dialog engine. The customer provides some ad-hoc information into given input components, which does not require NLP parsing.
In some instances, CSM only extracts the word(s) that is/are related to service categories and capabilities. Based on the assumption that the customer would not input complex compound sentences containing double negatives, subjunctives, or if-else constructs, one or more embodiments treat the inputs as directive sentences. Concretely, the parsing can be described as including following steps: (1) Extract verbs and nouns from sentences. (2) Remove stop words (words that occur so frequently in the service domain that they are not useful for distinguishing one service from another; thus, ignored during a search). (3) Divide words into include and exclude sets based on grammar structure in the sentence. Each word in a set is called a seed word. (4) Propagate these two sets with WordNet. (5) Find corresponding category and/or capability via WordNet tag annotation.
To better understand how the sentences are processed, consider the following example input from a customer:
“I need to pay my employee, and I want the service to generate the reports.”
Based on the above sentence, the following words are extracted: need, pay, employee, want, service, generate, reports. Then three stop words, need, want, and service, are removed. The last word “service” is treated as a stop word because it is too common in the realm of IT services. Since there is no negation in the sentence, all the remaining words (pay, employee, generate, reports) are put into the include set. Thereafter, find the associated synsets (including the synonyms, hypernyms, meronyms etc.) of each word via WordNet to propagate the set. Finally, a SPARQL query statement is generated to retrieve all related ‘Function Category’ and ‘Capability’ that are annotated with the words in the include set. The template query statement is shown in
In the query statement of
The Dialog Engine 420 guides the conversation and coordinates user input processing and back-end information retrieval.
Conversation Flow Control:
Since one or more embodiments of CSM are used as a service acquisition portal, the conversation between the customer and CSM should preferably be controlled to remain in the context of service acquisition; otherwise, the conversation may drift off in directions that are not pertinent.
In order to control the conversation, IT services domain experts can be consulted to assist in defining logic flow. The logic flow can be modeled as a directed graph:
G(V, E),
where vertex V denotes the context state and edge E denotes the transition between contexts.
At the beginning of each conversation (recognized as the creation of a new session), Dialog Engine 420 creates the profile for the current session, and sets the current state as Service Category Identification 1202. In this state, CSM assumes that the customer's input is related to the scenario of looking for proper service categories. If CSM cannot find useful information from the customer's input regarding the services categories, it enters a corresponding exception handling state and prompts the customer to input context related information.
More particularly, the customer inputs a requirement at 1202 and the system attempts to identify the corresponding pertinent category. At 1230, if the customer confirms the service category, move on to step 1232; otherwise, loop back to step 1202 and seek additional input for clarification. Furthermore in this regard, if an existing service is a good fit, the customer confirms the service category, and flow passes to step 1232. On the other hand, if an existing service is not a good fit, flow proceeds top service composition step 1236 where the best services composition to meet the customer's needs is identified, and then flow proceeds to step 1232.
In step 1232, continue to drill down until there is no more differentiable capability, then proceed to step 1204. In step 1204, continue to drill down until there is no more differentiable configuration. If only one possible choice remains, there is no need for any additional customer input; proceed directly to step 1238. On the other hand, if more than one possible choice remains, proceed to service identification step 1240 to receive additional customer input, then proceed to step 1238. Regarding step 1238, note that in some instances, the customer may feel after step 1204 that some refinement of the configuration is needed; this is reflected in step 1238. Proceed then to the final service integration step 1234 wherein any dependent services are integrated; this continues in an iterative manner as long as there are any un-configured (dependent) services in the current service pack.
Services Filtering:
After identifying service categories, the customer receives a list of candidate services. In the usual case, there are a large number of candidates and it is impractical for the customer to browse through the whole list, especially when the customer is not familiar with the candidates. In the logic flow, two states are responsible for candidate services filtering. The unqualified services are ruled out through a series of questions and answers regarding service capability and configuration category. Non-limiting examples of questions include:
The more questions the customer answers, the more unsatisfactory services can be pruned. However, too many questions may degrade the quality of the user experience. To make the service filtering effective, one or more embodiments provide a novel method referred to as Iteration-Min to reduce the iterations for the questioning and answering.
In one or more embodiments, to reduce the number of iterations, find a sequence of questions Q={Q1, Q2 . . . Qn} with the least length to rule out all unsatisfied candidate services via capability or configuration. Quantitatively, use eff(Q) to evaluate how effectively the sequence can filter the candidates. The effectiveness of a question sequence can be considered as the sum of the effectiveness of all its questions, i.e., eff(Q)=Σi eff(Qi). Concretely, the effectiveness of a question is qualified as the expected number of candidates it can prune, i.e.
1. Question regarding capability: This kind of question would ask the customer about whether the specific capability is required. The effectiveness of this kind of question is quantified by the expected number of candidates it can prune if the customer answers yes, no, or do not care, i.e.
eff(Q)=
where p(yes)/p(no) denotes the probability that the customer would choose yes/no, and nyes(Q)/nno(Q) denotes the number of candidate services that can be pruned for the current question Q if the customer chooses yes/no.
2. Question regarding ‘ConfigGroup’: The quantification is similar to that for capability. Suppose a ronfig-Group′ includes m options {o1, o2, . . . , om}, the effectiveness of the question regarding this configuration can be quantified as:
where ni(Q) denotes the number of candidate services that can be pruned if the customer chooses oi for the current question Q, and p(oi) denotes the probability that the customer would select option oi.
3. Question regarding ‘ConfigNumeric’: The expectation of the possible input for a numeric configuration is the mean of the domain. The domain [dommin, dommax] is decided by the ‘Min’ and ‘Max’ of all the configurations belonging to the same ‘ConfigCategory’ in the SKB, i.e. dommin=min{dommin|domminεCi} (dommax is decided in the same way), where Ci denotes the ‘ConfigCategory’ whose effectiveness needs to be calculated, and dommin denotes the ‘Min’ of the concrete configuration (‘ConfigNumeric’ belongs to this ‘ConfigCategory’). The effectiveness of this kind of configuration can be quantified as:
eff(Q)=nex(Q), (3)
where nex(Q) is the number of candidate services whose corresponding configuration domains do not contain the mean for the configuration in the current question Q. As for the mean, maximum-likelihood estimation (MLE) can be leveraged to obtain the sample mean of the empirical distribution of customer input history regarding this configuration.
In the above formulas, the probabilities (p(yes), p(no), p(oi)) can be estimated, for example, via an empirical distribution obtained from customer history. As for the cold start with no customer history, in one or more embodiments, uniform distribution is used instead.
Note that one or more embodiments do not leverage the ‘ConfigText’ which requires a textual input to generate the question.
From the perspective of the traditional optimization problem, the goal of picking the question sequence is to find the one that maximizes the effectiveness, i.e.
In at least some instances, the best question sequence cannot be obtained via pre-computing, because the variables (nyes(Q), nno(Q), n(Q)
One or more embodiments separate the filtering into two states so that logic flow matches the real workflow of service acquisition. As is shown in
When the current state is set to Service Configuration Filtering 1204, the “add” algorithm shown in
Whenever the customer answers a question, the next configuration is picked according to operation genNext as depicted in Algorithm 2 of
Note that if the data is very large, these two operations can be extended in a distributed way by substituting the hash tables with distributed hash table (DHT).
Populating the Knowledge Base 408:
In one or more embodiments, populating service definitions is conducted in two stages: knowledge filling and tagging.
Knowledge Filling:
There are two approaches for knowledge filling: automatic knowledge filling and service vendor registration. For automatic knowledge filling, a crawler is used to obtain the service profiles from target web sites such as service vendor's web sites and online service registration web sites.
Tagging:
This procedure is to assign a set of semantically related words to a ‘FunctionCategory’ so customers can locate the category when they mention semantically related words. WordNet, familiar to the skilled artisan, can be employed to find out the hypernym, meronym, and holonym of the ‘FunctionCategory.’ This is done automatically after a new ‘FunctionCategory’ is filled into SKB.
In some instances, the whole SKB can be put into one storage machine. In other embodiments, distributed knowledge base can be used to store more knowledge. Based on the statistics, in a non-limiting example, SKB contains sixty-seven distinct service categories and two thousand four hundred eleven services in total. These services are provided by two thousand one hundred fifteen service vendors. Moreover, fourteen thousand six hundred forty three distinct service capabilities are used to describe these services. The statistics shows that current SKB covers a wide range of areas and a large number of services. To drill down into the details,
A non-limiting exemplary simulation of customer interaction with an exemplary embodiment of a CSM will now be described. As previously mentioned, in one or more embodiments, the customer only needs to give the CSM a brief description of what the customer needs, and then the CSM guides the conversation by prompting the customer with heuristic questions. Since all the conversation is in natural language, there is no particular training needed for customers. In one or more embodiments, the user interface is friendly enough for anyone to use it without reading a manual.
In the exemplary simulation, an attempt was made to try to find five proper services that satisfied requirements of a hypothetical customer. Interaction with CSM by deliberately entering something meaningless was also simulated. To focus on the service retrieval evaluation, requirements were restricted so that there were satisfied services in SKB. In a non-limiting example, the following services match the requirements:
The table of
Based on the identified candidates in the category, it was found that an embodiment of CSM is able to capture the intention of customers based on their initial rough inquiry. This is due to the Tagging mechanism during knowledge base population. It was also found that there are two problems with the results: some things that seem irrelevant are listed, and the categories are unordered. This is because, for efficiency, the embodiments of CSM that was employed only conducts simple NLP for the input by extracting ALL nouns and/or verbs and returning ALL service categories with semantically related tags. This approach returns more than the expected number of service candidates and degrades precision. However, since the following conversation iterations would gradually increase precision (as will be shown below), this limitation is not of great concern.
As noted, in one or more embodiments, CSM leverages an effectiveness model to minimize the number of conversation iterations. For comparison, two other filtering strategies were implemented, namely, RANDOM and PARTICULAR-FIRST. RANDOM, as per its name, randomly picks a capability and/or configuration as the filtering condition. PARTICULAR-FIRST picks the most particular capability and/or configuration (owned by the least number of candidates) as the filtering condition. The intuition is that once the customer confirms this capability and/or configuration, the search space can be significantly reduced. To quantitatively compare these methods, F-score was employed to evaluate their effectiveness. The methods were tried on all five of the valid query cases in
The experimental results in the non-limiting example above demonstrate the advantages of ITERATION-MIN during candidates filtering. Although PARTICULAR-FIRST requires fewer iterations by chance (query number one only needs one iteration), it performs worse than ITERATION-MIN on average. Since customers may be likely to always remember a bad experience, it is believed to be preferable to use the better-on-average approach.
It is worth noting that one or more embodiments of CSM differ from the prior art in one or more of the following aspects:
It is worth noting that, while there is currently no “perfect” method to fully capture the user's intention from the user's input, feedback is an effective way to locate the resource or knowledge the user really wants.
Thus, one or more embodiments provide a Cloud Services Marketplace (CSM), an intelligent online marketplace specifically designed for cloud services. CSM is designed as an ecosystem to support complex services acquisition for services providers and customers. CSM enables the customers to communicate their requirements with the marketplace interface conversationally, via interface 416. The dialog engine 420 enables the system to gradually understand requirements and simultaneously filter and configure services. The back-end service ontology (see
Given the discussion thus far, and referring again to
Optionally, the identified subset of services is displayed as at 504 above.
In one or more embodiments, further iterations are carried out to pick one or more appropriate services. Thus, in one or more embodiments, additional steps include obtaining from the user 1102, via the conversational interface 416, a natural language input responsive to the natural language response; and parsing the natural language input into third pre-defined semi-structured data, using the conversation parser 418. Based on the third pre-defined semi-structured data, additional steps include filtering the subset of candidate information technology services from the plurality of candidate information technology services provided by a plurality of vendors; and configuring at least one candidate information technology service of the further filtered subset of candidate information technology services to meet the specification of the user (broadly understood to include the initial specification and optionally also subsequent user inputs). Refer to the discussion of
Note that in a non-limiting example, the semi-structured data is in JSON format, and it is used for message transmission. In some instances, it is helpful to pre-define several keys indicating the information that needs to be transmitted. Furthermore, in one or more embodiments, the flow back and forth between parser 418 and engine 420 is in a common format (semi-structured data) but each individual communication (requirement/response) will be different as the conversation progresses.
Filtering can be carried out, for example, by dialog engine 420, optionally with use of knowledge base 408 and query engine 410. Configuring can be carried out, for example, by dialog engine 420, optionally with use of service configurator 412.
In some cases, the filtering and configuring are carried out simultaneously, as explained in connection with steps 1204, 1240, 1238 in
In a non-limiting example, iteration-min filtering is employed.
In some cases, the identifying includes semantically querying a service knowledge base 408 with a semantic query engine 410.
Some embodiments further include building the service knowledge base 408 by extracting features from service descriptions in accordance with a schema of an ontology; using, for example, natural language understanding (NLU) software executing on one or more hardware processors. The skilled artisan will be familiar with NLU software per se, and, given the teachings herein, will be able to use same to implement one or more embodiments of the invention.
The service descriptions can be obtained, for example, via a crawler 425 and/or via a service provider registration interface 422. In some instances, crawler 425 is programmed to begin by crawling the web sites of service aggregators such as Apigee Corporation, Palo Alto, Calif., USA and PROGRAMMABLEWEB division of MuleSoft, San Francisco, Calif., USA; and then, if necessary, to crawl the web sites of actual service providers. Web crawling in and of itself is well-known; given the teachings herein, the skilled artisan will be able to program a web crawler for desired functionality.
In some cases, the parsing includes extracting at least one verb and/or at least one noun from at least one sentence of the natural language specification; removing stop words from the extracted at least one verb and at least one noun; dividing words remaining after the removing into include and exclude sets; propagating the include and exclude sets; and finding at least one of a corresponding category and a corresponding capability by tag annotating the include and exclude sets.
As noted elsewhere herein, in some cases, a further step includes providing a system, wherein the system includes distinct software modules. Each of the distinct software modules is embodied on a computer-readable storage medium. The distinct software modules include a conversational interface module, a conversation parser module, and a dialog engine module.
In another aspect, an exemplary system includes a memory (e.g., 30); at least one processor 16, coupled to the memory; and a computer-readable storage medium (e.g., as described in connection with element 28), a plurality of distinct software modules 42 are embodied on the computer-readable storage medium. The distinct software modules are loadable into the memory for execution by the processor. The distinct software modules include a conversational interface module, a conversation parser module, and a dialog engine module. The at least one processor is operative to create a conversational interface 416 by executing the conversational interface module, create a conversation parser 418 by executing the conversation parser module, and create a dialog engine 420 by executing the dialog engine module, and optionally any of the other modules and/or sub-modules described herein, which are then operable to carry out any one, some, or all of the method steps as described herein.
As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method or computer program product. Accordingly, aspects of the present invention may take the form of an entirely software embodiment (including firmware, resident software, micro-code, etc.) or an embodiment combining software and hardware aspects that may all generally be referred to herein as a “circuit,” “module” or “system.” Furthermore, aspects of the present invention may take the form of a computer program product embodied in one or more computer readable medium(s) having computer readable program code embodied thereon.
One or more embodiments of the invention, or elements thereof, can be implemented in the form of an apparatus including a memory and at least one processor that is coupled to the memory and operative to perform exemplary method steps.
One or more embodiments can make use of software running on a general purpose computer or workstation. With reference to
Accordingly, computer software including instructions or code for performing the methodologies of the invention, as described herein, may be stored in one or more of the associated memory devices (for example, ROM, fixed or removable memory) and, when ready to be utilized, loaded in part or in whole (for example, into RAM) and implemented by a CPU. Such software could include, but is not limited to, firmware, resident software, microcode, and the like.
A data processing system suitable for storing and/or executing program code will include at least one processor 16 coupled directly or indirectly to memory elements 28 through a system bus 18. The memory elements can include local memory employed during actual implementation of the program code, bulk storage, and cache memories 32 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 implementation.
Input/output or I/O devices (including but not limited to keyboards, displays, pointing devices, and the like) can be coupled to the system either directly or through intervening I/O controllers.
Network adapters 20 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.
As used herein, including the claims, a “server” includes a physical data processing system (for example, system 12 as shown in
As noted, aspects of the present invention may take the form of a computer program product embodied in one or more computer readable medium(s) having computer readable program code embodied thereon. Any combination of one or more computer readable medium(s) may be utilized. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like and conventional procedural programming languages, such as the “C” programming language or similar programming languages. In the most general case, the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider). One or more embodiments are particularly significant in the context of a cloud or virtual machine environment. Reference is made back to
Aspects of the present invention are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer readable medium that can direct a computer, other programmable data processing apparatus, or other devices to function in a particular manner, such that the instructions stored in the computer readable medium produce an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
It should be noted that any of the methods described herein can include an additional step of providing a system comprising distinct software modules embodied on a computer readable storage medium; the modules can include, for example, any or all of the appropriate elements depicted in the block diagrams and/or described herein; by way of example and not limitation, any one, some or all of the modules/blocks and or sub-modules/sub-blocks 42 in
In any case, it should be understood that the components illustrated herein may be implemented in various forms of hardware, software, or combinations thereof; for example, application specific integrated circuit(s) (ASICS), functional circuitry, one or more appropriately programmed general purpose digital computers with associated memory, and the like. Given the teachings of the invention provided herein, one of ordinary skill in the related art will be able to contemplate other implementations of the components of the invention.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the singular forms “a”, “an” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms “comprises” and/or “comprising,” when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
The corresponding structures, materials, acts, and equivalents of all means or step plus function elements in the claims below are intended to include any structure, material, or act for performing the function in combination with other claimed elements as specifically claimed. The description of the present invention has been presented for purposes of illustration and description, but is not intended to be exhaustive or limited to the invention in the form disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the invention. The embodiment was chosen and described in order to best explain the principles of the invention and the practical application, and to enable others of ordinary skill in the art to understand the invention for various embodiments with various modifications as are suited to the particular use contemplated.