Next Article in Journal
Integration of Novel Sensors and Machine Learning for Predictive Maintenance in Medium Voltage Switchgear to Enable the Energy and Mobility Revolutions
Next Article in Special Issue
Few-Shot Personalized Saliency Prediction Based on Adaptive Image Selection Considering Object and Visual Attention
Previous Article in Journal
Gait Characteristics Based on Shoe-Type Inertial Measurement Units in Healthy Young Adults during Treadmill Walking
Previous Article in Special Issue
Gaze Tracking and Point Estimation Using Low-Cost Head-Mounted Devices
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Creating Personalized Recommendations in a Smart Community by Performing User Trajectory Analysis through Social Internet of Things Deployment

1
Faculty of Information and Communication Technology, Universiti Tunku Abdul Rahman, 31900 Kampar, Perak, Malaysia
2
Department of Computer Science and Information Engineering, National Taipei University of Technology, 1, Sec. 3, Chung-hsiao E. Rd., Taipei 10608, Taiwan
*
Author to whom correspondence should be addressed.
Sensors 2020, 20(7), 2098; https://doi.org/10.3390/s20072098
Submission received: 11 March 2020 / Revised: 2 April 2020 / Accepted: 3 April 2020 / Published: 8 April 2020

Abstract

:
Despite advancements in the Internet of Things (IoT) and social networks, developing an intelligent service discovery and composition framework in the Social IoT (SIoT) domain remains a challenge. In the IoT, a large number of things are connected together according to the different objectives of their owners. Due to this extensive connection of heterogeneous objects, generating a suitable recommendation for users becomes very difficult. The complexity of this problem exponentially increases when additional issues, such as user preferences, autonomous settings, and a chaotic IoT environment, must be considered. For the aforementioned reasons, this paper presents an SIoT architecture with a personalized recommendation framework to enhance service discovery and composition. The novel contribution of this study is the development of a unique personalized recommender engine that is based on the knowledge–desire–intention model and is suitable for service discovery in a smart community. Our algorithm provides service recommendations with high satisfaction by analyzing data concerning users’ beliefs and surroundings. Moreover, the algorithm eliminates the prevalent cold start problem in the early stage of recommendation generation. Several experiments and benchmarking on different datasets are conducted to investigate the performance of the proposed personalized recommender engine. The experimental precision and recall results indicate that the proposed approach can achieve up to an approximately 28% higher F-score than conventional approaches. In general, the proposed hybrid approach outperforms other methods.

1. Introduction

The Social Internet of Things (SIoT) is an emerging paradigm of the Internet of Things (IoT) in which heterogeneous IoT devices can communicate with each other, collaborate on behalf of their owners, establish relationships based on common interests, and autonomously perform service trading. SIoT is expected to enhance the features of existing distributed systems, such as service discovery and composition [1,2,3], information management [4,5,6,7], and service trustworthiness management [8,9,10]. Although SIoT has begun to be adopted in some domains, such as smart vehicles [11,12,13,14], smart homes [15], smart factories [16], and integrated transportation [17], current SIoT systems encounter numerous challenges that affect their usability and reliability in existing SIoT domains [18,19].
In general, IoT applications are developed to solve specific problems and usually do not share and use data from other IoT services to generate recommendations. Thus, the coordination among IoT services is inefficient because efforts to obtain similar datasets overlap [20]. SIoT systems can improve coordination among IoT services because these systems comprise an object profile based on the IoT data and accessibility of each IoT device or component. SIoT networks enable objects to establish social relationships autonomously and thereby gain object popularity through coordination. These objects perform data exchange by joining different SIoT networks. SIoT networks can provide recommendation services to different IoT applications by referring to the data accessibility in each object profile. The content of the object profile gradually improves over time according to its owner’s experiences with and feedback on each previous recommendation. This demonstrates the importance of making credible and quality recommendations as a means of acquiring the object equivalent of social capital and attaining object popularity.
Personalization and recommendation are two key prerequisites in SIoT systems that enable delivery of a promising service [21]. Both prerequisites are essential to producing a high satisfaction level for SIoT solution that matches the preferences of the user. IoT applications in the community should establish trust to ensure reliable interactions between relevant stakeholders to reduce exposure to malicious entities. A crucial problem in personalized recommendations is the generation of alternative solutions when the service provider fails to provide the requested service. Furthermore, the alternative solution must be calibrated to fulfill the preferences of the user. The aforementioned problem has a broad scope and poses greater challenges to existing recommender systems. The difference between generic and personalized recommendation is shown in Figure 1, as personalized recommendation requires input from a user profile to infer relevant output to a user. A user profile contains relevant personal data (e.g., user behavior, location history, and transaction) collected from different sources (e.g., user activities, IoT devices, and service interactions), and allows recommendation by referring to user preferences.
A recommender system is mainly based on information discovery and information filtering. According to Bobadilla et al. [22], a recommendation is influenced by the data collection method (including the data preprocessing and ranking methods), data filtering algorithm (e.g., content-based, collaborative, and hybrid algorithms), selected data model (e.g., memory-based and model-based methods), techniques employed for reasoning (e.g., probabilistic approaches and neural networks), data sparsity, and system performance management. According to our previous study [23], location-based smart information systems can use the mobile trajectories of users to recommend several points of interest according to user preferences and conditions. The trajectory data can be obtained from relevant sensors embedded in mobile phones, wearable gadgets, and smart environment (e.g., buildings, and check-in points). Many existing solutions detailed in the literature focus on modifying the service layer. These solutions involve providing recommendations to users based on static information, such as preloaded service details (e.g., location and type) in an area and the current user position. Often, limited choices are generated that do not comport with actual human needs.
The major contribution of this article is a personalized recommendation system suitable for service discovery in a smart community, specifically SIoT networks. In particular, the novelty of this study lies in the following aspects:
(a)
a trajectory analysis framework that applies user location histories, specifically the trajectories of users with similar behavior and movement patterns,
(b)
the adoption of the knowledge–desire–intention (KDI) model [23] to collect user data explicitly (e.g., ratings for items) and implicitly (e.g., location history and number of orders) from profile users, and
(c)
a hybrid reasoning approach to leverage the available trajectory-based and contextualized data in performing personalized recommendations.
We adopt the link analysis (LA) method proposed by Zheng et al. [24,25] to capture the location correlation to achieve more effective and accurate item-based collaborative filtering (CF) [26], which can generate both generic and personalized recommendations. However, our framework is different from that of Zheng et al. in three aspects. First, we adopt KDI hierarchical belief modeling [27] for user profile. The Slope One algorithm [24] is applied with a simple linear regression model to solve the recommendation problem. Second, we use a user feedback mechanism for fine-tuning items’ weight vectors after each session of recommendation generation to avoid the issue of local optimization. Third, the proposed framework is based on domain-independent user trajectory analysis, which is suitable for all types of IoT applications. Such a framework is appropriate for SIoT environments with various domains of intelligent systems that can interact closely.
Besides, we examine the proposed personalized recommendation framework in two stages. In a previous study, we investigate the performance of the recommender engine in terms of its ability to handle a smart campus dataset from UniCAT [23]. We also conduct a study previously in which we experimentally investigate the characteristics of various filtering algorithms for recommending a place to visit. In the experiment, the trajectory records of 100 active users over 1 year are used for evaluation. The UniCAT dataset contains many new student profiles and only a limited number of user trajectory records, representing a cold start scenario. Under the same settings, our hybrid approach outperformed the baseline and CF methods (the proposed approach had higher precision and recall). This result indicates that the accuracy of the CF method can be improved using a more sophisticated knowledge base to support the personalization process. An increase in accuracy allows an improvement in the satisfaction with the overall result. In the second stage, we enlarge the scale of the recommender engine through several experiments and benchmarking processes to support different datasets. The four selected datasets, namely GeoLife [28], Weeplaces [29], Brightkite [30], and Gowalla [29], suitably represented the application of intelligent services in a smart community. The experimental precision and recall results indicated that the proposed hybrid technique can achieve up to an approximately 28% higher F-score than conventional approaches can. In general, the proposed personalized recommendation method outperforms other methods.
The rest of this paper is organized as follows: Section 2 introduces the background of the study that involves SIoT architecture and a use case scenario, and various recommendation methodologies. Section 3 illustrates the overall implementation and challenges of personalized user trajectory analysis in a smart community. Section 4 describes the proposed personalized recommendation framework for smart communities, including its relevant components. Section 5 describes the implementation of the proposed SIoT system as well as comparison and measurement criteria. Section 6 presents the experimental results and a comparison of the proposed method with several benchmarking approaches. Section 7 outlines the conclusions and future research directions.

2. Background

2.1. SIoT

Lately, developing the paradigm of an ecosystem that can enable users and smart objects to interact within a social framework has received considerable attention from the academic and industry sectors [6,9,10,31,32]. In general, a social relationship exists among smart objects, the digital space, and users. User–object and object–object social relationships have evolved into SIoT, which imitates traditional social networking operations and features to establish relationships between IoT applications [21]. For instance, through data sharing and web technologies in SIoT platform, service providers in a smart community can offer various user-friendly IoT services (this process results in the development of strong user–object and object–object relationships). These smart objects connect through different SIoT network structures that allow them to perform autonomous and proactive interactions with other users and objects. Additional data or information shared by other IoT applications with an IoT service can further enhance and enrich the recommendation service. This article proposes a new framework to integrate the data from different IoT services.
State-of-the-art SIoT research has reviewed different SIoT platforms and architectures, service discovery and composition, relationship management, network navigability, and trustworthiness management in SIoT environments [19,21,33]. For service discovery, the interest similarity among users and the frequency of interaction between smart devices are considered to determine relevant social objects. Details such as demographic information, friendly relationships, and user interests are considered in the process of generating service recommendations [34]. Some studies have integrated various approaches to provide service recommendations [35]. However, these methods are still very domain-specific and require extensive study for further SIoT deployment. In this study, we select SIoT domain to demonstrate the proposed personalized recommendation framework because the framework has a suitable object profile construction capability and service recommendation function. These two features are the core elements of an SIoT platform. The proposed SIoT architecture is displayed in Figure 2.
In general, the user and things layers are clearly defined in an SIoT architecture. SIoT platforms enable things to establish social networks, and users can impose different policies to control the accessibility of interconnected autonomous entities. A new type of service delivery is the outcome of automated service composition between the things. We adopt SIoT architecture illustrated in Figure 2 for system development [27]. The sensing devices in the bottom layer of the architecture capture and transmit data from or to different IoT services through various network mechanisms, such as Long-Term Evolution (LTE), Worldwide Interoperability for Microwave Access (WiMAX), Wi-Fi, and satellite Internet. Users can access different IoT services by navigating through different Social Network Service (SNS) interface layers. The selected SNS interface should forward the appropriate user’s request to SIoT recommender system to trigger the relevant IoT services. The recommender system not only activates a system call function but also matches the profiles of related SNS users and subsequently recommends possible solutions to the service requestor.
Several essential perspectives must be considered by the recommender system in SIoT environments. First, the recommender system in a smart service prompts a user to select a social community according to the available choices. Thus, the system establishes a temporary social network where users can share their common interests and relevant information [21]. The recommender system brings together entities with similar objectives. Second, the recommender system collects data regarding service interaction and relationships (“user belief” in this research). Positive interaction records are able to foster trust, community, and an optimistic environment [31]. The system then performs trustworthiness management to yield better direct or indirect recommendations. For instance, even without strong evidence, a user may prefer entity A over entity B in a domain; however, the recommender engine should utilize indirect observations from other relevant domains to deduce one or more convincing alternatives. This technique is useful for solving the cold start issue [42] because many common attributes are found in different IoT applications and the incomplete information from highly related domains can be compensated for after convergence is achieved through a social network.
A summary of related works on recommender system with respect to different criteria (e.g., year of publication, data model, recommendation approach, research domain) is shown in Table 1. Most of the selected research papers focus on recommendation approaches that could be adopted in SIoT environment. From the summary, various data model and recommendation approaches are adopted in different research domains. User profiling does not exist in certain personalized recommendation approaches, which may cause difficulty in SIoT implementation. Without a user profile, those personalized recommendation approaches are mainly applied to a specific domain due to the limited data obtained from its user. Besides, the suitability of the approach for trajectory analysis is highlighted in the Table 1 as well.

Use Case Scenario

This subsection describes a use case scenario for the usage of a recommender engine across different disciplines in SIoT applications.
Michael is a university freshman. He is not used to several aspects of the university environment; for example, accommodation access, campus facilities (e.g., library and sports facilities), and transportation. Initially, Michael faces several difficulties simply because he has no idea where to turn for information during difficult situations. By exploiting various social relationships (classmates and other campus communities) that establish through several smart campus applications within the area, Michael finds it easier to adapt himself to the environment. A smart community app that provides personalized recommendations regarding the best place to stay, eat, visit, or play sports is highly valuable under these circumstances. Such an app would be able to provide recommendations to users by considering several factors, such as places near the user’s friends, facilities in the area, and accessibility of transportation. For instance, Michael plans to use the gym at the college at 5:00 p.m. by submitting his booking to the gym center. The booking system is unable to detect that Michael’s classmate John, who lives near his hostel, has also booked a similar time slot. Due to the strong relationship between Michael and John in the social network, sufficient data or beliefs exist to support the proposition that both have similar interests. Thus, the automatic appointment mechanism in SIoT platform will recommend that Michael and John make an appointment to exercise together. The smart community app then launches a carpooling application to solve the transportation problem. By matching users with similar needs, profiles, and perhaps even trajectory patterns, the app can provide freshmen information such as the best bus route and the most preferred restaurants. Such information sharing can be achieved by adopting a reliable intelligent SIoT platform within the campus community.

2.2. Recommendation Methodologies

Recommendation plays an increasingly important role in smart services. Recommendation systems provide users with a list of recommended items (e.g., products or locations) that they may be interested in (preferences) or predict how much a user might prefer each recommended item by assigning a confidence value [43]. Stai et al. [44] classified recommendation systems into four categories, namely content-based recommendation, demographic filtering, CF, and hybrid recommendation, according to the information filtering method used. Each method considers different factors to make a recommendation. For example, a content-based recommendation system [45] considers users’ past records and the characteristics of relevant items during filtering. The demographic filtering system [46] considers user characteristics (e.g., gender and age) as a reference model. The CF system [47] collects and analyzes the preferences and behaviors of users with similar backgrounds and subsequently predicts a list of potential items to recommend. Finally, the hybrid recommendation system [48,49] uses a combination of the aforementioned approaches or integrates other heuristic approaches [50] to overcome the weaknesses of individual methods.
Studies have indicated that users can exploit information from social networks to improve the accuracy of recommendations [51]. In general, four major recommendation approaches are commonly adopted by social networks for location-based analysis [42], as displayed in Figure 3. Considering the complexity of providing location-based recommendations, location-based recommendation systems (e.g., tourism recommendation systems) mainly provide generalized recommendations [49]. Conventional travel systems regularly recommend places to visit to users according to their travel agent’s opinions and tastes. These agents or experts may occasionally have limited knowledge regarding destinations and places of interest, and the recommendations offered by them may have been suggested by their colleagues within the same travel agency. The aforementioned scenario explains the LA approach [52,53] (an enhanced version of CF) that uses the user–object relationship to identify experienced users (travel agents) and interesting locations. The aforementioned information explains the applicability and benefits of LA in generating a list of recommendations. However, a personalized module is required that can further process the suggestions generated according to user profiles to yield superior recommendations. We believe that a hybrid approach that incorporates personalization is the optimal solution to the recommendation problem because this approach allows the balance between satisfaction and computational complexity to be shifted depending on users’ needs.

2.2.1. Content-Based Recommendation System

The content-based method [22] is the earliest approach to be adopted for use in a recommendation system. The content-based method involves using preferences extracted from user profiles (e.g., age, gender, and favorite activities) and features extracted from location data (e.g., tags and categories) to make recommendations [45]. In the content-based method, accurate and structured information must be extracted from user profiles and location features to obtain high-quality recommendations. Matching information between items (e.g., location) and users is the essential process. Three steps are involved in developing a content-based recommendation system: item representation, profile learning, and recommendation generation [54]. First, user trajectory records are collected through a location-based social network. Stay points (geographic regions where a user has stayed over a certain time interval within a distance threshold) or other features (e.g., the type of location and area) are then used to develop a location’s profile. Moreover, data on users’ preferences and behaviors are collected from the platform to develop user profiles. The required data are explicitly provided by users or implicitly collected. The content-based recommendation system extracts and computes the similarity of the features for the stay points and user to rank the recommendations. A list of the top N locations with high similarity are recommended to users.
Content-based recommendation systems are widely adopted when a significant amount of attribute information (feature extraction) is accessible. In general, content-based systems should combine structured (user profiles) and unstructured (text-rich object) attributes when providing recommendations. However, in current IoT environments, performing accurate feature extraction is still difficult due to the high variety in certain domains (e.g., multimedia content and eatery selection). With finite feature extraction and limited domain knowledge, a recommender system can only perform a very shallow analysis. Moreover, content-based systems emphasize matching users to objects that are similar to the objects they have liked in the past and ignore external influences. Such emphasis may lead to overspecialization, where users are restricted to recommendations for only those objects already rated by them [55]. Thus, a group of researchers introduced CF, in which community opinions are aggregated and group intelligence is leveraged to solve the recommendation problem.

2.2.2. Collaborative Filtering (CF)

CF overcomes the drawbacks of content-based recommendation systems by integrating community viewpoints. CF is based on the simple idea that if users X and Y rate some common items, their interests are considered similar. During recommendation generation, the recommender engine searches for items that exist in user X’s profile but not in user Y’s profile. These items are then ranked and recommended to user Y [56]. The CF method predicts that a user is more likely to visit a location if their preferences and past histories are similar to those of other users who have visited the location. Two types of CF exist: user-based [47,57] and item-based [58] CF approaches. User-based approaches use similarity measures between each pair of users, whereas item-based approaches use similarity measures between each pair of items [42]. In a location-based social network, the similarities between users or items (e.g., locations or activities) can be inferred from users’ ratings and trajectory histories.
CF involves three main aspects: user preference, the nearest neighbor, and recommendation generation [56]. Explicit and implicit rating are the two common rating methods used in CF. Explicit ratings are ratings given by a user to items on a sliding scale (e.g., 4/5 stars for a tourist attraction). Implicit ratings suggests user preference indirectly (e.g., page views, clicks, and purchase transactions). After capturing user preferences, the nearest neighbor of a user is located. The Pearson correlation coefficient and cosine similarity are commonly used for distance measurement. The similarity between two users (user1 and user2) with respect to their preference for an object (obj) is usually represented using the similarity metric presented in Equation (1). This similarity metric is used in many recommendation systems for performing trajectory analysis [59,60,61,62]. After generating the list of nearest neighbors, the system recommends the top N locations to the user according to the similarity values:
U s e r S i m ( u s e r 1 , u s e r 2 ) = o b j O B J r a t i n g ( o b j , u s e r 1 ) × r a t i n g ( o b j , u s e r 2 ) o b j O B J r a t i n g ( o b j , u s e r 1 ) 2   o b j O B J r a t i n g ( o b j , u s e r 2 ) 2
People have argued that under the CF model, a new location cannot be recommended to a user until a high number of users have rated the location [55]. Thus, CF suffers from the problem of data sparsity. According to a previous study [63], the CF method poorly handles the cold start problem. The cold start problem occurs when the system must process users or items with limited data. In this scenario, the recommendation model does not have sufficient knowledge to provide recommendations [42]. The user-based CF approach experiences problems in similarity model construction when the number of users is large; thus, the real-time performance of the system is affected. IoT applications always involve large numbers of users and items. The process of similarity model construction in CF can be very time consuming and presents a scalability challenge given the rapid growth of the Internet and wireless communications. Thus, the item-based inference approach is preferred in step 2 of the CF method due to its relatively stable performance and suitability for offline execution.

2.2.3. LA

LA algorithms, such as PageRank [52] and hypertext-induced topic search (HITS) [53], are widely used enhanced versions of the CF method. These algorithms utilize generic recommendation approaches to rank the large amount of available web content according to the co-citation concept. The concept of co-citation in LA is proposed by Small [64] to measure the similarity between scientific papers. Two papers are co-cited if a third paper has citations to both of them. This suggests the proposition that the author of a scientific paper will cite only papers related to their work. The PageRank value [52] for a page (u) is expressed as given in Equation (2). The PageRank value for a page (u) is dependent on the ratios between the PageRank values for each page contained in the set Bu (v) (Bu refers to the set recording all pages linking to page u) and the number of links from page v (L(v)). In this study, we apply LA for location history modeling. We capture the relationship between stay points and model multiple users’ location histories with a tree-based hierarchical graph for further processing. The application of the LA method is detailed in Section 4:
P R ( u ) = v B u P R ( v ) L ( v )
LA algorithms extract high-quality nodes from a complex network by analyzing the network structure. We use network theory to evaluate the connections between network nodes (points of interest in this study), discover anomalies that violate known patterns, and subsequently acquire new patterns from the analysis. The advantages of the LA method are mentioned in the following text. It considers users’ experiences when making recommendations, amplifies ratings from experienced users, and is robust against the cold start problem [24]. However, the LA method has a serious problem when a majority of users has visited most of the considered locations. In this situation, limited information is extracted for further recommendation because no significant pattern can be obtained from the user behavior. To overcome this drawback, a personalized recommender engine can be used to further customize the recommendation according to user preferences. Huang et al. [63] proposed the adoption of a score function where a user who has visited more locations needs to have more overlapping trajectories in order to have greater influential in a recommendation. Although the LA method improves on conventional CF, the issue of the low emphasis on implicit user preferences remains a problem in the LA method.

2.2.4. Hybrid Approach to Personalized Recommendation

Two or more recommendation methods are commonly combined to improve the accuracy of the recommendation results [65,66]. The combination of content-based and CF methods is one of the most popular hybrid approaches [67,68]. Other famous hybrid models are based on bioinspired and probabilistic methods, such as neural networks [40,69], genetic algorithms [70], deep learning [71], and Bayesian networks [72,73]. Some studies have attempted to combine the aforementioned methods in different forms to obtain superior recommendation results and to overcome the drawbacks of the individual methods. For example, content-based and CF methods require sufficient data regarding past ratings to provide accurate recommendations. We adopt a hybrid method in this study to address problems such as data sparsity and cold starts in CF, low customization for attribute selection in content-based methods, and the lack of personal preference consideration in LA.
With the advent of location-based social networks, recommendations based on the information (e.g., check-ins and location trajectory information) collected through these networks have attracted considerable research attention. Due to user preferences being highly accessible through social network interactions, personalization mechanism used by the recommender engine is of particular research interest. As mentioned in a previous study [74], most personalization systems are based on some type of user profile. These user profiles may contain static and dynamic data, which may align with short- or long-term user preferences. User profiles are generally represented as sets of weighted keywords [75], association rules [76], semantic networks [77], or weighted concepts [23,78]. The framework used in this study uses the dynamic form of user profiles because these profiles can grow with the implicit and explicit information collected from users and reflect changes in their preferences and behaviors. Furthermore, we adopt a tree-based hierarchical model with weighted concepts to represent user preferences (as described in Section 4.3). A hierarchical model is selected rather than a flat set model because the hierarchical model enables the collection of a large volume of data that are more generic [78]. When using the hierarchical model in user profiling, users can select the hierarchy level to obtain different amounts of detail; this enables a flexible recommendation. For instance, users can select a location from higher levels, such as “country,” or lower levels, such as “town,” according to their needs.
Zheng et al. proposed a hybrid recommendation system that integrates the location correlation method of LA models into the Slope One algorithm to achieve an effective and accurate item-based CF model [24,25] that can provide generic and personalized recommendations. In their system, a popularity score and hub score are assigned to each location and user, respectively, to track each user’s travel expertise. A ranking of expert users and interesting locations is computed through a mutually reinforcing relationship. Zheng et al. extended the HITS algorithm to identify experienced users and interesting locations in their hybrid recommendation model. The framework proposed in this paper integrates the location history model of Zheng et al. [24] with our user profile and knowledge construction module to deliver personalized recommendations in the smart campus application UniCAT [23].
UniCAT is used for several campus services, such as information sharing and dissemination, e-commerce, location navigation, and social networking [79]. Because of the positive initial finding, an in-depth investigation is conducted on the application of the proposed framework to a smart community. Compared with user check-in data, also known as point location check-in data, used by social network services (e.g., Facebook and Foursquare), user-generated trajectories contain richer information and can be used to more accurately estimate user preferences. The experimental results reveal the possible application of the proposed user trajectory framework in several SIoT domains. An experiment is conducted [39] to explore the feasibility of personalized recommendation adoption in SIoT domain. The paper presents a generic SIoT architecture that is suitable for a smart campus. The successful implementation of the model leads to a more comprehensive study of personalized recommendation and its performances in this paper.
The framework proposed in this paper is based on domain-independent user trajectory analysis, which can be adopted for any IoT application. We integrate personalized recommendation into the location-based social network by assisting each user to understand their surrounding (points of interest; POIs) with the knowledge collected from community records. Moreover, we maintain a sufficient level of uniqueness by filtering the recommendations according to the user profiles (e.g., user preferences and histories). The correlation between user trajectory analysis, personalized recommendation and SIoT environment is illustrated in Section 3 to provide the reader an overall view of our system implementation. Possible challenges of system implementation is discussed in the next section as well.

3. User Trajectory Analysis

Figure 4 illustrates the overall implementation of personalized user trajectory analysis within a smart community. User movement trajectories are collected through indoor and outdoor positioning data. A common Global Positioning System (GPS)–enabled device is used to obtain location information from a satellite network. An assisted GPS is used for obtaining location information when the network device is in a location where the penetration of satellite signals is limited. Information for indoor positioning is obtained from Bluetooth beacons installed on the walls or ceilings of buildings and POIs [80]. Several Estimote iBeacons (available from: https://developer.estimote.com/ibeacon/) are deployed at the main entrance of buildings (Figure 5) to capture the indoor trajectories of users. We adopt Wi-Fi-based trajectory alignment and calibration [81] to improve the accuracy of indoor positioning. Data from the location logs are delivered to Firebase (mobile and web platform) for further processing.
Figure 4 also indicates that the internal and external IoT devices and services can communicate with each other through web service calls (e.g., REST and SOAP) as well as the UniCAT smart community app. At the physical layer, the fundamental IoT modules (e.g., the information sharing, e-commerce, location navigation, transportation, and social networking modules) embedded with sensing, actuating, processing, and networking capabilities can offer different types of services that can be used by users and things to accomplish everyday activities, as displayed in Figure 6. Modern societies are heterogeneous, dynamic, and complex. People engage in interactions and establish unique social relationships with each other in communities developed according to several factors (e.g., common objectives, interests, needs, and influence). Social networking users interact and collaborate with each other to solve complex problems. Applications providing interactive and collaborative features are called SNSs. The concept of social networking can also be applied to IoT ecosystems. The social features of the IoT paradigm have given rise to a new concept of social networking with smart things and services, which is referred to as SIoT. The current high worldwide penetration of IoT applications has significantly increased the interaction between users and things. Thus, relationships are established not only between users but also between smart things and services.
An abstraction layer called the subcommunity network layer, which exists between the physical and global community layers, allows users and things from different communities to establish user–user, user–object, and object–object relationships based on several factors [9,21], such as common interests, common goals, friendships, and common owners. Service discovery plays an important role in SIoT environments because users and things require an efficient recommendation system to reduce the system load.
The recommender engine generates recommendations for users through the integration of various inputs from internal and external SIoT services. For instance, a dining place is recommended on the basis of trajectory analysis that takes into consideration a restaurant ranking provided by a social networking service (e.g., Foursquare). User personal preferences should be considered for the filtering of recommendations. As per the framework displayed in Figure 4, we adopt NoSQL to capture most of the system data, such as the location logs, user transactions, object interactions, and user preferences. The data are stored on cloud computing platforms (e.g., Google Cloud Platform and Amazon Web Services) for further reference. Section 4 presents the details of the recommender engine.

Issues and Challenges

The application of personalized recommendation in a smart community has considerable potential for future SIoT applications. Intelligent service discovery can produce new solutions to meet the growing and varying requirements of users. However, the following challenges remain to be addressed:
(1)
Data collection: An efficient data-capturing model is required to represent different levels of diversity in user beliefs and the social relationships of users.
(2)
Inference engine: A generic yet tailored approach (from generic to personalized) is required to offer users various customizable outcomes for recommendation.
(3)
Dynamicity and scalability: A recommendation system that can be applied to different problem domains is required. The system should scale out or scale in when no direct evidence supports an outcome.
The following section describes how the aforementioned challenges are addressed with the proposed personalized recommendation framework based on the KDI model.

4. Personalized Recommendation for Smart Communities

Figure 7 displays the overall architecture of the proposed personalized recommendation framework, which is an extension of our research work in user trajectory analysis [23]. We adopt the knowledge–desire–intention (KDI) model [23] to collect user data explicitly (e.g., ratings for items) and implicitly (e.g., location history and number of orders) to profile users. The collected user profiles contained data that are filtered and sorted using the KDI model according to the assigned weight and confidence level. The KDI model yields a hierarchical representation of user data that allows different IoT applications to be integrated with it. In contrast to many conventional recommendation systems, the proposed model allows different types of commonly available smart community user data, such as data related to food preferences, daily activities, purchasing records, and other factors, to be stored inside a user profile. We propose a novel hybrid approach that involves filtering location-based recommendations tailored to users’ preferences. We apply link analysis (LA) [24,52,53], which is an enhanced version of collaborative filtering (CF) [26], on user trajectories to generate the top N recommendations for various smart community services (e.g., information sharing and transportation). A filtering process is then performed according to the user profiles obtained using the KDI model. This approach combines the advantages of LA, which allows offline preprocessing of time-consuming and costly tasks prior to reasoning, and user profiling through the KDI model, which allows the generation of real-time personalized recommendations, to support SIoT environments that involve numerous dynamic user–object social relationships. The uniqueness of the proposed framework lies in the fact that it combines filtering and reasoning mechanisms to generate personalized recommendations in an SIoT environment.
Our proposed framework comprises the KDI modeling module [27], location history modeling module, knowledge mining module, knowledge base, inference engine, and most importantly, the personalized recommendation module. As mentioned in earlier, we adopt the LA method proposed by Zheng et al. [24] for the location history modeling and knowledge mining modules. The KDI modeling, location history modeling, and knowledge mining modules are executed offline in the proposed framework and preprocess user location logs and preferences. These offline components require higher load than the reasoning module, which is operated online. The personalized framework does not require the offline modules to be executed for every recommendation. The collected logs and preferences (both old and new) are reprocessed only after a certain amount of time (Tp). Let Tp be a dynamic threshold value that is determined by the percentage of new data added into the user profile and trajectory. For instance, when the accumulated new data (logs or preferences) are more than 2% of the total records, the weightage of the user beliefs and POIs must be updated to better reflect the user’s knowledge. Different metrics can be used to determine Tp, which is based on environment factors. If updating is performed too frequently, the updates will not reflect the changes in human behavior because such changes usually require time to emerge.

4.1. Data Capture

The proposed system captures user or object data, such as location history, transaction, and preference data, which are converted into user or object profiles for use in KDI modeling and location logs for use in location history modeling. As displayed in Algorithm 1, the user data are first converted into location points (LPs) and location logs. For each object, the user or object profiles include the time spent at the LPs; the point frequency, which is the number of visits made to an LP; the point recentness, which is the most recent time the user visited the LP; and the LP velocity, which is displacement per time. The aforementioned data serve as the input of the KDI and location history modeling modules for further analysis.
Algorithm 1. DataCapturing
Input: User transactions and preferences, userPref
Output: Generated user profiles and location logs
1LP = locationPointDetection(userPref);
2userLogs = locationLogsGeneration(userPref);
3Foreach user do
4  TS = durationCalculation(user, LP);
5  PF = pointFrequency(user, LP);
6  PR = pointRecency(user, LP);
7  LV = locationPointVelocity(user, LP);
8  userProfiles.add(TS, PF, PR, LV);
9Return userProfiles, userLogs;

4.2. KDI Model

Bloedorn et al. [78] suggested the use of a hierarchical model rather than a flat set model for user profile because a hierarchical model enables the recommendation system to be more generic in capturing a variety of data. The hierarchy levels can be fixed or dynamic according to user preferences. A simple user profile can be constructed from a reference taxonomy, and a complex profile can be constructed through a reference ontology. The aforementioned statement is in line with the proposed user profiling approach. In this research, user profiles are the user or object information recorded in the smart campus application. The profiles include the user or object preferences, location histories, and personal information provided by the users. The user or object preferences are fed into a belief system, which is based on the belief–desire–intention (BDI) model. Other profiling methods, such as weighted keywords, semantic networks, weighted concepts, or association rules, can also be used in the proposed framework [74]. We select the BDI model because this model is a type of computational model that resembles human reasoning [82]. The KDI model, which is an advancement of the BDI model, advocates and emphasizes that human beliefs are the fundamental elements on which human decisions are made [23]. In our experimental design, user preferences are set as beliefs that constitute a tuple with three attributes (item, weights, and level) and their corresponding values. Item refers to the smallest unit of data (e.g., color, place, or age) in a user or object profile, and weight represents the importance of the data unit through the calculation of parameters such as frequency, recency, and fixity. We adopt hierarchical belief modeling [27] to represent progressive levels of belief. This strategy is different from that used in conventional content-based methods. Three levels, namely temporary belief (raw data), analyzed belief (information), and permanent belief (knowledge), are assigned to each data unit by referring to its confidence vector that accumulates over time. The personalized recommendation framework utilizes and compares the relevancy of objects according to the given beliefs when making any decision. Feedback from every action taken is collected explicitly from the user to update the weight of each belief in every recommendation attempt.
In Figure 8, #J-CR, #K-FR, and #L-SP represent a user’s beliefs in the #J, #K, and #L domains, respectively. At the level of temporary belief, raw data are obtained from user records collected through interaction with various smart community apps. The frequency (f) and recency (R) of each belief are captured to determine their relative importance index. Only beliefs that achieve a certain level of importance (beyond a threshold value) are selected for further analysis. At the level of analyzed belief, a weight is assigned to each propositional belief, which is represented by the belief fixity (Fb). Let Fb indicate the confidence level of each user’s belief on the proposition. Moreover, an indicator of the reliability of a belief-forming process, RMb, is calculated. This parameter indicates the degree to which a set of beliefs is formed from a reliable or truth-conducive belief-forming process. The parameters Fb and RMb are used for escalating the relevant beliefs to the next level. At the level of permanent belief, the output from the previous stage is used to obtain the Gettier-centered justification (Jb) for each belief. Belief justification is the process of validating that a belief is connected to truthfulness and not to luck or coincidence. The threshold level of knowledge (K) is calculated to determine the ‘preferred’ and ‘nonpreferred’ beliefs. For instance, any belief with Jb greater than or equal to K is selected and ranked in the knowledge base. A similar action is also performed for the LPs in the user trajectories. Then, the knowledge threshold (K) becomes the reference point for all belief justifications in our knowledge base.
All beliefs are dispositional because they may be based on assumptions, fallacies, or impulses (all characterized by chance or uncertainty) and hence surrounded by doubts [27]. A model or system should not be completely reliant on beliefs surrounded by doubts. Therefore, any decision or output produced by beliefs cannot be completely relied on [83]. The KDI model aims to address this important drawback of a typical BDI model by considering knowledge as a more suitable element of reliable human decision-making than belief. The refinement or processing stages that the belief system undergoes in the KDI model are summarized and embedded in the proposed personalized recommendation framework.

4.3. Location History Modeling

In our personalized user trajectory recommender system, location history modeling involves deriving user trajectories from user location histories, as displayed in Algorithm 2. Location logs obtained from user location histories contain collections of GPS points. These points are connected sequentially according to their time series, and the GPS data are split into trajectories if the time interval between consecutive points exceeds a certain threshold (∆T). A tree-based hierarchical graph (TBHG) is used for modeling multiple users’ location histories [24]. A TBHG integrates two structures, namely a tree-based hierarchy and a graph, on each level. The tree-based hierarchy (H) is a collection of stay-point-based clusters (C). The tree indicates the parent–children relations at different levels, and the graph indicates the peer relations among nodes at the same level.
Algorithm 2. LocationHistoryModeling
Input: Collection of users GPS logs, userLogs
Output: Tree-Based Hierarchical Graph (TBHG)
1Foreach user do
2  trajectory = LogParsing(userLogs);
3  S = StayPointDetection(trajectory);
4  LocH = PersonalLocHis(S); //individual user
5  SP.add(S);   //collection of stay points
6H = HierarchicalClustering(SP);
7Foreach level do //build a graph on each level
8  Foreach user do
9    g = graphBuilding(g, LocH);
10    G.add(g);
11TBHG = (H, G);
12Return TBHG;
The trajectories are then converted into stay points. Stay points are geographic regions where a user has stayed over a certain time interval within a distance threshold. The dataset includes the stay points detected from users’ trajectories. By using a density-based clustering algorithm, the dataset is hierarchically clustered into some geospatial regions. Similar stay points from various users are assigned to the same clusters at different levels. Directed edges connect the tree-based hierarchy with users’ trajectories and clusters at the same level. If consecutive stay points on one path are individually contained in two clusters, a link is created between the two clusters in a chronological direction according to the time series of the two stay points. These clusters represent POIs.

4.4. Knowledge Modeling

For knowledge modeling, a HITS-based inference model is used to infer users’ travel experiences (hub score) and location interests (authority score) in a region, as depicted in Algorithm 3 (adapted from [24]). HITS is a search-query-dependent ranking algorithm that is often used for web information retrieval. In the knowledge model, a user’s visit to a POI (cluster) is considered a directed link from the user to the location.
Algorithm 3. LocationHistoryInference
Input: TBHG=(H,G) and users’ location histories, LocH
Output: Users’ hub scores, S and locations’ authority scores, A.
1S = A = ∅;
2Fori = 1; i < |L|; i ++ //on each level
3  For j = 1; j < |C|; j ++ //on each cluster on the level
4    For k = i + 1; k ≦ |L|; k ++ //on each sub-level
5      C = LocationCollecting(k, c, H);
6      M = MatrixBuilding(C, LocH);
7      (x,y) = HITS-inference(M);
8      S = (x);
9      A = (y);
10Return (S,A);
A user is a hub if they have visited many locations, and a location is an authority if it is frequently accessed by many users. By using a power iteration method, final scores are generated for each user and location. A user has multiple hub scores for different regions. Moreover, a location has multiple authority scores specified by its ascendant clusters at different levels because each cluster of the TBHG specifies an implied region for its descendant clusters. The calculations for the hub and authority scores are performed offline to ensure the efficiency of the recommendation system:
S i j l = u k U A l q k × v i j k   .
A l q k = c i j c l q v i j k × S i j l   .
Adjacent matrices (M) are constructed between users and locations according to the user access to the locations, which belong to the same ascendant cluster. A mutual reinforcement relationship exists between user travel experience (A) and location interest (S) in Equations (3) and (4). The subscripts i and j denote the ith level parameter of the jth cluster in the TBHG, Sl represents the lth location interest, and Ak represents the kth user travel experience. The score for each location sequence within a given region is calculated according to the travel experiences of users traversing the sequence and the locations of interest in the sequence. Because multiple paths begin from a location, the location interest is shared among all these paths. The location interest in different paths is influenced by the probability of users taking these paths. The results from knowledge modeling are location sequences that contain high scores. The resulting domain knowledge consists of interesting POIs and opinions of domain experts.

4.5. Recommendation Module

An inference engine is used in the recommendation module to make recommendations. The KDI model used in our personalized recommendation framework records the dataset in binary form to represent users’ likes and dislikes with respect to various propositional beliefs. This strategy allows the system to determine the frequency or number of belief occurrences. The time of visit is captured to determine the recency of users’ last visit to the object of belief. By using the theory of degrees of beliefs, belief fixities (Bf) (firmness or tenacity of beliefs) and vulnerabilities to doubts (VtD) are used in reaching the next stage of analyzed beliefs. The resulting knowledge value recorded in the knowledge base as well as the authority score is used by the inference engine to generate the recommendation, as displayed in Algorithm 4. Because the proposed framework aims to provide a generic reference model for implementation, users can also consider other bioinspired [69,70,71] and probabilistic [72,73] methods to replace the inference engine. We must balance the complexity and applicability of the selected model in generating real-time recommendations based on different domain requirements.
Algorithm 4. KnowledgeInference
Input: User-selected region and knowledge base
Output: Sorted collection of POIs.
1Fori = 1; i < |L|; i ++ //on each level
2  For j = 1; j < |C|; j ++ //on each cluster on the level
3    If region.contain(C[j])
4      A.add(C[j].authority);
5      SP.add(C[j].poi);
6Foreach SP do
7  k = KnowledgeKDI(SP);
8  K.add(k);
9POI = SIoT-inference(SP, A, K);
10ReturnPOI;
According to the pseudocode (Algorithm 4), when a geospatial region is specified by a user, the inference engine determines the corresponding level of hierarchy in the TBHG and then retrieves the POIs (clusters) in the specified region. The authority scores of the clusters and the corresponding knowledge values obtained from the KDI model are retrieved from the knowledge base and used for ranking the POIs [23]. Users can submit their satisfaction with each recommendation as feedback to the inference engine and knowledge base. The weight vectors for the relevant beliefs can be further fine-tuned according to users’ requests. This function ensures that the problem of personalized recommendation within a fixed boundary does not occur in the proposed framework.
The complexity of the recommendation algorithm is analyzed to investigate the possibility of its real-time implementation. Because the KDI modeling module is the core module of the proposed framework, the following analysis is performed. According to the pseudocode in Algorithm 4, POIs are searched for travel data according to their ascendant clusters (j) at different levels (i). Subsequently, the inference engine filters irrelevant POIs by referring to the beliefs and weights in the KDI knowledge base. Assume that C and L are the maximum number of clusters and levels, respectively. According to the aforementioned explanation, the complexity of (i, j) is O(m) and that of POI filtering is O(n). Therefore, the complexity of the overall knowledge inference algorithm for a personalized recommendation based on the KDI approach is O(m + n). The aforementioned analysis indicates that complexity does not become a negative factor that affects the real-time implementation of the recommendation algorithm in SIoT environment. The highest complexity of the proposed framework occurs during location history modeling. The complexity of the algorithm is O(x2y2) during the construction of a TBHG with x levels for y users. However, TBHG construction is a data preprocessing stage that is only revisited by the framework after sufficient new input is obtained in the knowledge base by referring to a threshold value (Tp). The time taken for every recommendation requested by a user is determined through the online operation of the inference engine only. Thus, the complexity of real-time recommendation is linear (O(m + n)) in the proposed framework.

5. Implementation and Measurement

To evaluate the effectiveness of the proposed recommendation framework, the GeoLife [28], Weeplaces [29], Brightkite [30], and Gowalla [29] public datasets (as shown in Table 2) are used to determine the precision and recall ratios. The GeoLife dataset includes tracking data for 182 users in Beijing over 3 years. The dataset comprises 17,621 recorded trajectories. Each trajectory log is a sequence of time-stamped points that contains latitude, longitude, and altitude information.
Weeplaces is a website that aims to visualize users’ check-in activities in Location-Based Social Networks (LBSNs). The Weeplaces dataset is generated using data crawled from Foursquare. The dataset contains 971,309 POIs generated by 15,799 users. Brightkite is an LBSN that enabled users to check-in to places and see who else had visited the location. Brightkite is acquired and its operations discontinued by Limbo. The Brightkite dataset is collected through Brightkite public Application Programming Interfaces (API) and consists of data from 4,491,143 check-ins by 58,228 users. Gowalla is an LBSN that was acquired by Facebook in December 2012 [30]. The Gowalla dataset includes user profiles, location profiles, and check-in history collected prior to 1 June 2011, through the Gowalla public APIs. The dataset contains 2,844,076 POIs generated by 319,063 users:
p = t p t p + f p
r = t p t p + f n
To calculate the precision and recall ratios, datasets must be divided into training and testing sets. In this study, the data for the final 8 months are included in the testing set and the remaining data are used for training. The training set is used to learn user preferences and construct the recommendation model. The system is then evaluated by examining whether it could suggest sites visited by a user within the querying region according to the training data:
F = ( β 2 + 1 )   ·   S ( p r e c i s i o n ) × S ( r e c a l l ) β 2   ·   ( S ( p r e c i s i o n ) + S ( r e c a l l ) )
Precision, given by Equation (5), is the fraction of all recommended items that are relevant, and recall, given by Equation (6), is the fraction of all relevant items that are recommended. Precision (p) and recall (r) are measured as proportions of true positives (tp), false positives (fp), and false negatives (fn). The parameter F1 is the weighted average of precision and recall. Both false positives and false negatives are considered in calculating F1 [Equation (7)] [84]. The positive real β entails the selection of β such that recall is β times as important as precision. The parameter Fβ determines the effectiveness of retrieval with respect to a user who attaches β times as much importance to recall as precision.

Baselines and Methods

Ranking by frequency (RF) method: The more frequently people access a location, the more interesting this location might be. The visiting frequency of a location is the ratio between the number of users visiting the location and the time span of their visits (i.e., from the first day at least one user accesses the location to the last day at least one user accesses the location).
LA: LA is a generic recommendation approach in which a location is more likely to be recommended if a higher number of experienced users (expert users) have visited the location.
Hybrid approach: This approach integrates LA with a KDI model to provide personalized recommendations based on user preferences.

6. Experimental Results

To examine the user satisfaction of the proposed trajectory analysis method, we use four public datasets, namely the GeoLife, Weeplaces, Gowalla, and Brightkite datasets, for benchmarking. Precision–recall analysis is performed to measure and compare the performance of the proposed recommendation method, LA method, and RF method. The RF method is used as the baseline method (i.e., it acted as a reference for the other two approaches). LA is a conventional approach in which most of the time recommendations are applied. The proposed hybrid approach integrates the advantages of LA and also employs a user belief system, namely the KDI model, to support the personalization process. Thus, the hybrid approach should outperform the other approaches.

6.1. Comparison of Precision and Recall Measurements in Individual Datasets

Figure 9 displays the results obtained using the GeoLife dataset. The performance of the hybrid and LA methods for the GeoLife dataset (Figure 9) is inferior to that for the other datasets.
This result is obtained because the GeoLife dataset does not include a ready list of POIs (unlike the other three datasets) and POIs are generated from user stay points obtained from user trajectory logs. The GeoLife dataset mainly includes location data for Beijing over 3 years. The dataset comprises 17,621 trajectories generated by 182 users. The proposed hybrid approach outperformed the LA and RF methods when POIs are generated from user location logs.
The Weeplaces dataset comprised data crawled from the Foursquare platform, which is a location data platform famous for its city guide application. The dataset contains 971,309 POIs for 7,658,368 check-ins generated by 15,499 users, with most check-ins being concentrated in a specific region. The Weeplaces dataset is larger than the GeoLife dataset. However, because the Weeplaces dataset includes suitable POI data, higher precision and recall values are obtained for the three methods with the Weeplaces dataset than with the GeoLife dataset. As depicted in Figure 10, the precision values of the hybrid, LA, and RF methods are 0.43, 0.40, and 0.24, respectively, and the recall values of these methods are 0.62, 0.58, and 0.15, respectively. Thus, the hybrid method outperformed the other two methods.
Brightkite and Gowalla are large LBSNs. The collected user and location profiles in the Brightkite and Gowalla datasets comprise well-maintained and appropriate descriptive information. These datasets are collected through public APIs for locations throughout the world. The Brightkite dataset consists of 4,491,143 check-ins generated by 58,228 users, and the Gowalla dataset contains 36,001,959 check-ins generated by 319,063 users. Thus, the Gowalla dataset is the largest of the four datasets used. Similar to the Weeplaces dataset, the Brightkite and Gowalla datasets also provide POIs, which helped to increase the precision and recall rates for the three adopted methods. The proposed hybrid approach marginally outperformed the conventional LA method for the aforementioned two datasets, as displayed in Figure 11 and Figure 12.
For the Gowalla dataset, precision values of 0.658, 0.632, and 0.240 are obtained with the hybrid, LA, and RF methods, respectively, and for the Brightkite dataset, precision values of 0.657, 0.531, and 0.448 are obtained with the three methods, respectively. For the Gowalla dataset, recall values of 0.512, 0.448, and 0.150 are obtained with the hybrid, LA, and RF methods, respectively, and for the Brightkite dataset, recall values of 0.619, 0.761, and 0.314 are obtained with the three methods, respectively.

6.2. Measuring F1 for GeoLife, Gowalla, Weeplaces, and Brightkite Datasets

The results in Figure 13 accord with the proposed hypothesis that a user belief system can benefit the recommendation. As displayed in Figure 13, the average F1 values of the proposed hybrid approach are up to 27.95%, 3.98% higher than those of the RF and LA methods for the four adopted datasets. An improvement of 3.98% may not seem impressive, but we should analyze the overall performances of the methods from various perspectives to determine the significance of the improvement.
First, the proposed method outperformed the other two approaches over four datasets, where each dataset represented different domains in the actual environment. The proposed approach is adaptable to different data conditions. Second, a “personalized” recommendation method that captures user or object preferences over time should gradually improve the recommendation accuracy of the system. Such improvement can be achieved because the inference engine can utilize more information over time to make a precise recommendation. One possible issue that may arise over time is the over-tuning of the inference engine with overloaded information. However, a feedback mechanism and satisfactory monitoring from users can easily help prevent this problem.
Significantly lower precision and recall scores are obtained for the RF method than for the other two approaches. This result is obtained because unlike the other two methods, the RF method disregards individual user experiences. The proposed hybrid approach marginally outperformed the LA method due to the integration of the KDI model, which considers not only experienced users’ trajectories but also user behaviors simultaneously.

7. Conclusions

In this article, a personalized recommendation framework suitable for SIoT is proposed. A use case scenario in a smart community is used to describe SIoT deployment. The overall architecture of user trajectory analysis, which includes the indoor and outdoor positioning modules, internal and external IoT devices and services, the data-capturing module, the recommender engine, and the multilayer SIoT community model, is described in detail. For further analysis, the proposed personalized recommendation framework for smart communities is decomposed into several modules, namely the KDI modeling module, location history modeling module, knowledge mining module, knowledge base, inference engine, and personalized recommendation module. The proposed hybrid recommendation algorithm is implemented in a smart community with several SIoT applications and services. User trajectories over several years are collected through different community services, such as e-commerce and location navigation services. The collected data and the selected benchmarking datasets are used for performance analysis. Three recommendation approaches, namely the RF method (baseline approach), LA method (conventional approach), and hybrid method (proposed approach), are examined in this study. According to the precision and recall results, the proposed personalized recommendation method achieved an average of up to 28% higher satisfaction for users compared with the other two approaches. Thus, the proposed method provides more accurate user recommendations than the other approaches do.
The proposed personalized recommendation algorithm is based on user profile and belief systems that might not exist in some recommender engines with simple designs. In a future study, we plan to focus on trustworthiness management to ensure reliable interactions between users and thing to reduce exposure to malicious objects. Several addition topics, such as the extension of smart community coverage by providing recommendations for locations with different cultures, time-slots and environmental settings, can be examined in future studies. Deep learning can be used to model SIoT behaviors for delivering suitable recommendations in service discovery and composition.

Author Contributions

G.X.L. investigated the ideas, implemented the system, algorithm and methodology of the proposed personalized recommendation framework, and wrote the manuscript. W.K.C. conceived of the presented ideas, designed the system architecture and wrote the manuscript with support from G.X.L. T.B.T. analyzed the experimental data, and provided the analytical results. C.W.H. provided the suggestions on the experiment setup and performed validation on the experimental results. Y.-L.C. provided the suggestions on the research ideas, design of the proposed SIoT architecture, and wrote the manuscript. All authors discussed the results and contributed to the final manuscript. All authors have read and agreed to the published version of the manuscript.

Funding

Ministry of Science and Technology of Taiwan funded this research under the grant numbers MOST-108-2218-E-027-017 and MOST-108-2221-E-027-066.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Gong, S.; Chen, C.L.; Tao, X. Security and surveillance. In Visual Analysis of Humans; Springer: London, UK, 2011; pp. 455–472. [Google Scholar]
  2. Calabrese, F.; Pereira, F.C.; Di Lorenzo, G.; Liu, L.; Ratti, C. The Geography of Taste: Analyzing Cell-Phone Mobility and Social Events. In Applied Reconfigurable Computing. Architectures, Tools, and Applications; Springer Science and Business Media LLC: Berlin, Germany, 2010; Volume 6030, pp. 22–37. [Google Scholar]
  3. Ali, S.; Kibria, M.G.; Jarwar, M.A.; Lee, H.K.; Chong, I. A Model of Socially Connected Web Objects for IoT Applications. Wirel. Commun. Mob. Comput. 2018, 2018, 1–20. [Google Scholar] [CrossRef]
  4. Wirz, M.; Franke, T.; Roggen, D.; Mitleton-Kelly, E.; Lukowicz, P.; Tröster, G. Inferring Crowd Conditions from Pedestrians’ Location Traces for Real-Time Crowd Monitoring during City-Scale Mass Gatherings. In Proceedings of the 2012 IEEE 21st International Workshop on Enabling Technologies: Infrastructure for Collaborative Enterprises, Hammamet, Tunisia, 25–27 June 2012; pp. 367–372. [Google Scholar]
  5. Junior, J.C.S.J.; Musse, S.R.; Jung, C. Crowd Analysis Using Computer Vision Techniques. IEEE Signal Process. Mag. 2010, 27, 66–77. [Google Scholar]
  6. Jung, J.; Chun, S.; Jin, X.; Lee, K.-H. Quantitative Computation of Social Strength in Social Internet of Things. IEEE Internet Things J. 2018, 5, 4066–4075. [Google Scholar] [CrossRef]
  7. Lippi, M.; Mamei, M.; Mariani, S.; Zambonelli, F. An Argumentation-Based Perspective Over the Social IoT. IEEE Internet Things J. 2018, 5, 2537–2547. [Google Scholar] [CrossRef] [Green Version]
  8. Chan, A.B.; Liang, Z.-S.J.; Vasconcelos, N. Privacy preserving crowd monitoring: Counting people without people models or tracking. In Proceedings of the 2008 IEEE Conference on Computer Vision and Pattern Recognition, Anchorage, AK, USA, 23–28 June 2008; pp. 1–7. [Google Scholar]
  9. Atzori, L.; Iera, A.; Morabito, G. From “smart objects” to “social objects”: The next evolutionary step of the internet of things. IEEE Commun. Mag. 2014, 52, 97–105. [Google Scholar] [CrossRef]
  10. Ben Abderrahim, O.; Elhdhili, M.H.; Saidane, L. TMCoI-SIOT: A trust management system based on communities of interest for the social Internet of Things. In Proceedings of the 2017 13th International Wireless Communications and Mobile Computing Conference (IWCMC), Valencia, Spain, 26–30 June 2017; pp. 747–752. [Google Scholar]
  11. Maglaras, L.; Al-Bayatti, A.H.; He, Y.; Wagner, I.; Janicke, H. Social Internet of Vehicles for Smart Cities. J. Sens. Actuator Networks 2016, 5, 3. [Google Scholar] [CrossRef] [Green Version]
  12. Butt, T.A.; Iqbal, R.; Shah, S.C.; Umer, T. Social Internet of Vehicles: Architecture and enabling technologies. Comput. Electr. Eng. 2018, 69, 68–84. [Google Scholar] [CrossRef]
  13. Ning, Z.; Xia, F.; Ullah, N.; Kong, X.; Hu, X. Vehicular Social Networks: Enabling Smart Mobility. IEEE Commun. Mag. 2017, 55, 16–55. [Google Scholar] [CrossRef]
  14. Ning, Z.; Hu, X.; Chen, Z.; Zhou, M.; Hu, B.; Cheng, J.; Obaidat, M.S. A Cooperative Quality-Aware Service Access System for Social Internet of Vehicles. IEEE Internet Things J. 2017, 5, 2506–2517. [Google Scholar] [CrossRef]
  15. Nam, T.; Pardo, T.A. Conceptualizing smart city with dimensions of technology, people, and institutions. In Proceedings of the 12th Annual International Digital Government Research Conference on Digital Government Innovation in Challenging Times, College Park, MD, USA, 12–15 June 2011; p. 282. [Google Scholar]
  16. Fortino, G.; Messina, F.; Rosaci, D.; Sarne, G.M.; Savaglio, C. A Trust-based Team Formation Framework for Mobile Intelligence in Smart Factories. IEEE Trans. Ind. Informatics 2020. [Google Scholar] [CrossRef]
  17. Guo, K.; Lu, Y.; Gao, H.; Cao, R. Artificial Intelligence-Based Semantic Internet of Things in a User-Centric Smart City. Sensors 2018, 18, 1341. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  18. Amin, F.; Abbasi, R.; Rehman, A.; Choi, G.S. An Advanced Algorithm for Higher Network Navigation in Social Internet of Things Using Small-World Networks. Sensors 2019, 19, 2007. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  19. Atzori, L.; Iera, A.; Morabito, G. Understanding the Internet of Things: definition, potentials, and societal role of a fast evolving paradigm. Ad Hoc Networks 2017, 56, 122–140. [Google Scholar] [CrossRef]
  20. Mariani, S. Coordination of Complex Socio-Technical Systems: Challenges and Opportunities. In Applied Reconfigurable Computing. Architectures, Tools, and Applications; Springer Science and Business Media LLC: Berlin, Germany, 2018; Volume 11176, pp. 295–310. [Google Scholar]
  21. Roopa, M.S.; Pattar, S.; Buyya, R.; Venugopal, K.R.; Iyengar, S.S.; Patnaik, L.M. Social Internet of Things (SIoT): Foundations, thrust areas, systematic review and future directions. Comput. Commun. 2019, 139, 32–57. [Google Scholar]
  22. Bobadilla, J.; Ortega, F.; Hernando, A.; Gutierrez, A.; Ortega, F. Recommender systems survey. Knowledge-Based Syst. 2013, 46, 109–132. [Google Scholar] [CrossRef]
  23. Xing, L.G.; Abiodun, I.A.; Khuen, C.W.; Boon, T.T. A personalized recommendation framework with user trajectory analysis applied in Location-Based Social Network (LBSN). In Proceedings of the 2017 IEEE 3rd International Conference on Engineering Technologies and Social Sciences (ICETSS), Bangkok, Thailand, 7–8 August 2017; pp. 1–6. [Google Scholar]
  24. Zheng, Y.; Zhang, L.; Xie, X.; Ma, W.-Y. Mining interesting locations and travel sequences from GPS trajectories. In Proceedings of the 18th international conference on World wide web, Madrid, Spain, 20–24 April 2009; pp. 791–800. [Google Scholar]
  25. Zheng, Y.; Xie, X. Learning travel recommendations from user-generated GPS traces. ACM Trans. Intell. Syst. Technol. 2011, 2, 1–29. [Google Scholar] [CrossRef]
  26. Dou, Y.; Yang, H.; Deng, X. A Survey of Collaborative Filtering Algorithms for Social Recommender Systems. In Proceedings of the 2016 12th International Conference on Semantics, Knowledge and Grids (SKG), Beijing, China, 15–17 August 2016; pp. 40–46. [Google Scholar]
  27. Cheng, W.K.; Ileladewa, A.A.; Tan, T.B. A Personalized Recommendation Framework for Social Internet of Things (SIoT). In Proceedings of the 2019 International Conference on Green and Human Information Technology (ICGHIT), Kuala Lumpur, Malaysia, 15–17 January 2019; pp. 24–29. [Google Scholar]
  28. Zheng, Y.; Chen, Y.; Xie, X.; Ma, W.-Y. GeoLife2.0: A Location-Based Social Networking Service. In Proceedings of the 2009 Tenth International Conference on Mobile Data Management: Systems, Services and Middleware, Taipei, Taiwan, 18–20 May 2009; pp. 357–358. [Google Scholar]
  29. Liu, Y.; Wei, W.; Sun, A.; Miao, C. Exploiting Geographical Neighborhood Characteristics for Location Recommendation. In Proceedings of the 23rd ACM international conference on Multimedia, Shanghai, China, 3–7 November 2014; pp. 739–748. [Google Scholar]
  30. Cho, E.; Myers, S.A.; Leskovec, J. Friendship and mobility. In Proceedings of the 17th ACM SIGKDD International Conference on Knowledge discovery and data mining - KDD ’11, San Diego, CA, USA, 21–24 August 2011; p. 1082. [Google Scholar]
  31. Truong, N.B.; Lee, H.; Askwith, B.; Lee, G.M. Toward a Trust Evaluation Mechanism in the Social Internet of Things. Sensors 2017, 17, 1346. [Google Scholar] [CrossRef] [Green Version]
  32. Fortino, G.; Rovella, A.; Russo, W.; Savaglio, C. Towards Cyberphysical Digital Libraries: Integrating IoT Smart Objects into Digital Libraries. In Internet of Things; Springer Science and Business Media LLC: Berlin, Germany, 2016; pp. 135–156. [Google Scholar]
  33. Saleem, Y.; Crespi, N.; Rehmani, M.H.; Copeland, R.; Hussein, D.; Bertin, E. Exploitation of social IoT for recommendation services. In Proceedings of the 2016 IEEE 3rd World Forum on Internet of Things (WF-IoT), Reston, VA, USA, 12–14 December 2016; pp. 359–364. [Google Scholar]
  34. Han, X.; Wang, L.; Park, S.; Cuevas, A.; Crespi, N. Alike people, alike interests? A large-scale study on interest similarity in social networks. In Proceedings of the 2014 IEEE/ACM International Conference on Advances in Social Networks Analysis and Mining (ASONAM 2014), Beijing, China, 17–20 August 2014; pp. 491–496. [Google Scholar]
  35. Felfernig, A.; Erdeniz, S.P.; Uran, C.; Reiterer, S.; Atas, M.; Tran, T.N.T.; Azzoni, P.; Kiraly, C.; Dolui, K. An overview of recommender systems in the internet of things. J. Intell. Inf. Syst. 2018, 52, 285–309. [Google Scholar] [CrossRef] [Green Version]
  36. Luan, W.; Liu, G.; Jiang, C.; Qi, L. Partition-based collaborative tensor factorization for POI recommendation. IEEE/CAA J. Autom. Sin. 2017, 4, 437–446. [Google Scholar] [CrossRef]
  37. Luan, W.; Liu, G.; Jiang, C.; Zhou, M. MPTR: A Maximal-Marginal-Relevance-Based Personalized Trip Recommendation Method. IEEE Trans. Intell. Transp. Syst. 2018, 19, 3461–3474. [Google Scholar] [CrossRef]
  38. Amin, F.; Ahmad, A.; Choi, G.S. Community Detection and Mining Using Complex Networks Tools in Social Internet of Things. In Proceedings of the TENCON 2018 - 2018 IEEE Region 10 Conference, Jeju, Korea, 28–31 October 2018; pp. 2086–2091. [Google Scholar]
  39. Lye, G.X.; Cheng, W.K.; Tan, T.B.; Hung, C.W.; Chen, Y.-L. User Trajectory Analysis within Intelligent Social Internet-of-things (SIoT). In Proceedings of the 2019 International Symposium on Intelligent Signal Processing and Communication Systems (ISPACS), Taipei, Taiwan, 3–6 December 2019. [Google Scholar]
  40. Huang, Z.; Xu, X.; Zhu, H.; Zhou, M. An Efficient Group Recommendation Model with Multiattention-Based Neural Networks. IEEE Trans. Neural Networks Learn. Syst. 2020. [Google Scholar] [CrossRef] [PubMed]
  41. Chen, Y.; Zhou, M.; Zheng, Z.; Chen, D. Time-Aware Smart Object Recommendation in Social Internet of Things. IEEE Internet Things J. 2020, 7, 2014–2027. [Google Scholar] [CrossRef]
  42. Bao, J.; Zheng, Y.; Wilkie, D.; Mokbel, M.F. Recommendations in location-based social networks: a survey. GeoInformatica 2015, 19, 525–565. [Google Scholar] [CrossRef]
  43. Yang, X.; Guo, Y.; Liu, Y.; Steck, H. A survey of collaborative filtering based social recommender systems. Comput. Commun. 2014, 41, 1–10. [Google Scholar] [CrossRef]
  44. Stai, E.; Kafetzoglou, S.; Tsiropoulou, E.E.; Papavassiliou, S. A holistic approach for personalization, relevance feedback & recommendation in enriched multimedia content. Multimedia Tools Appl. 2016, 77, 283–326. [Google Scholar]
  45. Ramaswamy, L.; Deepak, P.; Polavarapu, R.; Gunasekera, K.; Garg, D.; Visweswariah, K.; Kalyanaraman, S. CAESAR: A Context-Aware, Social Recommender System for Low-End Mobile Devices. In Proceedings of the 2009 Tenth International Conference on Mobile Data Management: Systems, Services and Middleware, Taipei, Taiwan, 18–20 May 2009; pp. 338–347. [Google Scholar]
  46. Pazzani, M. A Framework for Collaborative, Content-Based and Demographic Filtering. Artif. Intell. Rev. 1999, 13, 393–408. [Google Scholar] [CrossRef]
  47. Linden, G.; Smith, B.; York, J. Amazon.com recommendations: item-to-item collaborative filtering. IEEE Internet Comput. 2003, 7, 76–80. [Google Scholar] [CrossRef] [Green Version]
  48. Cantador, I.; Bellogín, A.; Castells, P. A multilayer ontology-based hybrid recommendation model. AI Commun. 2008, 21, 203–210. [Google Scholar] [CrossRef] [Green Version]
  49. Lucas, J.P.; Luz, N.; Moreno, M.N.; Anacleto, R.; Figueiredo, A.A.; Martins, C. A hybrid recommendation approach for a tourism system. Expert Syst. Appl. 2013, 40, 3532–3550. [Google Scholar] [CrossRef] [Green Version]
  50. Forestiero, A. Multi-Agent Recommendation System in Internet of Things. In Proceedings of the 2017 17th IEEE/ACM International Symposium on Cluster, Cloud and Grid Computing (CCGRID), Madrid, Spain, 14–17 May 2017; pp. 772–775. [Google Scholar]
  51. Ding, Z.; Li, X.; Jiang, C.; Zhou, M. Objectives and State-of-the-Art of Location-Based Social Network Recommender Systems. ACM Comput. Surv. 2018, 51, 1–28. [Google Scholar] [CrossRef]
  52. Page, L.; Brin, S.; Motwani, R.; Winograd, T. The Pagerank Citation Ranking: Bringing Order to the Web; Stanford InfoLab: Stanford, CA, USA, 1999. [Google Scholar]
  53. Kleinberg, J.M. Authoritative sources in a hyperlinked environment. J. ACM 1999, 46, 604–632. [Google Scholar] [CrossRef]
  54. Bai, X.; Wang, M.; Lee, I.; Yang, Z.; Kong, X.; Xia, F. Scientific Paper Recommendation: A Survey. IEEE Access 2019, 7, 9324–9339. [Google Scholar] [CrossRef]
  55. Balabanovic, M.; Shoham, Y. Fab: content-based, collaborative recommendation. Commun. ACM 1997, 40, 66–72. [Google Scholar] [CrossRef]
  56. Herlocker, J.L.; Konstan, J.; Terveen, L.; Riedl, J. Evaluating collaborative filtering recommender systems. ACM Trans. Inf. Syst. 2004, 22, 5–53. [Google Scholar] [CrossRef]
  57. Adomavicius, G.; Tuzhilin, A. Toward the next generation of recommender systems: a survey of the state-of-the-art and possible extensions. IEEE Trans. Knowl. Data Eng. 2005, 17, 734–749. [Google Scholar] [CrossRef]
  58. Lemire, D.; MacLachlan, A. Slope One Predictors for Online Rating-Based Collaborative Filtering. In Proceedings of the 2005 SIAM International Conference on Data Mining, Newport Beach, CA, USA, 21–23 April 2005; pp. 471–475. [Google Scholar]
  59. Chow, C.-Y.; Bao, J.; Mokbel, M.F. Towards location-based social networking services. In Proceedings of the 2nd ACM SIGSPATIAL International Workshop on Location Based Social Networks, San Jose, CA, USA, 2 November 2010; pp. 31–38. [Google Scholar]
  60. Horozov, T.; Narasimhan, N.; Vasudevan, V. Using location for personalized POI recommendations in mobile environments. In Proceedings of the International Symposium on Applications and the Internet (SAINT’06), Phoenix, AZ, USA, 23–27 January 2006. [Google Scholar]
  61. Ye, M.; Yin, P.; Lee, W.-C. Location recommendation for location-based social networks. In Proceedings of the 18th SIGSPATIAL International Conference on advances in geographic information systems, San Jose, CA, USA, 2–5 November 2010; pp. 458–461. [Google Scholar]
  62. Del Prete, L.; Capra, L. diffeRS: A Mobile Recommender Service. In Proceedings of the 2010 Eleventh International Conference on Mobile Data Management, Kansas City, MO, USA, 23–26 May 2010; pp. 21–26. [Google Scholar]
  63. Huang, Z.; Zeng, D.; Chen, H. A comparative study of recommendation algorithms in e-commerce applications. IEEE Intell. Syst. 2007, 22, 68–78. [Google Scholar] [CrossRef]
  64. Small, H. Co-citation in the scientific literature: A new measure of the relationship between two documents. J. Am. Soc. Inf. Sci. 1973, 24, 265–269. [Google Scholar] [CrossRef]
  65. Dooms, S. Dynamic generation of personalized hybrid recommender systems. In Proceedings of the 7th ACM Conference on Recommender systems, Hong Kong, China, 12–16 October 2013; pp. 443–446. [Google Scholar]
  66. Porcel, C.; Tejeda-Lorente, A.; Martínez, M.A.; Herrera-Viedma, E. A hybrid recommender system for the selective dissemination of research resources in a Technology Transfer Office. Inf. Sci. 2012, 184, 1–19. [Google Scholar] [CrossRef]
  67. Nouh, R.M.; Lee, H.-H.; Lee, W.-J.; Lee, J.-D. A Smart Recommender Based on Hybrid Learning Methods for Personal Well-Being Services. Sensors 2019, 19, 431. [Google Scholar] [CrossRef] [Green Version]
  68. Esmaeili, L.; Mardani, S.; Golpayegani, S.A.H.; Madar, Z.Z. A novel tourism recommender system in the context of social commerce. Expert Syst. Appl. 2020, 149, 113301. [Google Scholar] [CrossRef]
  69. Li, J.; Ren, P.; Chen, Z.; Ren, Z.; Lian, T.; Ma, J. Neural attentive session-based recommendation. In Proceedings of the ACM on Conference on Information and Knowledge Management, Singapore, 6–10 November 2017; pp. 1419–1428. [Google Scholar]
  70. Gao, L.; Li, C. Hybrid Personalized Recommended Model Based on Genetic Algorithm. In Proceedings of the 2008 4th International Conference on Wireless Communications, Networking and Mobile Computing, Dalian, China, 12–14 October 2008; pp. 1–4. [Google Scholar]
  71. Zhang, S.; Yao, L.; Sun, A.; Tay, Y. Deep Learning Based Recommender System. ACM Comput. Surv. 2019, 52, 1–38. [Google Scholar] [CrossRef] [Green Version]
  72. Rendle, S.; Freudenthaler, C.; Gantner, Z.; Schmidt-Thieme, L. BPR: Bayesian Personalized Ranking from Implicit Feedback. In Proceedings of the 25th Conference on Uncertainty in Artificial Intelligence, Montreal, QC, Canada, 18–21 June 2009; pp. 452–461. [Google Scholar]
  73. Luo, C.; Zhang, B.; Xiang, Y.; Qi, M. Gaussian-Gamma collaborative filtering: A hierarchical Bayesian model for recommender systems. J. Comput. Syst. Sci. 2019, 102, 42–56. [Google Scholar] [CrossRef]
  74. Gauch, S.; Speretta, M.; Chandramouli, A.; Micarelli, A. User Profiles for Personalized Information Access; Springer Science and Business Media LLC: Berlin, Germany, 2007; Volume 4321, pp. 54–89. [Google Scholar]
  75. Moukas, A. Amalthaea information discovery and filtering using a multiagent evolving ecosystem. Appl. Artif. Intell. 1997, 11, 437–457. [Google Scholar] [CrossRef]
  76. Mobasher, B. Data Mining for Web Personalization. In The Adaptive Web; Springer Science and Business Media LLC: Berlin, Germany, 2007; Volume 4321, pp. 90–135. [Google Scholar]
  77. Micarelli, A.; Sciarrone, F. Anatomy and Empirical Evaluation of an Adaptive Web-Based Information Filtering System. User Model. User-Adapted Interact. 2004, 14, 159–200. [Google Scholar] [CrossRef]
  78. Bloedorn, E.; Mani, I.; MacMillan, T.R. Machine learning of user profiles: Representational issues. arXiv 1997, arXiv:preprint cmp-lg/9712002. [Google Scholar]
  79. Abiodun, I.; Khuen, C.W. Using multi-agent system with publish/subscribe model in a mobile framework for capturing social network users’ behaviour. In Proceedings of the IET International Conference on Wireless Communications and Applications (ICWCA 2012), Kuala Lumpur, Malaysia, 8–10 October 2012. [Google Scholar]
  80. Lamarca, A.; Chawathe, Y.; Consolvo, S.; Hightower, J.; Smith, I.; Scott, J.; Sohn, T.; Howard, J.; Hughes, J.; Potter, F.; et al. Place Lab: Device Positioning Using Radio Beacons in the Wild. Lect. Notes Comput. Sci. 2005, 3468, 116–133. [Google Scholar]
  81. Gu, Y.; Zhou, C.; Wieser, A.; Zhou, Z. WiFi based trajectory alignment, calibration and crowdsourced site survey using smart phones and foot-mounted IMUs. In Proceedings of the 2017 International Conference on Indoor Positioning and Indoor Navigation (IPIN), Sapporo, Japan, 18–21 September 2017; pp. 1–6. [Google Scholar]
  82. Bratman, M. Intention, Plans, and Practical Reason; Harvard University Press: Cambridge, MA, USA, 1987; Volume 10. [Google Scholar]
  83. Dretske, F. Gettier and justified true belief: fifty years on. The Philosophers’ Magazine, 13 June 2013; 61. [Google Scholar]
  84. Duan, Z.; Tang, L.; Gong, X.; Zhu, Y. Personalized service recommendations for travel using trajectory pattern discovery. Int. J. Distrib. Sens. Networks 2018, 14. [Google Scholar] [CrossRef] [Green Version]
Figure 1. Differences between generic and personalized recommendations.
Figure 1. Differences between generic and personalized recommendations.
Sensors 20 02098 g001
Figure 2. Proposed SIoT architecture with the recommender module.
Figure 2. Proposed SIoT architecture with the recommender module.
Sensors 20 02098 g002
Figure 3. Recommendation methodologies used by location-based recommendation systems.
Figure 3. Recommendation methodologies used by location-based recommendation systems.
Sensors 20 02098 g003
Figure 4. Overall SIoT architecture.
Figure 4. Overall SIoT architecture.
Sensors 20 02098 g004
Figure 5. Indoor positioning with Bluetooth iBeacons.
Figure 5. Indoor positioning with Bluetooth iBeacons.
Sensors 20 02098 g005
Figure 6. SIoT community model.
Figure 6. SIoT community model.
Sensors 20 02098 g006
Figure 7. Proposed personalized recommendation framework (an extension of our work in [23]).
Figure 7. Proposed personalized recommendation framework (an extension of our work in [23]).
Sensors 20 02098 g007
Figure 8. Application of the KDI model for assigning weightage to each user’s preferences.
Figure 8. Application of the KDI model for assigning weightage to each user’s preferences.
Sensors 20 02098 g008
Figure 9. Results for the GeoLife dataset.
Figure 9. Results for the GeoLife dataset.
Sensors 20 02098 g009
Figure 10. Results for the Weeplaces dataset.
Figure 10. Results for the Weeplaces dataset.
Sensors 20 02098 g010
Figure 11. Results for the Gowalla dataset.
Figure 11. Results for the Gowalla dataset.
Sensors 20 02098 g011
Figure 12. Results for the Brightkite dataset.
Figure 12. Results for the Brightkite dataset.
Sensors 20 02098 g012
Figure 13. F1 values obtained with the three methods.
Figure 13. F1 values obtained with the three methods.
Sensors 20 02098 g013
Table 1. Summary of research publications on recommendation approaches in SIoT.
Table 1. Summary of research publications on recommendation approaches in SIoT.
Research PublicationYearUser ProfileData ModelFor Trajectory AnalysisType and Recommendation ApproachDatasetDomain
Zheng et al. [24,25]2009, 2011NoTree-based hierarchical graphNoItem-based collaborative filtering: (Personalized)GeoLife [28]Travel Advisory
Ning et al. [13]2017NoTemporal and spatial segmentsYesInner-line anomaly detection method: (Generic)Data collected through mobile crowdsensingSmart Vehicle
Luan et al. [36]2017NoTensor partitionNoCollaborative tensor factorization: (Personalized)Data collected from Weibo and DianPingLocation Based Social Network
Ning et al. [14]2017NoNode-centric generation treeYesTrajectory-based interaction time prediction algorithm: (Generic)SimulationSmart Vehicle
Luan et al. [37]2018NoTwo-level POI category hierarchy structureNoMaximal-marginal-relevance method: (Personalized)Data collected from WeiboLocation Based Social Network
Amin et al. [38]2018YesSocial network structureNoStatistical, Louvain and Greedy methods: (Generic)Egonets-FacebookSmart Community
Lye et al., [23,39]2017,2019YesTree-based hierarchical graph and KDI ModelYesTrajectory-based KDI-link analysis: (Personalized)UniCAT [23] and Weeplaces [29]Smart Campus
Huang et al. [40]2020NoMulti-attention networkNoMulti-attention based neural network: (Personalized)Data collected from Meetup, and MovieLens-1MSocial Networks
Chen et al. [41]2020NoTime aware SIoT knowledge graphNoItem-based collaborative filtering: (Personalized)MITSmart Community
Proposed Framework2020YesTree-based hierarchical graph and KDI Model YesTrajectory-based KDI-link analysis: (Personalized)GeoLife, Weeplaces, Gowalla [29], and Brightkite [30]Smart Community
Table 2. Comparison of different datasets with respect to number of users, records, POIs and time span of the collection.
Table 2. Comparison of different datasets with respect to number of users, records, POIs and time span of the collection.
DatasetType of RecordNumber of UsersNumber of Trajectories / Check-in PointsNumber of POIsTime Span of the Collection
GeoLife GPS trajectory18217,621-36 months
Weeplaces Check-in point15,7997,658,368971,30992 months
Brightkite Check-in point58,2284,491,143772,76431 months
Gowalla Check-in point319,06336,001,9592,844,07629 months

Share and Cite

MDPI and ACS Style

Lye, G.X.; Cheng, W.K.; Tan, T.B.; Hung, C.W.; Chen, Y.-L. Creating Personalized Recommendations in a Smart Community by Performing User Trajectory Analysis through Social Internet of Things Deployment. Sensors 2020, 20, 2098. https://doi.org/10.3390/s20072098

AMA Style

Lye GX, Cheng WK, Tan TB, Hung CW, Chen Y-L. Creating Personalized Recommendations in a Smart Community by Performing User Trajectory Analysis through Social Internet of Things Deployment. Sensors. 2020; 20(7):2098. https://doi.org/10.3390/s20072098

Chicago/Turabian Style

Lye, Guang Xing, Wai Khuen Cheng, Teik Boon Tan, Chen Wei Hung, and Yen-Lin Chen. 2020. "Creating Personalized Recommendations in a Smart Community by Performing User Trajectory Analysis through Social Internet of Things Deployment" Sensors 20, no. 7: 2098. https://doi.org/10.3390/s20072098

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop