Umbreen Fatima1, Mubasher Ali2, Nauman Ahmed3, M Rafiq4. 1. Department of Computer Science, University of Lahore, Lahore, Pakistan. 2. Department of Electrical Engineering, University of Lahore, Lahore, Pakistan. 3. Department of Mathematics, University of Lahore, Lahore, Pakistan. 4. Faculty of Engineering, University of Central Punjab, Lahore, Pakistan.
Abstract
This work is concerned with the numerical modeling of susceptible-latent-breakingout-quarantine-susceptible (SLBQRS) computer virus dynamics. The SLBQRS epidemic system is solved with three finite difference methods, one is proposed nonstandard finite difference (NSFD) method and the other two are well known forward Euler finite difference (FD) method and Runge-Kutta finite difference method of order 4 (RK-4). The proposed NSFD method preserves all the essential conditions of the continuous system while RK-4 method and forward Euler method fail to preserve some of its essential conditions like positivity, convergence to the true steady states of the continuous system. The convergence analysis of the proposed NSFD method is also performed. Bifurcation value of infection coefficient for the system is also find out.
This work is concerned with the numerical modeling of susceptible-latent-breakingout-quarantine-susceptible (SLBQRS) computer virus dynamics. The SLBQRS epidemic system is solved with three finite difference methods, one is proposed nonstandard finite difference (NSFD) method and the other two are well known forward Euler finite difference (FD) method and Runge-Kutta finite difference method of order 4 (RK-4). The proposed NSFD method preserves all the essential conditions of the continuous system while RK-4 method and forward Euler method fail to preserve some of its essential conditions like positivity, convergence to the true steady states of the continuous system. The convergence analysis of the proposed NSFD method is also performed. Bifurcation value of infection coefficient for the system is also find out.
Computer virus is a program which malignant for computer systems and disrupt the normal functionalities of the system and damages data files. Computer virus act like biological viruses which connects itself to a host computer, damages a program file, data file and operating system of that PC. It has the capacity to reproduce itself by attaching to other programs like epidemic disease. A virus will continue spreading the infection to other files and programs and affect the performance of any system. Viruses can be transmitted from computer to computer in many different ways and reproduce by mailing themselves to dozens of people in the inbox of host's mail address. It can also transmit by downloading any file from internet, network connections, floppy disk, and universal serial buses or by CDs. To study the prevention and control of the spread of virus in computers, epidemic models for computer virus dynamics are established in recent years [1, 2, 3, 4, 5, 6, 7, 8]. The spread of virus can be controlled by isolating the highly infected nodes. The isolation of infected files is a remedy to reduce the rapid transmission of virus in other computers.In this work, we solved numerically the quarantined epidemic model with latent and breaking-out over the internet [1]. The term latent is referred for the infected computers with latent period to become infectious. The breaking-out are the infectious computer which are effected by the virus and are needed to be recovered. The quarantine is referred to the isolation method in which highly infected nodes are isolated from the network. This method helps to slow down the spread of virus. The main purpose of this article is to develop a numerical scheme for susceptible-latent-breakingout-quarantine-susceptible (SLBQRS) computer virus model which preserves the structure of continuous model. It is necessary for a numerical method to preserve all the necessary conditions possessed by the continuous model. For example, numerical scheme cannot justify negative values for the solution of computer virus epidemic model because negative value of susceptible computers is meaningless. Therefore, in order to study the actual behavior of epidemic computer virus dynamics at all points of the domain, it is necessary to solve continuous system with structure preserving numerical method. Nonstandard finite difference (NSFD) method introduced by Mickens [5] is an efficient structure preserving numerical method to solve dynamical systems [5, 9, 10, 11, 12, 13, 14]. This technique has also become a reliable technique to solve epidemic models [5, 12, 13, 14]. Because of reliability, efficiency and capability of preserving the structure of continuous system, we develop a NSFD scheme for the numerical solution of SLBQRS computer virus model.The main motivation of this research is to develop the reliable positivity preserving numerical schemes for the continuous model for virus propagation in a computer network. In Section 2, stability of the model and its bifurcation analysis has been performed. Moreover, three finite difference numerical schemes for the continuous model are also presented and stability analysis of proposed NSFD scheme has been discussed. In Section 3, numerical experiment for all the FD schemes is performed, spectral radius has been calculated and effect of quarantine strategy has been observed. Sections 4 and 5 constitutes the relevant discussion and conclusion.
Materials and methods
Mathematical model
Susceptible computers at time t with no immunity.Latent computers at time t.Breaking out computers at time t.Quarantine computers at time t.Recovered computers at time t with temporary immunity.Rate of connection of external computers and disconnection of internal computers to the internet.Rate of crashing of nodes because of virus attack.Rate of infection.Rate at which latent computers break-out.: Cured rate for breaking-out computersRate at which breaking-out computers are quarantined.Cured rate of quarantined computers. Rate of recovery of infected computers in quarantined compartment.Rate at which recovered computers are susceptible again.The assumptions on the spread of virus in computer node are illustrated in Fig. 1. The diffusion between model classes can be described by the system of differential equations.
Fig. 1
State transition diagram for the flow of viruses in the SLBQRS model.
State transition diagram for the flow of viruses in the SLBQRS model.The system of nonlinear differential equations for SLBQRS epidemic model [1] is given aswith initial conditions
Analysis of the model
Two equilibrium points of the system (1) can be identified, one is virus free equilibrium (VFE) point and the other is viral equilibrium (VE) point. is the virus free equilibrium point and viral point , Wherewhere,is a basic reproductive number which decides the existence of point or point. If , then the system (1) has virus free point point and if , then system has viral point .
Stability of the system
The variational matrix of the system (1) at equilibrium point
[15] is given asWhere,The characteristics equation of isThe expression for and are mentioned in [16].The Routh-Hurwitz stability criteria gives and .
Bifurcation value of infection parameter
The value for which the equilibrium point shifts from stable to unstable region is known as bifurcation value. By using the procedure given in [15], the bifurcation value of infection parameter is computed. To compute the bifurcation value of , is substituted inThe Routh-Hurwitz stability method gives,The above equations are solved for the bifurcation value of . The point of equilibrium is shifted from stable to unstable equilibrium for the value . The negative and large values of are ignored. The equilibrium point is stable for the values greater than and is unstable for the values less than .
Forward Euler finite difference method
Forward Euler method is a well-known time forward FD scheme which is explicit in nature. This FD scheme is developed for the system (1) as,
RK-4 finite difference method
RK-4 is also a well-known time forward explicit FD scheme. RK-4 FD scheme for the system (1) isSTEP-1STEP-2STEP-3STEP-4Now,
Nonstandard finite difference method
Nonstandard FD method was developed firstly by Mickens [10] which overcomes the various problems such as the positivity concerning problem, boundedness and monotonicity etc. NSFD scheme has become very effective for solving epidemic systems as these systems possess properties like positivity boundedness etc. In this section, we design NSFD scheme for the system (1) with the help of the rules defined by Mickens [10].Similarly, we have
Convergence analysis
ConsiderThe Jacobian matrix at disease free equilibrium point isWhere,If all the eigenvalues of the Jacobian matrix are less than 1, then the proposed NSFD scheme is stable for every time step. We prove this numerically by plotting the spectral radius (largest eigenvalue) for very large time step with the help of MATLAB in Fig. 2.
Fig. 2
The spectral radius of Jacobian matrix at virus free equilibrium point.
The spectral radius of Jacobian matrix at virus free equilibrium point.Now the Jacobian matrix for viral equilibrium point isWhere,In Fig. 3, spectral radius of Jacobian matrix at viral equilibrium point for each time step is plotted.
Fig. 3
The spectral radius of Jacobian matrix at viral equilibrium point.
The spectral radius of Jacobian matrix at viral equilibrium point.
Results
In this section, a numerical experiment is carried out for the validations of claims about positivity and unconditional convergence of proposed NSFD scheme. Simulations are presented to validate the results by using MATLAB. The values of parameters used in the experiment are given in Table 1. Table 2 shows that the system is stable for all the cases.
Table 1
The parametric values.
Parameters
Values for disease free point
Values for viral point
μ
0.1
0.1
λ
0.9
0.9
β
0.01
0.2
α
0.1
0.1
η
0.1
0.1
γ
0.1
0.1
δ
0.1
0.1
ε
0.1
0.1
Table 2
Stability of the system.
Cases
μ
λ
β
α
η
γ
δ
ε
p1
p2
p3
p4
p5
k*
l*
Stable/Unstable
1
0.1
0.9
0.2
0.1
0.1
0.1
0.1
0.1
2.62
2.07
0.47
0.03
0.0004
2.10
0.16
Stable
2
0.1
0.9
0.2
0.1
0.1
0.3
0.1
0.1
2.82
2.35
0.53
0.03
0.0004
2.97
0.29
Stable
3
0.1
0.9
0.2
0.1
0.1
0.6
0.1
0.1
3.11
2.76
0.63
0.04
0.0004
4.68
0.60
Stable
4
0.1
0.9
0.2
0.1
0.1
0.9
0.1
0.1
3.41
3.18
0.74
0.05
0.0004
6.94
1.12
Stable
The parametric values.Stability of the system.
Spectral radius of Jacobian matrix
Fig. 2 demonstrate the spectral radius of Jacobian matrix at VFE point for the values of , . At each value of , the spectral radius remains less than 1. Hence each eigen value of Jacobian at VFE point is less than 1 which verifies the fact that proposed NSFD scheme is convergent at each time step .In the similar way as above, Fig. 3 also proves the unconditional convergence at VE point.
Euler method at VFE point
Fig. 4 represents the graphs of breaking out and quarantine computers only using Euler method. Graphs (a) and (b) show that Euler method lose positivity property and shows negative values of breaking-out and quarantine computers. Negative values of breaking-out and quarantine computers are meaningless and are due to scheme dependent instabilities. Graphs (c) and (d) describe that Euler method overflow and diverges at .
Fig. 4
Graphs (a) and (b) represent the breaking-out and quarantine computers respectively for virus free equilibrium using forward Euler method at while graphs (c) and (d) represent the breaking-out and quarantine computers respectively for virus free equilibrium using forward Euler method at .
Graphs (a) and (b) represent the breaking-out and quarantine computers respectively for virus free equilibrium using forward Euler method at while graphs (c) and (d) represent the breaking-out and quarantine computers respectively for virus free equilibrium using forward Euler method at .
RK-4 method at VFE point
The graphs (a)–(c) in Fig. 5 describe the virus free equilibrium point using RK-4 FD method. RK-4 FD method also produces negative values of latent and quarantined computers and finally diverges like Euler FD method.
Fig. 5
Graphs (a) and (b) represent the latent and quarantine computers respectively for virus free equilibrium using RK-4 method at while graphs (c) and (d) represent the latent and quarantine computers respectively for virus free equilibrium using RK-4 method at .
Graphs (a) and (b) represent the latent and quarantine computers respectively for virus free equilibrium using RK-4 method at while graphs (c) and (d) represent the latent and quarantine computers respectively for virus free equilibrium using RK-4 method at .
NSFD method at VFE point
Fig. 6 displays the graphs of breaking-out and quarantine computers at , graphs of latent and quarantine computers at using proposed NSFD method. Graphs verify that the proposed NSFD method preserves the positivity property and its convergence to the equilibrium points.
Fig. 6
Graphs (a) and (b) represent the breaking-out and quarantine computers respectively for virus free equilibrium using NSFD method at while graphs (c) and (d) represent the latent and quarantine computers respectively for virus free equilibrium using NSFD method at .
Graphs (a) and (b) represent the breaking-out and quarantine computers respectively for virus free equilibrium using NSFD method at while graphs (c) and (d) represent the latent and quarantine computers respectively for virus free equilibrium using NSFD method at .In Fig. 7, graphs (a)–(e) describe the virus free equilibrium state at using proposed NSFD method. Graphs show that proposed NSFD method converges to virus free point even at very large time step , showing that proposed NSFD method is independent of the step size .
Fig. 7
Graphs (a)–(e) represent the susceptible, latent, breaking-out, quarantine and recovered computers respectively for virus free equilibrium using NSFD method at .
Graphs (a)–(e) represent the susceptible, latent, breaking-out, quarantine and recovered computers respectively for virus free equilibrium using NSFD method at .
NSFD method at viral equilibrium point
Now, the graphs for NSFD scheme at VE are presented below.Graphs (a)-(e) in Fig. 8 describe the viral equilibrium state using proposed finite difference method at . It can be observed that proposed NSFD method converges to viral equilibrium point for every time step and also preserves positivity property.
Fig. 8
Graphs (a)–(e) represent the susceptible, latent, breaking-out, quarantine and recovered computers respectively for viral equilibrium using NSFD method at .
Graphs (a)–(e) represent the susceptible, latent, breaking-out, quarantine and recovered computers respectively for viral equilibrium using NSFD method at .
Effect of quarantine strategy
Fig. 9 reveals the effect of quarantine strategy by taking different values of . The values of influence the number of latent computers. Fig. 9 also depicts that both the quantities and latent computers L are inversely proportional to each other. By enhancing the quarantine technique, the number of latent computers can be decreased. In this way, the virus transmission can be controlled.
Fig. 9
Effect of quarantine strategy by taking different values of .
Effect of quarantine strategy by taking different values of .
Discussion
The selection of appropriate numerical method is very necessary to solve the dynamical systems. The numerical method must preserve all the essential properties demonstrate by the continuous system. In epidemic systems, positivity is necessary condition. NSFD method is positivity preserving method. By construction, Euler and RK-4 FD method have negative terms. This drawback of Euler and RK-4 FD methods is also verified via simulations. In NSFD scheme, positivity is maintained in its mathematical form and this attribute is verified by simulations. Also Euler and RK-4 FD schemes depends on time step and do not converge at different time steps to steady states of continuous system. While NSFD scheme is independent of time step and unconditionally converges to the true steady states of the system. The virus transmission can efficiently be controlled by quarantine strategy and this claim is verified by the simulations (Fig. 9).
Conclusions
This article is about the numerical study of SLBQR computer virus epidemic dynamics. In this paper, we used three numerical methods for SLBQR computer virus epidemic model and observes that classical numerical methods fail to preserve positivity property and do not converge to both equilibrium states of the model at each time step. While proposed NSFD scheme is positivity preserving and unconditionally convergent to both steady states of the model. Convergence of the proposed NSFD scheme is discussed with the help of Jacobian matrix at both equilibrium points of the model. Stability of the SLBQR system is also verified with the help of Routh-Hurwitz conditions. Moreover, the bifurcation value of infection coefficient in SLBQR system is evaluated with the help of Routh-Hurwitz criteria.
Declarations
Author contribution statement
Umbreen Fatima: Conceived and designed the experiments; Performed the experiments; Analyzed and interpreted the data; Wrote the paper.Mubasher Ali: Performed the experiments.Nauman Ahmed: Conceived and designed the experiments; Analyzed and interpreted the data; Wrote the paper.Muhammad Rafiq: Analyzed and interpreted the data.
Funding statement
This research did not receive any specific grant from funding agencies in the public, commercial, or not-for-profit sectors.
Competing interest statement
The authors declare no conflict of interest.
Additional information
No additional information is available for this paper.