Next Article in Journal
RoBERTaEns: Deep Bidirectional Encoder Ensemble Model for Fact Verification
Previous Article in Journal
Factors Influencing Citizens’ Intention to Use Open Government Data—A Case Study of Pakistan
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Service Oriented R-ANN Knowledge Model for Social Internet of Things

by
Mohana S. D.
1,†,
S. P. Shiva Prakash
1,*,† and
Kirill Krinkin
2,†
1
Department of Information Science and Engineering, JSS Science and Technology University, Mysuru 570006, Karnataka, India
2
Department of Software Engineering and Computer Applications, Saint Petersburg Electrotechnical University “LETI”, Saint Petersburg 197022, Russia
*
Author to whom correspondence should be addressed.
These authors contributed equally to this work.
Big Data Cogn. Comput. 2022, 6(1), 32; https://doi.org/10.3390/bdcc6010032
Submission received: 15 December 2021 / Revised: 3 March 2022 / Accepted: 13 March 2022 / Published: 18 March 2022

Abstract

:
Increase in technologies around the world requires adding intelligence to the objects, and making it a smart object in an environment leads to the Social Internet of Things (SIoT). These social objects are uniquely identifiable, transferable and share information from user-to-objects and objects-to objects through interactions in a smart environment such as smart homes, smart cities and many more applications. SIoT faces certain challenges such as handling of heterogeneous objects, selection of generated data in objects, missing values in data. Therefore, the discovery and communication of meaningful patterns in data are more important for every application. Thus, the analysis of data is essential in smarter decisions and qualifies performance of data for various applications. In a smart environment, social networks of intelligent objects are increasing services and decreasing the relationship in a reliable and efficient way of sharing resources and services. Hence, this work proposed the feature selection method based on proposed semantic rules and established the relationships to classify the services using relationship artificial neural networks (R-ANN). R-ANN is an inversely proportional relationship to the objects based on certain rules and conditions between the objects to objects and users to objects. It provides the service oriented knowledge model to make decisions in the proposed R-ANN model that produces service to the users. The proposed R-ANN provides an accuracy of 89.62% for various services namely weather, air quality, parking, light status, and people presence respectively in the SIoT environment compared to the existing model.

1. Introduction

The Social Internet of Things (SIoT) is a network of interconnected heterogeneous or homogeneous objects with social relationships as in humans. A network of interconnected heterogeneous objects that are uniquely identifiable which provide data transfer ability without the need for human-to-computer or vice-verse is called Internet of Things (IoT) [1,2,3,4,5,6,7,8]. The Social Internet of things (SIoT) is a mapping between social objects and users. The objects and users create a relationship among them based on similar features and characteristics, thus forming a social network. Typically, ten types of object relationships (OR) are identified, namely parent-OR, owner-OR, guardian-OR, social-OR, sibling-OR, guest-OR, service-OR, strange-OR, co-location-OR and co-work-OR. The description of the relationship types are shown in the Table 1 [9].
Every relationship has its own functionality based on the characteristics exhibited by an object in the SIoT environment. All these relationships provide services in a reliable and efficient way while sharing resources and services. For example, IoT objects such as sensors, smart-phones and actuators have distinct features, such as different operating systems, platforms, communication protocols and related standards. Therefore, each device needs to communicate with other devices around it to fulfill the needs of its users. Thus, different objects cooperate effectively and securely to gratify end-users desires to satisfy some main parameters such as reliability, safety, time, cost-effectiveness and availability. Social IoT provides a platform for interconnected objects to establish social relationships possessing common interests and providing better services for users [10].
Figure 1 shows the sensors and devices such as tablet, fitbit, parking lot, smart watch, air conditioner (AC), traffic lights, laptop, road map, environmental monitoring and car used to generate data. The data are of two categories, namely environment activity and public activity having parameters namely devices, device brand, owner id, distance, protocol, device type, locations, air quality, temperature, pressure, humidity, weather description, people presence, parking location, traffic status and street light status. SIoT faces certain challenges such as handling of heterogeneous objects, the selection of generated data in objects and missing values in data. Therefore, the discovery and communication of meaningful patterns in data are more important in every application. Hence, the goal of this study is service discovery and communication between the objects. In the SIoT environment, data analysis is the harder task with respect to discovering meaningful patterns in data; in particular, analysis relies on both statistics and computer programming and also in quality performance. The goal of data analysis is to obtain actionable insights, making smarter decisions and better outcomes. Therefore, it has different techniques to analyze the large and diverse data such as predictive (forecasting), descriptive (datamining), prescriptive (optimization simulation) and diagnostic analysis. In predictive analysis, valuable, actionable information uses data to determine the probable outcome of an event or a likelihood of a situation occurring. It has a variety of statistical techniques from modeling, machine learning, and data mining techniques that analyze current and historical facts to make predictions about a future event such as linear-regression, time-series and forecasting techniques. In descriptive analysis, this method examines data and analyzes past events for insight as to how to approach future events. These analyses can be made using many techniques such as data queries generation, reports and statistics. Prescriptive analysis automatically synthesizes Big Data, and machine learning(ML) helps in making a prediction. These techniques allow us to predict future outcomes, benefit from the predictions and show the decision. However, there are many techniques for dealing with diagnostic analysis, namely data discovery, data mining and data correlations. Hence, based on these techniques, many objects will be available in the market, such as Google assistant, Amazon’s Alexa and Apple’s Siri. Similarly, using Web Search assistance such as Cortana, Bing will recommend users’ needs based on the history of user data. These assistants that provide some recommendations to users, in the proposed work, attempt to help monitor the user, such as weather information, air quality of environment, traffic information and parking status recommendations [9,11]. According to Cisco, an IoT solution for a smart environment can be described with four general layers, namely street layers, city layers, data center layers and service layers. The street layer includes location sensors, traffic sensors and weather air quality sensors. The city layer includes alarms, communication route, locations and environment details. The data center layer includes protocols and energy of the sensors. In-service layers include public information, parking details, public infrastructure, garbage trucks, neighborhood device details, logistics and many more. Cisco IoT solutions for smart city layers proposed the work on the smart environment to the users objects using SIoT data. However, there exists no specific model that selects features based on the relationship between the devices. Hence, there is a need to propose a model that has to be applied on the data generated by various SIoT applications that help users to make decisions based on the services [12,13,14,15,16,17,18,19]. Thus, the following contribution are made in this work:
  • Proposed semantic rule based feature selection method to the existing Artificial Neural Network (ANN) model called Relationship-ANN (R-ANN) for SIoT.
  • Defined the ten types of relationships between the devices and evaluated the proposed R-ANN algorithm.
  • Proposed service oriented Knowledge model to classify services in SIoT-based smart-city applications.
The organization of the proposed work is as follows: Section 2 presents the related work, Section 3 describes problem statement, Section 4 provides system model and problem formulations, Section 5 introduced the proposed relationships in artificial neural network models, Section 6 explains the algorithm, Section 7 discusses on dataset and results, Section 8 focuses on a comparative study, Section 9 provides pros and cons and Section 10 presents the conclusion and future directions of the work.

2. Related Work

This section describes the works conducted by several authors related to SIoT. Wang et al. (2015) worked on IoT on video data and prepared a literature survey on object detection, object tracking, face recognition, image classification and scene labeling using deep learning techniques [20]. Lau et al. (2019) worked on IoT on multiple data and prepared a literature survey on a multi-perspective classification of data fusion to evaluate smart city applications [21]. Lin et al. (2020), worked on IoT devices based on microcontroller units (MCU) and proposed a framework called MCUNet. The MCUNet has jointly designed the efficient neural architecture (TinyNAS) and the lightweight inference engine (TinyEngine) and enabled ImageNet-scale inference on microcontrollers with an accuracy of 70% on IoT devices that are smaller even than mobile phones types of MCU [22]. Le et al. (2019) worked on buildings that were investigated and simulators, namely Ecotect and four new artificial intelligence (AI), for heating load of buildings energy efficiency [23]. Mohammadi et al. (2017) worked on indoor localization based on BLE signal strength and semi-supervised deep reinforcement learning model for generalizing optimal policies. It produced results of a semi-supervised model that achieves 6% to 23% improvement for localization [24]. Verhelst et al. (2017) worked on IoT-based image recognition for the performance of the deep neural network processors [25]. Zamil et al. (2019) worked on four large audio-datasets of modalities in a smart city and proposed on deep learning(DL) methodology for classifying audio data and obtained the accuracy of 63.4%, 87.7%, 89.2% and 86.4% for city sounds, home appliances, household sounds and human audio, respectively [26]. Drewil et al. (2021) has worked on air pollution as a type of environmental challenge in smart cities, and prepared a literature survey worked on detecting and predicting air pollution using deep learning techniques [27]. Sotiriadis et al. (2014) proposed a simulator called SimIoT, which works on the Social Internet of Things. The SimIoT is used on dynamic and real-time development using the virtual machine as an interface that requestins messages in simIoT interactions occurring within the IoT-enabled health care context. Specifically, adding the IoT layer incorporates IoT devices, which generated data for private clouds [28]. Zeng et al. (2017) proposed a simulator called IOTSim, the IoTSim for analysing IoT applications, to improve the efficiency of cloud infrastructure using MapReduce model in cloud computing environments for Cloudsim. In real-time and low-latency requirements, stream processing is highly required and has been identified as an ideal platform for real time IoT applications [29]. Osterlind et al. (2016) proposed a simulator called COOJA. COOJA simulation is for the Contiki sensor node operating system. COOJA performs on simulation at the network level and operating system level [30]. Henderson et al. (2008) proposed a simulator called ns-3. In ns-3, the framework uses a callback-based design for protocol stacks and emit/consume network packets over real device drivers or VLANs [31]. Harshit Gupta et al. (2017) proposed a simulator called iFogSim. In iFogSim, it is based on the impact of resource management techniques in latency, network congestion, energy consumption and cost. This simulates IoT, Fog and Edge computing environments [32]. Han S. N et al. (2014) proposed a simulator called DPWSim. DPWSim used to build service-oriented and event-driven IoT applications on top of these devices [33]. Daniel et al. (2020) proposed a simulator called DANOS. DANOS enhances objects’ profiles and their interaction behavior with intelligence based on specific human aspects such as full friendship and partial friendship [34]. Kasnesis P et al. (2016) proposed a simulator called ASSIST. ASSIST based semantic rules on agents basis of needs and services for SIoT applications [35]. Yang et al. (2017) has worked on dynamic traffic planning for smart city systems in real-time IoT and GIS data, which is processed using deep belief networks (DBN) and K-means to make the optimizing decision for transportation costs. The analysis of city traffic data is measured by using an accuracy obtained at 96.61% [36]. Chen J. F et al. (2016) worked on Taiwan Stock Index Futures dataset using a proposed framework of planar features on deep convolution neural networks (CNN) [37]. Rose et al. (2016), worked on identical token timing channels based on molecular communication for token payload [38]. Udmale et al. (2019) worked on kurtogram and sequence models (SM) for fault diagnosis on industrial systems [39]. Meghana J et al. (2021) worked on the performance analysis of social IoT objects using machine learning approaches [10].

State of the Art

The recent works on service-oriented knowledge model in SIoT applications proposed by researchers are summarized in Table 2.
Pillai et al. (2021) has worked on the IoT architecture for disaster prediction using MQ4, 4 MQ7 and force sensing resistors on the AWS(amazon web services) cloud platform [40]. Akhter et al. (2021) worked on smart agriculture to increase the quantity and quality of production [41]. Bhuiyan R. (2021) worked on the examination of air pollutant concentrations in Smart City Helsinki using data exploration and deep learning methods. It has long short term memory (LSTM), convolution neural network (CNN), recurrent neural network (RNN) and gated recurrent unit (GRU) network using all these methods to analyze the quality of air and achieved efficiency of mean absolute error (MAE) values of 0.09, 0.056, 0.096 and 0.114 for NO, NO2, CO and O3, respectively [42]. Alrahhal et al. (2022) has worked on Wireless Sensor Networks (WSNs) proposed to detect and isolate the malicious sensors from the data link for information and acknowledgments (ACKs) using protocol Tow-ACKs Trust (TAT) [43]. Al-Otaiby et al. (2022), worked on a trust management system inspired by an ant colony, proposed Ant Trust has a strong positive effect in terms of providing a more trustful environment by increasing the success rate of good peers [44]. From the literature review, it can be found that very few works are carried out for holding the architecture and thrust areas of SIoT. There exists a gap related to the service oriented classification of applications and establishing relationships between the devices that has to be filled by proposing a model using machine learning approaches.

3. Problem Statement

SIoT relies on relationships between the objects within the SIoT environment and has some challenges namely, handling of heterogeneous objects, selection of generated data in objects, missing values in data. Therefore, it requires the discovery of meaningful patterns in data, which is more important in an SIoT environment. Thus, data have to be analyzed using the predictive modeling technique to provide the decision on services within objects. Hence, there is a need to develop better feature selection methods and a proper service oriented classification knowledge model for an SIoT environment application.

4. System Model

The SIoT system model SM has many objects N where it tries to form relationship R s . The SIoT has many homogeneous object H o and heterogeneous object H t . Among independent objects, D is within the given set of networks N x for the given set of objects in various distributions in space D N x possessing services S r and applications A p . Thus, each individual object has applications holding a set of services, which helps the user to obtain sensors S n and data through it. The variables and its descriptions used to model the system are shown in Table 3.
Since the objects are distributed randomly in the network, the relationship is indirectly proportional to the object’s service and applications. Hence, the system model is shown in Equation (1):
S M = lim H o , H t R s ( D N x ( D ) : ( S r , A p ) ) = f D N x D ( S r , A p ) R s
where D N x has a set of independent objects D with homogeneous objects H o and heterogeneous objects H t for given services S r and applications A p . Independent objects D can be homogeneous or heterogeneous in nature, i.e., D H o , H t . Then, the system model function has object network D N x and object D possessing services S r and applications A p are presented under relationships R s .

Problem Formulation

In SIoT, objects provide service with respect to time for an application forming a relationship among each object. The SIoT dataset has environment and public activities. In public activity and environment activity, data help make a decision for the user using a relationship-based artificial intelligence model (R-ANN). The artificial intelligence model provides the decision using service-oriented knowledge model K m based on user environment information E r i n f and public information P u i n f for a given application. Each public and environment information is represented to perform mathematical operations for analyzing the information such as locations status L c , air quality status A q , temperature status T m , pressure status P s , humidity status H m , weather status W t , people presence status P p , parking status P k , traffic status T f and street light status S t . The application’s data are generated with respect to the SIoT environment by considering the activity of user participation in both environment data and public data. Therefore, the obtained data are analyzed by using predictive modeling techniques using artificial neural network (ANN) algorithm and proposed the relationship artificial neural network (R-ANN); hence, the objective function can be defined in Equation (2):
K m = lim H o , H t D N x ( 1 R s , S r , A p ) = f E r i n f + P u i n f R s
where knowledge model ( K m ) helps make decisions for the user to find inverse relationship ( R s ) in network ( D N x ) of all individual objects (D) for services (Sr) and applications (Ap) under homogeneous or heterogeneous objects possessing public ( P u i n f ) and environment information E r i n f ; this is shown in Equation (3).
K m = lim n n = H o H t f ( A q + P s + T m + H m + W t ) + ( L c + P p + P k + T f + S t ) R s
Subject to public information, ( P u i n f ) possesses location status L c , people presence status P p , parking status P k , traffic status T f and street light status ( S t ) , as shown in the Equation (4):
P u i n f = ( L c + P p + P k + T f + S t )
and environment information E r i n f has air quality status A q , temperature status T m , pressure status P s , humidity status H m and weather status W t , as shown in Equation (5).
E r i n f = ( A q + P s + T m + H m + W t )
Since there will be multiple services available within the network, the proposed knowledge model considers any services added to the network and groups the relevant services. Hence, in public information ( P u i n f ) and an environment information E r i n f , they are used as parameters in the proposed knowledge model K m .

5. Proposed Relationship Artificial Neural Network (R-ANN) Knowledge Model for Smart City Applications

5.1. Model Design

This section explains the proposed model design, the methodology followed and the working principle of the proposed model. The proposed work is carried out under the SIoT environment with request devices and response devices. It consists of 12 services, namely locations, NO2, O3, CO, NOx, AQI, device moving, movement, pressure, humidity, POI and landmarks for six applications, namely traffic, air quality, weather, street light, parking and people presence status in a smart city environment. The proposed process diagram is shown in Figure 2; it shows two objects having twelve services and six application types that are connected using proposed semantic conditions that result in creating any one type of relationship between the objects. The proposed algorithm initiates semantic rule-based feature selection methods within the request device to search the necessary service out of available 12 services. The algorithm classifies applications based on the required services by finding the relationship between the request and response devices imposing proposed semantic rules.  

5.2. Methodology

This section explains the steps involved in the proposed R-ANN model. The working methodology of the proposed model is shown in Algorithm 1. First, input the smart city data and read the attributes of the dataset; then, select the features by defined semantic rule-based relationships in the environment. Then, predict the application status using an ANN classification model with the help of a relationship. The RANN model will provide the classified objects information to the user.
Algorithm 1 Proposed methodology of R-ANN knowledge model
1: Input: Smart city Data.
2: Output: Relationship based Services.
3: smart city Objects Data()
4: pre-processing Data()
5: identify Relationship Using Semantic Rules()
6: select Objects are in a Relationship()
7: i = 0
8: for i do
9:    n = i++
10: end for
11: while Artificial Neural Network(ANN) Model do
12:    Dense network = 200; Batch Size = 30; Epoch = 10;
13:    Input activation function = ReLu
14:    Output activation function = softmax
15: end while

5.3. Working Principle

To build a knowledge model for smart objects in the SIoT environment, the knowledge model is based on semantic rules for relationship establishment defined by considering object profiling where objects consist of protocols, device type and device brands and nature of objects. Every object consists of at least one of the protocols that are in some range for communication. Thus, Wifi, Bluetooth, Wifi-direct and zigbee are limited to 0–1000, 0–100, 0–200 and 0–100 m, respectively. Each SIoT object’s device type can be the same or different, also the brand name varies from one device to another. The nature of the device can be private and public and located randomly in the SIoT environment as shown in Table 4. Considering this information, in this work, a semantic rule to establish the relationship between the user to object and objects to objects is proposed. The applications have environment information and public information of users, and these data can be preprocessed using the Gaussian technique, which helps to normalize data, as shown in the Figure 3.
Figure 4 shows that the initial sensor generates various types of data that are grouped into public information and private information.
The information for objects profiling contains device brands, device types, protocols, user ID, connection types service and applications that are randomly distributed in a space; in this work, these data need to be normalized using Gaussian techniques and by using Equation (6) for subsequent analysis:
σ = n = 1 n ( x i μ ) 2 n 1 2
where n is the number of samples in data, x i is the values of the data and μ is the mean of  x i .
The data are selected based on device profiling conditions to extract information into the artificial neural network (ANN). Furthermore, under the concept of predictive modeling technique, the data are analyzed using an artificial neural network (ANN) that produces the corresponding information to the user, as shown in the Figure 5.
The preprocessed sensor data are collected based on device profiling and given to the artificial neural network that classifies and predicts the most accurate services; the proposed semantic rules are used to predict the relationship type based on device profiling, as shown in Figure 5. Furthermore, the proposed the R-ANN model produces a relationship-based, service-oriented knowledge model used for pattern analysis. From Equation (1), it is known that the relationship is inversely proportional to service and application. Thus, the proposed R-ANN knowledge model is inversely proportional to the services and applications, which helps to make decisions according to users’ requirement in a given SIoT environment. The design of the proposed R-ANN Knowledge model is shown in Figure 5, and the working principle of the R-ANN Knowledge model is derived in Section 5.2.
In the proposed solution, the relationships between the user and objects are established based on user profiling within the context and the semantic rules in an SIoT environment. The proposed R-ANN model uses neurons, back propagation and activation functions in the memory of the network similarly to ANN. It has inputs, an activation function and the net input is calculated as shown in Equation (7).
K m = x 1 . w 1 + x 2 . w 2 + x 3 . w 3 + . . . . + x ( n 1 ) . w ( n 1 ) + x n . w n
K m = ( E r i n f + P u i n f ) 1 . w 1 + ( E r i n f + P u i n f ) 2 . w 2 + . . . . . . + ( E r i n f + P u i n f ) ( n 1 ) . w ( n 1 ) + ( E r i n f + P u i n f ) n . w n
Equation (8), ( E r i n f + P u i n f ) contains 25 service features as input and the ANN model has a three layer model for a 200 dense network that has a batch size of 30 and 10 epochs. The model has two layered Rectified Linear unit(ReLu) for the analysis of input sensor values and one layer of softmax that has to produce output sensor services.
Using Equation (3) in Equation (7), the proposed R-ANN knowledge model is defined and is shown in Equation (8). Thus, the output results have backtracking to identify corresponding devices and for calculating indirect proportional relationships between the devices using the semantic rules given by the user; it then recommends the service to users, as shown in the Equation (9).
K m = 1 R s ( ( E r i n f + P u i n f ) 1 . w 1 + ( E r i n f + P u i n f ) 2 . w 2 + + ( E r i n f + P u i n f ) ( n 1 ) . w ( n 1 ) + ( E r i n f + P u i n f ) n . w n )
Therefore, the services and applications respect relationships. Using user-defined semantic rules, R-ANN is defined from ith to mth objects, where i = 0 to m number objects, and it is as shown in Equation (10).
K m = i = 0 m ( E r i n f + P u i n f ) i . w i R s
Here, the concept of smart environment information is analyzed and transmitted through hidden layers containing hidden neurons. In the hidden layers, data are analyzed and calculated by using weights. The biases are also estimated to ensure a balanced level of data for producing output. The relationship between the object is identified by using an R-ANN model for predicting user environment information and public information based on the conditions and rules to produce the corresponding services to the objects, as shown in the Table 4.

6. Algorithm

Algorithm 2 uses objects in network D N x , and public ( P u i n f ) and environment information ( E r i n f ) to provide services and relationships, respectively, as shown in Equations (3). When the objects are within the network, they check the semantic rules and set relationship condition C R s to true or false.
Algorithm 2 Proposed R-ANN knowledge model ( K m )
Input: Objects in network D N x , Public informations P u b i n f , environment information E r i n f and Conditions on Relationships ( C R s ) , Relationships R s .
2: Output: Knowledge model K m .
while Objects in D N x  do
4:     if ( C R s == True) then
         C R s P u b i n f + E r i n f
6:          S r , A p = i = 0 m ( E r i n f + P u i n f ) i . w i R s
         K m = ( R s , S r , A p )
8:     else
        Exit()
10:     end if
end while

7. Results and Discussion

7.1. Dataset

The SIoT dataset contains real IoT objects that are categorized into five data models such as object description, objects profile, private devices, public devices and adjacency matrices. The object description has a few categories, namely device ID, user ID, device type, device brand(ranging from 1 to 12) and device model (ranging from 1 to 24). It has a total of 16,216 devices, out of which 14,600 are generated from private users and 1616 from public services. The object’s profile has a few categories, namely device type, service ID (ranging from 1 to 18) and application ID (ranging from 1 to 28). Private devices consist of smart-phone (mobile), car (mobile), tablet (mobile), smart watch (mobile), pc (static), printer (static) and home sensor(static). Moreover, it consists of private devices possessing 14,600 users and is simulated later with a user movements mobility model called small world in motion (SWIM) possessing 4000 users in perception radius 0.015 for 10 days with movement α as a 0.9 value. In public devices, there are a few categories called data models, namely point of interest (specific point of nine locations), environment and weather (10 weather stations ), transportation(taxis or buses includes; total number: 11), indicator (display information: 12), garbage truck (waste products truck: 13), street light (14 lamps in roads), parking (location: 15) and alarms (traffic monitoring: 16). Total public and private devices includes both static and mobile devices. In static devices, they produce data based on a few parameters, namely ID user and x (coordinates) and y (coordinates), and mobile devices produce data that are based on a few parameters, namely time stamp start (beginning of the rest state), time stamp stop (end of the rest state), ID user and x(coordinates) and y(coordinates). Similarly, adjacency matrices are based on the relationship between the objects and a few categories of relationships, namely ownership object relationship, parental object relationship, co-location object relationship, social object relationship 1 and social object relationship 2. The ownership object relationship means objects owned by the same user with communication ranges for different technologies such as in LoRa (around 1500 m), Wi-Fi (around 400 m) and Bluetooth (around 40 m). The parental object relationship has the same type, model and brand only if their distance is greater than a two threshold of 2 or 2.5 km. The co-location object relationship has all static devices (public or private) and private mobile contacts numbering more than 13 (number of meetings). The social object relationships between private mobile devices include the following: the number of meetings (N = 3), the meeting duration (TM = 30 min) and the interval between two consecutive meetings (TI = 6 h). The social object relationship means the following: it is a relationship between public mobile devices and users mobile objects having N = 3, TM = 1 min and TI = 1 h [9].

7.2. Data Preparation

The attributes of environment activity and public activity are explained in this subsection. It has a few data models such as object description, object profile, private devices, public devices and relationships. The description of the sample dataset is shown in the Table 5 and smart city dataset descriptions as public and environment information are shown in the Table 6.
Object description has a few categories, namely device, owner ID (ranging from 1 to 100,000), device type (ranging from 1 to 5), device brand (range 1 to 4) and device protocol (ranging from 1 to 4). The device protocols are used to establish connections using wifi, wifi direct, Bluetooth and zigbee. In objects profile, it has a few categories, namely device type, ID service(ranging from 1 to 9), and ID application (ranging from 1 to 5). The services are used to make recommendations to the users, namely temperature status, weather status, traffic status, parking status and street light status. In private devices, there are a few categories, namely smart phone(mobile), car(mobile), tablet(mobile), smart watch(mobile) and smart fitbit(mobile).
In public devices, there are a few categories called data models, namely weather, air quality and temperature indicator. Weather has five classes, namely sunny, rainy, cloudy, thunder and lightning. Air quality is based on the chemical compositions of oxides and oxygen such as NO2, O3, CO, NOx, air quality index (aqi) and humidity in different areas with respect to 100 numbers of locations. In temperature indicators, they are based on actuators around 20 locations.
In private devices, there are a few categories, namely 100 locations, street lights at 1000 on roads and 50 parking places. Traffic monitoring is around 200 across the environment. All information was combined in classes of each application status, namely air quality, people presence, parking, traffic, street light and weather; all objects are shown in Figure 6, Figure 7, Figure 8, Figure 9, Figure 10 and Figure 11. Typically, all figures have a number of classes on the x axis and total samples count on the y axis, respectively.
The experimental dataset contains the attributes shown in Table 5, Table 6 and Table 7. The owner ID has up to of 1 to 100,000 users, devices for air quality, device brands for air quality, distance between air quality devices, protocol air quality and device type air quality. This further includes the people’s presence in public places, air quality status, owner ID for weather, devices for weather status, device brands weather status, distance between weather status, protocols for weather, device types for weather status and weather locations. We also have parking status, street light status, temperature at locations, pressure at locations, humidity at locations, weather status at locations, point of interest at every location, nearby landmarks, people presence at landmarks and traffic status near landmarks. All these attributes have created relationships between objects in privates and public data model based on 10 types of relationships, namely parental (POR), Co-Location (CLOR), Ownership (OOR), Guardian (GUOR), Social (SOR), Guest (GSOR), Sibling (SIOR), Stranger (STOR), Service (SROR) and Co-Work (CWOR). These relationships are formed based on some conditions shown in Table 4. Environment activity and public activity possessing mobile devices produce data based on a few parameters, namely devices, device brand, owner ID, distance, protocol, device type, locations, NO2, O3, CO NOx, aqi, air quality, temperature, pressure, humidity, weather description, people presence, parking location, traffic status and street light status. All these data are based on IoT object standards in order to obtain relationship-based decisions using the proposed R-ANN based on the knowledge model relative to the users.

7.3. Results

The proposed work aims to predict services using relationships between the objects of the SIoT environment. This experiment helps to find the relationship using the semantic rules shown in Figure 12, Figure 13, Figure 14, Figure 15, Figure 16 and Figure 17. Based on services and relationships using an ANN model, the knowledge model was applied to the SIoT environment. The conventional ANN and proposed R-ANN methods are explored in this subsection. Firstly, ANN is used to analyze the sensor data that are encoded with the service and they are normalized using the Gaussian technique. The data are categorized into two types: target and features; the services are target class; and remaining data are features corresponding to sensor values. These classes and feature data are split into two phases such as 70% training data and % testing data. The neural network model has three ReLu activation function layers and one softmax activation function of the output layer for training the network. The output layer is compiled with the Adam optimizer with a loss function of cross entropy.
Table 8 shows that the classification report of the existing ANN; it predicts the decision with an average of 78.82% for all applications where weather status, air quality status, traffic status, parking status, people presence status and light status provide accuracies of 74.89%, 96.08%, 94.00%, 66.50%, 66.50% and 75.00%, respectively.
The weather status has eight classes of input values on a total of 100,000 samples; rainy, lightning, thunder and windy classes have over 5000 sample counts and cloudy and partially cloud classes have 10,000 count samples. Moreover, clear sky class has 15,000 count samples. Compared to the other classes, Figure 11 shows sunny classes having 45,000 count samples, and it has more imbalanced data of the classes obtained with an accuracy of 74.89%, 66.50% and 66.50%. In traffic status, there are three classes with a sample count of 33,000 shown in Figure 6, obtained with a good accuracy of 96.08%; moreover, air quality status has three classes, namely good with a moderate sample count of 30,000 and bad class possessing 60,000 sample count, as shown in Figure 7 and Figure 8, and they obtained the accuracies of 66.50% and 66.50%. In traffic status, there are three classes with a sample count of 33,000 shown in Figure 6, obtained with good accuracy of 96.08%, and air quality status has three classes, namely good with a moderate sample count of 30,000 and bad class possessing 60,000 sample counts, as shown in Figure 9; they obtained a good accuracy of 94%. Therefore, from the results, it is better to know that training the data in sequence into the artificial neural network algorithm produces better results, as shown in Table 8. However, all the accuracy of all trained data depend upon object support for precision and recall.

7.4. Experimental Setup

This subsection explains the experimental setup of the RANN model. Initially, it collects all data from air quality, weather, traffic, parking, people presence and light sensors. This sensor data are stored in comma separated value (csv) format in repositories that are randomly distributed because all sensors are in various distributions. These data are encoded into object profiling, such as device type, device brands, protocols, user ID, distance and connection types and services with applications. Object profiling was analyzed by using the proposed semantic rules to establish the relationships between the objects. These various distributed data have numerical and categorical data types, and all categorical data are encoded into numerical values. Therefore, numerical data are normalized by subtracting the mean μ of each feature and a division by the standard deviation σ that helps for the convergence of gradients in the environment. Normalized data have a target class of relationship types and features and attributes of services. Features data are split into two phases such as training 70% and testing 30%.
Therefore, input training features a sequential ANN model that has three layers of ReLu with a dense network size of 200 and one layer of softmax with a dense network size of 8 in the proposed R-ANN model. The proposed model is compiled with an Adam optimizer, and categorical cross entropy was used for loss function; the output results obtained 89% accuracy.
Hence, to visualize the results, test data are used as requesting devices and can find the corresponding class in the relationship types. Therefore, the model increased the visualization of the path between objects with relationships for classifications of services to users. Hence, a few samples of the service-oriented R-ANN Knowledge model are based on relationships between request and response devices, device brands, protocols, device types and device relationship types, and they are shown in Table 9.
To evaluate the performance of the proposed algorithm, the results are summarized in Table 9 and provide the relationship between requested and responding objects, respectively, for the corresponding services too. The classification report of the proposed R-ANN knowledge model has correct and incorrect predictions that are summarized by each class. The decisions on relationship conditions for all objects are used for all services in the SIoT environment. The correct classification of relationships is predicted and an f1-score of 93%, precision of 96% and recall of 90% are obtained for all relationships. Moreover, the correct classification of services is predicted and an f1-score 82%, precision of 76% and recall of 88% are obtained for all services. Hence, the overall accuracy of the R-ANN knowledge model is 89.62%, and it is shown in Table 10.

8. Comparative Study

This section presents a comparative study on different proposed models on different applications, as shown in Table 11.
Ghoneim et al. (2017) worked on CityPulse EU FP7 Project smart city data and a new deep learning-based ozone level prediction model. It has support vector machine (SVM), neural network (NN) and multilinear regression (GLM) models with efficiency of mean square error (MSE), root mean square error (RMSE), mean absolute error (MAE) and coefficient determination of R square (R2) values of 0.08, 0.2, 0.2 and 0.9 for deep learning(DL) methods, respectively [45]. Alam et al. (2016) collected data from the three real IoT datasets used to understand and control complex environments around us. The dataset is examined by using data mining algorithms, which include deep learning artificial neural networks (DLANNs), and they can a feed forward multilayer artificial neural network (ANN) for modeling high-level data abstractions. The output result is measured by using the root mean square error (RMSE) and by calculating the residual difference between prediction and truth, obtaining an RMSE of 0.542 [46]. Subash R et al. (2021) worked on the Satisfactory Factor (SF) on a Grey Wolf Algorithm (GWA)-based User Object Affiliation mechanism by combining object predilection and object sociality analogous in SIoT [47]. Rahman et al. (2021) worked on the Internet of Health Things (IoHT) dataset using CNN and obtained a 95% accuracy [48]. Chen et al. (2022) worked on heart-beat detection on chips using convolution neural networks (CNN). It uses a dataset of MIT-BIH arrhythmia, and it obtained an accuracy of 96.3% [18].
The comparative study is based on the algorithm and dataset of IoT for many applications such as Internet of Things (IoT), energy and smart city applications. It is focused on algorithms such as Convolution Neural Network (CNN), Support Vector Machine (SVM), Neural Network (NN), Multi-Gaussian Linear Regression (GLM) models, Support Vector Regression (SVR) and Satisfactory Factor (SF) on Grey Wolf Algorithm (GWA) and the proposed Relationship Artificial Neural Network (R-ANN) Knowledge Model is shown in Table 11.
The error metrics such as RMSE, MSE, MAE and R 2 are used to evaluate the result based on the mportance of data for algorithms shown in Table 11. In error, metrics measure what is unbiased and follow a normal distribution of data where it does not reduce the effectiveness of data when observation data are averaged, and the error rate is measured only on input data. Therefore, the proposed work uses accuracy metrics to measure the closeness of objects using relationship conditions between objects for measured quantity value and a true quantity value of services. Thus, all objects satisfy the compatibility of the proposed relationship conditions into the objects, and the classification of data is measured based on closeness of classes. Hence, the proposed R-ANN resulted in an accuracy of 89.62% with respect to all relationship conditions; it measured closeness between the objects to predict the services in the SIoT environment.

9. Pros and Cons of Proposed Model

The proposed model develops an SIoT required for service based on the semantic rules of user objects. The proposed model has a few pros, such as facilitating the interaction between heterogeneous objects through relationships. Hence, every object in the network autonomously establishes various types of relationships and uses the resulting links to navigate the network. It shares information through relationships and provides information anywhere and anytime. Moreover, it also provides secured information by using relationship conditions. However, there are some cons in every technology, and in this work, it requires objects profiling to establish the relationships between objects.

10. Conclusions and Future Work

The proposed work carried out on public and private devices recommends using various services in personal activities and public activities. The conventional ANN model is used to predict accuracy in terms of the values each device obtains, such as closeness of classes in services such as air quality, weather, temperature, traffic, people presence and parking status within a smart city. The proposed R-ANN knowledge model uses feature selection based on semantic rules to establish relationships between request and response devices that provide services. It provides more information to the users about the services when using the ANN model within an SIoT environment. Thus, service-oriented R-ANN knowledge model produces an accuracy 89.62% for all services possessing relationships. Moreover, data enhance the concept of smart environment using smart objects data and create a decision to analyze the entire system of the SIoT environment. The limitation of the work is that the user can define any semantic rules to obtain the relationships between the objects. Hence, in future works, we will focus on the enhancement of results to predict services for the knowledge model for every object within an SIoT environment.

Author Contributions

Conceptualization, S.P.S.P. and M.S.D.; methodology, M.S.D. and S.P.S.P.; software, M.S.D. and S.P.S.P.; validation, S.P.S.P. and M.S.D.; formal analysis S.P.S.P. and M.S.D.; investigation, M.S.D. and S.P.S.P.; resources, S.P.S.P. and M.S.D.; data curation, M.S.D. and S.P.S.P.; writing—original draft preparation, S.P.S.P. and M.S.D.; writing—review and editing, S.P.S.P. and M.S.D.; visualization, K.K. and S.P.S.P.; supervision, K.K. and S.P.S.P.; project administration, K.K. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the Ministry of Science and Higher Education of the Russian Federation by the Agreement N 075-15-2020-933 dated 13 November 2020 on the provision of a grant in the form of subsidies from the federal budget for the implementation of state support for the establishment and development of the world-class scientific center—Pavlov center Integrative physiology for medicine, high-tech health care and stress-resilience technologies.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Acknowledgments

This work was supported by the Ministry of Science and Higher Education of the Russian Federation by the Agreement N 075-15-2020-933 dated 13 November 2020 on the provision of a grant in the form of subsidies from the federal budget for the implementation of state support for the establishment and development of the world-class scientific center—Pavlov center Integrative physiology for medicine, high-tech health care and stress-resilience technologies.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Tsai, S.C.; Chen, C.H. Exploring the Innovation Diffusion of Big Data Robo-Advisor. Appl. Syst. Innov. 2022, 5, 15. [Google Scholar] [CrossRef]
  2. Hussain, M.; Beg, M.M. Fog computing for internet of things (IoT)-aided smart grid architectures. Big Data Cogn. Comput. 2019, 3, 8. [Google Scholar] [CrossRef] [Green Version]
  3. Serrano, W. Intelligent recommender system for big data applications based on the random neural network. Big Data Cogn. Comput. 2019, 3, 15. [Google Scholar] [CrossRef] [Green Version]
  4. Manheim, D. Multiparty dynamics and failure modes for machine learning and artificial intelligence. Big Data Cogn. Comput. 2019, 3, 21. [Google Scholar] [CrossRef] [Green Version]
  5. Waseem, M.; Lin, Z.; Yang, L. Data-driven load forecasting of air conditioners for demand response using levenberg–marquardt algorithm-based ANN. Big Data Cogn. Comput. 2019, 3, 36. [Google Scholar] [CrossRef] [Green Version]
  6. Stella, M.; Kenett, Y.N. Viability in multiplex lexical networks and machine learning characterizes human creativity. Big Data Cogn. Comput. 2019, 3, 45. [Google Scholar] [CrossRef] [Green Version]
  7. Ganzfried, S. Optimal number of choices in rating contexts. In Imperfect Decision Makers: Admitting Real-World Rationality; PMLR: Centre de Convencions Internacional de Barcelona: Barcelona, Spain, 2017; pp. 61–74. Available online: http://proceedings.mlr.press/v58/ganzfried17a.html (accessed on 9 December 2016).
  8. How, M.L.; Cheah, S.M.; Khor, A.C.; Chan, Y.J. Artificial intelligence-enhanced predictive insights for advancing financial inclusion: A human-centric ai-thinking approach. Big Data Cogn. Comput. 2020, 4, 8. [Google Scholar] [CrossRef]
  9. Marche, C.; Atzori, L.; Pilloni, V.; Nitti, M. How to exploit the Social Internet of Things: Query Generation Model and Device Profiles’ Dataset. Comput. Netw. 2020, 174, 107248. [Google Scholar] [CrossRef]
  10. Meghana, J.; Hanumanthappa, J.; Prakash, S.P.S. Performance comparison of machine learning algorithms for data aggregation in social internet of things. Glob. Transit. Proc. 2021, 2, 212–219. [Google Scholar] [CrossRef]
  11. Altulyan, M.; Yao, L.; Wang, X.; Huang, C.; Kanhere, S.S.; Sheng, Q.Z. A Survey on Recommender Systems for Internet of Things: Techniques, Applications and Future Directions. Inf. Fusion 2021, 35, 68–80. [Google Scholar] [CrossRef]
  12. Asaithambi, S.P.R.; Venkatraman, S.; Venkatraman, R. Big data and personalisation for non-intrusive smart home automation. Big Data Cogn. Comput. 2021, 5, 6. [Google Scholar] [CrossRef]
  13. Gandomi, A.H.; Chen, F.; Abualigah, L. Machine Learning Technologies for Big Data Analytics. Electronics 2022, 11, 421. [Google Scholar] [CrossRef]
  14. 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]
  15. Kong, Y.; Ma, X.; Wen, C. A New Method of Deep Convolutional Neural Network Image Classification Based on Knowledge Transfer in Small Label Sample Environment. Sensors 2022, 22, 898. [Google Scholar] [CrossRef] [PubMed]
  16. Marinov, M.B.; Nikolov, N.; Dimitrov, S.; Todorov, T.; Stoyanova, Y.; Nikolov, G.T. Linear Interval Approximation for Smart Sensors and IoT Devices. Sensors 2022, 22, 949. [Google Scholar] [CrossRef] [PubMed]
  17. Pavićević, M.; Popović, T. Forecasting Day-Ahead Electricity Metrics with Artificial Neural Networks. Sensors 2022, 22, 1051. [Google Scholar] [CrossRef] [PubMed]
  18. Chen, Y.H.; Chen, S.W.; Chang, P.J.; Hua, H.T.; Lin, S.Y.; Chen, R.S. A VLSI Chip for the Abnormal Heart Beat Detection Using Convolutional Neural Network. Sensors 2022, 22, 796. [Google Scholar] [CrossRef] [PubMed]
  19. Cheng, L.C.; Lin, W.S.; Lien, Y.H. A Hybrid Deep Learning Model for Predicting Stock Market Trend Prediction. Int. J. Inf. Manag. Sci. 2021, 32, 121–140. [Google Scholar]
  20. Wang, L.; Sng, D. Deep learning algorithms with applications to video analytics for a smart city: A survey. arXiv 2015, arXiv:1512.03131. [Google Scholar]
  21. Lau, B.P.L.; Marakkalage, S.H.; Zhou, Y.; Hassan, N.U.; Yuen, C.; Zhang, M.; Tan, U.X. A survey of data fusion in smart city applications. Inf. Fusion 2019, 52, 357–374. [Google Scholar] [CrossRef]
  22. Lin, J.; Chen, W.M.; Lin, Y.; Cohn, J.; Gan, C.; Han, S. Mcunet: Tiny deep learning on iot devices. arXiv 2020, arXiv:2007.10319. [Google Scholar]
  23. Le, L.T.; Nguyen, H.; Dou, J.; Zhou, J. A comparative study of PSO-ANN, GA-ANN, ICA-ANN, and ABC-ANN in estimating the heating load of buildings’ energy efficiency for smart city planning. Appl. Sci. 2019, 9, 2630. [Google Scholar] [CrossRef] [Green Version]
  24. Mohammadi, M.; Al-Fuqaha, A.; Guizani, M.; Oh, J.S. Semisupervised deep reinforcement learning in support of IoT and smart city services. IEEE Internet Things J. 2017, 5, 624–635. [Google Scholar] [CrossRef] [Green Version]
  25. Verhelst, M.; Moons, B. Embedded deep neural network processing: Algorithmic and processor techniques bring deep learning to iot and edge devices. IEEE Solid-State Circuits Mag. 2017, 9, 55–65. [Google Scholar] [CrossRef]
  26. Zamil, M.G.A.; Samarah, S.; Rawashdeh, M.; Karime, A.; Hossain, M.S. Multimedia-oriented action recognition in Smart City-based IoT using multilayer perceptron. Multimed. Tools Appl. 2019, 78, 30315–30329. [Google Scholar] [CrossRef]
  27. Drewil, G.I.; Al-Bahadili, R.J. Forecast Air Pollution in Smart City Using Deep Learning Techniques: A Review. Multicult. Educ. 2021, 7. [Google Scholar] [CrossRef]
  28. Sotiriadis, S.; Bessis, N.; Asimakopoulou, E.; Mustafee, N. Towards simulating the internet of things. In Proceedings of the 2014 28th International Conference on Advanced Information Networking and Applications Workshops, Victoria, BC, Canada, 13–16 May 2014; pp. 444–448. [Google Scholar]
  29. Zeng, X.; Garg, S.K.; Strazdins, P.; Jayaraman, P.P.; Georgakopoulos, D.; Ranjan, R. IOTSim: A simulator for analysing IoT applications. J. Syst. Archit. 2017, 72, 93–107. [Google Scholar] [CrossRef]
  30. Osterlind, F.; Dunkels, A.; Eriksson, J.; Finne, N.; Voigt, T. Cross-level sensor network simulation with cooja. In Proceedings of the 2006 31st IEEE Conference on Local Computer Networks, Tampa, FL, USA, 14–16 November 2006; pp. 641–648. [Google Scholar]
  31. Henderson, T.R.; Lacage, M.; Riley, G.F.; Dowell, C.; Kopena, J. Network simulations with the ns-3 simulator. SIGCOMM Demonstr. 2008, 14, 527. [Google Scholar]
  32. Gupta, H.; Vahid Dastjerdi, A.; Ghosh, S.K.; Buyya, R. iFogSim: A toolkit for modeling and simulation of resource management techniques in the Internet of Things, Edge and Fog computing environments. Softw. Pract. Exp. 2017, 47, 1275–1296. [Google Scholar] [CrossRef] [Green Version]
  33. Han, S.N.; Lee, G.M.; Crespi, N.; Heo, K.; Van Luong, N.; Brut, M.; Gatellier, P. DPWSim: A simulation toolkit for IoT applications using devices profile for web services. In Proceedings of the 2014 IEEE World Forum on Internet of Things (WF-IoT), Seoul, Korea, 6–8 March 2014; pp. 544–547. [Google Scholar]
  34. Defiebre, D.; Germanakos, P.; Sacharidis, D. DANOS: A Human-Centered Decentralized Simulator in SIOT. In Proceedings of the Adjunct Publication of the 28th ACM Conference on User Modeling, Adaptation and Personalization, Genoa, Italy, 14–17 July 2020; pp. 299–304. [Google Scholar]
  35. Kasnesis, P.; Toumanidis, L.; Kogias, D.; Patrikakis, C.Z.; Venieris, I.S. Assist: An agent-based siot simulator. In Proceedings of the 2016 IEEE 3rd World Forum on Internet of Things (WF-IoT), Reston, VA, USA, 12–14 December 2016; pp. 353–358. [Google Scholar]
  36. Jindal, A.; Aujla, G.S.; Kumar, N.; Prodan, R.; Obaidat, M.S. DRUMS: Demand response management in a smart city using deep learning and SVR. In Proceedings of the 2018 IEEE Global Communications Conference (GLOBECOM), Abu Dhabi, United Arab Emirates, 9–13 December 2018; pp. 1–6. [Google Scholar]
  37. Chen, J.F.; Chen, W.L.; Huang, C.P.; Huang, S.H.; Chen, A.P. Financial time-series data analysis using deep convolutional neural networks. In Proceedings of the 2016 7th International Conference on Cloud Computing and Big Data (CCBD), Macau, China, 16–18 November 2016; pp. 87–92. [Google Scholar]
  38. Rose, C.; Mian, I.S. Inscribed matter communication: Part I. IEEE Trans. Mol. Biol. Multi-Scale Commun. 2016, 2, 209–227. [Google Scholar] [CrossRef]
  39. Udmale, S.S.; Singh, S.K.; Bhirud, S.G. A bearing data analysis based on kurtogram and deep learning sequence models. Measurement 2019, 145, 665–677. [Google Scholar] [CrossRef]
  40. Pillai, A.S.; Chandraprasad, G.S.; Khwaja, A.S.; Anpalagan, A. A service oriented IoT architecture for disaster preparedness and forecasting system. Internet Things 2021, 14, 100076. [Google Scholar] [CrossRef]
  41. Akhter, R.; Sofi, S.A. Precision agriculture using IoT data analytics and machine learning. J. King Saud Univ.-Comput. Inf. Sci. 2021, in press. [Google Scholar] [CrossRef]
  42. Bhuiyan, R. Examination of Air Pollutant Concentrations in Smart City Helsinki Using Data Exploration and Deep Learning Methods. 2021. Available online: https://urn.fi/URN:NBN:fi:amk-2021060113276 (accessed on 30 May 2021).
  43. Alrahhal, H.; Jamous, R.; Ramadan, R.; Alayba, A.M.; Yadav, K. Utilising Acknowledge for the Trust in Wireless Sensor Networks. Appl. Sci. 2022, 12, 2045. [Google Scholar] [CrossRef]
  44. Al-Otaiby, N.; Alhindi, A.; Kurdi, H. AntTrust: An Ant-Inspired Trust Management System for Peer-to-Peer Networks. Sensors 2022, 22, 533. [Google Scholar] [CrossRef] [PubMed]
  45. Ghoneim, O.A.; Manjunatha, B.R. Forecasting of ozone concentration in smart city using deep learning. In Proceedings of the 2017 International Conference on Advances in Computing, Communications and Informatics (ICACCI), Udupi, India, 13–16 September 2017; pp. 1320–1326. [Google Scholar]
  46. Alam, F.; Mehmood, R.; Katib, I.; Albeshri, A. Analysis of eight data mining algorithms for smarter Internet of Things (IoT). Procedia Comput. Sci. 2016, 98, 437–442. [Google Scholar] [CrossRef] [Green Version]
  47. Rajendran, S.; Jebakumar, R. Object Recommendation based Friendship Selection (ORFS) for navigating smarter social objects in SIoT. Microprocess. Microsyst. 2021, 80, 103358. [Google Scholar] [CrossRef]
  48. Rahman, M.A.; Hossain, M.S.; Showail, A.J.; Alrajeh, N.A.; Alhamid, M.F. A Secure, Private, and Explainable IoHT Framework to Support Sustainable Health Monitoring in a Smart City. Sustain. Cities Soc. 2021, 72, 103083. [Google Scholar] [CrossRef]
Figure 1. Input sensors (IoT Objects).
Figure 1. Input sensors (IoT Objects).
Bdcc 06 00032 g001
Figure 2. Proposed process diagram.
Figure 2. Proposed process diagram.
Bdcc 06 00032 g002
Figure 3. Sensor data–random to Gaussian distribution.
Figure 3. Sensor data–random to Gaussian distribution.
Bdcc 06 00032 g003
Figure 4. Sensor data preprocessing from random to Gaussian distribution.
Figure 4. Sensor data preprocessing from random to Gaussian distribution.
Bdcc 06 00032 g004
Figure 5. Proposed relationship artificial neural network (R-ANN) knowledge model.
Figure 5. Proposed relationship artificial neural network (R-ANN) knowledge model.
Bdcc 06 00032 g005
Figure 6. Air Quality Status Types.
Figure 6. Air Quality Status Types.
Bdcc 06 00032 g006
Figure 7. People Presence Status Types.
Figure 7. People Presence Status Types.
Bdcc 06 00032 g007
Figure 8. Parking Status Types.
Figure 8. Parking Status Types.
Bdcc 06 00032 g008
Figure 9. Traffic Status Types.
Figure 9. Traffic Status Types.
Bdcc 06 00032 g009
Figure 10. Street Light Status Types.
Figure 10. Street Light Status Types.
Bdcc 06 00032 g010
Figure 11. Weather Status Types.
Figure 11. Weather Status Types.
Bdcc 06 00032 g011
Figure 12. Air quality objects in relationship.
Figure 12. Air quality objects in relationship.
Bdcc 06 00032 g012
Figure 13. People presence objects in relationship.
Figure 13. People presence objects in relationship.
Bdcc 06 00032 g013
Figure 14. Parking objects in relationship.
Figure 14. Parking objects in relationship.
Bdcc 06 00032 g014
Figure 15. Traffic objects in relationship.
Figure 15. Traffic objects in relationship.
Bdcc 06 00032 g015
Figure 16. Street light objects in relationship.
Figure 16. Street light objects in relationship.
Bdcc 06 00032 g016
Figure 17. Weather objects in relationship.
Figure 17. Weather objects in relationship.
Bdcc 06 00032 g017
Table 1. Description of relationship types.
Table 1. Description of relationship types.
Relationship TypesDefinitions
Parent-ORObjects that belong to the same manufacturer.
Ownert-ORObjects belonging to the same owner.
Guardiant-ORBetween Child object and parent object association.
Socialt-ORCloseness between objects either random in time or periodically.
Guestt-ORBetween objects that belong to the users in the guest role.
Siblingt-ORObjects that belong to a group of friends or family members.
Servicet-ORObjects coordinating in the same service composition.
Stranget-ORObjects suddenly disappear in a public environment.
Co-locationt-ORObjects share information at the same location.
Co-workt-ORGroup of objects shares common work done by them.
Table 2. State of the art.
Table 2. State of the art.
AuthorsApplicationsMethodologyRemarks
Pillai et al. [40]Disasters predictionProposed the MQ4, MQ7 and force sensing resistoron AWS cloud.It is confined only to IoT Architecture
Akhter et al. [41]Smart AgricultureML approach in Apple disease analytics.IoT in ML based agriculture analytic.
Bhuiyan et al. [42]Smart CityExamine the air pollutant using LSTM CNN, RNN and GRUAnalyse the quality of air.
Alrahhal et al. [43]Smart City SecurityTow-ACKs Trust (TAT) Routing protocolAnalyses network security based on trust.
Al-Otaiby et al. [44]Smart City trust management systemAntTrust, a trust management system inspired by the ant colonyAnalyze network trust between peers in P2P networks.
Table 3. Variables and its descriptions.
Table 3. Variables and its descriptions.
VariablesDescriptions
S M S y s t e m m o d e l
N O b j e c t s
R s R e l a t i o n s h i p
H o H o m o g e n e o u s O b j e c t
H t H e t e r o g e n e o u s O b j e c t
D I n d e p e n d e n t o b j e c t s
N x N e t w o r k s
D N x D i s t r i b u t i o n i n a s p a c e
S r S e r v i c e s
A p A p p l i c a t i o n s
S n S e n s o r s
K m K n o w l e d g e m o d e l
E r i n f E n v i r o n m e n t i n f o r m a t i o n
P u i n f P u b l i c i n f o r m a t i o n
L c L o c a t i o n s s t a t u s
A q A i r q u a l i t y s t a t u s
T m T e m p e r a t u r e s t a t u s
P s P r e s s u r e s t a t u s
H m H u m i d i t y s t a t u s
W t W e a t h e r s t a t u s
P p P e o p l e p r e s e n c e s t a t u s
P k P a r k i n g s t a t u s
T f T r a f f i c s t a t u s
S t S t r e e t l i g h t s t a t u s
Table 4. Semantic rules for establishing relationship.
Table 4. Semantic rules for establishing relationship.
Relationship TypesDevice TypeDistanceConection TypeCommunication ProtocolDevice Brand
STORdifferent≤ 15 mtpublic to privatezigbeedifferent
SRORsame≤15 mtpublic to privatewifidifferent
GUORdifferent>50 mt <100 mtprivate to privatewifi or bluetooth or wifi directdifferent
CWORdifferent<10 mtprivate to privatewifi or bluetooth or wifi directdifferent
CLORsame>10 mt <50 mtprivate to privatewifi or bluetooth or wifi directdifferent
PORsame<400 mtprivate to privatewifi or bluetooth or wifi directsame
GSORsame<10 mtprivate to privatewifi or bluetooth or wifi directdifferent
SIORdifferent<50 mtprivate to privatewifi or bluetooth or wifi directdifferent
SORdifferent>20 mt <50 mtpublic to privatewifi or bluetooth or wifi directdifferent
OORdifferent<20 mtprivate to privatewifi or bluetooth or wifi directsame
Table 5. Device profile dataset.
Table 5. Device profile dataset.
AttributesSample Descriptions
OwnerIdOwner IDs up to range of 1 to 100,000 users
DevicesDevices includes (smart phone, fitbit, tablet, car and smart watch)
DeviceBrandsTotal four brands A, B, C and D for all devices.
Distance0 to 500 m
ProtocolsBlueetooth, WIFI, GSM and Zigbee
DeviceTypePrivate and Public
LocationsDevice location Name
Table 6. Smart city dataset.
Table 6. Smart city dataset.
Attributes TypesSamples
People PresencePublicPeople present in the public places.
AirQualityAir quality of the public place
NO2Gaseous air pollutant comrpising nitrogen and oxygen
O3Ozone O3 in Ground-level or the bad ozone
COSmoke and fumes contained in carbon monoxide are common air pollutants.
noxPollution is emitted by automobiles, trucks and various non-road vehicles.
AirQualityIndexIt is used by government agencies to communicate to the public (range 0 to 500)
DeviceMovingAccelerometer in range of −270 to +270
MovementDevice movement yes or No
ParkingStatusCity location parking status yes or no
StreetlightStatusYes or no
TemperatureCity location temperature range of −10 to 100
PressureCity location pressure range of 0–100
HumidityCity location humidity range of 0–100
WeatherDescriptionCity location weather: sunny, cloudy, thunder, lightning and rainy
Point ofInterestCity location events range 1–50
LandMarkCity landmark
TrafficStatusCity landmark or location traffic status (yes or no)
Table 7. Services and corresponding applications.
Table 7. Services and corresponding applications.
ApplicationsServices
Air QualityLocation, Landmark, NO2, CO and NOx
WeatherLocation, Landmark, Pressure, Humidity and Temperature
TrafficMovement, Device Moving, Location and Landmark
ParkingMovement, Device Moving, Location and Landmark
Street LightMovement, Device Moving, Location and Landmark
People PresenceMovement, Device Moving, Location and Landmark
Table 8. Classification report of existing ANN.
Table 8. Classification report of existing ANN.
ApplicationsPrecisionRecallF1 ScoreAverage Accuracy
Weather Status0.940.930.9374.89 %
0.510.960.66
0.300.050.08
0.100.250.14
0.250.050.08
0.971.000.99
0.250.920.39
0.150.800.25
Air quality Status0.980.990.9896.08%
0.930.990.96
0.980.890.93
Traffic Status0.910.950.9294.00%
0.940.930.93
0.961.000.97
Parking Status0.501.000.6766.50%
0.550.850.66
People Presence Status0.650.750.6666.50%
0.501.000.67
Light Status0.971.000.9975.00%
0.350.990.51
Average Accuracy of All Applications 78.83%
Table 9. R e q u e s t d e v i c e s and R e s p o n d d e v i c e s .
Table 9. R e q u e s t d e v i c e s and R e s p o n d d e v i c e s .
Request DeviceProtocolsRepond DeviceServiceApplicationsRelation Identified
[SmartPhone][WiFi][Car]LocationTrafficSIBOR
[Tablet][Bluetooth][Car]LocationTrafficSIBOR
[SmartPhone][Bluetooth][Car]LandmarkWeatherPOR
[Tablet][Bluetooth][Car]Pressure, HumidityWeatherSIBOR
[Tablet][Bluetooth][Car]CO, NoxAir qualityPOR
[SmartPhone][WiFi][Car]CO, NoxAir qualityGUOR
[SmartPhone][WiFi][Car]CO, NoxAir qualityPOR
[SmartPhone][WiFi][Car]LandmarkWeatherGUOR
[SmartPhone][Bluetooth][Car]Movement, Device Moving, Location and LandmarkTrafficSIBOR
[Tablet][Bluetooth][Car]LandmarkWeatherSIBOR
[Tablet][Bluetooth][SmartPhone]LandmarkWeatherSIBOR
[SmartPhone][Bluetooth][SmartPhone]LandmarkWeatherPOR
[Tablet][Bluetooth][SmartPhone]LandmarkWeatherPOR
[SmartPhone][Bluetooth][SmartPhone]Movement, Device Moving, Location and LandmarkTrafficSIBOR
[Tablet][Bluetooth][SmartPhone]LandmarkWeatherSIBOR
[Tablet][Bluetooth][SmartPhone]LandmarkWeatherCWOR
[Tablet][Bluetooth][SmartPhone]LandmarkWeatherPOR
Table 10. Classification report of proposed R-ANN model.
Table 10. Classification report of proposed R-ANN model.
PrecisionRecallF1 Score
0.960.900.93
0.760.880.82
accuracy 0.90
macro avg0.860.890.87
weighted avg0.900.900.90
Overall Accuracy89.62 %
Table 11. Comparative study.
Table 11. Comparative study.
Dataset ModelResultsAccuracy
MSERMSEMAE R 2
PJM and Open Energy (Information)[45]CNN 0.542
SVR 0.542
City Pluse EU FP7[46]SVM 0.08 0.9
NN 0.02 0.9
GLM 0.2 0.9
CASAS Dataset MIT Dataset[47]SF + GWA + Ranking 1.816 1.585
IoHT data[48]CNN80% to 94%
MIT-BIH arrhythmia Dataset[18]CNN c 96.3 %
Smart city Dataset for 6 applications (Air quality Weather Traffic Parking Street Light People Precence) Proposed R-ANN 89.62 %
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

S. D., M.; Prakash, S.P.S.; Krinkin, K. Service Oriented R-ANN Knowledge Model for Social Internet of Things. Big Data Cogn. Comput. 2022, 6, 32. https://doi.org/10.3390/bdcc6010032

AMA Style

S. D. M, Prakash SPS, Krinkin K. Service Oriented R-ANN Knowledge Model for Social Internet of Things. Big Data and Cognitive Computing. 2022; 6(1):32. https://doi.org/10.3390/bdcc6010032

Chicago/Turabian Style

S. D., Mohana, S. P. Shiva Prakash, and Kirill Krinkin. 2022. "Service Oriented R-ANN Knowledge Model for Social Internet of Things" Big Data and Cognitive Computing 6, no. 1: 32. https://doi.org/10.3390/bdcc6010032

Article Metrics

Back to TopTop