1 Introduction

As the development tendency of aging population and the emergence of various diseases, healthcare has absorbed public’s attentions increasingly. Moreover, pollutions of the atmosphere, potable water, soil and so on caused by industrial production, which aggravate the influence of the epidemic disease, have threatened the publications’ life safety nowadays. Particularly, the epidemic diseases caused by microorganisms have scared the humanity all over the world, such as Fiebre amarilla cause by Ebola virus, severe acute respiratory syndrome (SARS), Ebola hemorrhagic fever, bird flu, etc.

Healthcare is closely related to everybody in the world. As a significant and thorny subject, it is needed to be researched with the advanced technique. In the light of the great impact produced by information and communication technology (ICT), which has changed the life style and improved the people’s living standards, it is naturally to adopt the modern ICT to assist the research of healthcare [1].

Wireless sensor networks (WSNs), nodes of which are small-sized, can be applied to help overcoming diseases in time by monitoring, analyzing and controlling the care receivers’ physical status for health care givers (doctors, nurse and other medical technicians) or even receivers (anyone who needs or wants to be cared such as patients, old people, pregnant woman, athlete, etc.) themselves, which have been studied rapidly and widely in healthcare fields [26]. Plenty projects related to healthcare-based WSNs have been initiated and implemented, such as MEDiSN [7], CareNet [8], AID-N [9] and PEACH [10].

Sensor devices based on healthcare are distributed with various proposes, such as body temperature, blood pressure, respiratory rate, electroencephalograph (EEG), Electrocardiograph (ECG), accelerometer, electromyogram (EMG) and galvanic skin reflex (GSR) [3, 4]. To facilitate the understanding of this paper, the definition of healthcare-based WSNs (HWSNs) is given as following:

Definition 1

(HWSNs) If a network \(H\left( p \right)\) with specified healthcare proposes is comprised by wireless sensor nodes, where \(p\) is the number of specified healthcare propose and \(p \in N^{*}\), \(N^{*}\) denotes the set of positive integer, then this kind of network can be viewed as a HWSN. Multiple these networks can be represented as HWSNs collectively.

Particularly, when \(p = 1\), HWSNs have only one specified healthcare propose, and those are simple HWSNs.

As the growing health requirement of publics and the increasing expands of HWSNs service, HWSNs are generally comprehensive and may involve many sub-networks with different purposes to benefit the diversification of healthcare, i.e., \(p > 1\), which are focused on in this study.

Unlike the traditional WSNs, the optimization of data transmission faced novel challenges in HWSNs, such as data diversity, real-time requirement, reliable transmission and dynamic and stochastic environment. Therefore, the optimization of data transmission for HWSNs needs to be investigated deeply.

The main contributions of this study are as follows: First of all, the characteristics of HWSNs are analyzed and three differential game models are formulated. Then, to express the transmission cost, pure transmission cost, penalized cost for data unreliability and congestion cost are all taken into account, and the object of minimizing the transmission cost is obtained with the game solution. Moreover, three different kinds of game modes are compared, which verifies the rationality of the method adopted in this study.

The rest of this paper is organized as follows. Section 2 reviews the related transmission optimization methods. Section 3 describes the data transmission scenario and formulates the problem of HWSNs. Section 4 gives the optimal data transmission rate strategy with the solution of the game model. Section 5 provides and discusses the numerical simulation results. Finally, Sect. 6 concludes this paper.

2 Related Works

The transmission optimization is a well worth studied topic, which has been discussed a lot in recently years. The usual method is to construct the objective function and get the optimal solution. Generally, the objective is minimizing network cost or maximizing network utility, and combined with efficient scheduling schemes when necessary. To minimize the network cost, Street et al. [11] formulated an adjustable robust function. With the power balance and the security guarantee consideration, the network cost is consisted by energy generation cost and reserves cost of generators in their function. With the objective of minimum delay, Alkhdour et al. [12] employed Integer Linear Program (ILP) to formulate the cost function of WSNs, and the network is optimized with periodic application. To deal with the idle listening issue of WSNs, Abrardo et al. [13] investigated the distributed energy optimization by employing game theory. With the analytic model their constructed, the energy consumption of nodes can be predicted. To optimize power control and routing jointly, He et al. [14] investigated cross-layer design issue of WSNs, and the physical layer, MAC layer and network layer are considered. In the light uncertainty of link access, two situations, i.e., probabilities is known and unknown, were considered respectively, and the corresponding heuristic algorithm is proposed.

However, the representations of healthcare related data are various, and generally, image and video data need to occupy more capacity than pure textual data. For example, the data rate of EMG is much higher than that of blood pressure [3]. The existing optimization methods based on traditional wireless networks have not taken challenges faced by HWSNs into account. Distinguished from the traditional WSNs, novel requirements of the data transmission strategy are raised in HWSNs, which are listed as following:

  • Data diversity The functions of different HWSNs sensors may be distinct, especially to the personalized care for special groups, for example, the elder population [15]. For different purposes, the functions of sensors can be different. Particularly, to body sensor networks (BSNs) or body area networks (BANs), a series of data related to health are commonly expected to be obtained [3, 4].

  • Real-time requirement HWSNs generally need parallel processing for the healthcare monitor data. Data related to healthcare has the real-time performance and requires timely transmission. In the healthcare field, golden hour [15] is critical, which decides the optimal treatment time. Seizing this time, healthcare can be provided more efficiently.

  • Reliable transmission Healthcare is closely related to human’s life, inaccurate data will induce wrong care strategy. Data transmitted in HWSNs require high accuracy. Since the unreasonable data transmission strategy may induce the occurrence of network congestion, which will increase the data loss probability, the data transmission strategy should be discussed deeply to provide reliable transmission for HWSNs. Path reliability and nodes credibility should be considered jointly.

  • Dynamic and stochastic environment Healthcare faces emergency situations, which is potential to be happened at any time and any place. The HWSNs need to be ubiquitous and sensors generally need to be placed strategically in dynamic environments [3]. The dynamic and stochastic optimization mechanism is desirable.

Therefore, although the data transmission rate allocation issue is not unfamiliar in network optimization field [1618], the specific healthcare-based network environment is needed to be considered to investigate the optimization issue of data transmission for HWSNs.

As is known to all that it is inadvisable to allocate data transmission rate evenly for each kinds of data stream [19], which will result in unreasonable resource use and resource waste, especially in HWSNs involving various data streams. In the light of the characteristics of HWSNs, the optimization of HWSNs emphasizes following aspects:

  • Communication cost The communication cost of the network is an important factor. HWSNs provide continuous and timely health monitoring service for public, the network cost decides the applied range and development of HWSNs. The cost-effective design and optimization of HWSNs are considerable.

  • Prediction ability The optimal strategy with time consistency is advisable, and HWSNs are expected to have the prediction ability. Thus, healthcare givers have sufficient time to map favorable strategies before the potential emergency situations occur.

  • Cooperation communication HWSNs generally work jointly [3], and the communication of HWSNs can be intra-HWSNs, inter-HWSNs and the hybrid of these two. It makes the approach of cooperation communication technology possible in HWSNs. Moreover, since the bandwidth of the wireless environment is limited, efficient cooperation scheme can avoid reasonable collisions for resource.

The optimization of data transmission rate strategy is an open and challenging issue of HWSNs. This paper aims to provide a feasible approach to optimize data transmission strategy for HWSNs. Since the stochastic differential game theory [20] is an efficient tool to model decision making problems with the consideration of dynamic stability and time consistency, which has been applied in the communication field to direct strategic actions over time widely [2124], it is adopted as the primary modeling and mathematical tool in this paper.

3 Scenario Description and Problem Formulation

3.1 Scenario Description

In HWSNs considered in this paper, the number of specified healthcare propose is p. Considering universality, \(p > 1\). An illustration of HWSNs is shown in Fig. 1. There are \(N = \left\{ {n_{1} ,n_{2} , \ldots ,n_{m} } \right\}\) healthcare-based sensor nodes communicating with the healthcare management center (HMC) in real time. Sensor nodes are responsible for sensing the data related to healthcare and transmitting these data to HMC. HMC is responsible for collecting and processing the data sensed by the nodes of HWSNs. In order to provide the real-time guarantee service, parallel processing technology is adopted. Assuming the transmission rate and the credibility of the receiving data sent by \(n_{i} ,i \in \left\{ {1,2, \ldots ,m} \right\}\) are \(v_{i}\) and \(c_{i}\) respectively.

Fig. 1
figure 1

An illustration of HWSNs

Since the bandwidth in HWSNs is limited, cooperation communication scheme is desirable to avoid the unreasonable competition for wireless resource. At the initial time \(t_{0}\), assuming K nodes reach the cooperation agreement. Then \(N\backslash K\) nodes choose to be noncooperation. Specially, all nodes participate in the cooperative transmission when \(K = N\), and all nodes choose to be noncooperation when \(K = \emptyset\).

In order to provide the real-time guarantee for the HWSNs, the high transmission rate is desired. The transmission cost paid for the participant path is assumed to be the primary element in terms of the transmission rate \(v_{i}\), \(i \in N\). Meanwhile, the path with low reliability may cause packet delivery errors, and the packet failed to be delivered to HMC needs to be retransmitted. The retransmission inducing the network congestion potentially aggravates the transmission cost. Therefore, the optimization objective of this paper is to minimize the transmission cost dynamically with the efficient rate allocation strategy as well as the path reliability.

3.2 Formulation of Transmission Rate Allocation Problem

In this subsection, the transmission rate allocation problem is formulated as a cooperative stochastic differential game model.

The basic elements for the game process constructed for the scenario described as the above subsection can be described as follows:

  • Player Player participating in the game need to make the decision that which strategy is taken can gain the best network performance. In Fig. 1, \(N = \left\{ {n_{1} ,n_{2} , \ldots ,n_{m} } \right\}\) healthcare-based sensor nodes are game players. All these players communicating with HMC in real time to compute the optimal strategy to reach the objective of cost minimization.

  • Strategy Different transmission rate allocated to each node will produce different network performance. The optimal data transmission strategy is not unchangeable and permanent, since the transmission load in the network is changing over time in the stochastic environment of HWSNs. Thus, the optimal strategy of each player is dynamically varied, and it must be real-time.

  • Objective The game objective is to minimizing the transmission cost in the real-time load changing HWSNs with the optimal transmission rate allocation strategy. And the main contribution of this paper is to realize cost minimization of HWSNs under the stochastic environment.

In the following representation, the objective, game model and constraints will be detailed firstly, and then the transmission rate allocation problem discussed in this paper will be formulated.

3.2.1 The Objective: Cost Minimization

Note the transmission cost of HWSNs is \(C_{HWSNs}\), then the transmission optimization issue of HWSNs can be formulated as

$$\hbox{min} C_{HWSNs} .$$
(1)

Since node \(i \in K\) chooses to be cooperated, while node \(j \in N\backslash K\) chooses to be not cooperated, (1) can be represent as

$$\left( {\hbox{min} \sum\limits_{i \in K} {C_{i} } } \right) + \left( {\sum\limits_{j \in N\backslash K} {\hbox{min} C_{j} } } \right).$$
(2)

The definition of the transmission cost of HWSNs is given as following:

Definition 2

(Transmission Cost of HWSNs \(C_{HWSNs}\)) \(C_{HWSNs}\) is consisted by 3 components, i.e., pure transmission cost TC, penalized cost for data unreliability PC and congestion cost CC:

$$C_{HWSNs} = TC + PC + CC,$$
(3)

where TC needs to consider 2 components, i.e., sole transmission cost STC and retransmission cost RTC, and

$$TC = STC + RTC.$$
(4)

Then, (2) can be rewritten as

$$\hbox{min} \sum\limits_{i \in K} {\left( {STC_{i} + RTC_{i} + PC_{i} + CC_{i} } \right)} + \sum\limits_{j \in N\backslash K} {\hbox{min} \left( {STC_{j} + RTC_{j} + PC_{j} + CC_{j} } \right)} .$$
(5)

3.2.2 Game Model

In terms of the theoretical derivation of [24], the sole transmission cost of i can be written as a quadratic function of the transmission rate \(v_{i}\) on the basis of Shannon channel capacity theory [25]. Since the reliability of i is \(r_{i}\), the retransmission cost \(RTC_{i}\) can simply be described as \(\left( {1 - r_{i} } \right)STC_{i}\). As the credibility of the receiving data is \(c_{i}\), the penalized cost for data unreliability \(PC_{HWSNs}\) can be described as \(\left( {1 - c_{i} } \right)r_{i} STC_{i}\). The network congestion cost \(CC_{i}\) can be expressed as the function of the transmission load currently \(s\left( t \right)\). Thus,

  • the cooperation game model is constructed to optimize the data transmission when \(K = N\), which is as following:

    $${ \hbox{min} } {\sum\limits_{i \in N} {\left\{ {\left( {{\alpha \mathord{\left/ {\vphantom {\alpha 2}} \right. \kern-0pt} 2}} \right)\left( {v_{i} } \right)^{2} \,+\, \beta \left( {1 - r_{i} } \right)\left[ {\left( {{\alpha \mathord{\left/ {\vphantom {\alpha 2}} \right. \kern-0pt} 2}} \right)\left( {v_{i} } \right)^{2} } \right]} \right.} } \left. {+\,\gamma \left( {1 - c_{i} } \right)r_{i} \left[ {\left( {{\alpha \mathord{\left/ {\vphantom {\alpha 2}} \right. \kern-0pt} 2}} \right)\left( {v_{i} } \right)^{2} } \right]\,+\,\omega s\left( t \right)} \right\},$$
    (6)
  • the non-cooperative game model is constructed to optimize the data transmission when \(K = \emptyset\), which is as following:

    $${\mathop {\hbox{min} }\limits_{i} } {\left\{ {\left( {{\alpha \mathord{\left/ {\vphantom {\alpha 2}} \right. \kern-0pt} 2}} \right)\left( {v_{i} } \right)^{2} \,+\, \beta \left( {1 - r_{i} } \right)\left[ {\left( {{\alpha \mathord{\left/ {\vphantom {\alpha 2}} \right. \kern-0pt} 2}} \right)\left( {v_{i} } \right)^{2} } \right]} \right.} \left. \,{+\,\gamma \left( {1 - c_{i} } \right)r_{i} \left[ {\left( {{\alpha \mathord{\left/ {\vphantom {\alpha 2}} \right. \kern-0pt} 2}} \right)\left( {v_{i} } \right)^{2} } \right]\,+\,\omega s\left( t \right)} \right\},$$
    (7)
  • the partial cooperative game model is constructed to optimize the data transmission when \(K \subseteq N\) and \(K \ne \emptyset\), which is as following:

    $${ \hbox{min} } {\sum\limits_{i \in K} {\left\{ {\left( {{\alpha \mathord{\left/ {\vphantom {\alpha 2}} \right. \kern-0pt} 2}} \right)\left( {v_{i} } \right)^{2} \,+\, \beta \left( {1 - r_{i} } \right)\left[ {\left( {{\alpha \mathord{\left/ {\vphantom {\alpha 2}} \right. \kern-0pt} 2}} \right)\left( {v_{i} } \right)^{2} } \right]} \right.} } \left. {+\,\gamma \left( {1 - c_{i} } \right)r_{i} \left[ {\left( {{\alpha \mathord{\left/ {\vphantom {\alpha 2}} \right. \kern-0pt} 2}} \right)\left( {v_{i} } \right)^{2} } \right]\,+\,\omega s\left( t \right)} \right\},$$
    (8)

    and

    $${\mathop {\hbox{min} }\limits_{j \in G\backslash K} } {\left\{ {\left( {{\alpha \mathord{\left/ {\vphantom {\alpha 2}} \right. \kern-0pt} 2}} \right)\left( {v_{j} } \right)^{2} +\, \beta \left( {1 - r_{j} } \right)\left[ {\left( {{\alpha \mathord{\left/ {\vphantom {\alpha 2}} \right. \kern-0pt} 2}} \right)\left( {v_{j} } \right)^{2} } \right]} \right.} \left. {+\,\gamma \left( {1 - c_{j} } \right)r_{j} \left[ {\left( {{\alpha \mathord{\left/ {\vphantom {\alpha 2}} \right. \kern-0pt} 2}} \right)\left( {v_{j} } \right)^{2} } \right]\, + \,\omega s\left( t \right)} \right\},$$
    (9)

    where \(\alpha\), \(\beta\) and \(\gamma\) are adjusting parameters of the transmission cost in HWSNs.

3.2.3 The Constraints

At time t, the transmission load in the network is denoted as \(s\left( t \right)\). The load transmitted successfully by the multipath technology \(LS\) is \(\sum\limits_{i \in N} {r_{i} v_{i} }\). The additional transmission load resulting from the failed transmission is \(\sum\limits_{i \in N} {\left( {1 - r_{i} } \right)v_{i} }\).

Then, the transmission load in the network at time t is governed by the following differential equation:

$${{ds\left( t \right)} \mathord{\left/ {\vphantom {{ds\left( t \right)} {dt}}} \right. \kern-0pt} {dt}} = \mu s(t) - \eta \sum\limits_{i \in N} {r_{i} v_{i} } + \omega \sum\limits_{i \in N} {\left( {1 - r_{i} } \right)v_{i} } ,$$
(10)

where \(\mu\), \(\eta\) and \(\omega\) are adjusting parameters of the transmission load.

At the initial time, i.e., \(t = 0\), the transmission load is given as \(s\left( 0 \right)\). Then, according to (10), \(s\left( t \right)\) can be solved as

$$s\left( t \right) = \exp \left( {\mu t} \right)s\left( 0 \right) + \left( {{1 \mathord{\left/ {\vphantom {1 \mu }} \right. \kern-0pt} \mu }} \right)\left[ {\exp \left( {\mu t} \right) - 1} \right] \times \left[ {\omega \sum\limits_{i \in N} {v_{i} } - \left( {\omega + \eta } \right)\sum\limits_{i \in N} {r_{i} v_{i} } } \right].$$
(11)

3.2.4 Problem Formulation

The problem of the transmission cost minimization with the optimal rate allocation strategy can be expressed as a standard dynamic programming problem. According to the Bellman’s dynamic programming theorem [20],

  • a set of transmission rate \(v_{i}^{G}\) constitutes an optimal solution to the stochastic differential game model (6)–(10) for the grand coalition G, if there exists continuously differentiable function \(F\left( {G,s,t} \right)\) satisfying the following equation

    $$\begin{aligned} \rho F\left( {G,s,t} \right)\, & = \hbox{min} \left\{ {\sum\limits_{i \in N} {\left( {\left( {{\alpha \mathord{\left/ {\vphantom {\alpha 2}} \right. \kern-0pt} 2}} \right)\left( {v_{i} } \right)^{2} + \beta \left( {1 - r_{i} } \right)\left[ {\left( {{\alpha \mathord{\left/ {\vphantom {\alpha 2}} \right. \kern-0pt} 2}} \right)\left( {v_{i} } \right)^{2} } \right]} \right.} } \right. \\ & \quad \left. { +\, \gamma \left( {1 - c_{i} } \right)r_{i} \left[ {\left( {{\alpha \mathord{\left/ {\vphantom {\alpha 2}} \right. \kern-0pt} 2}} \right)\left( {v_{i} } \right)^{2} } \right] + \omega s\left( t \right)} \right) + F^{\prime}\left( {G,s,t} \right) \\ & \left. \quad { \times\,\left[ {\mu s(t) - \eta \sum\limits_{i \in N} {r_{i} v_{i} } + \omega \sum\limits_{i \in N} {\left( {1 - r_{i} } \right)v_{i} } } \right]} \right\}, \\ \end{aligned}$$
    (12)
  • a set of transmission rate \(v_{i}^{N}\) constitutes an optimal solution to the stochastic differential game model (7)–(10) for the individual node \(i\), if there exists continuously differentiable function \(F\left( {N,s,t} \right)\) satisfying the following equation

    $$\begin{aligned} \rho F\left( {N,s,t} \right)\, & = \hbox{min} \left\{ {\left( {\left( {{\alpha \mathord{\left/ {\vphantom {\alpha 2}} \right. \kern-0pt} 2}} \right)\left( {v_{i} } \right)^{2}\,+\,\beta \left( {1 - r_{i} } \right)\left[ {\left( {{\alpha \mathord{\left/ {\vphantom {\alpha 2}} \right. \kern-0pt} 2}} \right)\left( {v_{i} } \right)^{2} } \right]} \right.} \right. \\ & \left. {\quad +\,\gamma \left( {1 - c_{i} } \right)r_{i} \left[ {\left( {{\alpha \mathord{\left/ {\vphantom {\alpha 2}} \right. \kern-0pt} 2}} \right)\left( {v_{i} } \right)^{2} } \right] + \omega s\left( t \right)} \right) + F^{\prime}\left( {N,s,t} \right) \\ & \left. \quad{ \times \,\left[ {\mu s(t) - \eta \sum\limits_{i \in N} {r_{i} v_{i} } + \omega \sum\limits_{i \in N} {\left( {1 - r_{i} } \right)v_{i} } } \right]} \right\}, \\ \end{aligned}$$
    (13)
  • a set of transmission rate \(v_{i}^{K}\) constitutes an optimal solution to the stochastic differential game model (8)–(10) for the partial cooperation coalition K, if there exists continuously differentiable function \(F\left( {K,s,t} \right)\) satisfying the following equation

    $$\begin{aligned} \rho F\left( {K,s,t} \right)\, & {\text{ = min}}\left\{ {\sum\limits_{i \in K} {\left( {\left( {{\alpha \mathord{\left/ {\vphantom {\alpha 2}} \right. \kern-0pt} 2}} \right)\left( {v_{i} } \right)^{2} + \beta \left( {1 - r_{i} } \right)\left[ {\left( {{\alpha \mathord{\left/ {\vphantom {\alpha 2}} \right. \kern-0pt} 2}} \right)\left( {v_{i} } \right)^{2} } \right]} \right.} } \right. \\ & \left. {\quad +\, \gamma \left( {1 - c_{i} } \right)r_{i} \left[ {\left( {{\alpha \mathord{\left/ {\vphantom {\alpha 2}} \right. \kern-0pt} 2}} \right)\left( {v_{i} } \right)^{2} } \right]+\omega s\left( t \right)} \right) + F^{\prime}\left( {K,s,t} \right) \times \left[ {\mu s(t)} \right. \\ & \left. {\left. {\quad -\,\eta \left( {\sum\limits_{i \in K} {r_{i} v_{i} } + \sum\limits_{i \in G\backslash K} {r_{i} v_{i}^{N} } } \right) + \omega \left( {\sum\limits_{i \in K} {\left( {1 - r_{i} } \right)v_{i} } + \sum\limits_{i \in G\backslash K} {\left( {1 - r_{i} } \right)v_{i}^{N} } } \right)} \right]} \right\}, \\ \end{aligned}$$
    (14)

where \(\rho\) is the constant discount rate of the game, and it means the current cost equivalent value at the coming time \(t\).

4 Solution Method for Game Model: Optimal Data Transmission Rate Strategy

The optimal data transmission strategy based on the cooperative game model (6)–(10) can be obtained as following:

$$v_{i}^{G} = {{n\omega \theta_{i} } \mathord{\left/ {\vphantom {{n\omega \theta_{i} } {\left( {\rho - \mu } \right)}}} \right. \kern-0pt} {\left( {\rho - \mu } \right)}},$$
(15)

and

$$F\left( {G,s,t} \right) = \left[ {{{n\omega } \mathord{\left/ {\vphantom {{n\omega } {\left( {\rho - \mu } \right)}}} \right. \kern-0pt} {\left( {\rho - \mu } \right)}}} \right]^{2} \left\{ { - \left( {2\rho } \right)^{ - 1} \sum\limits_{i \in G} {\pi_{i} \theta_{i} } + \left( {n\omega } \right)^{ - 1} \left( {\rho - \mu } \right)s^{G} } \right\},$$
(16)

where \(\pi_{i}\,=\,\left( {\eta + \omega } \right)r_{i} - \omega ,\quad \lambda_{i} = \left( {1 + \beta + \gamma } \right) - \left( {\beta + \gamma c_{i} } \right)r_{i} ,\quad \theta_{i} = {{\pi_{i} } \mathord{\left/ {\vphantom {{\pi_{i} } {\left( {\alpha \lambda_{i} } \right)}}} \right. \kern-0pt} {\left( {\alpha \lambda_{i} } \right)}},\) and \(s^{G}\) is the transmission load which can be solved by combining (10) and (15) for the cost minimization process of the grand coalition G.

Solution See “Appendix 1”.

To ensure the rationality, \(v_{i} > 0\). Since \(n\) and \(\omega\) are positive, the restrictive condition for (15) is

$${{\theta_{i} } \mathord{\left/ {\vphantom {{\theta_{i} } {\left( {\rho - \mu } \right)}}} \right. \kern-0pt} {\left( {\rho - \mu } \right)}} > 0.$$
(17)

In the subsequent simulation, (17) is vital for conducting the parameters setting.The optimal data transmission strategy based on the non-cooperative game model (7)–(10) can be obtained as following:

$$v_{i}^{N} = {{\omega \theta_{i} } \mathord{\left/ {\vphantom {{\omega \theta_{i} } {\left( {\rho - \mu } \right)}}} \right. \kern-0pt} {\left( {\rho - \mu } \right)}},$$
(18)

and

$$\begin{aligned} F\left( {N,s,t} \right) & = \left[ {{\omega \mathord{\left/ {\vphantom {\omega {\left( {\rho - \mu } \right)}}} \right. \kern-0pt} {\left( {\rho - \mu } \right)}}} \right]^{2}\\ & \quad \times \left\{ { - \left( {2\rho } \right)^{ - 1} \pi_{i} \theta_{i} - \left( \rho \right)^{ - 1} \sum\limits_{j \in N,j \ne i} {\pi_{j} \theta_{j} } + \omega^{ - 1} \left( {\rho - \mu } \right)s^{N} } \right\}. \end{aligned}$$
(19)

Solution See “Appendix 2”.

The optimal data transmission strategy based on the partial cooperative game model (8)–(10) can be obtained as following:

$$v_{j}^{K} = {{k\omega \theta_{j} } \mathord{\left/ {\vphantom {{k\omega \theta_{j} } {\left( {\rho - \mu } \right)}}} \right. \kern-0pt} {\left( {\rho - \mu } \right)}}.$$
(20)

and

$$F\left( {K,s,t} \right) = \left[ {{{k\omega } \mathord{\left/ {\vphantom {{k\omega } {\left( {\rho - \mu } \right)}}} \right. \kern-0pt} {\left( {\rho - \mu } \right)}}} \right]^{2} \,\times\, \left\{ { - \left( {2\rho } \right)^{ - 1} \sum\limits_{i \in K} {\pi_{i} \theta_{i} } - \left( \rho \right)^{ - 1} \sum\limits_{i \in G\backslash K} {\pi_{i} \theta_{i} } + \left( {k\omega } \right)^{ - 1} \left( {\rho - \mu } \right)s^{K} } \right\}.$$
(21)

Solution See “Appendix 3”.

5 Simulation Results and Discussions

To verify the rationality of the method adopted in this study, three optimal data transmission strategies based on three different game models are compared with numerical simulation. The numerical simulation is started on MATLAB 7.0. For the sake of simplicity, 3 nodes are considered in HWSNs, that is, \(i =1,2,3\). Then, to the partial cooperative game model, three situations are needed to be considered, i.e., node 1 cooperates with node 2, node 1 cooperates with node 3, and node 2 cooperates with node 3.

The efficiency of the traffic distribution can be reflected by the network load. Since the reliability \(r_{i}\) and the credibility \(c_{i}\) are both related to the parameter \(\theta_{i}\), and \(\theta_{i}\) is reflected directly in the expression of data transmission strategy, different values are set for \(\theta_{i}\) to distinguish the capability of nodes, i.e., \(\theta_{i} = \left[ {0.9,0.7,0.5} \right]\). The other parameters setting is \(\alpha = 200\), \(\beta = 0.2\), \(\gamma = 4\), \(\rho = 0.1\), \(\mu = 0.03\), \(\omega = 8\), \(\eta = 10\), which can meet the desired observation results by several trials. Assuming the initial transmission load \(s\left( 0 \right) = 1000\). The numerical simulation result is shown as Fig. 2.

Fig. 2
figure 2

The comparison of HSWNs load based on different game models

In Fig. 2, the network load can be dispatched efficiently based on cooperative game and partial cooperative game, while the load is aggregated on the contrary based on non-cooperative game. Therefore, the cooperative scheme is benefit to the traffic distribution. In addition, to the partial cooperative game, the cooperative coalition \(K_{1} = \left\{ {1,2} \right\}\) is outperforming the other two coalitions \(K_{2} = \left\{ {1,3} \right\}\) and \(K_{3} = \left\{ {2,3} \right\}\), which means that the coalition formed by nodes with higher value of \(\theta_{i}\) will get the better network performance.

The results of the impacts of the reliability \(r_{i}\) and the parameter \(\theta_{i}\) to the optimal data transmission strategies \(v_{i}\) are shown in Figs. 3, 4 and 5, which are based on cooperative model, partial cooperative model and non-cooperative model respectively.

Fig. 3
figure 3

The impacts of \(p_{i}\) and \(\theta_{i}\) to \(v_{i}^{G}\)

Fig. 4
figure 4

The impacts of \(p_{i}\) and \(\theta_{i}\) to \(v_{i}^{K}\)

Fig. 5
figure 5

The impacts of \(p_{i}\) and \(\theta_{i}\) to \(v_{i}^{N}\)

All of these results shown that the data transmission rate is increasing with the growth of \(r_{i}\) and \(\theta_{i}\), and the curve of \(\theta_{i}\) is more acute than that of \(r_{i}\), which are accord with the theoretic derivation of (15), (18) and (20). The data transmission rate \(v_{i}^{G}\) based on the cooperative model shown in Fig. 3 is higher than the rates based on the partial cooperative model shown in Fig. 4, and the non-cooperative model gains the lowest rate shown in Fig. 5. It is indicated that the more node participates in the cooperative coalition, the higher data transmission rate will be reached. Notably, the high data rate will shorten the data transmission time and bring the nice efficiency of traffic distribution, which is accord with the simulation results in Fig. 2.

Figure 6 gives the comparison of the transmission cost based on different game models. The results show that the data transmission cost based on the cooperative strategy is the least one among all of these five strategies. And at the time of other costs rising, the cooperative one is descending remarkably. To the partial cooperative game, the cooperative coalition \(K_{3} = \left\{ {2,3} \right\}\) gains the least cost initially, but as the game going, the cost is rising gradually, while the coalition \(K_{1} = \left\{ {1,2} \right\}\) with high values of \(\theta_{i}\) will get the better performance than it.

Fig. 6
figure 6

The comparison of the transmission cost based on different game models

The scalability is an important factor for wireless sensor network design, which can be referred as the ability to perform the optimization scheme with the increasing scale of the network [26]. In this paper, analyzing the impact of initial network load \(s\left( 0 \right)\) to the minimum total cost of HSWNs is a way to check the network load scalability performance. The scalability performances based on different game models are compared shown as Fig. 7.

Fig. 7
figure 7

The scalability performances based on different game models

The network transmission cost is rising with the increase of the initial network load \(s\left( 0 \right)\) theoretically, which is experimentally verified in Fig. 7. The minimum network transmission cost based on the cooperative strategy is less than other five strategies with the increase of \(s\left( 0 \right)\), which means the cooperative one possesses better scalability performance than other kinds of game modes.

Therefore, the optimal data transmission strategy based on the cooperative game model shows the ideal performance, and minimizes the network cost efficiently. The reliability \(r_{i}\) and the credibility \(c_{i}\), which are related to the parameter \(\theta_{i}\), both impact the data transmission effect. The more reliable and credible nodes reach the cooperation agreement, the better network performance will gain.

6 Conclusions

Using wireless sensor to assist modern medical practices is a promising field, and WSNs based on healthcare is a hot research topic in recent years. Since the novel characteristics of HWSNs, the data transmission optimization is a challenging issue need to be discussed deeply. This paper adopts the stochastic differential game theory to study this issue. Three kinds of game models are constructed, i.e., cooperative model, partial cooperative model and non-cooperative model, and the corresponding optimal data transmission strategies are obtained. The numerical simulation compares these three strategies, and the simulation results manifest that the more nodes cooperate, and the more reliable and credible cooperative node is, the better network performance will gain.

Considering the difficulties of processing the integration and differentiation operation with the existing simulators, the numerical simulations are given firstly in this paper. The more performance comparisons with other scheme are worth deeply studying in the future research.