Skip to main content

ORIGINAL RESEARCH article

Front. Comput. Sci., 07 March 2024
Sec. Mobile and Ubiquitous Computing

Augmenting context with power information for green context-awareness in smart environments

  • Department of Software Engineering, Foundation University Islamabad, Islamabad, Pakistan

The increase in the use of smart devices has led to the realization of the Internet of Everything (IoE). The heart of an IoE environment is a Context-Aware System that facilitates service discovery, delivery, and adaptation based on context classification. The context has been defined in a domain-dependent way, traditionally. The classical models of context have been focused on rich context and lack Cost of Context (CoC) that can be used for decision support. The authors present a philosophy-inspired mathematical model of context that includes confidence in activity classification of context, the actions performed, and the power information. Since a single recurring activity can lead to distinct actions performed at different times, it is better to record the actions. The power information includes the power consumed in the complete context processing and is a quality attribute of the context. Power consumption is a useful metric as CoC and is suitable for power-constrained context awareness. To demonstrate the effectiveness of the proposed work, example contexts are described, and the context model is presented mathematically in this study. The context is aggregated with power information, and actions and confidence on the classification outcome lead to the concept of situational context. The results show that the context gathered through sensor data and deduced through remote services can be made more rich with CoC parameters.

1 Introduction

The turn of the millennium has observed many advances in science and technology. Ideas have been refined and realized to improve human life. Among these ideas, the concept of a world is connected through seamless smart devices, which access remote services. This idea came to the mind of Mark Weiser and termed pervasive computing, where the computing would be dependent on ubiquitous and pervading devices or machines. Meanwhile, the advent of mobility and smart devices introduced mobile computing as an evolution of pervasive computing. The development of smart, inexpensive, and universally accessible devices led to the dawn of the fourth industrial revolution commonly known as Internet of things (IoT; World Economic Forum, 2021; Elgazzar et al., 2022). The increase in computing power of small devices has now evolved IoT to Internet of everything (IoE; Vaya and Hadpawat, 2019; da Costa et al., 2021). An IoE environment includes sensors, devices, appliances, and remote services that interact with each other. Such an environment is also termed a smart environment (Horng, 2023). Over the years, the devices have become compact, powerful, and communicate seamlessly (Mahmud et al., 2007b; Hussain et al., 2020). The world is envisaged to be amalgamation of smart environments. It is expected that by the turn of this decade, there will be 75 Bn devices, generating 1TB data per environment daily. The data are generated by sensors and services. The 4th industrial revolution has enabled IoE environments (World Economic Forum, 2021). According to Statista (2020), there were 27 billion devices connected in 2019, and this will increase to 75 billion in 2025. IoT analytics estimated 12.3 billion connected devices in 2021 (Lueth, 2022). Cisco estimates the number of connected devices to be a trillion in 2025 (Cisco, 2016; AlliedTelesis, 2021). The International Data Corporation (IDC) predicts more than 40 billion devices that will generate 80 zettabytes in 2025 (Rizvi et al., 2020).

Within a smart environment, the data generated are used to facilitate smart service discovery, delivery, and adaptation (Schilit et al., 1994; Mahmud et al., 2020). This data include all information and can be used for activity recognition or context awareness (Abowd et al., 1999; Mahmud and Javed, 2012). The context is collected, transformed, stored, and then classified. The context is classified into activities using machine learning algorithms (Mahmud et al., 2007a; Mahmud and Javed, 2014; Mahmud, 2016). Recently, researchers have used deep learning to classify context (Bashir et al., 2023; Keramatfar et al., 2023). This is termed context inferencing or context processing (Mahmud et al., 2022b; Casillo et al., 2023). Once the context is classified, appropriate actions can be taken (Augusto et al., 2022). For example, the change in the orientation of a smartphone is based on the orientation of the user, or the change in the screen brightness is based on the ambiance. The context has been modeled as a set of attribute-value pairs. These can be represented as open web standards including XML, RDF, and OWL. Swenja et al. (2022) have used OWL to develop a context model that is composed of two sub-models. The Entity Model and the Instance Model are the sub-models of the context in the domain of smart manufacturing.

Many researchers have described the context since its inception in 2001 (Schilit and Theimer, 1994). The definitions have both philosophical and domain-based perspectives. The philosophical basis demands that the context include all information, whether relevant to the domain or not. The domain perspective views the context as a set of attribute-value pairs that help classify the context for activity recognition. This is the classical view of the context which refers to a set of attributes that better classify the context. Both these techniques are either too general or too specific. This hinders the sharing and reusability of contexts gathered in different domains. Furthermore, these perspectives lack a futuristic view of context. There is a need to redefine context with its core in philosophy and have the ability to be domain-independent. Zouhaier et al. (2013) have stressed the need for a rich context that can model the contextual information.

An IoE environment includes battery-operated devices that interact with each other. Power consumption is a constraint, and interactions should be energy-efficient (Li et al., 2015; Caiazza et al., 2024). While the context has been described by many researchers over the years, this study presents a model that includes power information as part of the context. The basis of including power information within the context is that power is a constraint in smart environments, in which the users interact with services via battery-operated environments (Mahmud et al., 2022a; Martyushev et al., 2023). The contemporary work in context definition lacks the power information. The philosophical basis of context demands that everything that can be used to describe the context can be included within the context. The concept of quality of context (QoC) and the cost of context (CoC) have been described in the literature. The contributions of this study are as follows:

• The authors present a formal mathematical definition of context that includes power information as a CoC which can be used in decision support within an IoE environment. This introduces power information as an addition to the traditional definition of context. The impact of power information, including energy consumption, is a constraint for battery-operated devices and must be included within the context to enable green context awareness.

• Finally, an example case is presented to show a snapshot of the context based on the proposed mathematical model of context. This serves as proof of concept for the proposed formal model of context.

The rest of the study is organized as follows: Section 2 presents the evidence in the literature. Section 3 describes the components of an IoE environment. Section 4 presents the mathematical model for green context awareness. Section 5 discusses a case study for proof of concept. The study concludes in Section 6.

2 Evidence in literature

The brain of a smart environment is a context-aware system. The system receives contextual information, analyzes it, and assigns it an activity label (Alegre et al., 2016; Hashemi and Sadeghi-Niaraki, 2016; Kirsch-Pinheiro, 2023). A context-aware system communicates with sensors and services in a smart environment and processes the context using machine-learning techniques (Ogbuabor et al., 2022). Various techniques have been presented in the literature to model context (Mahmud et al., 2007c). Kaenampornpan and O'Neill (2004) have used activity theory to model context. Engelenburg et al. (2019) have presented a mathematical model by using predicates to model context. Lupiana has used actor network theory (ANT) to model context as an interaction between human and non-human actors (Lupiana, 2017). However, this study focuses on the composition of the context rather than the modeling technique.

Schilit et al. (1994) and Schilit and Theimer (1994) presented the pioneering concept of context as all information covering a user, the user's environment, and the services or applications bound within the user's environment. This type of context could be represented as predicates that could be triggered based on the context. This context has a domain perspective and is used for the ParcTab application. The ParcTab is a location-aware application that diverts calls to the nearest phone, based on a user's location, and senses using RFID cards.

Brown (1995) presented a similar view where the context is a collection of information that a machine knows, which is bounded by the user's proximity. While this is a generalized perspective, the stick-e document, proposed by Brown, can be used to develop context-aware applications. The composition of the context is limited to include all information that is suitable for user–machine interaction.

Abowd et al. (1999) and Dey (2001) presented a philosophical perspective inspired by the ability of humans to use situational information as the context. The context now includes all the information that can define and characterize a situation or group context (Zhu et al., 2018). This concept is inspired by a philosophical perspective, and Dey has developed a context toolkit, which is used to develop context-aware applications. The context toolkit is bounded by considering the situation as an interaction between a user and an application or service.

Bazire and Brézillon (2005) have considered context as a set of constraints on the eventual behavior of a system. This means that the context derives from the service behavior. This perspective is based on the machine–user interaction. Sheng and Benatallah (2005) and Sheng et al. (2009) have also considered context as relevant information which is useful to adjust the execution and outcome of a service. Specifically, Sheng used Unified Modeling Language (UML) to represent and model context.

Riaz et al. (2005) described the context as the information describing users, services, and the context-aware application or middleware. This introduced a new dimension, where the context of the context-enabling middleware is included. However, Mahmud et al. (2007a,b) argued that if the context-enabling middleware is implemented as a context-aware service, keeping the context of the context-enabling service is redundant. It should be a part of the service context. These two authors considered context as a mechanism to facilitate service discovery and delivery based on the context. While both researchers have considered context to be rich in information, the information related to the action performed after the context is classified, which is not included in the context.

Klimek (2022) has developed a context data model and has considered police interventions as a case of context awareness. The author has considered context to be a collection of facts that describe a state. However, the context defined is rich and domain-oriented. Thi et al. (2022) propose a knowledge model for context that describes context using services, service systems, and a network of service systems and present a case study of context-aware chatbot services.

The context is a collection of attribute-value pairs of contextual information. Each context is unique, but multiple contexts can belong to the same situation. Buchholz et al. (2003) introduced the concept of quality with contextual information. Quality of context (QoC) is a quality attribute defining the quality of contextual information. For example, a context can have GPS data as contextual information. GPS data would generally include latitude, longitude, and altitude. Depending on the location, i.e., indoors, outdoors, or in remote areas, the quality of the GPS data would vary. Bucholz et al. present the quality of each contextual data to have multiple facets. These include precision; how close is the value to the actual value, granularity; the finesse of the value, freshness; how up-to-date the value and trust; how trustworthy the value is (Mahmud, 2012; Mahmud et al., 2012).

Buchholz et al. also parameterized QoC using probability of correctness which gives the correctness of contextual information as a probability. While the probability of correctness and precision have different values, they both refer to the same concept and are redundant. A normalized value of precision would serve just as the probability of correctness. Manzoor et al. (2008) enhanced the QoC parameters to include completeness; how complete a multi-valued attribute is, and significance; the worth of the contextual information, similar to precision.

Recently, Camargo-Henríquez and Silva (2022) have used Activity Theory to model context starting from conception up to the development of context-aware systems. This model focuses on relationships arising due to interactions between sociotechnical components. Since a human user uses a smart device to interact with other technical components, context modeling must consider the social and technical aspects.

Jagarlamudi et al. (2021) enhance the QoC to include the Cost of Context (CoC), which is the cost of context gathering and processing. This ensures the validation of Service Level Agreements (SLAs) between a context provider and context user (Kouamé et al., 2020).

Djoudi et al. (2022) argue that the non-functional requirements should be part of the context in addition to the functional requirements. The authors list performance, security, and availability as examples of non-functional requirements that can be used to describe the context.

Freitas et al. (2021) have considered uncertainty as a constraint on the context and have developed a decision tree to handle the uncertainty. Uncertainty can be considered as a CoC prima facie.

Table 1 presents the comparison of the contemporary literature on context definition and modeling. The comparison facets include the richness of context, QoC, CoC, and power information. Table 1 compares contemporary evidence in the literature based on multiple facets. The context should be rich and capture all elements that can describe it. In the earlier generations of the context-aware system, limited information was captured, resulting in the development of specific context-aware applications. In newer generations of context-aware systems, the concept of QoC is introduced with each contextual element and has now evolved to CoC. However, power consumption information has not been included in the CoC. Power consumption is necessary information that is viewed as a cost of gathering and processing context and becomes suitable in enabling power-constrained context awareness. This study further enhances the CoC by including power information in addition to rich context, QoC, and CoC.

Table 1
www.frontiersin.org

Table 1. Comparison of contemporary literature.

3 Components of an IoE environment

An IoE environment includes sensors, devices, and services. This environment is bounded locally as well and can have a global outreach. The core of an IoE environment is a smart device that communicates with sensors, appliances, and services and provides computation for the classification of context. A smart device has a communication module, intrinsic sensors, a storage unit, a core processing unit, and actuators, as shown in Figure 1. Table 2 describes the functionality of each component.

Figure 1
www.frontiersin.org

Figure 1. A smart device.

Table 2
www.frontiersin.org

Table 2. Description of components of a smart device.

Consider as an example a handheld smartphone (Samsung, 2020). It communicates using GSM and 4G/5G technology and Wi-Fi and Bluetooth. Accelerometers, GPS, pedometer, gyroscope, etc. are the intrinsic sensors. The storage is provided by using flash memory external SD/micro-SD/nano-SD cards and n-core processors. The actuators are the screen and the speakers. In the case of a smart washing machine, Wi-Fi, weight sensors, processor, register memory, and machine and buzzers are examples of communication modules, intrinsic sensors, processing unit, storage unit, and actuators, respectively (Samsung, 2017).

The sensors generate perceptions which are then mapped onto actions. A history or perception leads to the percept-action sequence shown in Equation 1 (Russell and Norvig, 2010). AI-based systems exhibit percept-action functionalities that correspond to IF-THEN-ELSE constructs in programming environments. This presents a simple AI-based system as a rule-based system (RBS).

P*A    (1)

If the mapping of perception onto actions is a case of classifying a context into several known categories of context, Equation 1 can be redefined as shown in Equation 2. The → C is the mapping based on a supervised classification algorithm.

P*CA    (2)

An assortment of gadgets that a user owns or controls temporarily constitutes a smart personal space. Multiple smart gadgets, including handheld and wearable ones, may be owned by one user. These devices include laptops, smart phones, tablets, smartwatches, fitbit, and smart health monitoring devices. These gadgets are referred to as smart personal spaces since they may be controlled by a user. A smart personal space also contains the user's private and public data. This information can be kept up to date locally or remotely over the Internet.

The data of a user grow exponentially and are required to be protected against privacy vulnerabilities (Poelker, 2013). The data are generally replicated across remote services, creating an ownership conflict. Social Linked Data (SOLID) facilitate the creation of a personal online data store (POD) that ensures ownership and privacy using access control lists (ACL; Berners-Lee, 2021). The POD provides an abstraction to the users' data. The data can be stored in files, relational databases, and non-relational databases. Figure 2 shows a model of a personal smart space.

Figure 2
www.frontiersin.org

Figure 2. A smart personal space.

Multiple smart spaces interacting with appliances and remote services create an IoE environment (Mahmud et al., 2020). This is equivalent to having several patients in a hospital, several people living in the same house, engineers in a laboratory, or coworkers in an office. Multiple smart personal spaces, appliances, and remote services all communicate with one another in an IoE Environment. Conflicts in access may occur because many personal spaces use the same channel to communicate with the services. Remote services and appliances can prioritize service delivery by using a distributed conflict resolution method. Figure 3 shows a model of an IoE environment.

Figure 3
www.frontiersin.org

Figure 3. An IoE environment.

A collection of IoE personal spaces interacting with local appliances and each other is termed a smart environment. A smart environment provides a gateway within the IoE environment; the gathered data are termed context which is used to infer an activity or multiple activities within an IoE environment. This concept is like the data, information, and wisdom hierarchy (Giarratano and Riley, 2004). IoE environments are viewed from three overlapping perspectives (Sezer et al., 2017). The Internet-oriented vision, views an IoE environment from the perspective of seamless connectivity, the Things-oriented vision, views an IoE environment as amalgamation and interaction of different types of devices and appliances, and the Semantic-oriented vision, views an IoE environment as a semantic activity or situation due to the interaction between multiple personal spaces and remote services.

An IoE environment is primarily a distributed system that supports mobility. IoT is concerned with connecting multiple sensors to a microcontroller that senses data and then transmits it over the cloud for computation. This essentially creates two layers, the Fog and the Cloud. Traditionally, Fog is concerned with perceptions and actions while mapping and computation are carried out on the cloud. The Internet of things (IoT) has evolved into the Internet of everything (IoE), where devices, sensors, and appliances are all connected and computation is done within the Fog due to the advent of the system on chip (SoC)-based Fog environment. The IoE world has evolved into an Artificial Intelligence of Things (AIoT) with a stronger reliance on Fog for processing, mapping, or learning functions. The localized processing and reduced bandwidth usage for cloud storage distinguish IoE from AIoT. AIoT is comparatively smarter and can offer big data and machine learning abstractions. Hassani et al. (2018) have proposed that the context can be implemented as a service feature as a part of an IoE environment. A context management platform (CMP), which is in charge of context processing and providing it to context consumers, processes the context.

4 A mathematical model for green context-awareness

While the literature shows that the context is based on a philosophical perspective, the evidence is domain-oriented. This is because the purpose of context awareness is the facilitation of human–machine interaction. Furthermore, the concept of QoC is a misnomer. While it appears that it is the quality of the context, it is essentially the quality of contextual information which is a subset of context.

In addition to this, the QoC is limited and does not cater to the energy or power used to gather and subsequently process the context (Mahmud et al., 2018). A context-aware system is part of an IoE environment. An IoE environment has battery-operated and mobile devices (Mahmud et al., 2020). Context gathering and processing are constrained by both limited battery and noisy wireless connections. While the parameters of QoC show whether individual contextual information is useful or not, power is considered at the complete context level. On a simple level, it means how much power is consumed when the context is gathered and subsequently processed. This could be used as a metric for CoC as well, where a higher power consumption during context gathering may defer the context processing (Mahmud and Hussain, 2022a,b). This might require a history of contexts to be maintained (Malik et al., 2009). The history can be used to defer context gathering as well.

Rosa et al. (2015) highlighted the importance of context histories as an ingredient for context classification. The past and current contexts of the users help in improvement. Context histories record context information using temporal indexes. The context is thus a collection of sequential patterns stored in relational databases (da Rosa et al., 2016). This sequential pattern supports context prediction using stochastic processes. The size of previous contexts leads to the Big Data view of context-aware systems (Dinh et al., 2020). This entails precise results but at the cost of space. Histories are useful for understanding repeating processes and trends, specifically in the areas of human interaction and social sciences, and have been used for cultural heritage applications (Michalakis and Caridakis, 2022).

Traditionally, once the context is processed, situation is classified using machine learning techniques. The classified situation becomes an activity label of context with an associated confidence value (Mahmud and Javed, 2012, 2014). These techniques use rule-based approaches and classification-based approaches to classify the context. From fuzzy learning to Bayesian learning, Hidden Markov Models, and Convolutional Neural Networks, researchers have utilized many algorithms to classify the current context (Chui et al., 2023; Saleem et al., 2023). This current context requires a history that records previous contexts and their classification outcomes. The classification outcome is given a label or an activity label in the case of human activity recognition or human context. Since, the context classification utilizes a machine learning algorithm, the precision of the classification outcome is dependent on the context history and the algorithm used. This outcome is then subjected to confidence in the outcome. For example, a multi-class context classification algorithm using Artificial Neural Networks (ANN) could classify the context into multiple classes and select the one that has the highest probability or confidence. Confidence is a measurement of the effectiveness of the context classification algorithm and is a floating-point value between 0 and 1. It can be calculated based on multiple sets of training data and test data for the classification algorithm.

Filippetto et al. (2021) have used similarity measures to classify contexts based on the context histories. The mechanism requires a context history that contains records of project management activities. The context histories are compared with each other to find similarities. This similarity analysis includes risk similarities and project description similarities that are subsequently used to generate recommendations.

The classified context is given a label. When context belongs to a human, it can be classified as an activity label. The activity label can be used to discover services, adjust SLAs, or perform some actions. For example, in the domain of smart healthcare, the context of the patient would be classified into activity labels or health states. These can be used to raise alerts, inform caregivers, or dispatch emergency services. Similarly, for a commuter, the context could be classified, and a music playlist delivered to enhance their mood and reduce symptoms of depression and anxiety. The music playlist can be generated from a variety of online music playback services.

A context is associated with an appropriate label, which is then used to perform appropriate actions. In general, the context is associated with a label which is the classification outcome; a context could have a distinct label, while a label can have different contexts. A label is associated with a confidence value that describes the precision of the classification outcome.

An activity can trigger multiple actions. These actions could also be adjustments in SLAs or service negotiations. More than one activity can be triggered based on an activity label. This leads to the question that whether the action should be part of the context. Since the philosophical perspective includes everything as part of the context, it appears logical to include the actions as part of the context. The classification of the context and subsequent action takes non-zero time. This entails that a context record would include all information within a time window.

With the aspects mentioned earlier, the authors present a mathematical model of context with emphasis on the richness of information that includes power information as CoC and actions performed as part of the context. The model is presented using the basic mathematical concept of set theory. While researchers have used advanced concepts of ontology and mereotopology, set theory aptly describes the nature of context and is easier to understand and convert to programming constructs. A context c is defined by a finite set of attribute-value pairs or contextual data. The contextual data are gathered from using intrinsic sensors, termed sensor data S, and deduced through remote services, termed deduced data D. However, to gather the latest information, the deduced data are deduced using the latest value of sensor data. To better understand the context c, let us assume that it is gathered by using sensors embedded in a smartphone. Here, a context-aware system is installed in the smartphone that can classify the context. The attributes include the sensors embedded in the smartphone including a GPS sensor that records latitude, longitude, and altitude. These three attributes are part of sensor data S. The latitude and longitude can be used to access a location service to deduce the location, for example, home, university, and office. The location information is part of the deduced context D. Both the sensor data and deduced data are part of the context c. Equation 3 represents the context c mathematically, where there are n number of sensor data elements S and m number of deduced data elements D.

c={{S1,S2,, Sn }{D1,D2,, Dm}}    (3)

Each contextual element l in the set of context c has an associated QoC value. These include accuracy a, freshness f, and trustworthiness tr. The accuracy represents the accuracy of measurements, and this could be represented using a floating-point number normalized within a range of 0 − 1. A high accuracy will be given to the values provided by the GPS sensor when a person uses their smart device outside in the open, while within a building, the accuracy would be low. Freshness refers to the time when the sensor provides the data. A high freshness means that the value was sensed relatively soon in the past. This is necessary if a person using their smart device is walking or traveling in a bullet train. While walking, a GPS value would not change as fast as in a bullet train it would change. Furthermore, while GPS data might be relatively fresh, the deduced weather information would have different implications with low freshness. The freshness is also a normalized floating-point value between 0 and 1, where 1 has higher freshness. Trustworthiness refers to the trust value and is useful for deduced data. Trust is a normalized floating-point value between 0 and 1, where 1 signifies total trust. Data from embedded sensors have a higher trust value, while deduced data and data from nearby services have a lower trust value. Trust is evolved over time after each interaction between a user's smart device and remote services.

More QoC parameters can be included as well. Any contextual element l within the context c can be represented as f,atrl.

The classification of context c assigns an appropriate activity label with a corresponding confidence d. Confidence is the value that shows how well the classification outcome has been reached based on the performance of the classification algorithm during tests. Each activity label has multiple actions A that can be performed as shown in Equations 1, 2. The actions could include delivering a music playlist, alerting a caregiver, or recommending nearby restaurant deals. The actions selected are part of the situational context C. The difference between context c and situational context C is that c is the context prior to context processing and C includes o number of action A, confidence d, and power information p as a CoC parameter. Moreover, while the current context c is one record that includes the sensor data and deduced data, it is not complete unless it has been utilized. This means that once the context c has been classified, and actions have been performed based on the classification outcome, the context, classification outcome, the actions performed, the confidence in the classification outcome, and the power consumed during the complete process are appended to the context. This means that context c is a subset of situational context C. Mathematically, the relation between context and situational context is cC. The power information p includes the power consumed during the complete context processing, starting from context sensing. Power consumption leads us to understand how much power is consumed in the processing context so that it can be conserved by employing green classification algorithms or through green context processing. The confidence d and the power information p are singleton set in the situational context C. The confidence is a normalized floating-point value between 0 and 1 that represents the confidence in the classification outcome. The power information primarily represents the total power consumption of the context process. This is a single value that can be depicted in milliwatt (mW). Both power information and confidence are the aspects of CoC that allow us to improve the context processing.

Equation 4 shows the situational context C. In Equation 4, there are n number of sensor data, m number of deduced data, and up to o number of actions performed once the context is classified.

C={ { S1,S2,,Sn }{ D1,D2,,Dm } { A1,A,,Ao }dp }    (4)

It can be observed that the situational context C is represented as a union of unions, showing the complexity of context. The power information p is the power consumed in watts for gathering and processing context C. Equation 4 can be represented as a union of the union in Equation 5. It is interesting to note that confidence d and power information p are both singleton sets. In Equation 5, there are n number of sensors and m number of deduced data, and after classifying the context, up to o the number of actions can be performed.

C={1nS1mD1oAdp}    (5)

Figure 4 shows the concept of context with power as a measurement for CoC. The context is a union of all sensor data, deduced data, actions performed, and confidence in those actions. The power is the cost which is measured as the power consumed in the constructing context.

Figure 4
www.frontiersin.org

Figure 4. Graphical representation of the context.

It's the inception context has been suggested by pioneer researchers to be rich and inclusive. However, various systems that have been developed define context based on the domain. Moreover, this leads to multiple context-aware systems working effectively on a person's smart device and interacting with sensors and remote services but unaware of other context-aware systems. There is a need to develop a single context-aware system that assists a user in their mundane activities by accessing and adjusting remote services based on the context. This requires a rich context that is all-inclusive, which requires both sensor data and deduced data. This is then processed and mapped onto the situational context. The classification outcome and the actions performed by the context-aware system are also recorded within the situation context. Since the way forward is a single context-aware system, there could be multiple actions, for example, setting the AC temperature based on patient data and, concurrently, alerting a caregiver. Furthermore, if the power information is included in the situational context, it can be used to conserve power and energy.

5 Case study for proof of concept

To explain the effectiveness of the above model, an example case is selected. The authors of this study have developed an Android app to facilitate contextual information gathering (Mahmud et al., 2022a). The dataset is collected and then used to train machine learning-based models of context awareness. The app gathers the data of sensors embedded in a smartphone. The sensors include GPS, accelerometer, ambient light, average current, voltage, and others. Data from the GPS sensor are provided in latitude and longitude. This is then sent to multiple online web services, which provide weather information and address information. The address and weather information are both deduced data. The gathered context is then processed to classify the activity label with a degree of confidence. Depending on the context of the user's choice, appropriate actions are performed. The PowerIpsum dataset holds records as attribute-value pairs. Such a dataset allows the use of probabilistic techniques including Bayesian classification, Markov Chain, and ANNs, and other ensemble machine learning techniques, to classify unknown instances. The dataset comprises multiple records. The users have used their smartphones to log the records. Each record includes the contextual data and the associated label. Users have used different Android-based smartphones to gather data. For the purpose of this case study, a single record has been used to represent and store the context, according to the proposed method in Section 4.

Table 3 shows a snapshot of the context. This case study assumes that a user has a single smartphone to interact with services.

Table 3
www.frontiersin.org

Table 3. A snapshot of context.

As shown in Table 3, the snapshot of the contextual data can be modeled using the mathematical model proposed in this study. Using Equation 3, as shown in Table 3, the context that represents the snapshot can be quantified as shown in Equation 6.

C={{162856121, 104.21, -43.12, -10.15, -1.29, 6.87, 7.22, 1501, 0.35, 3.26, -0.7, 33.58327, 73.08341, 453, -45.6, -15.24, -7.32, 48.63,  Good, 72, 32, 3910, Discharging, Li-ion, 394, 61, 5},{ Rainy, Rawalpindi}, {Silent, DND},{0.2},{1.54}}    (6)

Equation 6 represents a single record or instance as part of a context history, which is composed of many contexts C. Equation 6 is a union of union that represents C as quantified in Equation 4. As can be observed, the first element in Equation 6 conforms to the set of sensor data S, which are gathered through onboard sensors. The second element is the deduced context D, representing weather and location label. This has been deduced by sending the GPS information, which is sensed through the GPS sensor module, to remote weather and location services, as shown in Table 3. The third element represents the action performed in the recorded context. The actions are performed once the context is classified using a machine learning algorithm.

The classification outcome is then used to perform actions which are then recorded in the context C. The next element is confidence d on the classification outcome and finally, the last element contains the power consumed in milliwatt. Equation 6 is a single record in the history of context that is maintained in a context-aware system. The sensor data, deduced data, the classification outcome, and the power consumed compose a single record. A collection of these records is used to classify an unknown context by employing machine learning techniques.

The power information can be used to determine whether, for the given state of the battery, the context should be gathered or deferred until the battery power is sufficient. In this case, the actions stored in the context history can be performed if the context can be correctly predicted, conserving power. Equation 7 gives a rule that defers context gathering based on the power information, where if the battery level is <5%, context is predicted without gathering contextual data and carrying out context processing. This can help in saving power since most of the power is consumed in communication and processing. Given the state in Table 3, the context would be gathered, and no power would be conserved.

IF (BatteryLevel05)THEN predictContext( );ELSE gatherContext( );    (7)

Further rules can also be developed and adapted to better satisfy the needs for a context-aware application. The amount of time taken to gather the context and the current battery state can both be considered to implement complex rules, as shown in Equation 8. If the battery level is <10% and the power consumed in gathering sensor data is <2 milliwatts, the system can carry out context awareness and context processing, as shown in Equation 8.

IF (BatteryLevel10 && PowerConsumed 2)THEN gatherSensorData( );ELSE predictContext( );    (8)

In Equations 7, 8, power information can be used as a CoC to support decisions. These decisions would result in power conservation and will enable Green Context Awareness (GCx). The power information had not been recorded or utilized as evident in the literature; as shown in Table 1, the CoC would not be utilized, and a context-aware system would become power-hungry.

Unger et al. (2018) have also selected features to define a user's context and have included battery level as the power information. This is selected as it has associated power information within the context. Table 4 shows the snapshot of context based on the features of context proposed by Unger et al., and Equation 9 represents the situation context for the features selected by Unger et al. Here, the values have been assumed to show the effectiveness of the proposed technique.

C={{31.25N, 34.78E, Midweek,Day, Vibrate, 1598, 2.21, 0.87, 0.10, 12.10, 0.10, 0.01,Low}, { 50, 20, 80, 10, 2, 20340, 56, Swing}, {walking},{0.9},{60, 26, Discharging}}    (9)

The situation context in Equation 9 shows that the proposed technique is suitable for all available datasets with some variations. Here, in Equation 9 and Table 4, the actions performed are not listed, and the power information is given as a battery state with no information of how much power was consumed. The power information here is a set of battery level, battery temperature, and status of the battery. While this is power information, it lacks a critical component of how much power was consumed during context processing.

Table 4
www.frontiersin.org

Table 4. Snapshot of context using features proposed by Unger et al. (2018).

To confirm the effectiveness of the work presented in this study, the context formulation, as shown in Table 3 and Equation 6, is compared with the evidence in the contemporary literature presented in Table 1. Table 4 presents the effectiveness of the work presented in this paper as compared with the literature. The comparison is based on whether power information as shown in Equation 6, can be included in context and be used as CoC, and specifically, if the rules given in Equations 8, 9 can be implemented for each evidence in the literature.

Table 5 shows that the power information can be represented as CoC within the context based on the work presented in this study. Thus, this power information enables the firing of rules that implement power-constrained context awareness.

Table 5
www.frontiersin.org

Table 5. Effectiveness of work presented in this paper vs. evidence in the literature.

6 Conclusion

The traditional definition of context is centered on the richness of context to describe situations. Each situation is classified, and an appropriate label is deduced by a context-aware system. The label is the classification outcome of the classification algorithm used in context processing. Actions suitable for each label are carried out by the context-aware system within an IoE environment. There can be multiple actions that facilitate the mundane activities of a user. In the case of users, the labels describe the activity of the user and are termed activity labels. The philosophical basis of the context demands that everything that can be used to describe a situation should be a part of the context.

This includes sensor data, deduced data, actions performed, and the confidence on the classified activity label. The confidence comes from the effectiveness of the classification algorithm over test data. In addition to these, non-functional aspects should also be included within the context as the CoC, which are the quality parameters of the context. This study presents a mathematical model of context based on the philosophical perspective of context. The authors have presented a rich, mathematical model using the set theory that includes sensor data, deduced data, actions performed after activity classification, confidence in activity classification, and the power consumed during context processing as a CoC. This model is domain-independent and also enables QoC parameters for each context element. This allows the development of a unified context-aware system that facilitates a user in all activities. Since the context is gathered using battery-operated smart devices, it is necessary to conserve energy. To conserve, the consumption should be measured. Here, within the context, the power information is included in the context. This leads to an evolution of the context in an IoE environment, where the sensor data and deduced data are aggregated to form the context. This context is then processed, and classification outcome, confidence, set of actions, and the power information are appended to the context, thus creating the situation context. The context is a subset of the situational context which includes CoC elements.

For experimental results, context gathered using the app PowerIpsum is represented mathematically, and as part of the context, the power information is used as a CoC metric for deferring context processing, thus conserving power. The embedded sensors enable measuring power consumed and can be used to measure energy consumption as the context processing takes non-zero time. This is the first step toward energy conservation that could be achieved by developing rules to enable power-constrained context awareness.

For future work, the CoC needs to be expanded to include more non-functional metrics that can be used to execute constrained context-aware systems. The case study that has been included to support the claims assumes a single smartphone as a user's device. Currently, multiple devices have not been included in the proof of context. The complications and complexity of multiple devices for a single user are left for future work.

Data availability statement

The original contributions presented in the study are included in the article/supplementary material, further inquiries can be directed to the corresponding author.

Author contributions

UM: Conceptualization, Data curation, Formal analysis, Investigation, Methodology, Resources, Software, Validation, Visualization, Writing – original draft, Writing – review & editing. SH: Conceptualization, Data curation, Formal analysis, Investigation, Methodology, Project administration, Resources, Software, Supervision, Validation, Visualization, Writing – original draft, Writing – review & editing.

Funding

The author(s) declare that no financial support was received for the research, authorship, and/or publication of this article.

Conflict of interest

The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Publisher's note

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.

References

Abowd, G. D., Dey, A. K., Brown, P. J., Davies, N., Smith, M., and Steggles, P. (1999). “Towards a better understanding of context and context-awareness,” in Proceedings of the 1st International Symposium on Handheld and Ubiquitous Computing (ACM), 304–307. doi: 10.1007/3-540-48157-5_29

Crossref Full Text | Google Scholar

Alegre, U., Augusto, J. C., and Clark, T. (2016). Engineering context-aware systems and applications: a survey. J. Syst. Softw. 117, 55–83. doi: 10.1016/j.jss.2016.02.010

Crossref Full Text | Google Scholar

AlliedTelesis (2021). Designing Networks for IoT. Available online at: https://www.alliedtelesis.com/en/blog/designing-networks-iot (accessed September 8, 2021).

Google Scholar

Arduino (2021). Arduino. Available online at: https://www.arduino.cc/ (accessed April 1, 2021).

Google Scholar

Augusto, J. C., Quinde, M. J., Oguego, C. L., and Manuel, J. G. (2022). Context-aware systems architecture (CaSA). Cybern. Syst. 53, 319–345. doi: 10.1080/01969722.2021.1985226

Crossref Full Text | Google Scholar

Bashir, M. F., Javed, A. R., Arshad, M. U., Gadekallu, T. R., Shahzad, W., and Beg, M. O. (2023). Context-aware emotion detection from low-resource urdu language using deep neural network. ACM Trans. Asian Low-Resour. Lang. Inf. Proc. 22, 1–30. doi: 10.1145/3528576

Crossref Full Text | Google Scholar

Bazire, M., and Brézillon, P. (2005). “Understanding context before using it,” in CONTEXT 2005: Modeling and Using Context (Springer), 29–40. doi: 10.1007/11508373_3

Crossref Full Text | Google Scholar

Berners-Lee, T. (2021). SOLID. SOLID Project. Available online at: https://solidproject.org/ (accessed April 2, 2021).

Google Scholar

Brown, P. J. (1995). The stick-e document: a framework for creating context-aware applications. Electr. Publ. 8, 259–272.

Google Scholar

Buchholz, T., Kupper, A., and Schiffers, M. (2003). “Quality of context: what it is and why we need it,” in Proceedings of the 10th Workshop of the OpenView University Association: OVUA'03, 1–14.

Google Scholar

Caiazza, C., Luconi, V., and Vecchio, A. (2024). Energy consumption of smartphones and IoT devices when using different versions of the http protocol. Perv. Mobile Comput. 97:101871. doi: 10.1016/j.pmcj.2023.101871

Crossref Full Text | Google Scholar

Camargo-Henríquez, I., and Silva, A. (2022). An activity theory-based approach for context analysis, design and evolution. Appl. Sci. 12, 1–23. doi: 10.3390/app12020920

Crossref Full Text | Google Scholar

Casillo, M., Colace, F., Conte, D., Lombardi, M., Sntaniello, D., and Valentino, C. (2023). Context-aware recommender systems and cultural heritage: a survey. J. Amb. Intell. Human. Comput. 14, 3019–3127. doi: 10.1007/s12652-021-03438-9

Crossref Full Text | Google Scholar

Chui, K. T., Gupta, B. B., Torres-Ruiz, M., Arya, V., Alhalabi, W., and Zamzami, I. F. (2023). A convolutional neural network-based feature extraction and weighted twin support vector machine algorithm for context-aware human activity recognition. Electronics 12:1915. doi: 10.3390/electronics12081915

Crossref Full Text | Google Scholar

Cisco (2016). Internet of Things. Cisco. Available online at: https://www.cisco.com/c/dam/en/us/products/collateral/se/internet-of-things/at-a-glance-c45-731471.pdf (accessed September 14, 2019).

Google Scholar

Coulouris, G., Dollimore, J., Kindberg, T., and Blair, G. (2011). Distributed Systems: Concepts and Design (5 ed.). Pearson. Available online at: https://ce.guilan.ac.ir/images/other/soft/distribdystems.pdf (accessed December 28, 2023).

Google Scholar

da Costa, V. C. F., Oliveira, L., and de Souza, J. (2021). Internet of everything (IoE) taxonomies: a survey and a novel knowledge-based taxonomy. Sensors 21, 1–35. doi: 10.3390/s21020568

PubMed Abstract | Crossref Full Text | Google Scholar

da Rosa, J. H., Barbosa, J. L., and Ribeiro, G. D. (2016). ORACON: an adaptive model for context prediction. Expert Syst. Applic. 45, 56–70. doi: 10.1016/j.eswa.2015.09.016

Crossref Full Text | Google Scholar

Dey, A. K. (2001). Understanding and using context. Pers. Ubiquit. Comput. 5, 4–7. doi: 10.1007/s007790170019

Crossref Full Text | Google Scholar

Dinh, L. T., Karmakar, G., and Kamruzzaman, J. (2020). A survey on context awareness in big data analytics for business applications. Knowl. Inf. Syst. 62, 3387–3415. doi: 10.1007/s10115-020-01462-3

Crossref Full Text | Google Scholar

Djoudi, B., Bouanaka, C., and Zeghib, N. (2022). Formal specification of non-functional properties of context-aware systems. Int. J. Organiz. Collect. Intell. 12, 1–31. doi: 10.4018/IJOCI.286175

Crossref Full Text | Google Scholar

Elgazzar, K., Khalil, H., Alghamdi, T., Badr, A., Abdelkader, G., Elewah, A., et al. (2022). Revisiting the internet of things: new trends, opportunities and grand challenges. Front. Internet Things 1:1073780. doi: 10.3389/friot.2022.1073780

Crossref Full Text | Google Scholar

Engelenburg, S. v., Janssen, M., and Klievink, B. (2019). Designing context-aware systems: a method for understanding and analysing context in practice. J. Logic. Algebr. Methods Program. 103, 79–104. doi: 10.1016/j.jlamp.2018.11.003

Crossref Full Text | Google Scholar

Filippetto, A. S., Lima, R., and Barbosa, J. L. (2021). A risk prediction model for software project management based on similarity analysis of context histories. Inf. Softw. Technol. 131, 1–18. doi: 10.1016/j.infsof.2020.106497

Crossref Full Text | Google Scholar

Freitas, L. O., Henriques, P. R., and Novais, P. (2021). “Uncertainty identification in context-aware systems using public datasets,” in 12th International Symposium on Ambient Intelligence (ISAmI 2021) (Salamanca, Spain: Springer), 115–125. doi: 10.1007/978-3-031-06894-2_11

Crossref Full Text | Google Scholar

Giarratano, J. C., and Riley, G. D. (2004). Expert Systems: Principles and Programming (4 ed.). Course Technology. Available online at: https://www.amazon.com/Expert-Systems-Principles-Programming-Fourth/dp/0534384471 (accessed December 28, 2023).

Google Scholar

Hashemi, M., and Sadeghi-Niaraki, A. (2016). A theoretical framework for ubiquitous computing. IJAPUC 8, 1–15. doi: 10.4018/IJAPUC.2016040101

Crossref Full Text | Google Scholar

Hassani, A., Medvedev, A., Haghighi, P. D., Ling, S., Indrawan-Santiago, M., Zaslavsky, A., et al. (2018). “Context-as-a-service platform: exchange and share context in an IoT ecosystem,” in 2018 IEEE International Conference on Pervasive Computing and Communications Workshops (PerCom Workshops) (Athens: IEEE), 385–390. doi: 10.1109/PERCOMW.2018.8480240

Crossref Full Text | Google Scholar

Hennessy, J. L., and Patterson, D. A. (2012). Computer Architecture: A Quantitative Approach (5 ed.). Burlington, BA: Morgan Kaufmann Publisher.

Google Scholar

Horng, G.-J. (2023). Advances of future IoE wireless network technology. Electronics 12, 1–2. doi: 10.3390/electronics12102164

Crossref Full Text | Google Scholar

Hussain, S., Mahmud, U., and Yang, S. (2020). Car e-talk: an iot-enabled cloud-assisted smart fleet maintenance system. IEEE Internet Things J. 8, 9484–9494. doi: 10.1109/JIOT.2020.2986342

Crossref Full Text | Google Scholar

Jagarlamudi, K. S., Zaslavsky, A., Loke, S. W., Hassani, A., and Medvedev, A. (2021). Towards measurable efficient and effective metrics for quality and cost of context. Model. Using Context 4, 1–6. doi: 10.21494/ISTE.OP.2021.0684

Crossref Full Text | Google Scholar

Kaenampornpan, M., and O'Neill, E. (2004). “Modelling context: an activity theory approach,” in European Symposium on Ambient Intelligence (Eindhoven: Springer), 367–374. doi: 10.1007/978-3-540-30473-9_35

Crossref Full Text | Google Scholar

Keramatfar, A., Amirkhani, H., and Bidgoly, A. J. (2023). Multi-thread hierarchical deep model for context-aware sentiment analysis. J. Inf. Sci. 49, 133–144. doi: 10.1177/0165551521990617

Crossref Full Text | Google Scholar

Kirsch-Pinheiro, M. (2023). “The context awareness challenges for PIS,” in the Evolution of Pervasive Information Systems (Springer), 43–63. doi: 10.1007/978-3-031-18176-4_3

Crossref Full Text | Google Scholar

Klimek, R. (2022). “Police interventions as a context-aware system. a case of a contextual data modelling,” in 30th International Conference on Information Systems Development (ISD2022) (Cluj-Napoca, Romania: ISD), 1–12.

Google Scholar

Kouamé, K.-M., Mcheick, H., and Ajami, H. (2020). Adaptive mechanism model for the prevention of SLA violation in the context of COPD patient monitoring. Symmetry 12, 1–16. doi: 10.3390/sym12091575

Crossref Full Text | Google Scholar

Li, Y., Liao, C., Wang, Y., and Wang, C. (2015). Energy-efficient optimal relay selection in cooperative cellular networks based on double auction. EEE Trans. Wirel. Commun. 14, 4093–4104. doi: 10.1109/TWC.2015.2416715

Crossref Full Text | Google Scholar

Lueth, K. L. (2022). IoT Analytics. Available online at: https://iot-analytics.com/iot-2021-in-review/ (accessed December 28, 2023).

Google Scholar

Lupiana, D. (2017). Context modeling for context-aware systems. Int. J. Intell. Comput. Res. 8, 807–816. doi: 10.20533/ijicr.2042.4655.2017.0099

Crossref Full Text | Google Scholar

Mahmud, U. (2012). Context Aware Paradigm For Pervasive Computing Environments: A study of context aware systems and implementation. Koln, Germany: LAP Lambert Academic Publishing.

Google Scholar

Mahmud, U. (2016). “Organizing contextual data in context aware systems: a review,” in Handbook of Research on Human-Computer Interfaces, Developments, and Applications, eds. J. Rodrigues, P. Cardoso, J. Monteiro, and M. Figueiredo (Hershey, PA: IGI Global), 273–303. doi: 10.4018/978-1-5225-0435-1.ch011

Crossref Full Text | Google Scholar

Mahmud, U., Farooq, U., Javed, M. Y., and Malik, N. A. (2012). Representing and organizing contextual data in context aware environments. J. Comput. 4, 61–67.

Google Scholar

Mahmud, U., and Hussain, S. (2022a). PowerIpsum. GitHub. Available online at: https://github.com/umarmahmud5/PowerIpsum (accessed December 28, 2023).

Google Scholar

Mahmud, U., Hussain, S., Malik, A. J., Farooqui, S., and Malik, N. A. (2020). “Realizing IoE for smart service delivery: case of museum tour guide,” in Smart Systems Design, Applications, and Challenges, eds. J. M. Rodrigues, P. J. Cardoso, J. Monteiro, and C. M. Ramos (IGI Global). doi: 10.4018/978-1-7998-2112-0.ch010

Crossref Full Text | Google Scholar

Mahmud, U., Hussain, S., Sarwar, A., and Toure, I. K. (2022b). A distributed emergency vehicle transit system using artificial intelligence of things (DEVeTS-AIoT). Wirel. Commun. Mobile Comput. 2022, 1–12. doi: 10.1155/2022/9654858

Crossref Full Text | Google Scholar

Mahmud, U., Hussain, S., and Toure, I. K. (2022a). Gathering contextual data with power information using smartphones in internet of everything. Wirel. Commun. Mobile Comput. 2022, 1–14. doi: 10.1155/2022/4445751

Crossref Full Text | Google Scholar

Mahmud, U., Hussain, S., and Yang, S. (2018). Power profiling of context aware systems: a contemporary analysis and framework for power conservation. Wirel. Commun. Mobile Comput. 2018, 1–15. doi: 10.1155/2018/1347967

Crossref Full Text | Google Scholar

Mahmud, U., and Hussain, U. (2022b). “Measuring energy consumption of insertion sort to establish energy consumption dependency on execution time and memory allocation,” in 2022 International Conference on Future Trends in Smart Communities (ICFTSC) (Kuching: IEEE), 247–250. doi: 10.1109/ICFTSC57269.2022.10039867

Crossref Full Text | Google Scholar

Mahmud, U., Iltaf, N., and Kamran, F. (2007a). Context Congregator: Gathering Contextual Information in CAPP. Islamabad: Frontiers of Information Technology.

Google Scholar

Mahmud, U., Iltaf, N., Rehman, A., and Kamran, F. (2007b). “Context-aware paradigm for a pervasive computing environment (CAPP),” in WWW\Internet 2007 (Villa Real, Portugal), 337–346.

Google Scholar

Mahmud, U., and Javed, M. Y. (2012). Context inference engine (CiE): inferring context. IJAPUC 4, 13–41. doi: 10.4018/japuc.2012070102

Crossref Full Text | Google Scholar

Mahmud, U., and Javed, M. Y. (2014). “Context inference engine (CiE): classifying activity of context using minkowski distance and standard deviation-based ranks,” in Systems and Software Development, Modeling, and Analysis: New Perspectives and Methodologies (IGI Global), 65–112. doi: 10.4018/978-1-4666-6098-4.ch003

Crossref Full Text | Google Scholar

Mahmud, U., Malik, N. A., and Javed, M. Y. (2007c). “Future challenges in context aware computing,” in WWW\Internet 2007 (Villa Real, Portugal), 306–310.

Google Scholar

Malik, N. A., Mahmud, U., and Javed, M. Y. (2009). Estimating user preferences by managing contextual history in context aware systems. J. Softw. 6, 571–576. doi: 10.4304/jsw.4.6.571-576

Crossref Full Text | Google Scholar

Manzoor, A., Truong, H.-L., and Dustdar, S. (2008). “On the evaluation of quality of context,” in European Conference on Smart Sensing and Context (EuroSSC 2008) (Zurich: Springer), 140–153. doi: 10.1007/978-3-540-88793-5_11

Crossref Full Text | Google Scholar

Martyushev, N. V., Malozyomov, B. V., Khalikov, I. H., Kukartsev, V. A., Kukartsev, V. V., Tynchenko, V. S., et al. (2023). Review of methods for improving the energy efficiency of electrified ground transport by optimizing battery consumption. Energies 16:729. doi: 10.3390/en16020729

Crossref Full Text | Google Scholar

Michalakis, K., and Caridakis, G. (2022). Context awareness in cultural heritage applications: a survey. J. Comput. Cult. Heritage 15, 1–31. doi: 10.1145/3480953

Crossref Full Text | Google Scholar

Mitchell, T. (1997). Machine Learning. London: McGraw-Hill.

Google Scholar

Ogbuabor, G. O., Augusto, J. C., Moseley, R., and van Wyk, A. (2022). Context-aware system for cardiac condition monitoring and management: a survey. Behav. Inf. Technol. 41, 759–776. doi: 10.1080/0144929X.2020.1836255

Crossref Full Text | Google Scholar

Poelker, C. (2013). Smartphones, Bigdata. Computer World. Available online at: https://www.computerworld.com/article/2473730/smartphones–big-data–storage-and-you.html (accessed April 2, 2021).

Google Scholar

Raspberry Pi Foundation (2021). Raspberry Pi. UK: Raspberry Pi Foundation. Available online at: https://www.raspberrypi.org/ (accessed April 2, 2021).

Google Scholar

Riaz, M., Kiani, S. L., Lee, S., Han, S.-M., and Lee, Y.-K. (2005). “Service delivery in context aware environments: lookup and access control issues,” 11th IEEE International Conference on Embeded and Real-Time Computing Systems and Applications (IEEE), 455–458. doi: 10.1109/RTCSA.2005.94

Crossref Full Text | Google Scholar

Rizvi, S., Pipetti, R., McIntyre, N., Todd, J., and Williams, I. (2020). Threat model for securing internet of things (IoT) network at device-level. Internet Things 11, 1–21. doi: 10.1016/j.iot.2020.100240

Crossref Full Text | Google Scholar

Rosa, J. H., Barbosa, J. L., Kich, M., and Brito, L. (2015). A multi-temporal context-aware system for competences management. Int. J. Artif. Intell. Educ. 25, 455–492. doi: 10.1007/s40593-015-0047-y

Crossref Full Text | Google Scholar

Russell, S., and Norvig, P. (2010). Artificial Intelligence: A Modern Approach (3rd ed.). London: Pearson Education.

Google Scholar

Saleem, Z., Alhudhaif, A., Qureshi, K. N., and Jeon, G. (2023). Context-aware text classification system to improve the quality of text: a detailed investigation and techniques. Concur. Comput. 35:10. doi: 10.1002/cpe.6489

Crossref Full Text | Google Scholar

Samsung (2017). WD5500K with addwash. Available online at: https://www.samsung.com/pk/washers-and-dryers/washing-machines/wd5500k-with-addwash-8kg-gray-wd80k5410os-gu/ (accessed April 1, 2021).

Google Scholar

Samsung (2020). Samsung Galaxy S20. Available online at: https://www.samsung.com/pk/smartphones/galaxy-s20/ (accessed April 1, 2021).

Google Scholar

Schilit, B. N., Adams, N., and Want, R. (1994). “Context-aware computing applications,” in Proceedings of the 1994 First Workshop on Mobile Computing Systems and Applications (Washington, DC: ACM), 85–90. doi: 10.1109/WMCSA.1994.16

Crossref Full Text | Google Scholar

Schilit, B. N., and Theimer, M. M. (1994). Disseminating active map infrastructure to mobile host. IEEE Netw. 13, 22–32. doi: 10.1109/65.313011

Crossref Full Text | Google Scholar

Sezer, O. B., Dogdu, E., and Ozbayoglu, A. M. (2017). Context-aware computing, learning, and big data in internet of things: a survey. IEEE Internet Things J. 5, 1–27. doi: 10.1109/JIOT.2017.2773600

Crossref Full Text | Google Scholar

Sheng, Q. Z., and Benatallah, B. (2005). “ContextUML: a UML-based modeling language for model-driven development of context-aware Web services,” in International Conference on Mobile Business (ICMB'05) (Sydney: IEEE), 206–212. doi: 10.1109/ICMB.2005.33

Crossref Full Text | Google Scholar

Sheng, Q. Z., Pohlenz, S., Jian, Y., Wong, H. S., Ngu, A. H., and Maamar, Z. (2009). “ContextServ: a platform for rapid and flexible development of context-aware Web services,” in Vancouver: IEEE 31st International Conference on Software Engineering. doi: 10.1109/ICSE.2009.5070570

Crossref Full Text | Google Scholar

Stallings, W. (2016). Computer Organization and Architecture: Designing for Performance (10 ed.). London: Pearson. Available online at: http://williamstallings.com/COA/ (accessed December 28, 2023).

Google Scholar

Statista (2020). Internet of Things (IoT) connected devices installed base worldwide from 2015 to 2025. Available online at: https://www.statista.com: Available online at: https://www.statista.com/statistics/471264/iot-number-of-connected-devices-worldwide/ (accessed September 27, 2021).

Google Scholar

Swenja, S., Gerst, N., Keller, C., and Thomas, S. (2022). Defining a context model for smart manufacturing. Procedia Comput. Sci. 204, 22–29. doi: 10.1016/j.procs.2022.08.003

Crossref Full Text | Google Scholar

Thi, T. P., Le DInh, T., Pham-Nguyen, C., and Nam, L. H. (2022). A knowledge-based model for context-aware smart service systems. J. Inf. Telecommun. 6, 141–162. doi: 10.1080/24751839.2021.1962105

Crossref Full Text | Google Scholar

Unger, M., Shapira, B., Rokach, L., and Livne, A. (2018). Inferring contextual preferences using deep encoder-decoder learners. New Rev. Hyperm. Multimedia 24, 262–290. doi: 10.1080/13614568.2018.1524934

Crossref Full Text | Google Scholar

Vaya, D., and Hadpawat, T. (2019). “Internet of everything (IoE): a new era of IoT,” in Proceedings of the 2nd International Conference on Communications and Cyber Physical Engineering (Pune: Springer), 1–6. doi: 10.1007/978-981-13-8715-9_1

Crossref Full Text | Google Scholar

World Economic Forum (2021). Fourth Industrial Revolution. Available online at: https://www.weforum.org/focus/fourth-industrial-revolution (accessed April 1, 2021).

Google Scholar

Zhu, Q., Wang, S., Cheng, B., Sun, Q., Yang, F., and Chang, R. N. (2018). Context-aware group recommendation for point-of-interests. IEEE Access 6, 12129–12144. doi: 10.1109/ACCESS.2018.2805701

Crossref Full Text | Google Scholar

Zouhaier, L., Daly, Y. H., and Ayed, L. J. (2013). “Context awareness systems: architecture and context modeling,” in International Conference on Control, Engineering and Information Technology (ICEIT'13) (San Fransisco: IPCO), 130–135.

Google Scholar

Keywords: context, contextual data, cost of context, power information, IoE

Citation: Mahmud U and Hussain S (2024) Augmenting context with power information for green context-awareness in smart environments. Front. Comput. Sci. 6:1365500. doi: 10.3389/fcomp.2024.1365500

Received: 04 January 2024; Accepted: 20 February 2024;
Published: 07 March 2024.

Edited by:

Luca Davoli, University of Parma, Italy

Reviewed by:

Dipesh Vaya, Sir Padampat Singhania University, India
José Alberto Hernández-Aguilar, Autonomous University of the State of Morelos, Mexico

Copyright © 2024 Mahmud and Hussain. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

*Correspondence: Shariq Hussain, shariq@fui.edu.pk

Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.