Abstract

By considering that people may immunize their computers with countermeasures in susceptible state, exposed state and using anti-virus software may take a period of time, a computer virus model with time delay based on an SEIR model is proposed. We regard time delay as bifurcating parameter to study the dynamical behaviors which include local asymptotical stability and local Hopf bifurcation. By analyzing the associated characteristic equation, Hopf bifurcation occurs when time delay passes through a sequence of critical value. The linerized model and stability of the bifurcating periodic solutions are also derived by applying the normal form theory and the center manifold theorem. Finally, an illustrative example is also given to support the theoretical results.

1. Introduction

As globalization and development of communication networks have made computers more and more present in our daily life, the threat of computer viruses also becomes an increasingly important issue of concern. In 2003, a virus, called worm king, rapidly spread and attacked the global world, which results the network of the internet to be seriously congested and server to be paralyzed [1]. In 2010, the report of pestilence about computer virus in China revealed that more than 90% computers in China are infected computer virus.

Computer viruses are small programs developed to damage the computer systems erasing data, stealing information. Their action throughout a network can be studied by using classical epidemiological models for disease propagation [26]. In [79], based on SIR classical epidemic model, Mark had proposed the dynamical models for the computer virus propagation, which provided estimations for temporal evolutions of infected nodes depending on network parameters [1012]. In [13], Richard and Mark propose a modified propagation model named SEIR (susceptible-exposed-infected-recover) model to simulate virus propagation. In [14], on this basis of the SIR model, Yao et al. proposed a SIDQV model with time delay which add a quarantine state to clean the virus. However, both above models assume the viruses are cleaned in the infective state. In fact, in addition to clean viruses in state I, people may immunize their computers with countermeasures in state S and state E in the real world. Moreover there may be a time lag when the node uses antivirus software to clean the virus.

In this paper, in order to overcome the above-mentioned limitation, we present a new computer virus model with time delay which is depending on the SEIR model [15]; time delay can be considered the period of the node uses antivirus software to clean the virus. This model provides an opportunity for us to study the behaviors of virus propagation in the presence of antivirus countermeasures, which are very important and desirable for understanding of the virus spread patterns, as well as for management and control of the spread. The remainder of this paper is organized as follows. In Section 2, the stability of trivial solutions and the existence of Hopf bifurcation are discussed. In Section 3, a formula for determining the direction of Hopf bifurcation and the stability of bifurcating periodic solutions will be given by using the normal form and center manifold theorem introduced by Hassard et al. in [16]. In Section 4, numerical simulations aimed at justifying the theoretical analysis will be reported.

2. Mathematical Model Formulation

Our model is based on the traditional SEIR model [79, 15, 17]. The SEIR model has four states: susceptible, exposed (infected but not yet infectious), infectious, and recovered. Our assumptions on the dynamical model are as follows.(1)In the real world, in addition cleaning viruses in state I, people may immunize their computers with countermeasures in state S and state E (after virus being cleaned), which may result in new state transition paths in comparison with SIR model:S-R: using countermeasure of real-time immunization,E-R: using real-time immunization after virus codes cleaning.(2)In state S, when people install the antivirus software on their computer, we assume that their computer can be immunized at a unit time.(3)In state E, since the computer is infected by the virus, the antivirus software may use a period to search the document and clean the viruses.(4)Denote the period of time of killing viruses when users find that their computers are infected by viruses.(5)While the computer is installed the antivirus software, it will not be quarantine or replacement. On the basis of the above hypotheses (1)–(5), the dynamical model can be formulated by the following equations: where describes the impact of implementing real-time immunization, describes the impact of cleaning the virus and immunizing the nodes, and describes the impact of quarantine or replacement. is the transition rate from to , and is the recovery rate from to . is the time delay that the node usees antivirus software to clean the virus. is the transition rate from to .

3. Local Stability of the Equilibrium and Existence of Hopf Bifurcation

We may see that the first three equations in (2.1) are independent of the fourth equation, and therefore, the fourth equation can be omitted without loss of generality. Hence, model (2.1) can be rewritten as For the convenience of description, we define the basic reproduction number of the infection as Clearly, we have the following results with respect to the stable state of system (3.1). Here, the proof is omitted (see [17] for the details).

Theorem 3.1. If , system (3.1) has only the disease-free equilibrium and is globally asymptotically stable. If , becomes unstable and there exists a unique positive equilibrium , where . Furthermore, for any , is asymptotically stable if and unstable if .

To investigate the qualitative properties of the positive equilibrium with , it is necessary to make the following assumption:

(H1) .

Under hypothesis (H1), the Jacobian matrix of the system (3.1) about is given by where .

We can obtain the following characteristic equation: where If is a root of (3.4), then Separating the real and imaginary parts of (3.6), we have Adding up the squares of (3.7) yields Letting , then (3.8) becomes Letting , then we have the following results (see [1822] for details) about the distributions of the positive roots of (3.9).

Lemma 3.2 (see [1822]). (i) If , then (3.9) has at least one positive root.
(ii) If and , then (3.9) has no positive root.
(iii) If and , then (3.9) has positive roots if and only if and .

Suppose (3.9) has positive roots; without loss of generality, we assume that it has three positive roots defined by , . By (3.7), we have Thus, denoting where ; , then is a pair of purely imaginary roots of (3.4) with . Define Note that when , (3.4) becomes In addition, Routh-Hurwitz criterion [13] implies that, if the following condition holds, then all roots of (3.13) have negative real parts.

(H2) .

Till now, we can employ a result from Ruan and Wei [23] to analyze (3.4), which is, for the convenience of the reader, stated as follows.

Lemma 3.3 (see [23]). Consider the exponential polynomial where () and () are constants. As vary, the sum of the order of the zeros of on the open right half plane can change only if a zero appears on or crosses the imaginary axis.

Using Lemmas 3.2 and 3.3 we can easily obtain the following results on the distribution of roots of the transcendental (3.4).

Lemma 3.4. (2.1) If and , then all roots with positive real parts of (3.4) have the same sum as those of the polynomial (3.13) for all .
(3.1) If either or and , , then all roots with positive real parts of (3.4) have the same sum as those of the polynomial (3.13) for .

Lemma 3.5. If , then the following transversality condition holds:

Proof. Differentiating (3.4) with respect to yields For the sake of simplicity, denoting and by respectively, then Then we get Then, if , we have , we complete proof.

Thus from Lemmas 3.2, 3.3, 3.4, and 3.5, and we have the following.

Theorem 3.6. Suppose that (H1) and (H2) hold, then the following results hold.(1)The positive equilibrium of (3.1) is asymptotically stable, if and ;(2)if either or and , , system (3.1) is asymptotically stable for and system (3.1) undergoes a Hopf bifurcation at the origin when .

4. Direction of the Hopf Bifurcation

In this section, we derive explicit formulae for computing the direction of the Hopf bifurcation and the stability of bifurcation periodic solution at critical values by using the normal form theory and center manifold reduction.

Letting , and dropping the bars for simplification of notation, system (3.1) is transformed into an FDE as with where Using the Riesz representation theorem, there exists a function of bounded variation for , such that In fact, we can choose where is Dirac delta function.

In the next, for , we define Then system (4.2) can be rewritten as where .

The adjoint operator of is defined by where is the transpose of the matrix .

For and , we define where . We know that is an eigenvalue of , so is also an eigenvalue of . We can get From the above discussion, it is easy to know that Hence we obtain Suppose that the eigenvector of is Then the following relationship is obtained: Hence we obtain Let One can obtain

Hence we obtain

In the remainder of this section, by using the same notations as in Hassard et al. [16], we first compute the coordinates for describing the center manifold at . Leting be the solution of (4.1) with , we define On the center manifold we have where

In fact, and are local coordinate for in the direction of and . Note that, if is, we will deal with real solutions only. Since Rewrite (4.23) as where From (4.1) and (4.24), we have Let where Expanding the above series and comparing the corresponding coefficients, we obtain Since , we have Thus, we can obtain So It follows from (4.24) and (4.25) that where Since , we have Comparing the coefficients of the above equation with those in (4.27), we have In what follows, we focus on the computation of and . For the expression of , we have Comparing the coefficients of the above equation, we can obtain that Substituting (4.39) into (4.27) and (4.38) into (4.27), respectively, we get So In the sequel, we will determine and . Form the definition of in (4.8), we have From (4.6) and (4.38)-(4.39), we have Substituting (4.41) and (4.44) into (4.42) and noticing that we can obtain which leads to It follows that Based on the above analysis, we can see each in (4.37) is determined by parameters and delays in (3.1). Thus, we can compute the following quantities:

Theorem 4.1. In (4.50), the following results hold.(1)The sign of determines the directions of the Hopf bifurcation: if then the Hopf bifurcation is forward (backward) and the bifurcating periodic solutions exist for .(2)The sign of determines the stability of the bifurcating periodic solutions: the bifurcating periodic solutions are stable (unstable) if .(3)The sign of determines the period of the bifurcating periodic solutions: the period increases (decreases) if .

5. Numerical Examples

In this section, some numerical results of system (3.1) are presented to justify the Previous theorem above. As an example, considering the following parameters: , then , and . According to the Lemma 3.2, (3.9) has one positive real root . Correspondingly, by (3.13), we obtain . First, we choose , the corresponding wave form and phase plots are shown in Figure 1; it is easy to see from Figure 1 that system (3.1) is asymptotically stable. Finally, we choose the corresponding wave form and phase plots are shown in Figure 2; it is easy to see that Figure 2 undergoes a Hopf bifurcation.

6. Conclusions

In this paper, considering that in addition to cleaning viruses in state I, people may immunize their computers with countermeasures in state and state , and since using antivirus software will take a period of time, we have constructed a computer virus model with time delay depending on the SEIR model. The theoretical analyses for the computer virus models are given. Furthermore, we have proved that when time cross through the critical value, the system exist a Hopf bifurcation. Finally, simulation clarifies our results.

Acknowledgments

This work was supported in part by the National Natural Science Foundation of China under Grant 60973114 and Grant 61170249, in part by the Research Fund of Preferential Development Domain for the Doctoral Program of Ministry of Education of China under Grant 20110191130005, in part by the Natural Science Foundation project of CQCSTC under Grant 2009BA2024, in part by Changjiang Scholars, and in part by the State Key Laboratory of Power Transmission Equipment & System Security and New Technology, Chongqing University, under Grant 2007DA10512711206.