1 Introduction

To the best of our knowledge, vaccination is one of the most effective ways to treat and prevent diseases. It has been used to restrain diseases such as tetanus, diphtheria, rubella, mumps, pertussis, measles, hepatitis B and influenza [1]. For instance, during the outbreak of SARS in 2003 [2], H1N1 influenza pandemic in 2009 [3], and H7N9 influenza in 2013 [4], unprecedented mass influenza vaccination programs were launched by a large number of countries to timely immunize as many people as possible. Those strategies greatly controlled the spread of infection and then decreased the incidence rate [5]. In addition, with the development of information technology, media reports play an important role in the prevention and control of diseases, for example, during the outbreak of SARS and H1N1, media reports effectively stopped the spread of the disease and provided scientific and reasonable preventive measures for people [69]. However, in order to use media with high efficiency to control diseases, it is necessary to describe the quantitative relationship between the number of infections and media coverage with mathematical formula. Recently, many scholars researchers have carried out wide studies and obtained a great deal of achievement in this field (see [10, 11]). Most of them assumed that when there is no infection there is no media coverage of infectious diseases, the more infected individuals, the more media coverage. Liu et al. [12] established an SEIH epidemic model with incidence rate \(\beta {e^{(-a_{1}E-a_{2}I-a_{3}H)}SI}\) and found that media coverage is not a key factor in determining whether or not a disease will break out, but it has a evident impact on the scale of the spread of disease. Cui et al. [13] presented an SEI epidemic model with incidence rate \(\beta {e^{-mI}SI}\) and found the disease can be controlled when the media impact is stronger. Tchuenche et al. [14] discuss how media coverage has impact on the disease by constructing a new constant rate \((\beta _{1}-\frac{\beta _{2}I}{\eta +I})\), where \(\beta _{1}\) is the usual valid contact rate, \(\beta _{2}\) is the maximum reduced valid contact rate through actual media coverage, and \(\eta (\eta >0)\) is the rate of the reflection on the disease. On the other hand, media coverage cannot completely prevent disease transmission, so we have \(\beta _{1}>\beta _{2}\). Moreover, other forms, such as \((\mu _{1}-\mu _{2}f(I))\frac{SI}{S+I}\), \(\beta e^{-\epsilon m M}\), \(\beta e^{-\alpha I(t-\tau )}\), have been proposed to describe the media-induced incidence rate (see [1517]). In addition to media reports, vertical transmission can also affect the spread of diseases; in vertical transmission, the offspring of infected parents may already be infected with the disease at birth [1820], such as rubella, herpes simplex, hepatitis B, Chagas’ disease and AIDS. Meng and Chen [21] proposed a new SIR epidemic model with vertical and horizontal transmission, they compared the validity of the strategy of pulse vaccination with no vaccination and constant vaccination, and concluded that a pulse vaccination strategy is more effective than no vaccination and continuous vaccination. In [22], they considered a non-linear mathematical model for HIV epidemic that spreads in a variable size population through both horizontal and vertical transmission and found that by controlling vertical transmission rate, the spread of the disease can be significantly reduced; the equilibrium values of infective and AIDS population can be maintained at the desired levels.

Motivated by the above work, in this paper, we build a new SIR epidemic model with both vertical transmission and media coverage and give a compartmental diagram (see Fig. 1) as follows:

$$ \textstyle\begin{cases} {\frac{dS}{dt} =-(\beta _{1}-\frac{\beta _{2}I}{\eta +I}){SI}-\mu {S}+(1- \alpha ){p\mu {I}}+(1-\alpha ){\mu (S+R)},} \\ {\frac{dI}{dt} = (\beta _{1}-\frac{\beta _{2}I}{\eta +I}){SI}-\mu {I}- \gamma {I}+q\mu {I},} \\ {\frac{dR}{dt} =\gamma {I}-\mu {R}+\alpha {p\mu {I}}+\alpha {\mu (S+R)}.} \end{cases} $$
(1.1)

The parameters in the model (1.1) are summarized in the following list:

  • \(\beta _{1}\): the usual valid contact rate.

  • \(\beta _{2}\): the maximum reduced valid contact rate through actual media coverage.

  • η: the rate of the reflection on the disease.

  • μ: who are born and die at the same rate.

  • γ: the recovery rate of the infected individuals.

  • p: the proportion of the offspring of infective parents that are susceptible individuals.

  • q: the proportion of the offspring of infective parents that are infective individuals.

  • α: the proportion of those vaccinated successfully to the entire susceptible including mature species.

Figure 1
figure 1

The compartmental diagram and model equation for a novel SIR epidemic model with vertical transmission and media coverage

Here the constants \(0 < p < 1,0 < q < 1, p+q=1\), \(0<\alpha <1\) and the other parameters are nonnegative.

In addition, one can see that the population has a constant size, which is normalized to unity

$$ S(t)+I(t)+R(t)=1. $$

Hence, we only need to consider the SI model as follows:

$$ \textstyle\begin{cases} {\frac{dS}{dt} =-(\beta _{1}-\frac{\beta _{2}I}{\eta +I}){SI}-\mu {S}-(1- \alpha )\mu {q}I+(1-\alpha ){\mu },} \\ {\frac{dI}{dt} = (\beta _{1}-\frac{\beta _{2}I}{\eta +I}){SI}-(p\mu + \gamma )I.} \end{cases} $$
(1.2)

Clearly, \(\Gamma =\{(S,I)|S,I\geq 0,S+I<1\}\) is an invariant set of the model (1.2).

On the other hand, one neglected the effect of the environment noise for the disease in model (1.2), in fact, in the process of transmission, the disease inevitably was affected by environmental noise (see e.g. [23, 24]). Therefore, deterministic epidemic models cannot accurately predict the future dynamics of infectious diseases, while stochastic models can make and many stochastic models for an epidemic have been built (see e.g. [2527]). In [28], Ji et al. discussed a stochastic SIR model and found the disease shows persistence under some conditions. In [29], Yang et al. studied the global threshold dynamics for a stochastic SIS epidemic model incorporating media coverage and gave the basic reproduction number which determines the persistence or extinction of the disease.

Next we introduce stochastic perturbations using a method similar to that in [30] of the model (1.2) and the model equation as follows:

$$ \textstyle\begin{cases} dS=[-(\beta _{1}-\frac{\beta _{2}I}{\eta +I}){SI}-\mu {S}-(1-\alpha ) \mu {q}I+(1-\alpha ){\mu }]\,dt-\sigma SI\,dB(t), \\ {dI= [(\beta _{1}-\frac{\beta _{2}I}{\eta +I}){SI}-(p\mu +\gamma )I]\,dt+ \sigma SI\,dB(t),} \end{cases} $$
(1.3)

where \(B(t)\) is a one-dimensional standard brownian motion on some probability space, and σ is the intensity of \(B(t)\).

The rest of this paper is organized as follows. In Sect. 2, we study that the dynamic behavior of the deterministic model (1.2). In Sect. 3, we discuss the dynamic behaviors of the stochastic model (1.3) including the extinction and persistence in mean. In Sect. 4, we present numerical simulations to verify our results. In Sect. 5, we give a brief summary of our results. In the Appendix, we will give some proofs of the main results.

2 The dynamic behaviors of the deterministic model (1.2)

2.1 Equilibria and stability

Clearly, the model (1.2) has two equilibria, that is, the first one is the disease-free equilibrium \(E_{0}=(S_{0},0)\), where \(S_{0}=1-\alpha \). The second one is the endemic equilibrium \(E_{1}=(S^{*},I^{*})\) which satisfies

$$\begin{aligned} \begin{aligned} & \biggl(\beta _{1}-\frac{\beta _{2}I^{*}}{\eta +I^{*}} \biggr){S^{*}I^{*}}-(p\mu + \gamma )I^{*}=0, \\ &{-} \biggl(\beta _{1}-\frac{\beta _{2}I^{*}}{\eta +I^{*}} \biggr){S^{*}I^{*}}- \mu {S^{*}}-(1- \alpha )\mu {q}I^{*}+(1-\alpha ){\mu }=0. \end{aligned} \end{aligned}$$
(2.1)

From the first equation of (2.1), we get

$$ S^{*}= \frac{p\mu +\gamma }{\beta _{1}-\frac{\beta _{2}I^{*}}{\eta +I^{*}}}. $$
(2.2)

Substituting (2.2) into the second equation of (2.1), we get \(f(I)=g(I)\), where

$$\begin{aligned} &f(I)=(1-\alpha )\mu - \bigl[(1-\alpha )\mu {q}+p\mu +\gamma \bigr]I, \\ &g(I)= \frac{\mu (p\mu +\gamma )}{(\beta _{1}-\frac{\beta _{2}I}{\eta +I})}. \end{aligned}$$

By calculating the derivative of the function \(g(I)\), we have

$$ g'(I)= \frac{\beta _{2}\eta \mu (p\mu +\gamma )}{[\beta _{1}\eta +(\beta _{1}-\beta _{2})I]^{2}}>0, $$

so we see that \(g(I)\) is monotone increasing with respect to I. Similarly, \(f'(I)=-[(1-\alpha )\mu {q}+p\mu +\gamma ]<0\), which indicates \(f(I)\) is monotonous decreasing with respect to I. When \(I=1\), we can get \(f(1)<0<g(1)\), when \(I=0\), \(f(0)=\mu (1-\alpha ),g(0)=\frac{\mu (p\mu +\gamma )}{\beta _{1}}\).

If \(f(0)=\mu (1-\alpha )< g(0)=\frac{\mu (p\mu +\gamma )}{\beta _{1}}\), namely, \(\frac{\beta _{1}(1-\alpha )}{p\mu +\gamma }=R_{0}<1\), \(f(I)\) and \(g(I)\) non-intersect, that is to say, model (1.2) has no endemic equilibrium if \(R_{0}<1\).

If \(f(0)=\mu (1-\alpha )>g(0)=\frac{\mu (p\mu +\gamma )}{\beta _{1}}\), that is, \(\frac{\beta _{1}(1-\alpha )}{p\mu +\gamma }=R_{0}>1\), there exists \(I^{*}\in (0,1)\) such that \(f(I^{*})=g(I^{*})\), in other words, model (1.2) has a unique endemic equilibrium if \(R_{0}>1\). Here \(R_{0}=\frac{\beta _{1}(1-\alpha )}{p\mu +\gamma }\) is the basic reproduction number of model (1.2).

Theorem 2.1

The disease-free equilibrium \(E_{0}\) of model (1.2) is globally asymptotically stable if \(R_{0}<1\), the endemic equilibrium \(E_{1}\) is globally asymptotically stable if \(R_{0}>1\).

3 The dynamic behavior of the stochastic model (1.3)

3.1 Preliminaries

Throughout this paper, we let \((\Omega, \{\mathcal{F}\}_{t\geq 0}, P)\) be a complete probability space with a filtration \(\{\mathcal{F}\}_{t\geq 0}\) satisfying the usual conditions (that is to say, it is increasing and right continuous while \(\mathcal{F}_{0}\) contains all P-null sets). Denote \(\mathbb{R}_{+}^{d}=\{x\in \mathbb{R}^{d}|x_{i}>0,0\leq i\leq d\}\).

3.2 Existence and uniqueness of positive solution

Theorem 3.1

There is a unique solution \((S (t ),I (t ) )\) of model (1.3) on \(t\geq 0\) for any initial value \((S(0),I(0))\in \mathbb{R}_{+}^{2}\), and the solution will remain in \(\mathbb{R}_{+}^{2}\) with probability one, namely, \((S (t ),I (t ) ) \in \mathbb{R}_{+}^{2}\) for all \(t\geq 0\) almost surely.

3.3 Extinction

In this section, we will give the condition of the disease to die out; firstly, we show there is a unique global and positive solution of model (1.3). For convenience, we define \(\langle X(t)\rangle =\frac{1}{t}\int _{0}^{t}X(s)\,ds\).

Theorem 3.2

For any initial value \((S(0),I(0))\in \mathbb{R}_{+}^{2}\), if \(\sigma ^{2}>\frac{\beta _{1}^{2}}{2(p\mu +\gamma )}\) or \(\sigma ^{2}\leq \beta _{1}\) and \(\beta _{1}< p\mu +\gamma +\frac{\sigma ^{2}}{2}\) holds, then the disease \(I(t)\) will die out exponentially with probability one; furthermore,

$$ \lim_{t\rightarrow \infty } \bigl\langle S(t) \bigr\rangle =1- \alpha,\quad \textit{a.s.} $$

3.4 Persistence in mean

In section, we will discuss the persistence of the disease \(I(t)\).

Theorem 3.3

Let \((S (t ), I (t ) )\) be the solution of system (1.3) with any initial value \((S (0 ), I (0 ) )\in \mathbb{R}_{+}^{2}\), if \(\sigma ^{2}<\min \{(\beta _{1}-\beta _{2})(1-\alpha ), \frac{2(p\mu +\gamma )(R_{0}-1)}{(1-\alpha )^{2}}, \frac{\beta _{1}}{1-\alpha }\}\) and \(R_{0}>1\), then the solution \((S (t ), I (t ) )\) of the proposed model (1.3) has the following property:

$$ I_{2}\leq \liminf_{t\rightarrow +\infty } \bigl\langle I(t) \bigr\rangle \leq \limsup_{t\rightarrow +\infty } \bigl\langle I(t) \bigr\rangle \leq I_{1}\quad \textit{a.s.}, $$

where

$$ I_{1}= \frac{\mu [\beta _{1}(1-\alpha )-(p\mu +\gamma +\frac{\sigma ^{2}}{2}(1-\alpha )^{2})]}{[\mu (1-\alpha q)+\gamma ][\beta _{1}-\sigma ^{2}(1-\alpha )]} \quad \textit{and} \quad I_{2}= \frac{\mu ((\beta _{1}-\beta _{2})(1-\alpha )-\sigma ^{2})}{2(\beta _{1}-\beta _{2})[\mu (1-\alpha q)+\gamma ]}. $$

4 Numerical analysis

In this section, we use hepatitis B as an example. We use the Runge–Kutta method to find the numerical simulation of the ODE model (1.2) and the stochastic epidemic model (1.3). This verifies our analytical results. To demonstrate the influence of the stochastic process, we perform simulations for the stochastic model and its corresponding deterministic model version.

Firstly, we choose \(p=0.6\), \(q=0.4\) and other parameter values given by Table 1. In this case, the basic reproduction number of the ODE model (1.2) \(R_{0}=0.91<1\), then the ODE model (1.2) have a disease-free equilibrium which is globally asymptotically stable (see Theorem 2.1), as shown in Fig. 2(a).

Figure 2
figure 2

The paths \(S(t)\) and \(I(t)\) for the model (1.2) with \(R_{0}=0.91<1\) and \(R_{0}=1.05>1\)

Table 1 Parameters of the model (1.2)

Secondly, we choose \(p=0.01\), \(q=0.99\) and other parameter values given by Table 1. In this case, the basic reproduction number of the ODE model (1.2) \(R_{0}=1.05>1\), then the ODE model (1.2) has an endemic equilibrium which is globally asymptotically stable (see Theorem 2.1), as shown in Fig. 2(b).

Thirdly, we choose \(p=0.1\), \(q=0.9\), \(\sigma =0.8\) and the other parameter values given by Table 1. In this case, we have \(0.64=\sigma ^{2}>\frac{\beta _{1}^{2}}{2(p \mu +\gamma )}=0.44\), then the disease will die out (see Theorem 3.2 and Fig. 3(b)). In addition, let \(\sigma =0.7\) and take unchanged other parameters, we have \(0.49=\sigma ^{2}<0.6=\beta _{1}\) and \(0.6=\beta _{1}< p \mu +\gamma +0.5\sigma ^{2}=0.66\), similarly, then the disease will die out (see Theorem 3.2 and Fig. 4(b)). On the other hand, the basic reproduction number of the ODE model \(R_{0} =1.02>1\), this means that the ODE model (1.2) also has an endemic equilibrium which is globally asymptotically stable, as shown in Fig. 3 and Fig. 4. Our results reveal that random perturbations in the environment can restrain the spread of the disease.

Figure 3
figure 3

The path \(S(t)\) and \(I(t)\) for the model (1.2) and (1.3) with \(R_{0}=1.02>1\) and \(0.64=\sigma ^{2}>\frac{\beta _{1}^{2}}{2(p \mu +\gamma )}=0.44\)

Figure 4
figure 4

The paths \(S(t)\) and \(I(t)\) for the model (1.2) and (1.3) with \(R_{0}=1.02>1\) and \(0.49=\sigma ^{2}<0.6=\beta _{1}\) and \(0.6=\beta _{1}< p \mu +\gamma +0.5\sigma ^{2}=0.66\)

Finally, we choose \(\beta _{1}=0.9\), \(\beta _{2}=0.5\), \(p=0.1\), \(q=0.9\), \(\sigma =0.4\) and other parameter values given by Table 1. In this case, we have

$$\begin{aligned} &R_{0}=1.54>1, \\ &0.16=\sigma ^{2}< \min \biggl\{ (\beta _{1}-\beta _{2}) (1-\alpha ), \frac{2(p\mu +\gamma )(R_{0}-1)}{(1-\alpha )^{2}}, \frac{\beta _{1}}{1-\alpha } \biggr\} \\ &\phantom{0.16}=\min \{0.28,0.90,1.29\}=0.28, \\ &I_{1}=\frac{\mu [\beta _{1}(1-\alpha )-(p\mu +\gamma +\frac{\sigma ^{2}}{2}(1-\alpha )^{2})]}{[\mu (1-\alpha q)+\gamma ][\beta _{1}-\sigma ^{2}(1-\alpha )]}=0.0485, \\ &I_{2}=\frac{\mu ((\beta _{1}-\beta _{2})(1-\alpha )-\sigma ^{2})}{2(\beta _{1}-\beta _{2})[\mu (1-\alpha q)+\gamma ]}=0.0317. \end{aligned}$$

Then the disease \(I(t)\) will show persistence in mean, namely, the disease will prevail (see Theorem 3.3 and Fig. 5(b)).

Figure 5
figure 5

The paths \(S(t)\) and \(I(t)\) for the model (1.2) and (1.3) with \(R_{0}=1.54>1\) and \(0.16=\sigma ^{2}<\min \{(\beta _{1}-\beta _{2})(1-\alpha ), \frac{2(p\mu +\gamma )(R_{0}-1)}{(1-\alpha )^{2}}, \frac{\beta _{1}}{1-\alpha }\} =\min \{0.28,0.90,1.29\}=0.28\)

5 Conclusion

In this paper, we study a novel deterministic and stochastic SIR epidemic model with vertical transmission and media coverage. For the deterministic model (1.2), we define a threshold parameter \(R_{0}=\frac{\beta _{1}(1-\alpha )}{p\mu +\gamma }\) which completely determines extinction and prevalence of the disease. Our results show that the disease-free equilibrium \(E_{0}\) for model (1.2) is globally asymptotically stable if \(R_{0}<1\), the endemic equilibrium \(E_{1}\) is globally asymptotically stable if \(R_{0}>1\) (see Theorem 2.1 and Fig. 2(a)–(b)). In addition, for the corresponding stochastic model (1.3), we obtain the sufficient condition of the extinction of the disease, namely, if \(\sigma ^{2}>\frac{\beta _{1}^{2}}{2(p\mu +\gamma )}\) or \(\sigma ^{2}\leq \beta _{1}\) and \(\beta _{1}< p\mu +\gamma +\frac{\sigma ^{2}}{2}\) hold, then the disease \(I(t)\) will exponentially die out with probability one (see Theorem 3.2 and Fig. 3 and Fig. 4). Furthermore, \(\lim_{t\rightarrow \infty }\langle S(t)\rangle =1-\alpha\), a.s. (see Theorem 3.2). By Theorem 3.2 we can find that when Theorem 3.2 holds, the disease will die out, but for the corresponding deterministic model (1.2), \(R_{0}>1\), there exists an endemic equilibrium \(E_{1}\), which means that a stochastic perturbation can restrain the outbreak of the disease (see Fig. 3 and Fig. 4). Furthermore, from Theorem 3.3, if \(\sigma ^{2}<\min \{(\beta _{1}-\beta _{2})(1-\alpha ), \frac{2(p\mu +\gamma )(R_{0}-1)}{(1-\alpha )^{2}}, \frac{\beta _{1}}{1-\alpha }\}\) and \(R_{0}>1\), then the disease is persistent in mean (see Fig. 5).

Some topics deserve further study. For example, one may construct some more realistic but complex models, such as considering the effects of delay, complex network, pulse vaccination and Lévy noise. Some scholars have already done a great deal of work (see [3440]). We leave these investigations for future work.