Abstract

By incorporating the objective of keeping a low number of infected nodes and a high number of recovered nodes at a lower cost into a known computer virus model (the delay-varying SIRC model) extended by introducing quarantine, a novel model is described by means of the optimal control strategy and theoretically analyzed. Through the comparison of simulation results, it is shown that the propagation of computer virus with varying latency period can be suppressed effectively by the optimal control strategy.

1. Introduction

With the advance of computer software and hardware technology and communication technology, the number and sort of computer viruses have increased dramatically, which causes huge losses to the human society. Therefore, establishing reasonable computer virus propagation models by considering the characteristics of computer virus, by model analysis, and by understanding the spread law of the virus over the network is a currently hot topic of research.

Learning from the epidemic models, the classical SIR (susceptible-infected-recovered) computer virus propagation model [1, 2], as well as its extensions [315], is extended to explore the behavior of computer virus propagation in network. For example, by considering the computer virus fixed latent period, Mishra et al. [6, 7] proposed delayed SIRS, SEIR computer virus models with a fixed period of temporary immunity, which accounts for the temporary recovery from the infection of virus. Very recently, Ren and Xu [16] introduced an interesting virus propagation model, known as the SIRC model, by considering the fact that when the virus enters into the susceptible computers, their latency periods vary and investigated the dynamics of the model. Once the rule of the virus spread is revealed, it comes to be a major issue how to control the virus spread effectively [1719].

In this paper, by incorporating the objective of keeping a low number of infected nodes and a high number of recovered nodes at the lower cost into a delay-varying computer virus propagation model (SIRC model) extended by introducing the new compartment quarantine, a novel model is described by means of the optimal control strategies associated with measures of quarantine and installing antivirus programs and firewalls and theoretically analyzed. It is comparatively showed that optimal control strategy is much more effective for controlling virus with varying latency period in network.

The remaining materials of this paper are organized this way: Section 2 introduces the mathematical model to be discussed; Section 3 studies the controlled system theoretically. In Section 4, we solve the controlled system numerically using the Runge-Kutta procedure and make numerical comparisons with control and without control. We end the paper with a brief conclusion in Section 5.

2. Mathematical Model

Consider a delay-varying computer virus model recently proposed in [16] Here, it is assumed that all the computers connected to the network in concern are classified into three categories: susceptible, infected, and recovered computers. Let , , and denote their corresponding numbers at time. This model involves some positive parameters: denotes the rate at which external computers are connected to the network,denotes the recovery rate of infected computers due to the antivirus ability of the network,  denotes the rate at which one computer is removed from the network, and denotes the rate at which, when having connection to one infected computer, one susceptible computer can become infected. By appropriate assumptions and extensions in [16], model (1) can be written as where denotes the effect of past infection information in the susceptible computers at time ,is a positive delay parameter with the initial conditions, , , and the positively invariant set

Recently, more research attention has been paid to the combination of virus propagation models and antivirus countermeasures to investigate the prevalence of virus. As an elementary measure, quarantine [20, 21] is used to restrain the spread of computer virus. Extending the previous SIRC, a new compartment quarantine has been introduced under which the susceptible, infected computers exhibited suspicious behavior and, consequently, have been quarantined. The model with quarantine can be written as where parameter    denotes the rate at which the susceptible computers are quarantined,denotes the rate at which the infected computers are quarantined.

For our purpose, first, we introduce two Lebesgue square integrable control functions. (1) denotes the cost for installing effective antivirus programs and firewalls on the susceptible computers and infected computers at time .(2) denotes the cost for quarantining the susceptible and infected computers at time .

Both of the control functions are normalized to fall between 0 and 1, and the admissible set of control functions is given by

To obtain the controlled model, the following assumptions are made.(1)At time , there are infected computers that would become recovered, whereas there arethat would be quarantined, where.(2)At time , by installing antivirus programs and firewalls, there are susceptible computers that would directly become recovered, whereas there are that would be quarantined, where.

Taking into account the assumptions made above, the model (7) can become the following computer virus propagation model: with the given initial conditions and the positively invariant set.

3. Optimal Control Problem

During the time period, under the above assumptions and extensions, our objective is given by the following.(1)Minimize the number of infected computers () and maximize the number of recovered computers ().(2)Minimize the total cost to quarantine the susceptible and infected computers.(3)Minimize the total cost for installing the antivirus programs and firewalls in the susceptible and infected computers.

Thus, our optimal control problem is to minimize the objective functional: where parameterdenotes the weight constants of effect of latent virus, , are trade-off factors.

To find an optimal solution to (4), consider the Lagrangian

Define the Hamiltonian for the control problem as with the transversality conditions (or boundary conditions),  .

Theorem 1. There exist control functions, so thatsubject to the controlled system (6) with initial condition.

Proof. We use the results in [22, 23]. It is clear that the set of control and corresponding state variables are nonnegative values and the set is convex and closed.is convex on . Meanwhile, the optimal system (4) is bounded by a linear function in the state variables. Also, there exist a constant and two positive numbers and so that .

In the following, we use Pontryagin’s maximum principle [24] to obtain a necessary condition for the optimal control solution to the system (4).

Theorem 2. Consider the optimal control problem (7) subject to (6). Let , , , ,  and  form the optimal state solution with associated optimal control variables, . Then, there exist adjoint variables, , , , andthat satisfy with transversality conditions,  .

Proof. By the adjoint equations and optimality conditions, we have which can be obtained from, , respectively.
Noting a fact that, , we obtain that
From the previous analysis, to get the optimal point, we have to solve the system with the Hamiltonian

4. Numerical Simulations

In this section, to find out the optimal control solution, we numerically solve system (13) with (14) by a Runge-Kutta procedure and make numerical comparisons. Figures 15 plot the numbers of susceptible, infected, recovered, and quarantined computers as well as the effect of past infection information in the susceptible computers with and without control, with the parameters shown in Table 1 and the initial conditions shown in Table 2.

The number of computers under control is marked by solid line, whereas the number of remaining computers is marked by dashed line. One can see that, under control, the number of susceptible computers is sharply low, which is the same as the effect of past infection information in Figure 5. In Figure 2, we can see that the number of infected computers under control is lower than that without control. In Figure 3, the number of recovered computers is very small without control and more recovered computers increase more rapidly. Although the number of quarantined computers with control would slightly grow in Figure 4, we mainly consider tradeoff between the cost and effect of the quarantine. Figures 6 and 7 plot the control variables , versus time with associated weight factor and, respectively.

5. Conclusions

By incorporating the objective of keeping a low number of infected nodes and a high number of recovered nodes at the lower cost into a known computer virus model (the delay-varying SIRC model) extended by introducing quarantine, a novel model is described by means of the optimal control strategy and theoretically analyzed. A comparison between optimal control and without control is presented, which demonstrates the effectiveness of our method. The results obtained in the present paper can help understand and control the spread of computer virus over a computer network.

Acknowledgments

The work is supported by the National Natural Science Foundation of China under Grant no. 61304117, no. 61272297 and no. 61100167, the Natural Science Foundation of Jiangsu Province, China under Grant no. BK2011204, the doctorate teacher support project of JiangSu Normal University under Grant no. 12XLR021, and the Natural Science Foundation of the Jiangsu Higher Education Institutions of China under Grant no. 13KJB520008, the Natural Science Foundation of the Jiangsu Higher Education Institutions of China under Grant no. 11KJB520019.