2,957
Views
6
CrossRef citations to date
0
Altmetric
Articles

A knowledge-based model for context-aware smart service systems

ORCID Icon, ORCID Icon, ORCID Icon &
Pages 141-162 | Received 15 Apr 2021, Accepted 27 Jul 2021, Published online: 23 Aug 2021

ABSTRACT

The advancement of the Internet of Things, big data, and mobile computing leads to the need for smart services that enable the context awareness and the adaptability to their changing contexts. Today, designing a smart service system is a complex task due to the lack of an adequate model support in awareness and pervasive environment. In this paper, we present the concept of a context-aware smart service system and propose a knowledge model for context-aware smart service systems. The proposed model organizes the domain and context-aware knowledge into knowledge components based on the three levels of services: Services, Service system, and Network of service systems. The knowledge model for context-aware smart service systems integrates all the information and knowledge related to smart services, knowledge components, and context awareness that can play a key role for any framework, infrastructure, or applications deploying smart services. In order to demonstrate the approach, two case studies about chatbot as context-aware smart services for customer support are presented.

1. Introduction

The advancement of the Internet of Things, big data, and mobile computing leads to the need for smart services, which enable the context awareness and the adaptability to their changing contexts. Consequently, the information technology paradigm shifts to a smart service environment, as ubiquitous technologies are used in the latest industry trend. The major features of smart services are high dynamism and heterogeneity of their environment and the need for context awareness (Oh et al., Citation2009).

Smart services are services that are capable of actively adapting and responding based on the circumstance of interests. A smart service, as is evident from its name, is a context-aware connected service (Geum et al., Citation2016). Consequently, the service context plays a key role that influences the service behaviors. From another perspective, smart services are considered as the suitable knowledge provided to consumers and smart objects based on their circumstances. Therefore, smart services and smart service systems have been an emerging research direction not only in the information systems discipline but also in marketing, computer science, industrial engineering, and business administration (Beverungen et al., Citation2017). However, designing a smart service system is a complex task due to the lack of an adequate model support in awareness and pervasive environment (Gu et al., Citation2005).

As a result, the paper focuses on context-aware smart service systems and presents a knowledge model for context-aware smart service systems, called the context-aware knowledge model. This approach aims at organizing the domain and context-aware knowledge related to smart service systems into knowledge components based on the three levels of services: Services, Service system, and Network of service systems (Le Dinh & Pham Thi, Citation2012).

The rest of the paper is organized as follows. Section 2 provides the theoretical background of contexts, service systems, smart service systems, and approaches of context-aware systems. Section 3 discusses context-aware smart service systems and presents our research design. Section 4 proposes a knowledge model for context-aware smart service systems. Section 5 illustrates our proposed approach with specific cases of context-aware smart services for software support. Section 6 deals with the evaluation of the proposed approach. Section 7 provides some conclusions and future research work.

2. Theoretical background

This section aims at presenting the key concepts and principles related to context, context-aware systems, service science, and smart service systems.

2.1. Context-aware systems

2.1.1. Context

Context is defined as the situation within which something exists or happens, and that can help explain it in the Cambridge dictionary.Footnote1

In the information systems field, context is defined as any information that can be used to characterize the situation of an entity. An entity is a person, place, or object that is considered relevant to the interaction between a user and an application (Abowd et al., Citation1999). Contexts can be classified as computing context, physical context, time context, and user context (Chen & Kotz, Citation2000).

Contexts, from the ambient intelligence perspective, are grouped into user-centric context and environmental context (Feng et al., Citation2004). User-centric context includes the information about the user profile, agenda, body sensors, or emotional states. Meanwhile, environmental context relates to the physical, social and computational environment around users.

In the industrial engineering field, contexts are categorized into user context, environment, system, information retrieval and pattern recognition (Rosenberger & Gerhard, Citation2018). User context refers to all context related to users such as personal information, personal condition, and user location. Environment addresses all contexts surrounding a user such as the date and time, workspace resources, resource condition, and physical condition like temperature, and humidity level. System refers to the context around the usage of a system such as a network, software, and devices. Information retrieval relates to the information provision context such as searchable data. Pattern recognition is context derived from historical contexts (Rosenberger & Gerhard, Citation2018).

In the context of business services, which is the focus of this paper, there are certain types of context that are, in practice, more important than others such as location, identity, activity and time. Those types of context are the primary context types for characterizing the situation of a particular entity and can be used to find the secondary context for that same entity as well as primary context for other related entities (Abowd et al., Citation1999). Consequently, the questions of who, what, when, and where are often used to identify other sources of contextual information.

2.1.2. Context-aware systems

A system is context-aware if it uses context to provide relevant information and/or services to the user, where the relevancy depends on the user’s task (Abowd et al., Citation1999). A context-aware system refers to a general class of systems that can sense their environment, and adapt their behavior accordingly (Bellavista et al., Citation2012). The main features of context-aware systems are: (i) Presentation of information and services to users; (ii) Execution automatically of a service; and (iii) Tagging of context to information for later use.

Context-aware frameworks typically support context acquisition, representation, delivery, and reaction (Dey et al., Citation2001). Depending on the application domains and perspectives, a context has different types, and context information comes from different sources. Therefore, some standards for context modelling or context representation are needed to help the context-aware systems in using contextual information. A survey of various context-aware systems, projects and approaches is carried out by Perera et al. (Citation2014), in which sixteen taxonomies are used to compare different approaches. The selected taxonomies relate to all levels of context-aware system development from modelling to implementation. At the modelling level of context-aware systems, the relevant taxonomies are context type, context representation, and knowledge management. Knowledge management refers to knowledge on sensors, domains, users, activities and many more (Perera et al., Citation2014). Recently, Irani et al. (Citation2021) have reviewed several definitions of aware, awareness, conscious, and consciousness and identified the functionalities of computationally aware systems.

2.1.3. Context-aware approaches

According to Perera et al. (Citation2014), the most popular context modelling techniques are key-value, markup schemes, graphical, object-based, logic-based, and ontology-based modelling. presents some typical context-aware approaches.

Table 1. Typical context-aware approaches.

In the user-based approach, a context is composed of user context, phone use context and environment context (Aaltonen et al., Citation2005): (i) User context includes social context, mental context, activity, and profile; (ii) Phone use context involves sensors, network services, current application, and the user interface; and (iii) Environment context deals with location, date time, season, people, light, temperature, and noise. Moreover, concerning the knowledge representation, an additional context, called file context, contains context information in the form of key-value (Aaltonen et al., Citation2005).

In the sensor data based approach (Henricksen & Indulska, Citation2006), a context involves sensed data (e.g. sensor data), static context data, user profiled data and other derived data. The graphical model (including object type, fact types and their relationship) is used for context representation, and the relational model is used for context knowledge management. Indeed, the graphical model is mapped to the relational representation, which consists of a set of facts expressed in the form of database tuples.

In the user situation based approach, user data and user situations (such as time, location, and status) are used to define a context (Mo et al., Citation2010). Context data is stored in databases, having a data type and a context identifier. Knowledge is stored and used in the form of reasoning rules.

In the goal-based approach (Kim et al., Citation2012), a context is defined based on the information related to the goal (why), role (who), action (how), status (what), location (where), and time (when). Besides, ontology based model encoded context ontology for modelling context-aware environments, and for supporting logic based context reasoning.

In the location-based approach, the focus is the location context (Dobson et al., Citation2016). The context modelling technique is the object-based model, in which data in the space model is used to describe the relationship between an entity and a space. The space model is to describe relations between spatial entities, which are represented by coordinate points, geometric shape, and symbolic place or a relative location. The knowledge base is about spatial data and networked environment. Spatial knowledge is used for querying and reasoning on spatial data.

In the user location based approach (Schmidtke, Citation2020), a context is represented by the semantic information about user location, which is used to represent the hierarchical reasoning about location and sensor information. Semantic information is linked to locations with URLs and stored in an ontology for context knowledge management.

2.2. Services, service system and network of service systems

2.2.1. Services

In the service-dominant logic, services are defined as the use of an economic entity’s specific competencies, such as knowledge, skills and technologies, for the benefit of another economic entity (Lusch et al., Citation2008). Services include all economic activities in which individuals, organizations and technologies work together, apply specialized competences and capabilities to co-create business value.

2.2.2. Service systems

Value creation occurs when a resource is turned into a specific benefit, called resourcing, that is performed by a service system. A service system is defined as a value-coproduction configuration of people, technology, other internal and external service systems, and shared information (Spohrer et al., Citation2007). Service systems have been getting smarter overtime as new trends, such as big data and business analytics, which have been used to generate information and automate business operations to create more value for customers.

2.2.3. Network of service systems

The traditional supply chain is re-conceptualized as a network of service systems, also called a service value creation network, which is a group of autonomous organizations working together to achieve not only their own goals, but also a collective goal (Le Dinh & Leonard, Citation2009; Lusch et al., Citation2008).

2.3. Smart services and smart service systems

2.3.1. Smart services

Services delivered to or through intelligent products, which feature the awareness and connectivity, are called ‘smart services’ (Lim & Maglio, Citation2018). Smart services are services that are capable of actively adapting and responding based on the circumstance of interests. A smart service, as is evident from its name, is a context-aware connected service (Geum et al., Citation2016).

Indeed, smart services are constituted by the accommodation of smart devices into a digital service system to integrate physical and digital competencies in a complex social-technical service system (Beverungen et al., Citation2017).

2.3.2. Smart service systems

A smart service system is a service system, which is capable of learning, dynamic adaptation, and decision-making based upon data received, transmitted, and/or processed to improve its response to a future situation (Medina-Borja, Citation2015). A smart service system can be considered as a service system equipped with smart devices that can amplify or augment human capabilities to identify, learn, adapt, monitor and make a decision (Beverungen et al., Citation2017).

Consequently, smart service systems are instrumented, interconnected, and intelligent (Spohrer, Citation2013). Instrumented means sensors that capture more real time and historical information that stakeholders need to make better decisions. Interconnected refers to people having easy access to information about a particular service system, as well as others that interact with it. Intelligent relates to recommendation algorithms that provide stakeholders with the best choices. There are several types of smart service systems such as smart home, smart energy, smart building, smart transportation, smart logistics, smart farming, smart security, smart health, smart hospitality, smart education, and smart city and government (Lim & Maglio, Citation2018).

3. Context-aware smart service systems

This section begins with the context and motivation of the study and then continues with its research design.

3.1. Context and motivation

Context-aware smart service systems are one of the merging research directions, especially in the field of industrial engineering related to the Internet of Things, smart solutions and context-aware services. The following are some typical applications:

  • Smart life: context-awareness is used to obtain information and gives proper services automatically (Mo et al., Citation2010).

  • Intelligent transport system: various sensors have achieved large-scale deployment, and abundant data are generated and processed into useful information, and new services to benefit the driver and improve road safety (Chang et al., Citation2017).

  • Smart home: ubiquitous computing is moving towards the creation of context-aware smart environments that users and things interact with in order to support the smart home domain (Aggeliki et al., Citation2016).

  • Context-aware web services: web services are based on the context-aware techniques that can be employed in the future of services amongst others, mobile devices, web services, and pervasive environments (Truong & Dustdar, Citation2009).

Indeed, the field of context-aware smart service systems is still an emerging field that covers different new research topics (Lim & Maglio, Citation2018). However, there is still a little focus on the context-aware smart service systems in the context of information systems, especially in business services (Le Dinh & Pham Thi, Citation2012).

Moreover, one of the most important challenges faced today is the design of context-aware smart service systems, which addresses knowledge for the design of these systems, including design model, approach, and process (Lim & Maglio, Citation2018). In fact, there is an urgent need for IT artefacts that can be used to develop, interoperate, and deliver context-aware smart services (Beverungen et al., Citation2017).

For this reason, this paper addresses the challenge of designing a smart service system and presents a knowledge model for designing and building a context-aware smart service system with the focus on business services in the following sections.

3.2. Research design

3.2.1. Research question

This paper seeks to answer the following research question: How to design a context-aware smart service system based on knowledge components?.

In order to respond to this question, the paper proposes the Context-Aware Knowledge model, called CAK model, which can be used to design and build context-aware smart service systems. The earlier version of this model was presented at the ICCCI conference in November 2020 (Le Dinh et al., Citation2020). This version is indeed an extended version with the focus on the context-aware business services.

A smart service system must be capable of learning, dynamic adaptation, and decision-making. Therefore, a smart service system needs a knowledge structure, including a knowledge management system for its operations as well as a knowledge development process to facilitate the transformation of data into information and then from information into knowledge (Le Dinh et al., Citation2014). The underlying research design consists of two phases. Firstly, the paper aims at the construction of the research artefacts of the proposed model and then continues with the subsequent evaluation and applicability check of these artefacts with the case studies.

3.2.2. Context definition

After reviewing the relevant thematic and methodological literature (Le Dinh et al., Citation2014), the paper considers a context is all the information that can be used to describe a situation of a smart service and its interactions with the environment. Based on the perspective of knowledge components (Le Dinh et al., Citation2014), a context is defined by a set of knowledge components, including know-with, know-who, know-where, know-when, know-what, know-how, and know-why.

A typical expression of a context is as the following: A « stakeholder » (know-who) performs « operations » (know-how) on « objects » (know-what) at « time » (know-when) in « a location » (know-where) because of « a contract » (know-with) to be consistent with « a business rule » (know-why).

3.2.3. Smart service and its context

The proposed approach considers that a service consists of three service elements: service proposal, service consumption, and service operation (Le Dinh & Pham Thi, Citation2012). At the Network of service systems level, the service proposal element uses the knowledge and understanding to create and increase the values of business services in a service value creation network by applying effective management practices. At the Service system level, the service consumption element aims at organizing services in a service system and supporting consumers in consuming services. At the Service level, the service operation element improves the quality of services. Accordingly, the focal points of the CAK model could involve different knowledge components (Le Dinh et al., Citation2014) at different levels of services ().

Table 2. Knowledge components of the CAK model.

At the Network of service systems level, the Know-who and Know-with knowledge components aim at capturing knowledge about the relationship and interaction between stakeholders of the network and at determining the process of value proposition and co-creation. At the Service systems level, the Know-where and Know-when knowledge components focus on the knowledge about strategies and implementation of business services to create more value. At the Service level, the Know-what, Know-how and Know-why knowledge components concentrate on the knowledge related to the use of new technologies and knowledge to improve the quality of business services.

4. Knowledge-based model for context-aware smart service systems

This section presents the CAK (Context Aware Knowledge) model for designing context-aware smart service systems according to the three levels of business services: Network of service systems, Service system and Service levels.

4.1. CAK model at the network of service systems level

The Network of service systems level focuses on the service proposal, which aims at modelling services as a chain of value creation and exchange in which service systems coproduce common results (Le Dinh & Pham Thi, Citation2012). This level relates to the knowledge about the business ecosystem and relationships between its members, which is represented by the Know-who and Know-with knowledge components (Johnson et al., Citation2004; Le Dinh et al., Citation2014).

Know-who knowledge component refers to a combination of knowledge and social relationship about resources such as individuals, groups, or organizations that provide or consume a service (Le Dinh & Pham Thi, Citation2012). Know-with is the relational knowledge that concerns with the knowledge about the relationships between stakeholders inside a network of service systems such as knowledge about the interactions in partner relationships, knowledge about the management of supply chain functions, and knowledge about its external operating environment (Johnson et al., Citation2004; Le Dinh et al., Citation2014). Those two knowledge components facilitate the process of value co-creation in a network of service systems (Le Dinh & Pham Thi, Citation2012).

In the CAK model, know-who is represented by Entity; meanwhile, know-with is represented by Contract. presents the concepts of the CAK model at the Network of service systems level.

Table 3. Concepts of the CAK model at the Network of service systems level.

In order to illustrate the concepts of our model, we use an example of a context-aware smart service for software support, including two case studies. The first case study, called Adobot, demonstrates the implementation of a smart service to support customers using the Adobe Photoshop (Tran Hien et al., Citation2020). The second case study, called Smabot shares the experiment of smart services to support customers for online sales of smartphone devices (Truc et al., Citation2020).

Concerning the first case study, Adobe Photoshop had been chosen to develop the service based on its popularity and available resources. A service is required and begun when a photographer, as a Photoshop’s customer, wants to use an online image processing tool for his work. The service proposal value is to help him to complete the work with high quality. The entities included in the service are the photographer as a service consumer, Adobe and its partners are the service providers. This service disposes of some different resources such as the software itself, documentation, community forum, and customer support center. The photographer needs to buy a license to use the service. The license, which is associated with a price and a specific type of usage, is considered as a contract between the service consumer and the service providers.

4.2. CAK model at the service system level

The service system level concerns the service consumption that involves the configuration, implementation and use of business services provided by a service system. This level focuses on the knowledge that ensures all the services have adequate resources and sufficient technological support. The knowledge at this level determines what resources will be consumed, where and when it takes place, and who will be consumers. Firstly, Know-where indicates the locations related to resources of the service provider and the service consumer. Know-when indicates the time frame in which certain services are expected to offer or in which consumers are expected to consume services. According to the view of the service consumer, know-where and know-when help consumers find the right information in the right place at the right time.

In the CAK model, know-where is represented by Location and know-when is represented by Time frame. presents the concepts of the CAK model at the Service system level.

Table 4. Concepts of the CAK model at the Service system level.

Regarding our example about Adobot, in order to use the Image processing tool, the user needs to access the Adobe Photoshop link and sign in. The tool is available for 24/7. In relation to the Adobe’s support center and community forum, the service time frame is also 24/7 or the office hours 9–6 if the user wants to contact a support staff based on his location. On the other hand, the history of the usages of the service based on the location and time frame also helps the service provider to allocate their resources efficiently.

4.3. CAK model at the service level

The Service level, concerning the service operation, emphasizes what is provided to consumers and how it is provided (Le Dinh & Pham Thi, Citation2012). This level also concerns the governance so that a service is operated smoothly by enforcing a set of rules. There are three types of knowledge components at this level: know-what, know-how and know-why (Le Dinh et al., Citation2014). Know-what refers to objects relating to a service. Know-how refers to the understanding of the operations constituting a service. Know-why refers to the understanding of the service quality.

In the CAK model, know-what is described by Object, know-how by Operation, and know-why by Rule. presents the concepts of the CAK model at the Service level.

Table 5. Concepts of the CAK model at the Service level.

Some concepts related to the service operation in our example about Adobot are described as follows. Firstly, the main objects of Adobe Photoshop are Images and Video. The attributes of images are Color, Shape, Background, Texture, Brightness, and Contrast; meanwhile, the attributes of videos are Length, Size, File Format, Timeline, Motion, and Layer. Each object may have several states. For instance, the states of images are Original, Editing, Undone, and Finished. The operations are used to change the states of objects. Concerning the Image object, there are operations such as Edit, Undo, Set color, Crop, and Purge. In order to conform to the contract, some rules are required to help users get a high-quality image and a good experience during the image processing.

4.4. Elements of the CAK model and their interrelationships

presents the elements of the CAK model and the corresponding knowledge components using the UML notation (Rumbaugh et al., Citation1999).

Figure 1. Elements of the CAK model and their interrelationships.

Figure 1. Elements of the CAK model and their interrelationships.

Firstly, a service consists of the service proposal, service consumption and service operation. Economic entities (know-who) can engage in a service such as service providers or service consumers. A service proposal is based on a contract (know-with) that indicates the resources must be assumed by corresponding entities. Secondly, a service consumption is allowed based on a service proposal. A consumer can consume the services at one or different locations (know-where) at different time frames (know-when). Lastly, a service operation supports the process of service consumption. A service operation can be performed by a set of operations (know-how) on a set of objects (know-what). To guarantee the quality of the services, a set of rules (know-why) is taken into account. The scope of a rule covers a subset of relative objects, and the influence of a rule may lead to failing points of certain operations.

In our approach, context information is a categorized context, represented by an ontology that depicts concepts and connections from concepts to the corresponding knowledge components.

5. Chatbot as a context-aware smart service for customer support

To illustrate and evaluate the proposed approach, the paper has used the multiple-case study approach in which several instrumental bounded cases are selected to develop a more in-depth understanding of the study. Adobot and Smabot, two case studies representing the instantiations of the CAK model, are presented as part of the applicability check. Both Adobot and Smabot have selected specific knowledge components of the CAK model that fit for their application domain and requirements.

In the case of Adobot, only the key knowledge components related to the customer support application are selected, including know-what, know-how, know-where and know-when, to support Photoshop’s users. In the case of Smabot, know-what (what, yes/no, what comparison), know-how, and know-when have been selected to build the knowledge base.

Concerning the service operation, both cases aim at building a chatbot-based interactive question-answering (QA) to provide technical support and to answer customers’ inquiries with the focus on what, yes/no, and how- questions.

Concerning the service consumption, the context information related to where and when are used to refine the responses by increasing the accuracy and quality when answering the users’ queries.

Concerning the service proposal, chatbots can be used as a new resource to provide customized services in order to improve customer experience and increase the customer satisfaction. Moreover, the interaction between users and the service system can help to refine a knowledge base that can co-create more value for customer support services.

Finally, to demonstrate the proposed approach, which is an implementable solution, an ontology-based model is used for implementing the context-aware knowledge model, and the RASA framework (https://rasa.com/), an open-source conversational AI platform, is used for building the chatbots at the Service system and Service levels.

The following section presents the design of the chatbots at different levels of services as well as their implementation.

5.1. Chatbot design at the network of service systems level

Customers are always eager to get accurate and timely supports from companies when they encounter problems with products, especially complex products such as software products or smartphones. Therefore, most companies heavily invest in customer support services such as building websites showing product information, even assigning employees to answer online. It is also vital for e-commerce companies to improve such types of services to entice their customers into their sites. One of the effective solutions is to build chatbots for customer technical support as a key resource (Skianis, Citation2017). Consequently, companies can save training and operating costs for the customer care staff as well as meet customer expectations and increase customer satisfaction.

5.2. Chatbot design at the service system and service levels

At the Service system level, the implementation of the CAK model is required to support the combination of advanced chatbot technologies and the representation of context and contextual knowledge. In particular, to validate and experiment with these chatbots in practice, a knowledge model is built from the questions (context) and answers (contextual knowledge components) related to Adobe Photoshop software and Smartphone sites. The abundant data obtained by these sources facilitates the construction of a contextual knowledge base that reflects the operations in Photoshop for Adobot (Dulceanuy et al., Citation2018; Le Dinh et al., Citation2020) and in smartphone shops for Smabot (Truc et al., Citation2020).

In these knowledge bases, the know-what component represents the definition of objects that users want to ask about: (i) In the Adobot case: ‘What is the recoding tool in CS6?’ or ‘What is the background layer?’, and (ii) In the smartphone shops case: ‘What is the price of iPhone 11?’, ‘Is the iPhone 11 waterproof?’ or ‘Can I unlock Samsung Galaxy A01 with fingerprint?’. These questions correspond to the context of what that associates to a know-what component, which is the answer of the questions.

Meanwhile, the know-how component represents the answer to the questions that users ask about operations, such as ‘How to paint 3D images?’ or ‘Yesterday, I opened my Photoshop to use the paint 3D image, but it did not work’ or ‘How can I replace the battery of iPhone 8?’. These questions correspond to the context of how.

The know-when component represents the timeframe and version (as its enhanced concept, such as CS5, CS6), the know-where component describes the location (e.g. shops, stores, etc.) and environment (e.g. Window, Mac OS, Ubuntu, etc.). presents some knowledge components in Adobot and Smabot cases at the Service level.

Table 6. Knowledge components of chatbots at the Service level.

To construct the knowledge bases, all the questions are collected from websites then manually analyzed and classified into what – and how-questions, in which the content explaining a definition of a software product / smartphone, or a property and value / state of a product / smartphone is classified into know-what component; and the content guiding the operations is classified into know-how component.

5.3. Chatbot implementation

The ontology-based contextual knowledge as presented above plays an important role in the architecture of the chatbots, which includes the CAK based ontology, the NLP (Natural Language Processing) and GUI (Graphical User Interface) components. presents the overall architecture of Adobot.

Figure 2. Architecture of Adobot.

Figure 2. Architecture of Adobot.

Concretely, for each user's message, the chatbots perform the user message analysis, including user intent classification, and then query parameter extraction. Based on this information, the system interacts with the ontology to respond to the user. The architecture of the chatbots presented in also demonstrates how the chatbots’ components combine with each other to deal with user messages. Firstly, the NLP component, which is based on the open-source Rasa NLU for creating a conversational agent (Bocklisch et al., Citation2017), receives a user message. Then, the user intent and the context information are identified and stored. This information is processed to decide which next action is called. If the chatbots cannot fully extract the required information, the system responds to the user by asking for additional information via the GUI component. Otherwise, it sends via APIs all the context information to the Ontology component to query and give feedback.

The CAK based ontology presented in includes three sub-models: (i) Domain section represents the knowledge related to the service proposal such as the Photoshop product of the Adobe company or smartphone; (ii) Context section represents the knowledge related to the service consumption, which can be a shop location, a version, an environment, or an agent, etc. There are two context types such as ‘Context-When’ related to the time, version (CS6, CS5) and ‘Context-Where’ related to location, environment (Window, Mac OS, Ubuntu, etc.); and (iii) Knowledge section represents the knowledge related to the service operation such as know-what and know-how.

Figure 3. Snapshot of ontology representing the knowledge-based model in Adobot.

Figure 3. Snapshot of ontology representing the knowledge-based model in Adobot.

Concerning the knowledge bases, models for user intent classification and query parameter extraction are learned from the categorized and annotated messages, called the training corpus. The training corpus is formed from 3000 questions collected from the Photoshop’s forum (https://forums.adobe.com/community/photoshop) in the case of Adobot and 2600 questions collected from smartphone e-commerce sites (such as thegioididong.com, FPT.com.vn, and cellphones.com.vn) in the case of Smabot. The user intent classification is performed by a supervised embedding algorithm (Wu et al., Citation2018) while query parameter extraction (including context information) is performed by NER_spacy (3https://spacy.io/usage/training#ner), an open-source library for named entity recognition.

6. Evaluation

According to Peffers et al. (Citation2012), there are different evaluation methods for design science research evaluation such as Logical argument, Expert evaluation, Technical experiment, Subject-based Experiment, Action research, Prototype, Case study and Illustrative scenario. In order to evaluate our proposed artefact – the CAK model, we use Logical argument, Case study and Technical experiment evaluation methods. Using Logical argument method, we compare our approach with other relevant approaches at the conceptual level. Using the Case study method, we have implemented the CAK model in two chatbots Adobot and Smabot as presented in Section 5 and measured the user satisfaction level of the chatbots. Obviously, analyzing user messages and understanding user intention play an important role in the effectiveness of chatbots, therefore we also conduct an experiment to evaluate the machine learning algorithms used in chatbots.

6.1. Logical argument

A logical argument is an argument with the validity of the proposed constructs (Peffers et al., Citation2012). As mentioned above, most of the context-aware systems and approaches found in the literature are related to pervasive computing or ubiquitous computing applications. Context data come from various sources and have different context representation, and most of the approaches have context knowledge management. presents the comparison of the CAK approach and other context-aware approaches based on different knowledge components. In general, most of the approaches deal with the know-what (service), know-who (user), know-where (location) and know-when (time). This observation confirms the affirmation of Abowd et al. (Citation1999) regarding the primary context that the questions of who, what, when, and where are often used to identify the contextual information.

Table 7. Comparison of the CAK approach and context-aware approaches.

In general, our approach is similar to the goal-based approach, which is based on the 5W1H context model, in which each context data is tagged or classified in one of the categories such as what, who, why, when, where and how. However, the goal-based approach has focused on the context of industrial services, whereas our approach focuses on business services. In addition, apart from context knowledge, our approach also allows developing the business service knowledge over the three levels of a service organization (network, service system and service). Moreover, the CAK approach proposes know-with, a new knowledge component that represents the business relationship between the stakeholders in a service value creation network to promote value co-creation.

Indeed, a context category associates with a suitable knowledge component at each level, which helps in reasoning and providing the relevant information or services against the context data captured. For example, in our Adobot case study, a question from users such as ‘How to paint 3D images?’ corresponds to ‘How’ contextual information. That contextual information associates with a ‘How’ knowledge component stored in the knowledge base – which is the answer of the question provided to users. Compared with the goal-based approach (Kim et al., Citation2012), our proposed approach disposes the following advantages: (i) It can cover various context environments; therefore, it can be used to determine the unified context that describes context-aware information without dependence on the purpose of any service; (ii) It shows the relationship between contexts thanks to its related concepts in the knowledge model that allows further exploitation and a better understanding of user contexts; (iii) Keeping context information in a knowledge repository helps to conduct further analysis for improving service quality and user satisfaction.

6.2. Case study

The case study evaluation method aims at applying the artifact to a real-world situation (Peffers et al., Citation2012). In our case, two chatbots Adobot and Smabot have been developed applying the CAK model. To evaluate the effectiveness in using the model in real-world situation, our study has selected two measures to evaluate a chatbot, which are User service quality on dialogue and User satisfaction (Morgan et al., Citation2018; Shawar & Atwell, Citation2007).

User service quality on dialogue. For Adobot, we conduct the experiment on 11 users, including 4 new users (who have never used Photoshop), 4 occasional users (who have used Photoshop less than a year), and 3 experienced users (who have used Photoshop more than a year). For Smabot, we experiment on 17 regular users, who are all required a basic knowledge about smartphones. The purpose of the survey is to get comprehensive reviews of the approach through the diversity of participants, how they can understand the responses of the chatbots and how relevant the answers can fit to the context of users. In both cases, we guide them on how to use chatbots and clarify the types of questions that chatbots can support. After the survey, we collected the feedback from all 28 participants at three levels of the dialogue quality: (i) Reasonable: the answer is suitable for the question, and users can understand it; (ii) Weird but understandable: It is not very good but users can understand the answer; and (iii) Nonsensical reply: users think that the answer is not relevant to the question.

(a) shows the results of the survey on the dialogue quality from 28 users. It shows that more than 96% of users can understand the answers, in which 64% of them found the answers totally matched their expectation. Only 4% provide negative feedbacks that the answers are not relevant to their questions.

Figure 4. Charts of user’s assessment of the dialogue quality and of user satisfaction. (a) The dialogue quality from 28 users (b) The satisfaction from 28 users.

Figure 4. Charts of user’s assessment of the dialogue quality and of user satisfaction. (a) The dialogue quality from 28 users (b) The satisfaction from 28 users.

User satisfaction. We give five criteria to evaluate users’ satisfaction, and the survey is rated on a scale of 1–5. This study specifically measures the form of using the chatbot, the relevance of the answers (e.g. how users find the right answer when using the chatbot), the ease of use (i.e. whether the chatbots are easy to use), the chatbot interface, and finally the satisfaction level after using the chatbot.

(b) presents the results of a small-scale experiment indicating that the chatbots using the context-aware knowledge base basically satisfies the user needs. We also found that the satisfaction depends on some other factors such as the nature of language used in chatbots, the interface, and the response scenario (i.e. sequence of answers). However, in general users are happy with the service as most of them rank this service above average, at levels 4 and 5 (68%), some of them rate as average (25%), and only a few give below average (7%).

6.3. Technical experiment

The case study evaluation method aims at carrying out the performance evaluation of an algorithm implementation using real-world data designed to evaluate the technical performance (Peffers et al., Citation2012). In this study, the experiment evaluates the algorithms used for intent classification and parameter extraction of the user messages in the chatbots.

For the intent classification (ask_what, ask_how), we use 1,411 messages for training and 196 messages for testing. For the query parameter extraction (Object, Operation, Context), we use 1,437 messages for training and 195 messages for testing. All of them are collected from the Photoshop forum for our ontology construction.

The efficiency of the supervised embedding (for intent classification) and NER_spacy (for parameter extraction) is achieved through the F1-score measure. Specifically, the F1-score is a combination of two measures, precision and recall, as follows: Precision=TPiTPi+FPi;Recall=TPiTPi+FNi;F1_score=2.Precision.RecallPrecision+Recall where TPi is the number of the items correctly predicted class i; FPi is the number of the items incorrectly predicted class i; and FNiis the number of items of class i mistakenly predicted other classes. The experimental F1-score results are shown in . The result shows that for the intent classification, Adobot and Smatbot achieve an F1-score of 94.6% and 93.9% with Supervised Embedding, respectively. Ner_spacy gives the F1-score of the query parameter extraction of 86.01% in Adobot and 76.1% in Smabot. These results show that Adobot and Smabot are quite competitive with some recently published chatbots such as Nigam et al. (Citation2019) with F1-score of 77.63% for intent classification and 82.24% for query parameter extraction; Nguyen and Shcherbakov (Citation2021) with F1-score of 86.3% for intent classification and 81.5% for query parameter extraction; Morgan et al. (Citation2018) with F1-score of 98% for intent classification; and Ruf et al. (Citation2020) with F1-score of 87% for query parameter extraction.

Table 8. Measurement of user message understanding of the algorithms used.

7. Conclusion

This paper proposes a knowledge model for context-aware smart service systems based on the knowledge components, called the CAK (Context-Aware Knowledge) model. The CAK model can capture all the information and knowledge related to context-aware smart services and their environment to provide the right information in the right circumstances to the right person. The proposed model is being tested and experimented with the chatbot applications as context-aware smart services for customer support centers. The CAK model can also integrate all the information and knowledge related to smart services, knowledge components and context awareness that can play a key role for any framework, infrastructure, or applications for deploying context-aware smart services.

Concerning the implications of our work in practice, the proposed knowledge model can be extended and adapted for different types of context-aware smart services, especially knowledge-intensive services so that knowledge about services can be linked and used based on corresponding user-centric contexts in order to implement effectively and efficiently context-aware smart services. Concerning the implications for research, this approach needs to be validated and experimented on a broader scale. Moreover, our future research aims at enhancing the approach for more complicated and elaborated context-aware smart services, as well as at integrating the knowledge model with current artificial intelligence techniques such as deep learning and reinforcement learning to create new contextual knowledge based on existing knowledge bases.

Concerning the future work direction, it is foreseen that the new concepts related to the context representation should be extended to support the context recognizing and knowledge reasoning, especially in the context of business services relative to real time big data analytics (Dam et al., Citation2021). Furthermore, rapid advances in information and communication technology, especially artificial intelligence, big data, and the Internet of Things, allow designing novel information systems that are able to enable the new configuration of smart service systems and their business ecosystems (Beverungen et al., Citation2017). Consequently, we intend to study novel information systems, which can interoperate on different levels of service systems as well as different smart service systems. This research direction is emerging as multidisciplinary research, which enhances our previous frameworks related to the interoperability of information systems (Le Dinh & Nguyen-Ngoc, Citation2010), the design of a value creation network (Le Dinh & Leonard, Citation2009), and the information system upon information systems (Le Dinh, Citation2004).

Disclosure statement

No potential conflict of interest was reported by the author(s).

Additional information

Notes on contributors

Thang Le Dinh

Dr. Thang Le Dinh is professor in Information Systems at the Université du Québec à Trois-Rivières, Canada and currently co-director of the LARIDEPED laboratory (larideped.org), whose purpose is to promote business development in the digital age. He holds a PhD in Information systems from the University of Geneva, Switzerland in 2004. His recent research focuses on the management, the science and the engineering of smart data, in particular, an integrated framework that helps knowledge-intensive enterprises in building a knowledge infrastructure efficiently to support smart solutions. He serves in program committees of several international conferences, and he has been involved in the organization of special sessions, tracks and mini-tracks in different international conferences, especially ECIS, AMCIS, ICCCI, and IESS.

Thanh Thoa Pham Thi

Dr. Thanh Thoa Pham Thi is a lecturer in the College of Business, Technological University Dublin, Ireland. She obtained her PhD. degree in Information Systems from University of Geneva, a MSc. degree in Management and Technology of Information Systems from the same university and a BSc. degree in Information Technology from National University of VietNam in HoChiMinh city. Her research interests include Service Science and Information Systems engineering.

Cuong Pham-Nguyen

Dr. Cuong Pham-Nguyen is a researcher at the Information Systems Department of the VNUHCM-University of Science, Vietnam. He obtained his PhD in 2010 from Télécom Bretagne, France. His research areas are TEL Systems, Smart Services, Context-Aware, and Knowledge Representation. He is currently leading the Smart Services research group at the Faculty of Information Technology of the VNUHCM-University of Science, Vietnam.

Le Nguyen Hoai Nam

Dr. Le Nguyen Hoai Nam is a researcher at the Information Systems Department of the VNUHCM-University of Science, Vietnam. He obtained his PhD. degree in Information Systems from the VNUHCM-University of Science, Vietnam. His research areas are text mining and recommender systems.

Notes

1 dictionary.cambridge.org.

References

  • Aaltonen, A., Huuskonen, P., & Lehikoinen, J. (2005). Context awareness perspectives for mobile personal media. Information Systems Management, 22(4), 43–55. https://doi.org/https://doi.org/10.1201/1078.10580530/45520.22.4.20050901/90029.5
  • Abowd, G. D., Dey, A. K., Brown, P. J., Davies, N., Smith, M., & Steggles, P. (1999). Towards a better understanding of context and context-awareness. In International symposium on handheld and ubiquitous computing (pp. 304-307). Springer, Berlin, Heidelberg.
  • Aggeliki, V., Stratogiannis, G., Caridakis, G., Siolas, G., & Mylonas, P. (2016). User adaptive and context aware smart home using pervasive and semantic technologies. JECE, (August). https://doi.org/https://doi.org/10.1155/2016/4789803
  • Bellavista, P., Corradi, A., Fanelli, M., & Foschini, L. (2012). A survey of context data distribution for mobile ubiquitous systems. ACM Computing Surveys (CSUR), 44(4), 1–45. https://doi.org/https://doi.org/10.1145/2333112.2333119
  • Beverungen, D., Matzner, M., & Janiesch, C. (2017). Information systems for smart services. Information Systems and e-Business Management, 15(4), 781–787. https://doi.org/https://doi.org/10.1007/s10257-017-0365-8
  • Bocklisch, T., Faulkner, J., Pawlowski, N., & Nichol, A. (2017). Rasa: Open source language understanding and dialogue management. arXiv preprint arXiv:1712.05181.
  • Chang, J., Yao, W., & Li, X. (2017). The design of a context-aware service system in intelligent transportation system. International Journal of Distributed Sensor Networks, 13(10), 1550147717738165, 1–8. https://doi.org/https://doi.org/10.1177/1550147717738165
  • Chen, G., & Kotz, D. (2000). A survey of context-aware mobile computing research. Dartmouth Computer Science Technical Report TR2000-381.
  • Dam, N. A. K., Le Dinh, T., & Menvielle, W. (2021). Key aspects of customer intelligence in the era of massive data. In Intelligent Information and Database Systems: 13th Asian Conference, ACIIDS 2021, Phuket, Thailand, April 7–10, 2021, Proceedings 13 (pp. 259-271). Springer International Publishing.
  • Dey, A. K., Abowd, G. D., & Salber, D. (2001). A conceptual framework and a toolkit for supporting the rapid prototyping of context-aware applications. Human–Computer Interaction, 16(2-4), 97–166.
  • Dobson, S. A., Viroli, M., Fernandez-Marquez, J. L., Zambonelli, F., Stevenson, G. T., Di Marzo Serugendo, G., … Rosi, A. (2016). Spatial awareness in pervasive ecosystems. The Knowledge Engineering Review, 31(4), 343–366. https://doi.org/https://doi.org/10.1017/S0269888916000199
  • Dulceanuy, A., Le Dinh, T., Chang, W., Bui, T., Kim, D. S., Vu, M. C., & Seokhwan, K. (2018). PhotoshopQuiA: A corpus of natural language for why-question answering. 11th edition of the Language Resources and Evaluation Conference, Miyazaki, Japan.
  • Feng, L., Apers, P. M., & Jonker, W. (2004, August). Towards context-aware data management for ambient intelligence. In International conference on database and expert systems applications (pp. 422-431). Springer, Berlin, Heidelberg.
  • Geum, Y., Jeon, H., & Lee, H. (2016). Developing new smart services using integrated morphological analysis: Integration of the market-pull and technology-push approach. Service Business, 10(3), 531–555. https://doi.org/https://doi.org/10.1007/s11628-015-0281-2
  • Gu, T., Pung, H. K., & Zhang, D. Q. (2005). A service-oriented middleware for building context-aware services. Journal of Network and Computer Applications, 28(1), 1–18. https://doi.org/https://doi.org/10.1016/j.jnca.2004.06.002
  • Henricksen, K., & Indulska, J. (2006). Developing context-aware pervasive computing applications: Models and approach. Pervasive and Mobile Computing, 2(1), 37–64. https://doi.org/https://doi.org/10.1016/j.pmcj.2005.07.003
  • Irani, R., Monfared, P. S., Kazemifard, M., & Ören, T. (2021). Computationally aware systems: Recommended features through a review of 188 definitions and its relevance to advanced simulation. International Journal of Modeling, Simulation, and Scientific Computing, 12(01), 2130001. https://doi.org/https://doi.org/10.1142/s1793962321300016
  • Johnson, J. L., Sohi, R. S., & Grewal, R. (2004). The role of relational knowledge stores in interfirm partnering. Journal of Marketing, 68(3), 21–36. https://doi.org/https://doi.org/10.1509/jmkg.68.3.21.34765
  • Kim, J. D., Son, J., & Baik, D. K. (2012). CA 5w1h onto: Ontological context-aware model based on 5W1H. International Journal of Distributed Sensor Networks, 8(3), 247346. https://doi.org/https://doi.org/10.1155/2012/247346
  • Le Dinh, T. (2004). Information system upon information systems: a conceptual framework (Doctoral dissertation, University of Geneva).
  • Le Dinh, T., & Leonard, M. (2009, August). A conceptual framework for modelling service value creation networks. In 2009 International Conference on Network-Based Information Systems (pp. 463-468). IEEE.
  • Le Dinh, T., & Nguyen-Ngoc, A. V. (2010). A conceptual framework for designing service-oriented interorganizational information systems. In: Proceedings of the 2010 Symposium on Information and Communication Technology (pp. 147-154).
  • Le Dinh, T., & Pham Thi, T. T. (2012). Information-driven framework for collaborative business service modelling. International Journal of Service Science, Management, Engineering, and Technology (IJSSMET), 3(1), 1–18. https://doi.org/https://doi.org/10.4018/jssmet.2012010101
  • Le Dinh, T., Pham Thi, T. T., Pham-Nguyen, C., & Le Nguyen, H. N. (2020). Towards a context-aware knowledge model for smart service systems. In N. T. Nguyen, B. H. Hoang, C. P. Huynh, D. Hwang, B. Trawiński, & G. Vossen (Eds.), Computational collective intelligence (pp. 767–778). ICCCI 2020.
  • Le Dinh, T., Rickenberg, T. A., Fill, H. G., & Breitner, M. H. (2014). Towards a knowledge-based framework for enterprise content management. In Proceedings of the 2014 47th Hawaii International Conference on System Sciences (pp. 3543-3552). IEEE Computer Society (2014).
  • Lim, C., & Maglio, P. P. (2018). Data-driven understanding of smart service systems through text mining. Service Science, 10(2), 154–180. https://doi.org/https://doi.org/10.1287/serv.2018.0208
  • Lusch, R. F., Vargo, S. L., & Wessels, G. (2008). Towards a conceptual foundation for service science: Contributions from service-dominant logic. IBM Systems Journal, 47(1), 5–14. https://doi.org/https://doi.org/10.1147/sj.471.0005
  • Medina-Borja, A. (2015). Smart things as service providers: A call for convergence of disciplines to build a research agenda for the service systems of the future. Service Science, 7(1), ii–iv. https://doi.org/https://doi.org/10.1287/serv.2014.0090
  • Mo, T., Li, W., Chu, W., & Wu, Z. (2010). CABS3: Context-awareness based smart service system. In 2010 6th International Conference on Wireless Communications Networking and Mobile Computing (WiCOM) (pp. 1-4), IEEE.
  • Morgan, J., Paiement, A., Seisenberger, M., Williams, J., & Wyner, A. (2018). A chatbot framework for the children's Legal centre. In M. Palmirani (Ed.), Legal knowledge and information systems (pp. 205–209). IOS Press.
  • Nguyen, T., & Shcherbakov, M. (2021). Enhancing Rasa NLU model for Vietnamese chatbot. International Journal of Open Information Technologies, 9(1), 31–36.
  • Nigam, A., Sahare, P., & Pandya, K. (2019, January). Intent detection and slots prompt in a closed-domain chatbot. In 2019 IEEE 13th International Conference on Semantic Computing (ICSC) (pp. 340-343). IEEE.
  • Oh, J. S., Park, J. S., & Kwon, J. R. (2009). Design middleware platforms for ubiquitous smart service on city gas environment in Korea. In International Conference on U-and E-Service, Science and Technology (pp. 90-97). Springer.
  • Peffers, K., Rothenberger, M., Tuunanen, T., & Vaezi, R. (2012). Design science research evaluation. In International Conference on Design Science Research in Information Systems (pp. 398-410). Springer, Berlin, Heidelberg.
  • Perera, C., Zaslavsky, A., Christen, P., & Georgakopoulos, D. (2014). Context aware computing for The Internet of Things: A survey. IEEE Communications Survey & Tutorials, 16(1), 414–454. https://doi.org/https://doi.org/10.1109/SURV.2013.042313.00197
  • Rosenberger, P., & Gerhard, D. (2018). Context-awareness in industrial applications: Definition, classification and use case. Procedia CIRP, 72, 1172–1177. https://doi.org/https://doi.org/10.1016/j.procir.2018.03.242
  • Ruf, B., Sammarco, M., Aigrain, J., & Detyniecki, M. (2020). Pharmabroad: A companion chatbot for identifying pharmaceutical products when traveling abroad. In J. Neidhardt & W. Worndl (Eds.), Information and Communication technologies in tourism 2020 (pp. 218–228). Springer.
  • Rumbaugh, J., Jacobson, I., & Booch, G. (1999). The unified modeling language reference. Addison-Wesley.
  • Schmidtke, H. R. (2020). Location-aware systems or location-based services: A survey with applications to CoViD-19 contact tracking. Journal of Reliable Intelligent Environments, 6(4), 191–214. https://doi.org/https://doi.org/10.1007/s40860-020-00111-4
  • Shawar, B. A., & Atwell, E. (2007). Different measurement metrics to evaluate a chatbot system. In Proceedings of the workshop on bridging the gap: Academic and industrial research in dialog technologies (pp. 89-96).
  • Skianis, K. (2017). The question-answering and chatbot challenges.
  • Spohrer, J., Maglio, P. P., Bailey, J., & Gruhl, D. (2007). Steps towards a science of service systems. IEEE Computer, 40(1), 71–77. https://doi.org/https://doi.org/10.1109/MC.2007.33
  • Spohrer, J. C. (2013). NSF virtual forum: Platform technologies and smart service systems. Retrieved Nov 14, 2017, from http://service-science.info/archives/3217
  • Tran Hien, L., Tran Thi, L., Pham-Nguyen, C., Le Dinh, T., Tiet Gia, H. & Le Nguyen, H. N. (2020). Towards chatbot-based interactive what- and how-question answering systems: The Adobot Approach. In 2020 RIVF International Conference on Computing and Communication Technologies (RIVF) (pp. 1-3). IEEE, https://doi.org/https://doi.org/10.1109/RIVF48685.2020.9140742.
  • Truc, G. P., Huynh, H. N., & Pham-Nguyen, C. (2020). Building chatbot supporting online sales of smart devices. Technical report.
  • Truong, H. L., & Dustdar, S. (2009). A survey on context-aware web service systems. International Journal of Web Information Systems, 5(1), 5–31. https://doi.org/https://doi.org/10.1108/17440080910947295
  • Wu, L., Fisch, A., Chopra, S., Adams, K., Bordes, A., & Weston, J. (2018, April). Starspace: Embed all the things!. In Proceedings of the AAAI Conference on Artificial Intelligence (Vol. 32, No. 1).