scieee AI-readable full text Open interactive document viewer

An Analytical Model Based on Population Processes to Characterize Data Dissemination in 5G Opportunistic Networks

Hernández-Orallo, Enrique; murillo arcila, marina; Cano, Juan Carlos; Calafate, Carlos; Conejero, J. Alberto; Manzoni, Pietro

Abstract

The scarcity of bandwidth due to the explosive growth of mobile devices in 5G makes the offloading messaging workload to Wi-Fi devices that use opportunistic connections, a very promising solution. Communications in mobile opportunistic networks take place upon the establishment of ephemeral contacts among mobile nodes using direct communication. In this paper, we propose an analytical model based on population processes to evaluate data dissemination considering several parameters, such as user density, contact rate, and the number of fixed nodes. From this model, we obtain closed-form expressions for determining the diffusion time, the network coverage, and the waiting time. Newer 5G wireless technologies, such as WiGig, can offer multi-gigabit speeds, low latency, and security-protected connectivity between nearby devices. We therefore focus our work on the impact of high-speed and short-range wireless communications technologies for data dissemination in mobile opportunistic networks. Moreover, we test whether the coexistence with a fixed infrastructure can improve content dissemination, and thus justify its additional cost. Our results show that, when user density is high, the diffusion is mainly performed through the opportunistic contacts between mobile nodes, and that the diffusion coverage is close to 100%. Moreover, the diffusion is fast enough to dynamically update the information among all the participating members, so users do not need to get closer to fixed spots for receiving updated information.

Full text

SPECIAL SECTION ON TUNABLE DEVICES FOR MODERN COMMUNICATIONS: MATERIALS, INTEGRATION, MODELING, AND APPLICATIONS Received October 19, 2017, accepted November 27, 2017, date of publication December 6, 2017, date of current version February 14, 2018. Digital Object Identifier 10.1109/ACCESS.2017.2779748 An Analytical Model Based on Population Processes to Characterize Data Dissemination in 5G Opportunistic Networks ENRIQUE HERNÁNDEZ-ORALLO1, (Member, IEEE), MARINA MURILLO-ARCILA2, JUAN-CARLOS CANO1, CARLOS T. CALAFATE1, J. ALBERTO CONEJERO 3, AND PIETRO MANZONI1, (Senior Member, IEEE) 1Departamento de Informática de Sistemas y Computadores, Universitat Politècnica de València, 46022 Valencia, Spain 2Institut de Matemàtiques i Aplicacions de Castelló, Universitat Jaume I. Castelló, 12071 Castellón de la Plana, Spain 3Instituto Universitario de Matemática Pura y Aplicada, Universitat Politècnica de València, 46022 Valencia, Spain Corresponding author: Enrique Hernández-Orallo ([email protected].es) This work was supported in part by the Ministerio de Economa y Competitividad, Spain, under Grant TEC2014-52690-R, Grant MTM 2016-75963-P, and Grant SEV-2013-0323, in part by Generalitat Valenciana, Spain, under Grant AICO/2015/108 and Grant ACOMP/2015/005. ABSTRACT The scarcity of bandwidth due to the explosive growth of mobile devices in 5G makes the offloading messaging workload to Wi-Fi devices that use opportunistic connections, a very promising solution. Communications in mobile opportunistic networks take place upon the establishment of ephemeral contacts among mobile nodes using direct communication. In this paper, we propose an analytical model based on population processes to evaluate data dissemination considering several parameters, such as user density, contact rate, and the number of fixed nodes. From this model, we obtain closed-form expressions for determining the diffusion time, the network coverage, and the waiting time. Newer 5G wireless technologies, such as WiGig, can offer multi-gigabit speeds, low latency, and security-protected connectivity between nearby devices. We therefore focus our work on the impact of high-speed and short-range wireless communications technologies for data dissemination in mobile opportunistic networks. Moreover, we test whether the coexistence with a fixed infrastructure can improve content dissemination, and thus justify its additional cost. Our results show that, when user density is high, the diffusion is mainly performed through the opportunistic contacts between mobile nodes, and that the diffusion coverage is close to 100%. Moreover, the diffusion is fast enough to dynamically update the information among all the participating members, so users do not need to get closer to fixed spots for receiving updated information. INDEX TERMS 5G mobile communication, analytical models, opportunistic networks, contact-based messaging, performance evaluation. I. INTRODUCTION The growing share of people using mobile devices, offers the opportunity to build a ubiquitous infrastructure for electronic word-of-mouth messaging and advertising, making it especially suitable, for example, for a new form of viral marketing. Solely considering the use of fixed infrastructure-based solutions, e.g. 3G/4G or WiFi hotspots, entails important drawbacks like service or deployment costs, reduced coverage and performance when a given site is crowded, or due to the impact on propagation of modern building materials and structures. As a consequence, providers may try to reduce the quantity and quality of the content sent, minimising the diffusion of multimedia content, and thus reducing even more the number of users interested in being contacted. 5G planning has a higher capacity than current 4G, allowing a higher density of mobile broadband users, and supporting device-to-device, ultra reliable, and massive machine communications. As an example of this short-distance highspeed wireless technology, the 802.11ad wireless standard (also known as WiGig) has been recently approved. WiGig is a short-distance WiFi standard that supports speeds of up to 4.6Gbps [1]–[3]. Opportunistic networks are an evolution of MANETs (Mobile Ad hoc Networks) and DTN (Delay-Tolerant Networks) systems that exploit human contacts for data sharing purposes. Instead of relying on a VOLUME 6, 2018 2169-3536 2017 IEEE. Translations and content mining are permitted for academic research only. Personal use is also permitted, but republication/redistribution requires IEEE permission. See http://www.ieee.org/publications_standards/publications/rights/index.html for more information. 1603 E. Hernández-Orallo et al.: Analytical Model Based on Population Processes to Characterize Data Dissemination fixed infrastructure, the communication in mobile opportunistic networks takes place upon the establishment of ephemeral contacts among mobile nodes using direct communication. Adopting short-distance high-speed communication augments the benefits of opportunistic contacts, supporting transfers of up to 1GB of information in 5-10 seconds, and reducing network congestion and interferences. In this paper we focus on the problem of distributing large amounts of data among visitors of open areas (shopping malls, museums, parks, etc.) through their mobile devices. We propose the combination of peer-to-peer opportunistic diffusion and short-distance high-speed wireless communication to achieve a faster dissemination. This model provides an extension to the one presented in [4], where only the transmission between mobile devices, and not fixed nodes was considered. Moreover, in this model the waiting time is also included. In this work we assume a scenario where the information to be shared is stored (and kept updated) at various fixed spots, from where users can access simply by getting close to any of them. The type of content we are referring to is multimedia information like commercial videos about the shops and restaurants in the mall, or brief documentaries regarding the pieces of art in a museum. Since this information is also disseminated using opportunistic contacts between mobile devices, we avoid the necessity for all of them to move close to some of the fixed spots. Thus, our goal is to analytically study the performance of these opportunistic contact-based messaging scenarios. The key contributions of our work are the following: •We propose an analytical model based on Population Processes to understand the fundamental trade-offs of the information diffusion performance based on several parameters such as user density, contact rate, etc. We obtain closed-form expressions for the information diffusion time, network coverage, and waiting time. We also study their stable equilibrium points and their conditions. The performed evaluations show that these models correctly reproduce the dynamics of information diffusion. •We show that, when user density is high, the diffusion is mainly dependant on opportunistic contacts among mobile nodes, and the coverage achieved is close to 100%. Regarding the arrival and departure of users, their impact is more important when user density is low. •In our scenario, the diffusion is fast enough to dynamically update the information among all the participating members, so users do not need to get close to fixed spots for receiving updated information. Based on the closed-form expressions of the model, we can determine the frequency of information updating, showing that it mainly depends on user density and user renewal rate. We consider that the results presented in this paper can be useful for the practical deployment of fixed nodes in open places, determining the practical coverage and diffusion time, as shown in the wide set of examples presented in the evaluation section for theme parks, commercial malls and museums. The paper is organised as follows. After reviewing related work in Section II, we outline the diffusion scenario in Section III. In Section IV we introduce the performance models, and in Section V we present the evaluation of the selected scenarios using our model. Finally, in Section VI we conclude the paper. II. RELATED WORK It is well known that mobility affects the diffusion of messages in wireless networks [5]–[7]. Concretely, there have been several studies addressing the diffusion of information using opportunistic networks. The majority of these studies are focused solely on content diffusion among mobile devices. Zhang et al. [8] developed an analytical model to study epidemic content delivery. Other proposals such as [9] and [10] evaluate the message dissemination behaviour of the Epidemic protocol by focusing on mobility patterns of the nodes. In these papers, the authors explain the relationship between factors such as speed, mobility model, node density, and places. Some papers are more focused on evaluating the impact of human behaviour in the opportunistic forwarding of messages [11], [12]. In order to improve connectivity in mobile networks, several papers have proposed adding fixed infrastructures such as base stations, relays or meshes, known as hybrid networks [13]. Another approach, such as placing a sparse set of well-connected base stations in an ad hoc wireless network has been studied in [14]. Dousse et al. [15] analysed whether the use of autonomous agents can improve the performance of sparse mobile networks, while in [16] it was studied how systems of base stations, called Infostations, are able to provide intermittent coverage and connectivity in mobile networks. Some other papers studied how to offload the wireless infrastructure through opportunistic communications. Hui et al. [17], evaluate how these hybrid networks can improve message delivery ratios. More concretely, they conclude that opportunistic communication improves the system capacity and delay, even with infrastructure networks with high access point density. Some other papers are more focused on offloading the cellular networks load. Whitbeck et al. [18], evaluate a context dissemination framework (Push-and-track) to minimise the load on the cellular network infrastructure while guaranteeing tight delivery delays. Lee et al. [19], present a study of the real performance of 3G mobile data offloading through WiFi networks, showing a reduction of 65% 3G traffic . Han et al. [20] investigate several strategies to find the subset of opportunistic users that will lead to the greatest infection ratio by the end of a message’s lifetime, in order to minimise the load on the infrastructure. A recent paper by Sciancalepore et al. [21], proposes HYPE (HYbrid oPportunistic and cEllular), a technique which minimises the load on the cellular network while meeting delay constraints. A similar approach, TOSS (Traffic Offloading by SNS-Based opportunistic sharing) is 1604 VOLUME 6, 2018 E. Hernández-Orallo et al.: Analytical Model Based on Population Processes to Characterize Data Dissemination introduced in [22]. In general, these papers focus on reducing the network load, but no evaluation is performed to determine the impact of user density on the opportunistic diffusion process. A related approach is the so-called Floating Content [23]. Floating content is a contact sharing application, where a message at a certain area is tagged with geographical coordinates of that area, that is referred to as the anchorzone of the message. This approach is a kind of best effort service, in which messages are locally generated, their availability is geographically limited and their lifetime and diffusion depend on the mobility and resources of mobility nodes. Recently, this approach has been evaluated in open city squares in [24] using a custom mobility model, spatial analysis and Markov chains, and assuming that nodes enter and leave the city square. Some other papers study in detail the mobility of pedestrians in realistic spaces, such as buildings and streets, and evaluate its impact on message diffusion performance. For example, Vukadinović et al. [25] study the mobility along a street using a pedestrian mobility simulator (LEGION) which is usually considered in urban and traffic planning. Based on these results they develop an analytical model to study the connectivity properties. A more detailed study using the same mobility simulator was performed by Helgason et al. [26]. Concretely, they evaluated the impact of mobility in two simulated scenarios on opportunistic communication (mainly inter-contact time and contact duration). They also evaluated the impact of access points (AP) location on this opportunistic communication. The results show that, as expected, the type of scenario is the most import aspect to consider. Coupling a mobility simulator, such as SUMO, with a diffusion simulator is a very common approach for evaluating the diffusion of VANETs [27]. Another study by Pajevic and Karlsson [28] proposes a model based on SDE (Stochastic Differential Equations) for crowd-counting using an application that receives messages from AP (access points) and by contact between mobile nodes using the scenarios from [26]. Although the previous models, can capture some of the microscopic dynamics of pedestrian mobility and interactions, they are very specific to the simulated scenario, and their applicability to other scenarios is not clear. A similar approach to ours, but using lowspeed transmission, is the one presented by Vukadinovic and Mangold [29]. They performed an experimental evaluation based on the mobility of visitors in an entertainment theme park in order to understand network requirements (minimum number and density of mobile devices and supporting infrastructure nodes) for opportunistic communication. Being just an experimental testbed, no performance model is obtained. The results show that, in this scenario, the efficiency of the diffusion depends on user density and the distribution of contacts. Some of the results presented in [29] match the ones obtained in our paper, validating our model empirically. A common approach regarding the performance evaluation of message diffusion, as detailed previously, is to combine a network simulation tool with realistic mobility traces or mobility simulators. Although these evaluation approaches can provide realistic results, the key mechanisms underlying the information diffusion are difficult to identify because of the amount of details integrated in these models. Furthermore, simulation can be very time consuming, and has to be restricted to the scenarios for which mobility traces are available or generated. In such cases, analytical models can avoid these drawbacks by providing a faster and broader performance evaluation, being fundamental to the systematic investigation of the impact of the complex features of information diffusion. Two types of analytical models have been proposed for modelling this type of network dynamics: Markovian models [22], [30]–[35], and deterministic models based on Ordinary Differential Equations (ODEs) [8], [13], [31], [36], [37]. The main problem with Markov chain models is that, if no closed-form expressions are obtained, their numerical resolution when the number of nodes is high is unfeasible, and so they cannot be used to model crowded places. In general, as the population size Nbecomes large, ODEs can be derived as the limits of Markovian models, as it was stated by the Kurtz’s convergence theorem [38]. We based our model on Population Processes, a method commonly used to model the dynamics of biological population [39]. Haas and Small [31] presented a model based on epidemiological processes for a network that used animals (whales) as data carriers to store and transfer messages (a similar approach to DTN). Zhang et al. [8] derived ODE equations for studying the dynamics of various forwarding and recovery DTN schemes, such as epidemic and 2-hop, among others. Banerjee et al. [13] introduced an ODE for evaluating hybrid networks with fixed nodes. De Abreu and Salles [36] introduced a mathematical approach for describing messages diffusion in opportunistic networks using the Epidemic protocol. This approach is based on well-known models for the spreading of human epidemical diseases, e.g. SIR (Susceptible, Infectious and Recovered) models. One of the main conclusions of their analysis (mathematical model and its respective simulation) is that SIR models are quite accurate for the average behaviour of Epidemical DTN. Xu et al. [37] proposed a detailed analytical model to analyse the epidemic information dissemination in mobile social networks. It is also based on SIR models including rules that concern user’s behaviour, especially when their interests change according to the information type, and it can have a considerable impact on the dissemination process. Nevertheless, these previous models, do not take into account several social aspects that influence the performance of message dissemination, such as the user density, and the dynamics of users arriving and leaving a place. III. DIFFUSION SCENARIO The scenario studied in this paper is an open area where users can enter and leave (e.g., a public square, a shopping mall, live concerts, etc.). Relevant information regarding the place has to be disseminated (and kept updated) rapidly among VOLUME 6, 2018 1605 E. Hernández-Orallo et al.: Analytical Model Based on Population Processes to Characterize Data Dissemination FIGURE 1. A sample scenario: a place with two fixed spots and several mobile nodes. Mobile modes can receive the information from the fixed nodes (F1and F2) or from other nodes (if one of the nodes has the information). the present users (see figure 1). Beside typical textual and photographic information, we particularly consider multimedia content, such as commercial videos in shopping malls, video guides in touristic places, music videos in live concerts, etc, meaning that the size of the information transferred can be very high (about 1GB). This information is expected to be stored in fixed nodes deployed throughout the place and delivered to the mobile devices of users either directly or indirectly. Direct delivery refers to users accessing content by simply getting close to any of the fixed spots. Indirect delivery is performed using contact-based communication by establishing direct short-range links directly between mobile devices. The delivered content is stored in these devices to enable its distribution when future contacts take place achieving a full dissemination of this content. We will use short-distance high-speed communication links because they allow augmenting the benefits of opportunistic contacts since, even for short-lived connections lasting 5-10 seconds, we can transfer approximately 1GB of information. We therefore consider that, at these speeds, when a contact occurs the nodes can exchange all the information stored in their buffers. Information dissemination takes place as follows: users have mobile devices with a custom application that notifies and shows the user the received information. Each mobile node has a local buffer where all the information is stored. The mobile contact-based diffusion occurs when two nodes establish a pair-wise connection, so that nodes having updated information may transmit it to the others. Contact-based information spreading is based on epidemic diffusion, a concept similar to the spreading of infectious diseases, where an infected node (the one that has the information) contacts another node to infect it (transmits the information). Epidemic routing obtains the minimum delivery delay at the expense of increased buffer usage and increased number of transmissions.1All nodes running the application collaborate in storing and forwarding the information. Regarding the fixed nodes, there is a set of F visible spots distributed throughout the place. The user can also move close to a fixed spot and stay there for several seconds in order to receive the updated information. Summing up, both kinds of communication are based on contacts using short-range highspeed transmission. Typically, not all contacts will end with a successful transmission. The effectiveness of a transmission depends on several factors, mainly contact duration, but also on interferences and social behaviours such as selfish nodes. We define an effective contact as the contact that is successful, i.e., whose duration allows the complete transfer of all the desired information. Assuming a contact rate ˆ λthat comprises all opportunistic contacts between pairs of nodes, and defining pas the probability of successful transmission, the effective contact rate is simply λ=pˆ λ. Thus, from now on, we will use the term contact rate to refer to the effective contact rate, that is a composite measure of contact rates and transmission probability. Regarding information updating, our goal is to avoid that users need to return to the fixed spots. Thus, when new or updated information is generated, it is transmitted to the fixed nodes, so that these nodes start the diffusion of this updated information. Then, a new diffusion is started, and the nodes that have the updated information transmit it whenever a new contact takes place. The update frequency will depend on the final diffusion time. As shown later in this paper, this time is short (in the order of minutes). Finally, we devise two ways of deleting this information; the first one is a simple expiration time approach based on the TTL of the information, and the second one occurs when the user leaves the place through location-based services. IV. PERFORMANCE MODEL In this section we propose an analytical performance model to evaluate the dissemination of information in the scenario described in the previous section. This performance model is based on population processes or models. A population model is a mathematical model used in population dynamics to model the spread of parasites, viruses, and diseases [39]. Specifically, our model is based on biological epidemic models [40], where individuals can be infected by other nodes when a contact occurs. In our case, an infected node refers to a node that has the information, and an infection refers to the process whereby a node that has the information transmits it to another node. First, we will introduce the basic epidemic model, that is then extended to an open place with fixed nodes. This deterministic approach relies on the homogeneous mixing approximation, which assumes that the 1Note that our goal is to perform a full diffusion of the information, so epidemic routing is the best choice. Other routing strategies have been proposed for point-to-point transmission, such as two-hop, PRoPHET, spray and wait, etc. to reduce the network load. 1606 VOLUME 6, 2018 E. Hernández-Orallo et al.: Analytical Model Based on Population Processes to Characterize Data Dissemination individuals in the population are well mixed and interact with each other completely randomly. A. BASIC EPIDEMIC MODEL In the basic epidemic model [8], nodes move freely within a closed area with a given effective contact rate between pairs λ. The number of nodes Nin a place remains constant, and when a node carrying information (an infected node) contacts another node that does not have the updated information (called the susceptible node), they immediately exchange the information. From that moment on, both nodes carry the same information. The dynamics of this system can be expressed using a deterministic model based on ODE’s (Ordinary Differential Equations): S0(t)= −λS(t)I(t) I0(t)=λS(t)I(t) (1) for all t≥0, where I(t) denotes the class of infected nodes at time t,S(t) refers to the class of susceptible nodes to be infected, and λ > 0 stands for the growth rate where the number of infected nodes increases proportionally to the number of infected and non-infected ones. The population remains constant: N=I+S. These ODE’s have an analytical solution assuming one initial node infected (I(0) =1) [8]. More specifically, the infected nodes are described by the logistic function: I(t)=N 1+(N−1)e−λNt for all t≥0.(2) B. OPEN PLACE WITH FIXED NODES MODEL In this subsection we propose a new model for evaluating the diffusion of information in the scenario described in section III. Specifically, nodes move freely within a given area with a contact rate between pairs λ > 0, and new nodes come to the place with an arrival rate β > 0. New nodes are susceptible nodes (that is, they do not have the information yet). We suppose that nodes leave the place with an exit rate δ > 0. These parameters correspond to the birth and death rates of the epidemical models. Thus, the number of nodes (population) in the place at time t,N(t), depends on the initial number of nodes in the place, N0=N(0), and also on the arrival and exit rates. We assume a short-range communication scope, so network congestion and interferences do not have a strong impact on performance. In our model, we consider that both susceptible and infected nodes can leave the area. This behaviour differs from the typical death rate of epidemic SIR models, where only the infected nodes can be removed due to death (that is, leave the place). Therefore, the final exit rate for each of these classes of susceptible and infected nodes is proportional to the relative number of nodes in each of them. Thus, the number of nodes is not constant over time, and it can be obtained as N(t)=N0+(β−δ)t, where N(t)=I(t)+S(t), assuming also that N(t)>0 for all t≥0. FIGURE 2. Graphical representation of the transitions between classes. Let us assume that in the place there are Ffixed nodes, with an effective contact rate 3 > 0 among mobiles nodes and fixed nodes.2When a contact between a fixed node and a susceptible mobile node occurs, the mobile node gets infected (that is, it receives the information). We always assume that only susceptible nodes contact with fixed nodes, as infected nodes already have the information. To design our model we take into account the following transitions (see figure 2): •(→S, β): new nodes enter the place with arrival rate β. •(S→I, λSI): new nodes get the information when effective contacts between mobile nodes occurs. •(S→I, 3SF): new nodes receive the information from fixed nodes. •(S→, δS/(I+S)): nodes with no information leave the place. •(I→, δI/(I+S)): nodes with the information leave the place. This system can be expressed using a deterministic model based on ODE’s: S0(t)= −λS(t)I(t)+β−δS(t)/N(t)−3S(t)F I0(t)=λS(t)I(t)−δI(t)/N(t)+3S(t)F N0(t)=β−δ(3) C. DYNAMICS OF THE MODEL Now, we are going to study the dynamics of this system. First, we focus our evaluation on the number of nodes, that will depend on the arrival and exit rates. Figure 3shows the evolution of the infected nodes I(t) and the overall number of nodes N(t) as a function of time for different arrival and exit rates. All plots start with the same number of nodes (N0= 100 and F=2), zero infected nodes (I(0) =0), and contact rates λ=3=0.001. Three posible cases are evaluated: the first one is when β < δ, and, as shown in Figure 3a, all the nodes leave the place, making N(t) fall to 0. Figure 3b shows the case when β > δ where the number of nodes increases indefinitely.3Finally, in Figure 3c, we study the case when β=δ. First, we see that, when there are no arrival and exits (β=δ=0), the system reaches an equilibrium point where 2Note that both λand 3refers to the average contact rate between pairs of nodes and not between all nodes, so these contact rates do not depend on nodes density 3To be realistic, we can impose a limit Lto the number of nodes in the place (the capacity of the place), so when N(t)≥L,βis set to δ(that is, the entrance is restricted). VOLUME 6, 2018 1607 E. Hernández-Orallo et al.: Analytical Model Based on Population Processes to Characterize Data Dissemination FIGURE 3. Evolution of the infected nodes for different values of βand δ. We used for all plots λ=3=0.001, N0=100 and F=2. For obtaining these plots, equations 3are numerically solved using Euler’s method, with a step size of h=0.001. : (a) β=0, δ=1; (b) β=1, δ=0; (c) β=δfor 0 and 1. all nodes get the information. However, when the system has the same arrival and exit rate (for example, β=δ=1) the system reaches an equilibrium point, but not all the nodes get the information (I(t)<N(t)). This is the most relevant case, and we proceed to study the equations in (3), when the system reaches the equilibrium, that is, N(t)=N0and β=δ. In this case, if we consider the I0(t) equation from (3), and replace N(t) with N0, and S(t) with N0−I(t), we have: I0(t)=λ(N0−I(t))I(t)−βI(t)/N0+3(N0−I(t))F = −λI2(t)+λN0−3F−β N0I(t)+3N0F(4) which is a Riccati differential equation. To simplify the notation we denote b=λN0−3F−β N0. The general solution of (4) will be given by I(t)=Ip(t)+1 z(t), where Ipdenotes a particular solution of (4) defined as: Ip(t)=b−pb2+4λ3N0F 2λ,for all t≥0.(5) On the other hand, z(t) denotes the solution of the linear differential equation z0(t)=(2λIp−b)z(t)+λ. Solving this equation, and considering the initial condition I(0) =0, we obtain: I(t)=Ip+1 Cedt −λ d ,for all t≥0,(6) with d=2λIp−b, and C=λIp−d dIp. Using this equation we can obtain the diffusion time Tdfor Mnodes setting I(t)=Mand solving for t: Td(M)=1 dlog −d−Ipλ+λM CdIp−CdM (7) Now, from equation (4), we are going to find the equilibrium points (Se,Ie) of the discrete unidimensional system obtained when taking into account that, in the equilibrium β=δ and I(t)+S(t)=N0. For studying the equilibrium points, we derive a discretised equation of I(t) for h>0 small enough: Ii+1=Ii+h(−λIi(N0−Ii)−βIi/N0+3(N0−Ii)F) (8) The equilibrium points are given as solutions of −λI2+(λN0−β N0−3F)I+3N0F=0.(9) To simplify the notation let b=(λN0−β N0−3F), and solving the quadratic equation we have: I=−b±pb2+4λ3N0F −2λ.(10) Since in our model the number of infected nodes must be always positive, the unique equilibrium point is given by Ie=b+√b2+4λ3N0F 2λ. Let f(I)=I+h−λI2+(λN0−β N0−3F)I+3N0F. 1608 VOLUME 6, 2018 E. Hernández-Orallo et al.: Analytical Model Based on Population Processes to Characterize Data Dissemination FIGURE 4. Evolution of the infected nodes for different values of λand (3, F). We used for all plots β=δ=1, λ=3=0.001 and N0=100. For obtaining these plots, equations 3are numerically solved using Euler’s method, with a step size of h=0.001. (a) Low number of fixed nodes: F=2; (b) Medium number of fixed nodes F=20; (c) High number of fixed nodes: F=100. Finally, we analyse the behaviour of Ie. The derivative of fis given by f0(S)=1+h−2λI+λN0−β N0−3F= 1+h(−2λI+b). Since, f0(Ie)=1−h(b+pb2+4λ3N0F), we get |f0(Ie)|<1, and then Ieis an attractor. Due to the fact that S(t)+I(t)=N0for all t≥0, we can directly extend these results to the two-dimensional case. As a consequence, the only equilibrium point that will exist is the one obtained from Ie, that is: (Se,Ie)= v−pb2+4λ3N0F 2λ,b+pb2+4λ3N0F 2λ! (11) where b=λN0−3F−β N0and v=λN0+3F+β N0. It is important to remark that this point will always make sense since Se,Ie≥0 for all λ, β, 3, F. Now, we study the influence of the two classes of contacts, that is, between pairs of nodes, and between mobile nodes and fixed nodes. The mean number of contacts per second between all pairs of nodes is λN(N−1). In a similar way, for the fixed nodes, this number is 3NF. If the number of nodes Nand the contact rates λ,3are constant, an increase in the number of fixed nodes Fcauses an increase of the number of contacts of this type. In Figure 4we plot the evolution of the infected nodes I(t) assuming that the diffusion is performed only by indirect delivery, that is, only through contacts between mobile nodes,4so 3=0; and finally, assuming that diffusion is performed by direct delivery, that is, only through contacts with the fixed nodes, so λ=0. All plots start with the same number of nodes N0=100, the same arrival and exit rates β=δ=1, and the same contact rates λ=3=0.001. Note that we are interested in the relation between the two classes of contacts. In the first plot (Figure 4a) we assume a reduced number of contacts between the fixed nodes by setting F=2. We can clearly observe that diffusion is mainly performed by the mobile contacts, since the impact of the fixed nodes diffusion is very reduced (it only reaches 20 nodes). The second plot (Figure 4b) shows the results of increasing the number of fixed nodes contacts with F=20.We can see that both classes of diffusion have a similar contribution to the diffusion process as a whole. Finally, in Figure 4c, we set F=100, and in this case the diffusion is mainly performed by the fixed nodes. D. WAITING TIME The previous expressions (mainly diffusion time and infected nodes) evaluate the performance of the whole system. Nevertheless, it is interesting to evaluate this performance from the user’s point of view. That is, when a person enters the place, how long does it take to receive the information? This delay is known as the waiting time. In this case, we assume that 4Note that, in this case we assume that only one node has the information at the beginning, that is N0=1 VOLUME 6, 2018 1609 E. Hernández-Orallo et al.: Analytical Model Based on Population Processes to Characterize Data Dissemination FIGURE 5. Evaluation of the impact of the variation of the arrival/exit rates. We used for all plots λ=3=0.001, N0=100 and F=2. For obtaining these plots, equations 13 are numerically solved using Euler’s method, with a step size of h=0.001. (a) A sample of the arrival/exit rate with ξβ(t) and ξδ(t) following a normal distribution N(1,0.252). (b) Evolution of the infected nodes depending on time; (c) Distribution of Iξ(200), showing a Normal fit. the system has reached the equilibrium, and so the number of nodes with the information is Ie, and users do not leave the place until they receive the information. So, this new node will receive the information when it contacts with an infected node or a fixed node with rates λor 3, respectively. This can be expressed as a pure birth process, with two states: k=0, representing that no information is received, and k=1, if the information is received. The birth rate λb=λIe+3Fis constant, meaning that we have the familiar Poisson process, and so the arrival time for k=1 is the expected waiting time: Tw=E[T1]=1 λb=1 λIe+3F(12) when the system gets an equilibrium point. E. IMPACT OF VARIABILITY IN THE ARRIVAL/EXIT RATES Imposing the equilibrium condition for the analysis of real scenarios could be a very strong requirement, especially when the arrival and exit rates vary along the time, considering that sometimes there are more people arriving than exiting (and vice-versa). Although in the previous deterministic model we are taking mean values of these rates, now we are going to evaluate how the variation of these rates can impact on the equilibrium and thus on the previous expressions. For this study, we are going to incorporate noise for βand δparameters in the ODE’s of the dynamic model. This approach is a way to evaluate the dynamics of a diffusion system that are subjected to some random variability and this variability is propagated forward by the underlying equations [41]. For the arrival rate, let ξβ(t) be a time series representing the noise derived from a normal distribution with mean µ=βand variance σ2(for the exit rate we derive also ξδ(t)). Then, equations in (3) are transformed to: S0 ξ(t)= −λSξ(t)Iξ(t)+ξβ(t)−ξδ(t)Sξ(t)/Nξ(t)−3Sξ(t)F I0 ξ(t)=λSξ(t)Iξ(t)−ξδIξ(t)/Nξ(t)+3Sξ(t)F N0 ξ(t)=ξβ(t)−ξδ(t) (13) Note that no equilibrium can be reached from this system, due to the continuous variation of the arrival and exits rate. Nevertheless, it can reach a quasi-stationary equilibrium so we can evaluate the impact that the arrival/exit variation has on the infected nodes. We used the same parameters as in previous experiments (λ=3=0.001, N0=100 and F=2), with the arrival and exit rates following a normal distribution for β=1 and σ=0.25, as shown in figure 5a. We obtained 1000 different realisations of Iξ(t) resolving equations (13) using Euler’s method. The results for the mean, maximal and minimal values of Iξ(t) are shown in 5b. We can see that the mean, as expected, coincides with the deterministic 1610 VOLUME 6, 2018 E. Hernández-Orallo et al.: Analytical Model Based on Population Processes to Characterize Data Dissemination resolution of I(t), and than the variation from this mean is very low. Furthermore, we can see that the number of infected nodes at time 200s (that is, when the deterministic model is in equilibrium), also follows a normal distribution, with µ=90 and σ=1.67, showing a low standard deviation. This fact confirms, that the deterministic model is a good approximation even with varying arrival and exit rates. V. PERFORMANCE EVALUATION The model introduced in section IV allows us to evaluate the dynamics of the information diffusion in a place and to calculate parameters such as the number of nodes having the information, the diffusion time, and the waiting time when the system reaches the equilibrium. Since the evolution and dynamics of the system were already studied in section IV, in this section we focus on scenarios where the system reaches an equilibrium state, that is, assuming that the arrival and exit rates are the same. From now on, we refer to both rates jointly as the renewal rate. First, we consider a generic evaluation, where we evaluate the performance depending on user density, renewal rate, contact rate, and number of fixed nodes. Next, we apply the model to the study of several real scenarios. A. GENERIC EVALUATION In this subsection we consider a place with an area of about A=10.000m2with N0mobiles nodes (i.e. users) and a user density5d=N0/A. Based on the studies provided in [42], user density in open places for walking profiles can range from 0.005 to 0.2 users per square metre (u/m2). With these densities, users can move freely, entering and leaving the place with a renewal rate β=δ, carrying a mobile device that can establish pair-to-pair connection using short-distance high-speed connections. Instead of directly using the renewal rate, for practical purposes, we use the (relative) renewal percentage (RR), defined as the percentage of nodes that are renewed in the place every second: RR =100 ·β/N0. Based also on [42], typical values of RR range from 0 (no renewal) to 1% (fast renewal).6 Regarding the contact rate between pairs of mobile nodes, empirical results on the inter-meeting time via real, extensive mobility traces [43]–[46], show that the contact rate λranges between 0.1 and 0.01c/h.7For the contact rate between mobile nodes and fixed nodes, we use 3=0.11 c/h, that was experimentally obtained in [47]. Note that the impact of the fixed nodes will depend on both the contact rate and its number (factor 3F), and so we set the contact rate to 3=0.11 c/h, and we vary the number of fixed nodes in order to increase the diffusion performance. 5Note that we are only considering as users the people willing to receive the information and to collaborate in the diffusion, which may be only portion of all the people in the place. When real values are used we consider half of the people as communicating nodes. 6Note that 1% is an extremely high renewal rate, since it implies that in 100s all users are renewed. As an example we have a subway walkway. 7From now on, we express the contact rate as contacts per hour. We first evaluate the diffusion coverage. We define diffusion coverage as the final percentage of users that receive the information when the system reaches the equilibrium. This value is obtained evaluating the factor 100 ·Ie/N0using expression (11). This coverage is represented using a contour plot depending on user density and renewal percentage. Figure 6a is the coverage plot with two fixed nodes (F=2) and contact rate 0.05c/h. We can see that when density increases, the percentage of users receiving the information also increases, reaching nearly 100% of the users when density is very high, and the renewal percentage is below 0.1. This diffusion is mainly dependant on inter-mobile contacts. For low densities and higher renewal percentages, the achieved coverage is reduced to values below 50% of the users. If we increase the number of fixed nodes (F=20) the coverage is increased, as shown in Figure 6b. We observe the impact that fixed nodes have on the diffusion process when population density is low. We also see that these fixed nodes increase the diffusion coverage by comparing these results with the ones obtained when considering only two fixed nodes (Figure 6a). Nevertheless, this contribution to the diffusion process is vanished when user density increases. Finally, if the contact rate is higher (λ=0.1c/h), we can see in Figure 6c that the achieved coverage increases for all densities and renewal percentages. Summing up, increasing the number of fixed nodes can improve the coverage when the user density is low, but the diffusion mainly depends on indirect deliveries (that is, between mobile nodes), a fact that becomes more evident when the contact rate is increased. We now evaluate the diffusion time of the information using expression (7). Figure 7shows the diffusion time depending on user density for two renewal rates (0.05% and 0.2%), and for two amounts of fixed nodes (F=2 and F=20). Since reaching 100% of the nodes is not possible when the renewal rate is greater than zero, we plot the diffusion time for lower diffusion coverage ratios (75% to be more specific). In general, we can see that diffusion time decreases exponentially with user density. As expected, with a higher contact rate (λ=0.1) the diffusion time is reduced, especially when user density is low. We can reduce this diffusion time by increasing the number of fixed nodes, as shown in the curves for λ=0.1 and F=20. Note, that when density is very low, the coverage is below 75%, and so the diffusion time is not represented. Finally, it is also relevant to evaluate the waiting time, that is, the expected time a user who enters a place has to wait in order to receive the information, using expression (12). In Figure 8a we show the waiting time using the same parameters as in Figure 7. In general, we can see that, when user density is high, the waiting time is very low (less than 30 seconds) because it takes little time to contact another user carrying the information. For low densities, the effect of increasing the number of fixed nodes becomes quite evident as it can be seen in the plot zoom available in the graph. These cases deserve more scrutiny, and so Figure 8b shows the waiting time depending on the number of fixed VOLUME 6, 2018 1611