HOME JOURNALS CONTACT

Information Technology Journal

Year: 2014 | Volume: 13 | Issue: 16 | Page No.: 2602-2610
DOI: 10.3923/itj.2014.2602.2610
A New Approach for Enabling Context-Awareness Towards People-centric and Smarter Applications
Veeramuthu Venkatesh, Pethuru Raj, V. Vaithiyanathan and Rengarajan Amirtharajan

Abstract: In this study, a new approach for deriving right and relevant context information was introduced by exposing all kinds of disparate and distributed devices as RESTful services and a variety of minuscule sensors as event-emitters. We have leveraged the concept of Device Service Bus (DSB) for capturing and translating service messages from RESTful services to the target data fusion engine and similarly used Esper, the open source event processing engine, to capture streams of event messages from sensors. All the data embodied in these messages are extracted and interpreted by the data fusion engine (a policy-oriented data interpretation and dissemination software module) in order to emerge with actionable insights. The context-awareness algorithm is formalized and presented in this study. Finally, a new mathematical model for calculating the time complexity of the context-awareness algorithm was come out.

Fulltext PDF Fulltext HTML

How to cite this article
Veeramuthu Venkatesh, Pethuru Raj, V. Vaithiyanathan and Rengarajan Amirtharajan, 2014. A New Approach for Enabling Context-Awareness Towards People-centric and Smarter Applications. Information Technology Journal, 13: 2602-2610.

Keywords: middleware, context-awareness, Smart environments and RESTful services

INTRODUCTION

With the seamless connectivity and convergence of the physical world with the cyber world, a variety of smarter environments (Ko et al., 2013; Pantsar-Syvaniemi et al., 2012; Venkatesh et al., 2012, 2013a) like smarter homes (Xu et al., 2012; Venkatesh et al., 2013a, b), hospitals, cities, governments, grids, etc., can be quickly realized and sustained. Developers across the globe are enthused to conceive, concretize and deposit a growing array of smarter applications and services in publicly discoverable and accessible application stores and service repositories. These are touted as smarter in the sense that they can be leveraged deftly to understand the people’s real-world and real-time needs dynamically in order to conceive right services quickly, craft them insightfully and deliver them unobtrusively to right people at the right time and place via any netstudy, media and device.

The field of Information Technology (IT) (Conger et al., 2013) is on the transition mode. IT has been the business enabler thus far and it is destined for people empowerment. Understanding users’ needs in their current environments and accomplishing them in time are the growing expectations out of all the noteworthy advancements and accomplishments in IT. Transformational and trend-setting technologies are fast-emerging and evolving, processes are elegantly being stitched and synchronized to be innovation-filled, expensive and irredundant IT infrastructures are continuously optimized and simplified to be autonomic in their actions, enabling architectures are being accordingly adapted and adopted massively, repositories of adaptive applications and services are being produced and sustained, etc. Thus the days of deriving and supplying IT-enabled and knowledge-encapsulated physical services to the total society are not far away.

In technology-Sponsored Transformations, there are some well-known and pioneering trends sweeping the entire Information Technology (IT) field and hence there is no surprise to expect such kinds of sustainable innovations and scintillating transformations. Firstly, the digitalization spreads faster and deeper into every common, casual and cheap article in our professional as well as personal environments these days. There are several promising and potential digitalization and edge technologies (disappearing and disposable sensors, invisible dots, speckles, miniaturized tags and transceivers, micro and nano-scale stickers, smart dust, diminutive chips, implantable LEDs, etc.) for embedding appropriate smartness in everyday and ordinary artifacts to make them extraordinary in their operations, outputs and outlooks. Such empowered artifacts invariably exhibit the power of computation, communication, sensing and actuation so that they can join in the mainstream computing. All these clearly illustrate the emergence of smarter environments, applications and services in plenty.

Describing context-aware computing, today’s compute machines could accomplish what is programmed to do. Based on the inputs and the insights engraved in software libraries, computers running the software would do the programmed ones faithfully and do not do anything beyond that (Al-Sultan et al., 2013; Chen et al., 2011; Zhang et al., 2013). How to empower computers to be smart and adaptive in their actions and reactions based on the changes in the context/situation is the moot question being posed for several decades. There have been viable and valuable approaches being prescribed by many researchers but the success rate is abysmally low. How to feed computers with the right and relevant knowledge in order to enable them to act differently has been invigorating many scientists, scholars and students across the globe. Context-aware computing is all about the study of different enabling mechanisms to make computers context-aware. Not only computers every kind of device in our home, study and social environments is being accentuated to be situation-aware so that their utility and usability go up significantly for mankind. Context-aware applications and services are being insisted vehemently these days as the world is all set to realize a bevy of smarter environments. Precisely speaking, context-awareness is an important ingredient for instigating and instituting smarter systems, netstudys and environments.

In expanding device ecosystem, the tough and rough passage from the mainframe and the pervasive PC cultures to trendy and handy portables, handhelds and wearable’s, disappearing implantable’s, invisible tags, stickers, labels and chips and slim and sleek mobiles subtly and succinctly conveys the quiet and ubiquitous transition from the centralization to the decentralization mode. This path-breaking trend however brings the difficult and dodging issues of heterogeneity, multiplicity and incompatibility. That is, all kinds of participating devices, machines, instruments and electronics in our personal as well as professional environments need to be individually as well as collectively intelligent enough to discover one another, link, access and use to be competent and contributive to accomplish bigger and better things for humans. The end-result is that constructing and managing cross-institutional and functional applications in this sort of dynamic, decentralized and distributed environments is laced with a few unpredictable possibilities. That is, there are chances for risky interactions among varied sensors and systems resulting in severe complications and unwanted implications for the safety and security of human society. Also it is envisioned that the future spaces will be highly digitalized environments with a fabulous collection of devices and digitalized artifacts, each is distinct in its face, feature and functionality.

The much-anticipated smartness is being achieved through squeezing multiple functional modules inside the device and the other important aspect is external integration with remote clouds. In cloud platforms, millions of personal as well as professional service components are being constructed, stocked and piously maintained. Devices can connect and download right and relevant services from the cloud service registry-repository on demand in order to provide premium services to the device users.

MATERIALS AND METHODS

Emergence of smarter environments: There have been delectable impacts of information and communication technologies on businesses and societies in multiple aspects. Individuals, innovators and institutions have been in the forefront in visualizing and building newer things for the betterment of the society.

The paramount trend in IT is nonetheless extreme and deeper connectivity. Every digitalized item gets connected with one another in the vicinity as well as with the remotely held cyber applications in web, enterprise, mobile and cloud servers. Machine-to-machine (M2M) (Booysen, 2012) connectivity is the dominant and decisive paradigm enabling the generation and utilization of newer and nimbler people-centric services. There are unified, ambient and autonomic communication technologies, transport protocols, connectivity solutions, introspective middleware, etc., for propping up and propelling extreme connectivity amongst empowered and sentient materials, personal digital gadgets and gizmos while on the move, fixed, wireless, nomadic, portable and mobile devices, instruments, consumer electronics, equipment, etc. at the ground level with a litany of new-generation virtual applications at the cyber level via the open and public Internet infrastructure. This changing scenario is all set to pour out a cornucopia of next-generation services for making people the smartest in their decision-making and activities. The digital living is to dawn decisively.

The decisive trend is the concept of service-enablement. With the maturity and wider acceptability of the disruptive and transformative service paradigm, everything is set to be service-enabled. That is, every tangible element is capable of exposing their capabilities in the form of interfaces so that others directly or indirectly can find, bind, access and leverage the unique functionalities and features to achieve their needs programmatically. All kinds of dependencies and deficiencies are smartly wiped out with the usage of the service idea. Services hide devices and enable seamless and spontaneous interoperability and portability so that all device integration and interactions can become so smooth and can be monitored, managed, governed, secured and controlled.

The overwhelming recognition of these trends certainly placed a well-built and invigorating root to a number of new types of related disciplines such as the Internet of Things (IoT), the Internet of Everything (IoE), Ambient Intelligence (AmI), Cyber Physical Systems (CPS), smarter environments, etc. Providing apt provisions to populace when needed the most is lingering motto cum the IT vision. IBM has come out with a new slogan called the Smarter Planet (the foundational and fundamental concepts are instrumentation, interconnectivity and intelligence). In short, enabling elements with cutting-edge digitalization, distribution and industrialization technologies, mass consumerization of IT, facilitating deeper connectivity and service-enablement are the key differentiators and drivers for the ensuing knowledge-driven, service-oriented and cloud-enabled era. Smarter Homes are one of the prominent smarter environments (Xu et al., 2012). The outcomes of smarter homes are many including making users’ lives more productive, healthier and happier. The leading service areas are:

Enhanced care, comfort, convenience and choice: The dreamt digital living is the first use case for smarter homes. All sorts of devices and other smart materials inside homes are capable of interacting with themselves and with remote cloud applications. There are multiple ways of interactions such as peer-to-peer, centralised, decentralized, hybrid, policy/rule and semantics-based interactions. Many manual things could get automated through device integration thereby home owners and occupants could receive a stream of sophisticated and smarter services
Energy management: With the number of devices goes up, the electricity consumption is bound to go up sharply. Thus the concepts such as the Internet of Energy (IoE), smart grids, etc., have blossomed in the recent past. Smart grids persuade all time residence application managing in order to give preference to energy provisions at the same time as being economical. Including automatic harmonizing lights, electronic machines, ambience and environmental feelers, all household smart objects consume nominal energy as per the varying home environment provisos
Asset monitoring and management: All kinds of home-bound digitalized assets and articles can be remotely monitored, diagnosed, repaired and managed to ensure their continued operations and to cut costs of operations, maintenance and enhancements. Similarly all kinds of home automation systems, kitchen utensils, consumer electronics, media players, entertainment, edutainment and infotainment gadgets and gizmos, healthcare instruments, Wi-Fi gateways, cameras, etc.
Safety and security: Physical security is an interesting phenomenon as far as homes are concerned. Multiple types of security alert systems are hitting the market these days. Now is the trend of rendering discounts to central alarm services that comprise of IP surveillance cameras and sensors. They increase the security by deploying sensors that right away detects the people or other emergency units. These indeed are really helpful for the check of inmates’ protection
Health and wellness: The Ambient Assisted Living (AAL) trend has been touted as one of the prominent use cases for smarter homes. Especially in developed countries, aged, debilitated, bed-ridden and diseased people are living alone. Thus technology-inspired self-servicing is an important requirement for them to live an independent living. Also care givers could remotely monitor their loved ones so that if there is medical emergency, nurses and doctors can be immediately dispatched to the needy with all the medical treatment history details. Healthcare monitors could ad infinitum supervise their patients through set in devices devoid of hospitalization. Elegant sensors observe condition, welfare, advanced body parameters etc., consistently and report them immediately if there is any breaking of threshold value. Medical electronics in synchronization with scores of sensors inside homes can collect and evaluate the health condition for effective disease management and prevention
Smarter home application stores: There are myriads of application stores and service repositories in cloud environments for enabling high-end mobile phones, tablets, notebooks and other portable devices smarter these days. Now with the explosion of generic as well as specific devices, wearable’s, implantable’s, etc., for home use, there will be dedicated application stores in remote clouds for storing and delivering numerous new-generation services and applications to these devices to function in a smarter manner

A new approach for context-awareness: The importance of context-aware computing is gaining momentum these days as context/situation information is very critical for empowering every kind of electronic devices, IT systems and business services to be distinctive and decisive in their operations and outputs. The days of accomplishing only pre-planned, pre-designed and pro-programmed services through compute machines are coming to an end. Capturing and supplying users’ context details in time goes a long way in realizing next-generation devices that understand people’s needs and do participate insightfully in accomplishing and delivering the identified needs instantaneously.

As indicated above, devices are getting service-enabled in order to facilitate risk-free ad hoc, seamless, spontaneous and frictionless interactions to automate discrete as well as composite processes and to accomplish all identified needs of users. Messages are the main mechanism for services to interact with one another. There are service and messaging middleware in plenty to do all the support and infrastructural services (routing, mediation, discovery, enrichment, arbitration, aggregation, dissemination, translation etc.). In the service era, Enterprise Service Bus (ESB) is the principal standards-compliant middleware suite. Product vendors release ESBs as a full-fledged, well-integrated and end-to-end product suite and as a collection of modular middleware services. Similarly there are event-emitting sensors that continuously monitor their environments and report if there is any state change in the form of event messages that embed the actionable data. There are event processing engines from different leading product providers.

Service Oriented Device Architecture (SODA): Service Oriented Architecture (SOA) (Wang and Wang, 2014; Abdul-Manan and Hyland, 2013) is the well-known enterprise-scale architectural pattern and principles for business applications and their modernization, composition and integration. However, there are a number of constraints for devices. Thus a device-specific SOA concept was formulated. This is being known as SODA. There are a few interesting device integration standards fully-complying with SODA. The standards include the open service gateway initiative (OSGi) (Cheng et al., 2012) and Device Profile for Web Services (DPWS), etc.

Device integration and orchestration: The OSGi stipulations specify a device-based and reckoning surrounding to paired overhaul. This provides ability for a device to automatically manage the lifecycle of its device services (components). If there is a need for any new services for devices, then those services can be found anywhere in the netstudy, download, configure and update them on the fly. If services are not found in the local netstudy, then they can be obtained from remote clouds. Software components can be replaced with better service implementations at runtime. Thus netstudyed and OSGi-enabled devices and servers are capable of meeting users’ requirements readily. That is, software portions get set up, configured, modified without disturbing the device’s operation. They are nothing but a collection which unearth and employ different elements.

OSGi alliance did generate various criteria of interfaces usable for different functions (Gopalan et al., 2013). They are very abundant as they permit multiples of small layers of elements to expeditiously collaborate a JVM.

Devices Profile for Web Services (DPWS): It was explicated to change impregnable service provisions on resource-restraint devices. As equated with all service oriented integration architectures, it has the boon of reliability on the established web standards. That means there is a soaring credence amidst creators. The DPWS has two chiselled roles, that is, clients and services. Top protocol stacks permit the customers to unearth, support to upshots through universal, common and overt protocols. Core transport components of DPWS are UDP (User Datagram protocol) and TCP/IP (Transmission Control Protocol/Internet Protocol) for exchange of datum which is done through HTTP protocol. Every message is in SOAP (Simple Object Access Protocol) format that is as per XML and is helpful in common Web Services.

A scenario description: Let us consider an environment wherein there are ‘n’ devices and sensors (hereafter termed as participants). Devices send out data messages whereas sensors emit event messages. As shown in Fig. 1, the RESTful services (Belqasmi et al., 2012; Fernandez-Villamor et al., 2014; Yang et al., 2012) (devices) and events (sensors) transmit their data in the form of messages. These messages are received, processed, enriched via the corresponding middleware solutions (ESB and Esper, the standards-compliant event processing engine). All the required translations and transformations are fulfilled by these software infrastructure solutions.

Fig. 1: Diagrammatic RESTful services overview

Once all the deficiencies and discrepancies of messages are overcome and the embedded data are extracted, then they are dispatched to the next level which is a data fusion engine. This is an interpretation and instruction module to extract the right and relevant information and knowledge. The data fusion engine supports searching, querying via SQL, filtering through policies and information visualization through a host of Business Intelligence (BI) and reporting solutions.

The ultimate output of the data fusion engine is the context/situation details in a preferred format. The context information can then be forwarded to the appropriate target devices in order to contemplate appropriate counter measures and activate processes to initiate the desired activities. The context information capture process is synchronized together in the form of an algorithm.

Context-awareness algorithm:

RESULTS AND DISCUSSION

A next-generation patient monitoring and management system typically comprises of multiple types of sensors, medical instruments, measurement devices, wearable devices and their ad hoc netstudys, a variety of actuators such as robots, LED lights and alarms, scores of personal gadgets, doctors, caregivers, cyber services hosted in remote cloud servers and finally patients. The above-mentioned digitalized artifacts, healthcare applications and electronics that are implanted, installed and instilled in a patient’s room and body constantly produce actionable messages by closely monitoring patient’s each and every activity (his/her presence, movements, gestures, any change in health condition and physical parameters, needs, etc.). These devices also can transmit all kinds emanating signals and symptoms instantaneously to remote nurses and medical practitioners. As explained above, these messages, whether data or event, are carefully captured, transformed according to the target environment by a cluster of diverse middleware solutions being employed in this system and communicated to the data fusion engine in order to interpret and to discover right and relevant knowledge to act upon with all clarity and confidence.

Algorithm complexity calculation method: Primarily there are three complexities associated with any computational algorithm time, space and energy complexity a new mathematical model for time-complexity identification for the above-mentioned context-awareness algorithm was proposed here.

A mathematical model for the time and space complexity calculation for sensor networks: The mathematical model delineates a system using mathematical concepts and its semantics. This proposed model hence gives you the detailed study and the effects of different components and to make predictions about behaviour. Here the time complexity specifies the total time taken by the entities (devices and participants) including the time for their detection, propagation delay, conversion, fusion and finally for complex event processing. The space complexity includes the memory used for data conversion, for storing the obtained values and so.

The identifiers that are going to specify in the equations are explained as follows:

Sensor-some time to detect:

(1)

where, t is the time by individual sensor from n sensors memory-occupies some time to store values in memory:

(2)

where each sensor (from n) is m propagation delay time to transfer to mote:

(3)

where, p is the propagation delay by each sensor to mote (processor) data conversion one unit another unit:

(4)

where, dc is the data conversion of each sensor data fusion different sensors values and rules:

(5)

where, J is the event like (noise, temp), M is the number of occurrence, Complex event processing is calculated from values taken from n such sensors based on look up table (based on the previous stored values about the past events):

(6)

Hence, the total time for the process is:


(7)

If there are n such sensor are considered then, the total time to retrieve the data from the memory will increase to Eq. 8 from Eq. 2:

(8)

Similarly data fusion by varying J = Event like (noise, temp) and k = No. of occurrence will be calculated as in equations:

Summation of “n” squares:



(9)

So, the overall time for n sensors, memory, data conversion, complex event processing and occurrences will be:

(10)

If we assume time is equal for sensors propagation delay, data conversion and complex event processing then the Eq. 7 becomes:

(11)


By adding all the outputs:


(12)

For memory calculation:

i. No memory space only time
ii. Occupy some memory to store values

(13)

iii. It will not occupy any memory space
iv. Data conversion, in this the memory taken will be increased/decreased depending the data conversion, e.g., If we want to convert binary to hex it will occupy more memory space. Similarly if we convert hex to binary it will occupy less memory:

(14)

v. Sensor will have some memory we can write this equation as:

(15)

where:
u = Event
v = No. of occurrences

(16)

By integrating all the outputs:

Summation of “n “squares:

By adding all the outputs:

(17)

By considering that only some memory will occupy (almost equal) for memory (ii) and complex event processing (vi) then:


(18)

Table 1: Context-aware framework characteristics

By adding all the outputs:

(19)

Several aspects into consideration were taken while formulating this mathematical model. This model can be further customized according to the variations expected in a smarter environment.

Context-aware framestudy advantages: This framestudy is comparatively better than Zhang et al. (2013) because of several reasons as illustrated in the following Table 1.

CONCLUSION

There are multiple approaches and mechanisms proposed by various researchers on simplifying and streamlining context-aware computing. But there is not much progress on this front. With the overwhelming acceptance of the service paradigm, Event Driven Architecture (EDA) and cloud-hosted applications, most of the systems are case-impelled and service aimed constructs producing service and event messages. We have used integration platforms for data capture and transformation and built a specialized data fusion engine for data interpretation and knowledge discovery and visualization. Besides the new approach for context-awareness, we have incorporated a mathematical model that goes a long way in computing the time complexity as sensors and actuators are the eyes and ears of next-generation environments like personal, professional, social, etc.

REFERENCES

  • Abdul-Manan, M. and P. Hyland, 2013. A framework for assessing enterprise-wide SOA implementation readiness. Int. J. Intell. Inform. Technol., 9: 21-37.
    CrossRef    Direct Link    


  • Al-Sultan, S., A.H. Al-Bayatti and H. Zedan, 2013. Context-aware driver behavior detection system in intelligent transportation systems. IEEE Trans. Veh. Technol., 62: 4264-4275.
    CrossRef    Direct Link    


  • Belqasmi, F., J. Singh, S.Y. Bani Melhem and R.H. Glitho, 2012. SOAP-based vs. RESTful web services: A case study for multimedia conferencing. IEEE Internet Comput., 16: 54-63.
    CrossRef    


  • Xu, B., Y. Ge, J. Chen, Z. Chen and Y. Ling, 2012. Elderly personal safety monitoring in smart home based on host space and travelling pattern identification. Inform. Technol. J., 11: 1063-1069.
    CrossRef    Direct Link    


  • Booysen, M.J., 2012. Machine-to-Machine (M2M) communications in vehicular networks. KSII Trans. Internet Inform. Syst., 6: 529-546.
    Direct Link    


  • Cheng, S.T., C.H. Wang and G.J. Horng, 2012. OSGi-based smart home architecture for heterogeneous network. Expert Syst. Applic., 39: 12418-12429.
    CrossRef    


  • Conger, S., J.H. Pratt and K.D. Loch, 2013. Personal information privacy and emerging technologies. Inform. Syst. J., 23: 401-417.
    CrossRef    Direct Link    


  • Chen, S., J.J. Lukkien and P.H.F.M. Verhoeven, 2011. Context-aware resource management for secure end-to-end QoS provision in service oriented applications. J. Ambient Intell. Smart Environ., 3: 333-347.
    CrossRef    Direct Link    


  • Fernandez-Villamor, J.I., C.A. Iglesias and M. Garijo, 2014. A framework for goal-oriented discovery of resources in the RESTful architecture. IEEE Trans. Syst. Man Cybern. Syst., 44: 796-803.
    CrossRef    Direct Link    


  • Gopalan, K., K. Sairam, R. Nandakrishnan and V. Venkatesh, 2013. Competent smart car parking: An OSGi approach. J. Artif. Intell., 6: 43-51.
    CrossRef    Direct Link    


  • Ko, S.M., W.S. Chang and Y.G. Ji, 2013. Usability principles for augmented reality applications in a smartphone environment. Int. J. Hum. Comput. Interact., 29: 501-515.
    CrossRef    Direct Link    


  • Pantsar-Syvaniemi, S., A. Purhonen, E. Ovaska, J. Kuusijarvi and A. Evesti, 2012. Situation-based and self-adaptive applications for the smart environment. J. Ambient Intell. Smart Environ., 4: 491-516.
    CrossRef    Direct Link    


  • Venkatesh, V., P. Raj and V. Vaithayanathan, 2012. A device middleware-based smart home environment for ambient health care. Proceedings of the 4th International Conference on Global Trends in Computing and Communication Systems, December 9-11, 2011, Vellore, TN., India, pp: 144-153.


  • Venkatesh, V., V. Vaithayanathan, P. Raj and R. Amirtharajan, 2013. An ambient assisted living for smart home to wealthy life: A short review. Res. J. Inform. Technol., 5: 1-11.
    CrossRef    Direct Link    


  • Venkatesh, V., V. Vaithayanathan, P. Raj, K. Gopalan and R. Amirtharajan, 2013. Envisioning smart hotels through spontaneous device integration. Res. J. Inform. Technol., 5: 226-233.
    CrossRef    Direct Link    


  • Wang, H. and S. Wang, 2014. Ontological map of service oriented architecture for shared services management. Expert Syst. Applic., 41: 2362-2371.
    CrossRef    Direct Link    


  • Yang, C., N. Chen and L. Di, 2012. RESTFul based heterogeneous Geoprocessing workflow interoperation for Sensor Web Service. Comput. Geosci., 47: 102-110.
    CrossRef    Direct Link    


  • Zhang, D., H. Huang, C.F. Lai, X. Liang, Q. Zou and M. Guo, 2013. Survey on context-awareness in ubiquitous media. Multimedia Tools Applic., 67: 179-211.
    CrossRef    Direct Link    

  • © Science Alert. All Rights Reserved