Skip to main content

A novel multimedia device ability matching technique for ubiquitous computing environments

Abstract

In wireless multimedia sensor networks (WMSNs), wirelessly interconnected devices are able to ubiquitously retrieve multimedia contents such as video and audio streams from the environment. However, since WMSN applications are large-scale, dynamic and highly concurrent, how to achieve both effective multimedia device resource management and collaborative task scheduling simultaneously becomes a serious problem. In this paper, using the hierarchical modeling technique, we first propose a device ability model including spatial information. In order to solve the problem of insufficient capacity of single devices, we then give a composite device ability model and relevant calculation formulae. Next, we introduce a novel device resource matching technique based on the proposed model. Compared with previous works, experimental results show that our technique achieves better recall and precision and meets WMSN application needs more effectively. Furthermore, our proposed approach greatly reduces the design complexity as well as the workload of application designers.

1 Introduction

Wireless multimedia sensor networks (WMSNs) [1] have drawn the attention of researchers in recent years, driven by a wealth of theoretical and practical challenges. This growing interest can be largely attributed to new applications enabled by large-scale networks of small devices, such as multimedia video surveillance systems, traffic avoidance and control systems, environment monitoring systems and so on [2]. Most WMSN applications require coordination and cooperation among large-scale multimedia devices in ubiquitous computing environments [3]. The matching between the large-scale device collaboration demand and device resources is the basis of the realization of WMSN applications. The resource ability matching technique [4], which is always a research hotspot in the field of collaboration technology [57], is realized by matching the requirement of virtual device capacity with the description of device resource ability.

In the WMSNs’ environment, the multimedia device resource ability has the following characteristics [8]: (a) It is related to the spatial extent [9], i.e., the device resource ability in a certain point of the space depends on both the absolute spatial position of this device resource and the relative spatial distance between this point and itself [10, 11]. (b) It can be superimposed, i.e., superimposing multiple device resource ability in a certain point of the space may achieve better device ability in this point and meet greater requirement which single device could not satisfy [1214].

Resource matching researches [1520] currently focus on the web service matching, including syntax service matching [21] and semantic service matching [22]. The former [23] do exact keyword matching by registration information including the name and valid property values of the service in the service library, while the latter is based on semantic web technology. With the combination of ontology repository, matching service and authentication service, the latter can determine the matching degree between the request and service ability [24].

However, both the syntax service matching and the semantic matching are limited. The syntax service matching method [25] cannot accurately describe the desired multimedia device ability and measure the distance between the physical device ability and the desired device ability. Besides, the high user involvement [26] makes it hard to do service matching automatically in ubiquitous computing environment. The semantic service matching method, due to the huge type and number of devices in WMSNs, could not establish the ontology repository and make users understand easily. Furthermore, in the current study [2729], since resource ability modeling always regards the resource access interface as a function and lacks the spatial location information of device, users build their own collaborative process only by understanding the details of all devices in the system [30], which is not suitable for WMSN applications in the WMSNs.

Given the above problems, this paper proposes a multimedia device resource matching method based on the device resource ability model. The remainder of the paper is organized as follows: Section 2 introduces the related work, Section 3 first defines a multimedia device ability model with spatial location information and its calculation formula which can calculate the device ability accurately and then gives a device resource matching method based on the above model to reduce the complexity in the design of large-scale device collaboration process of WMSN application, Section 4 gives the experimental results, and Section 5 concludes the paper.

2 Related work

Currently, there are various syntax service modeling techniques such as Web Service Description Language (WSDL), Resource Specification Language, Resource Description Framework (RDF), etc. Besides, there are also semantic service modeling techniques which include the RDFS (RDF Schema) [26], Web Ontology Language (OWL)/OWL-S [29], WSDL [27, 28], etc. Among them, the OWL-S has become a very important general resource description technique, which describes the attribute and function of the web resource from the syntax perspective and service perspective. Recently, researchers try to combine the OWL-S technique with the WSDL technique to achieve a new resource description resolution which has comprehensive superiority.

The syntax service matching method [31] focuses on the implementation details of the resource interface, which makes it easy to implement [32]. However, the recall and precision of this method is lower, and it cannot effectively support users doing service discovery based on functional semantic. The typical study is Universal Description, Discovery, and Integration (UDDI) [3335]. UDDI uses WSDL to describe its web service and does exact keyword matching by the registration information in service library, mainly on ID, name, and valid property values of service.

The semantic service matching technique [36] focuses on the web service matching [37], including single service resource matching and service-oriented resource association matching [38]. The former research [39] used DAML-S for service modeling, which combines the users’ needs with the properties of candidate service to achieve a single downlink (DL) expression. It judged the relationship between two collections of corresponding DL expressions by the DL inference engine and expanded the service matching algorithm. The latter research [40] solved the optimal matching problem among services using an exhaustive method. As the exponential growth of elapsed time, there will come a time-consuming problem when the parameters of service operation become larger [41], giving a service-oriented resource association matching mainly on interface parameter matching which does not filter the service matching according to the corresponding priority [42].

3 Modeling and matching method

3.1 Definition

In this section, we give the formal definition of device and device operation at first and then define the operation ability and performance attribute of device resource.

Definition 1

Terminal. In the large-scale device collaborative system, terminal is the smallest unit of the system control. Each terminal has finite states. Assume t i is a terminal, its state set is {t s1,t s2,…,t s m }, and one terminal can only be in one state at a time.

Definition 2

Device. In the large-scale device collaborative system, a device is composed by n terminals and denoted as d = {t1,t2,…,t n }. The operation set supported by device d is Σ, and the state set of device is Q.

Definition 3

Device state. The state of device d = {t1,t2,…,t n } is composed of n terminal states. Assume that device d has k states, the state set Q of device d is Q = {s1,s2,…,s k }. Each device state s is an ordered pair of n terminal state, i.e., s = {t st 1,t st 2,…,t s t n }, where t s t i represents a state of terminal t i .

According to the definition of the device state, we find that if a device contains n terminals and each terminal has m states, the number of device state is mn.

Definition 4

Device operation. Device operation changes the device state by changing some terminal state of this device. Assume the collection Σ of device operation in device d = {t1,t2,…,t n } is Σ = {o p1,o p2…,o p l }, where o p = {<t i ,t s i >,…,<t j ,t s j >},t i ,…,t j {t1,t2,…,t n }.

In the large-scale device collaborative system, according to the impact on the device state, the operating ability of device resource can be divided into three categories: monitor ability, basic control ability, and combination control ability. The first ability of device resource is monitor operation, whose collection is empty, and it is used for gaining the current state of the device. The second one is terminal control operation, whose collection contains only one element, and it can only set one terminal state each time. The last one is advanced control operation, whose collection contains multiple elements, and it can set several terminal states each time.

Definition 5

Composite device. In the large-scale device collaborative system, it is necessary that several devices work in parallel to achieve a synergistic effect, where all these devices are called a composite device.

Assume d 1 ={ t 11 , t 12 ,, t 1 n },, d k ={ t k 1 , t k 2 ,, t kn } is a set of concurrent collaborative working devices. Then, its corresponding device operation set is Σ1,…,Σ k , and the device state set is Q1,…,Q k . The composite device c o m _d contains i = 1 k in terminals, i.e., c o m _d = {d1,…,d k }.

The operation set supported by composite device c o m _d is c o m _Σ = {c o m _o p1,c o m _o p2,…,c o m _o p r }, com_op= i = 1 k o p ij i ,o p ij i Σ i ,1 j i | Σ i |, and the number of composite device is r= i = 1 k | Σ i |.

The state set of composite device c o m _d is c o m _q = {c o m _s1, c o m _s2,…,c o m _s s }, com_s= i = 1 k s i j i ,s i j i Q i ,1≤j i ≤|Q i |,and the number of composite device is s= i = 1 k | Q i |.

3.2 The device resource ability model

In the large-scale device collaborative system, the minimum ability calculation unit is the terminal ability model of the device. The ability of a device’s operation is a union of the ability of terminal controlled by this device. The following is the description and calculation formula of these ability models.

3.2.1 Terminal ability model

Definition 6

Terminal ability. The terminal ability of a device refers to a set of function parameters in its spatial extent and state. Assuming that t is a terminal and its state set is {t s1,t s2,…,t s m }, when t s{t s1,t s2,…,t s m }, the terminal ability is as follows:

tA ( t , ts ) = fa ( σ { ( x t 1 , y t 1 , z t 1 ) , , ( x tm , y tm , z tm ) } , ( a 1 , a 2 , , a n ) ) tm 1 , n 1
(1)
  • s{(xt 1,yt 1,zt 1),…,(x t m ,y t m ,z t m )} represents the spatial extent of the terminal, and t m = 1 indicates that the ability is on the point (xt 1,yt 1,zt 1).

  • a i ,1=i=n represents the i th function parameter of the terminal.

  • fa represents the map function between function parameters and spatial extent.

For example, denoting the state set in terminal of device d = {t1,t2,…,t n } as {ON,OFF}, when the state of terminal t is ON its ability is t A(t,ON) = l×r(l x){(x0,y0),π×((r+Δ r)2r2),0≤rrmax}, and when the state is OFF, its terminal ability is t A(t,OFF) = 0(l x){(x0,y0),π×((r+Δ r)2r2),0≤rrmax}. That is to say, in the two-dimensional spatial extent (x0,y0),π×((r+Δ r)2r2), the ability of terminal t is l×r.

3.2.2 Device ability model

Definition 7

Device operation ability. The device operation ability refers to the aggregation of terminal ability in the spatial extent of device operation when this terminal is in its changing state. For device d = {t1,t2,…,t n } and device operation o p = {<t i ,t s i >,…,<t j ,t s j >}, t i ,…,t j {t1,t2,…,t n }, the device operation ability is as follows:

opA ( op ) = fa ( σ { ( x op 1 , y op 1 , z op 1 ) , , ( x opm , y opm , z opm ) } , ( a 1 , a 2 , , a n ) ) , opm 1 , n 1
(2)
  • s{(xo p 1,yo p 1,zo p 1),…,(x o p m ,y o p m ,z o p m )} represents the spatial extent of the device operation.

  • a i ,1=i=n represents the i th function parameter of the device operation.

  • f a represents the map function between function parameters and spatial extent.

Rule 1. Device operation ability calculation. Assume the function Ω is the cumulative calculation function of spatial extent, and Φ i is the aggregation function of the i th function parameter, Φ = {Σ,MAX,…}. The spatial extent and calculation rule of the function parameter of the device operation is as follows:

  • The space extent of the device operation can be calculated by all the space extents of terminal controlled by this device, i.e.,

    s { ( x op 1 , y op 1 , z op 1 ) , , ( x opm , y opm , z opm ) } = O ( s { ( x ti 1 , y ti 1 , z ti 1 ) , , ( x tim , y tim , z tim ) } , , s { ( x tj 1 , y tj 1 , z tj 1 ) , , ( x tjm , y tjm , z tjm ) } ) .
    (3)
  • The function parameter of the device operation in spatial extent s{(x1,y1,z1),…,(x m ,y m ,z m )} can be aggregated by all these function parameters of terminal controlled by this device in the same spatial extent, i.e.,

    s { ( x 1 , y 1 , z 1 ) , , ( x m , y m , z m ) } : a i = F i ( s { ( x 1 , y 1 , z 1 ) , , ( x m , y m , z m ) } : a ii , , s { ( x 1 , y 1 , z 1 ) , , ( x m , y m , z m ) } : a ji ) ,
    (4)

    where a i i ,…,a j i is the corresponding function parameter of terminal control ability by the device operation.

For example, denoting the operation of device d = {t1,…,t n } as o p = {<t1,ON>,<t2,ON>}, when the state of terminal t1 is ON, its terminal ability is tA( t 1 ,ON)= l 1 × r 1 (lx){( x 01 , y 01 ),π×( ( r 1 + Δr ) 2 r 1 2 ),0 r 1 r max 1 }, and when the state of terminal is OFF, its terminal ability is tA( t 2 ,OFF)= l 2 × r 2 (lx){( x 02 , y 02 ),π×( ( r 2 + Δr ) 2 r 2 2 ),0 r 2 r max 2 }. That is to say, in the two-dimensional spatial extent (x0,y0),π×((r+Δ r)2r2), the ability of terminal t is l×r.

Assume the operation space intersection for terminal t1 and t2 is as follows:

{ ( x 01 , y 01 ) , π × ( ( r 1 + Δr ) 2 r 1 2 ) , 0 r 1 r max 1 } { ( x 02 , y 02 ) , π × ( ( r 2 + Δr ) 2 r 2 2 ) , 0 r 2 r max 2 } = σ ( r 1 , r 2 ) .
(5)

Then, the ability of device operation is as follows:

opA ( op ) = l 1 × r 1 ( lx ) , { ( x 01 , y 01 ) , π × ( ( r 1 + Δr ) 2 r 1 2 ) σ ( r 1 , r 2 ) , 0 < r 1 r max 1 } ( l 1 × r 1 + l 2 × r 2 ) ( lx ) , { σ ( r 1 , r 2 ) , 0 r 1 r max 1 , 0 < r 2 r max 2 } l 2 × r 2 ( lx ) , { ( x 02 , y 02 ) , π × ( ( r 2 + Δr ) 2 r 2 2 ) σ ( r 1 , r 2 ) , 0 < r 2 r max 2 } .
(6)

The spatial extent of device operation OP is the union of the operation spatial extent for terminal t1 and t2, i.e., {(x01,y01),π×((r1+Δ r1)2r12)}{(x02,y02),π×((r2+Δ r2)2r22)}. The device operation ability is a piecewise function: in the intersection of two terminal’s operation space σ(r1,r2), the ability is (l1×r1+l2×r2), i.e., the joint result of two terminals; in the terminal t1’s operation space, the ability is l1×r1, i.e., the result of terminal t1; and in the terminal t2’s operation space, the ability is l2×r2, i.e., the result of terminal t2.

Definition 8

Device ability. The device ability refers to all the device operation abilities in spatial extent. Assume the collection of device operation in device d = {t1,t2,…,t n } is Σ = {o p1,o p2,…,o p l }. The device ability is denoted as follows:

dA ( d ) = fa ( σ { ( x d 1 , y d 1 , z d 1 ) , , ( x dm , y dm , z dm ) } , ( a 1 , a 2 , , a n ) ) , dm 1 , n 1
(7)
  • σ{(xd 1,yd 1,zd 1),…,(x d m ,y d m ,z d m )} denotes the spatial extent of the device.

  • a i ,1≤in denotes the i th function parameter of the device.

  • f a denotes the map function between function parameters and spatial extent.

Rule 2. Device ability calculation. Assume the function Ω is the cumulative calculation function of spatial extent, Φ i is the aggregation function of the i th function parameter, Φ = {Σ,MAX,…}. The spatial extent and calculation rule of function parameter of a device is as follows:

  • The space extent of a device can be calculated by all the space extents of the terminals controlled by this device, i.e.,

    σ { ( x d 1 , y d 1 , z d 1 ) , , ( x dm , y dm , z dm ) } = Ω ( σ { ( x t 11 , y t 11 , z t 11 ) , , ( x t 1 m , y t 1 m , z t 1 m ) } , , σ { ( x tn 1 , y tn 1 , z tn 1 ) , , ( x tnm , y tnm , z tnm ) } ) .
    (8)
  • The function parameter of a device in spatial extent σ{(x1,y1,z1),…,(x m ,y m ,z m )} can be aggregated by all the device operations in the same spatial extent. The minimum value of device function parameter a i in this spatial extent is:

    σ { ( x 1 , y 1 , z 1 ) , , ( x m , y m , z m ) } : θ min ai = MIN ( σ { ( x 1 , y 1 , z 1 ) , , ( x m , y m , z m ) } : a 1 i , σ { ( x 1 , y 1 , z 1 ) , , ( x m , y m , z m ) } : a 2 i , , σ { ( x 1 , y 1 , z 1 ) , , ( x m , y m , z m ) } : a li ) ,
    (9)

    where a1i,…,a l i is the corresponding function parameter of device ability.

The maximum value of device function parameter a i in this spatial extent is:

σ { ( x 1 , y 1 , z 1 ) , , ( x m , y m , z m ) } : θ max ai = MAX ( σ { ( x 1 , y 1 , z 1 ) , , ( x m , y m , z m ) } : a 1 i , σ { ( x 1 , y 1 , z 1 ) , , ( x m , y m , z m ) } : a 2 i , , σ { ( x 1 , y 1 , z 1 ) , , ( x m , y m , z m ) } : a li ) ,
(10)

where the interval of function parameter a i is:

σ { ( x 1 , y 1 , z 1 ) , , ( x m , y m , z m ) } : a i = [ σ { ( x 1 , y 1 , z 1 ) , , ( x m , y m , z m ) } : θ min ai , σ { ( x 1 , y 1 , z 1 ) , , ( x m , y m , z m ) } : θ max ai ] = [ MIN ( σ { ( x 1 , y 1 , z 1 ) , , ( x m , y m , z m ) } : a 1 i , σ { ( x 1 , y 1 , z 1 ) , , ( x m , y m , z m ) } : a 2 i , , σ { ( x 1 , y 1 , z 1 ) , , ( x m , y m , z m ) } : a li ) , MAX ( σ { ( x 1 , y 1 , z 1 ) , , ( x m , y m , z m ) } : a 1 i , σ { ( x 1 , y 1 , z 1 ) , , ( x m , y m , z m ) } : a 2 i , , σ { ( x 1 , y 1 , z 1 ) , , ( x m , y m , z m ) } : a li ) ]
(11)

For example, assume the operation set of device d = {t1,t2,t3} is Σ = {o p1,o p2}, o p1 = {<t1,ON>,<t2,ON>}, o p2 = {<t2,OFF>,<t3,ON>}. The abilities of device operation o p1 and o p2 are:

opA ( o p 1 ) = l 1 × r 1 ( lx ) , { ( x 01 , y 01 ) , π × ( ( r 1 + Δr ) 2 r 1 2 ) σ ( r 1 , r 2 ) , 0 < r 1 r max 1 } ( l 1 × r 1 + l 2 × r 2 ) ( lx ) , { σ ( r 1 , r 2 ) , 0 r 1 r max 1 , 0 < r 2 r max 2 } l 2 × r 2 ( lx ) , { ( x 02 , y 02 ) , π × ( ( r 2 + Δr ) 2 r 2 2 ) σ ( r 1 , r 2 ) , 0 < r 2 r max 2 }
(12)
opA ( o p 2 ) = l 3 × r 3 ( lx ) π × ( ( r 3 + Δr ) 2 r 3 2 ) , 0 r 3 r max 3
(13)

The intersection of operation spatial extent of terminals t1, t2, and t3 is:

{ ( x 01 , y 01 ) , π × ( ( r 1 + Δr ) 2 r 1 2 ) , 0 r 1 r max 1 } { ( x 02 , y 02 ) , π × ( ( r 2 + Δr ) 2 r 2 2 ) , 0 r 2 r max 2 } { ( x 03 , y 03 ) , π × ( ( r 3 + Δr ) 2 r 3 2 ) , 0 r 3 r max 3 } = σ ( r 1 , r 2 , r 3 ) .
(14)

Assume l1l2l3, then the minimum device ability in operation spatial extent σ(r1,r2,r3) is:

θ min a = MIN ( ( l 1 + l 2 ) × r ( lx ) , l 3 × r ( lx ) ) = l 3 × r ( lx ) .
(15)

The maximum device ability is:

θ max a =MAX(( l 1 + l 2 )×r(lx), l 3 ×r(lx))=( l 1 + l 2 )×r(lx).
(16)

The function parameter interval of the device ability is:

a = [ θ min a , θ max a ] = [ l 3 × r ( lx ) , ( l 1 + l 2 ) × r ( lx ) ] .
(17)

Similarly, when the operation spatial extent is r max 1 <r r max 2 or r max 2 <r r max 3 , the corresponding function parameter interval of the device ability is:

a=[ θ min a , θ max a ]=[ l 2 ×r(lx), l 3 ×r(lx)].
(18)
a=[ θ min a , θ max a ]=[ l 3 ×r(lx), l 3 ×r(lx)].
(19)

The ability of the device d = {t1,t2,t3} is:

dA ( d ) = [ l 3 × r ( lx ) , ( l 1 + l 2 ) × r ( lx ) ] π × ( ( r + Δr ) 2 r 2 ) , 0 r r max 1 [ ( l 2 × r ( lx ) , l 3 × r ( lx ) ] π × ( ( r + Δr ) 2 r 2 ) , r max 1 < r r max 2 [ l 3 × r ( lx ) , [ l 3 × r ( lx ) ] π × ( ( r + Δr ) 2 r 2 ) , r max 2 < r r max 3
(20)

3.2.3 Composite device ability model

Definition 9

Composite device operation ability. It refers to the aggregation of device operation ability when devices execute concurrently in the spatial extent of device operation. Assume c o m D = {d1,…,d k } is a composite device; the operation of this device is comOp= i = 1 k o p i ,o p i Σ i , and the operation ability is as follows:

comOpA ( comOp ) = fa ( σ { ( x comOp 1 , y comOp 1 , z comOp 1 ) , , ( x comOpm , y comOpm , z comOpm ) } , ( a 1 , a 2 , , a n ) ) , comOpm 1 , n 1
(21)
  • σ{(xc o m O p 1,yc o m O p 1,zc o m O p 1),…,(x c o m O p m , y c o m O p m ,z c o m O p m )} represents the spatial extent of the device operation.

  • a i ,1≤in represents the i th function parameter of the device operation.

  • f a represents the map function between function parameters and spatial extent.

Rule 3. Composite device operation ability calculation. Assume the function Ω is the cumulative calculation function of spatial extent and is the aggregation function of the i th function parameter, Φ = {Σ,MAX,…}. Then, the spatial extent and calculation rule of function parameter of composite device operation is as follows:

  • The space extent of composite device operation can be calculated by all the space extents of participated device operations, i.e.,

    σ { ( x comOp 1 , y comOp 1 , z comOp 1 ) , , ( x comOpm , y comOpm , z comOpm ) } = Ω ( σ { ( x op 11 , y op 11 , z op 11 ) , , ( x op 1 m , y op 1 m , z op 1 m ) } , , σ { ( x opk 1 , y opk 1 , z opk 1 ) , , ( x opkm , y opkm , z opkm ) } )
    (22)
  • The function parameter of composite device operation in spatial extent σ{(x1, y1, z1), …,(x m ,y m , z m )} can be aggregated by all these function parameters of participated device operations in the same spatial extent, i.e.,

    σ { ( x 1 , y 1 , z 1 ) , , ( x m , y m , z m ) } : a i = Φ i ( σ { ( x 1 , y 1 , z 1 ) , , ( x m , y m , z m ) } : a 1 i , , σ { ( x 1 , y 1 , z 1 ) , , ( x m , y m , z m ) } : a ki ) ,
    (23)

    where a1i,…,a l i is the corresponding function parameter of the device operation ability.

Definition 10

Composite device ability. The composite device ability refers to all the participated device abilities in spatial extent. Assume c o m D = {d1,…,d k } is a composite device. The ability is denoted as follows:

comDA ( comD ) = fa ( σ { ( x comD 1 , y comD 1 , z comD 1 ) , , ( x comDm , y comDm , z comDm ) } , ( a 1 , a 2 , , a n ) ) , comDm 1 , n 1
(24)
  • σ{(xc d s 1,yc d s 1,zc d s 1),…,(x c d s m ,y c d s m ,z c d s m )} represents the spatial extent of composite device.

  • a i ,1≤in represents the i th function parameter of the device.

  • f a represents the map function between function parameters and spatial extent.

Rule 4. Composite device ability calculation. Assume the function Ω is the cumulative calculation function of spatial extent, Φ i is the aggregation function of the i th function parameter, and Φ = {Σ,MAX,…}. The spatial extent and calculation rule of function parameter of composite device is as follows:

  • The space extent of composite device can be calculated by all the space extents of participated devices, i.e.,

    σ { ( x cds 1 , y cds 1 , z cds 1 ) , , ( x cdsm , y cdsm , z cdsm ) } = Ω ( σ { ( x d 11 , y d 11 , z d 11 ) , , ( x d 1 m , y d 1 m , z d 1 m ) } , , σ { ( x dk 1 , y dk 1 , z dk 1 ) , , ( x dkm , y dkm , z dkm ) } )
    (25)
  • The function parameter of composite device in spatial extent σ{(x1,y1,z1),…,(x m ,y m ,z m )} can be aggregated by all these function parameters of participated devices in the same spatial extent, i.e., the minimum value of the device function parameter in this spatial extent is:

    σ { ( x 1 , y 1 , z 1 ) , , ( x m , y m , z m ) } : θ min ai = MIN ( σ { ( x 1 , y 1 , z 1 ) , , ( x m , y m , z m ) } : θ min a 1 i , σ { ( x 1 , y 1 , z 1 ) , , ( x m , y m , z m ) } : θ min a 2 i , , σ { ( x 1 , y 1 , z 1 ) , , ( x m , y m , z m ) } : θ min aki ) ,
    (26)

    where a1i,…,a l i is the corresponding function parameter of composite device ability.

The maximum value of device function parameter a i in this spatial extent is:

σ { ( x 1 , y 1 , z 1 ) , , ( x m , y m , z m ) } : θ max ai = MAX ( σ { ( x 1 , y 1 , z 1 ) , , ( x m , y m , z m ) } : θ max a 1 i , σ { ( x 1 , y 1 , z 1 ) , , ( x m , y m , z m ) } : θ max a 2 i , , σ { ( x 1 , y 1 , z 1 ) , , ( x m , y m , z m ) } : θ max aki ) ,
(27)

where the interval of the function parameter a i is:

σ { ( x 1 , y 1 , z 1 ) , , ( x m , y m , z m ) } : a i = [ σ { ( x 1 , y 1 , z 1 ) , , ( x m , y m , z m ) } : θ min ai , σ { ( x 1 , y 1 , z 1 ) , , ( x m , y m , z m ) } : θ max ai ] = [ MIN ( σ { ( x 1 , y 1 , z 1 ) , , ( x m , y m , z m ) } : θ min a 1 i , σ { ( x 1 , y 1 , z 1 ) , , ( x m , y m , z m ) } : θ min a 2 i , , σ { ( x 1 , y 1 , z 1 ) , , ( x m , y m , z m ) } : θ min aki ) , MAX ( σ { ( x 1 , y 1 , z 1 ) , , ( x m , y m , z m ) } : θ max a 1 i , σ { ( x 1 , y 1 , z 1 ) , , ( x m , y m , z m ) } : θ max a 2 i , , σ { ( x 1 , y 1 , z 1 ) , , ( x m , y m , z m ) } : θ max aki ) ] .
(28)

3.3 Device resource matching method based on ability model

Resource matching is a process [43, 44] which selects a resource candidate set among the device resource sets based on a given user demand. Every device resource contained in the resource candidate set meets the demand. We first give the description of user device ability requirements as follows and then propose the device ability matching method in a large-scale device collaboration system.

3.3.1 Description of user demand

The user demand for device resource ability [45, 46] involved in a process is a sum of all ability demands for virtual device resource. It is denoted as R = {r1,…,r m },m≥1, where r presents a description of a user’s demand, i.e., the ability demand of virtual device resource. r can be presented in a tuple: r = (dss,rs).

  • dss = ds represents the virtual device resource involved in the description of user demand.

  • rs represents the user demand for the virtual device resource ability in the description: rs = dA(ds1).

3.3.2 Device ability matching method

Rule 5. Device ability matching. Assume R = {r1,…,r m },m≥1 is the description of user demand in device collaboration process. The demand of device resource ability r = (dss,rs),rs = dA(ds) is as follows:

dA ( ds ) = fa ( σ { ( x ds 1 , y ds 1 , z ds 1 ) , , ( x dsm , y dsm , z dsm ) } , ( a 1 s , a 2 s , , a ns ) ) , dsm 1 , ns 1 ,
(29)

and the ability of device d is:

dA ( d ) = fa ( σ { ( x d 1 , y d 1 , z d 1 ) , , ( x dm , y dm , z dm ) } , ( a 1 , a 2 , , a n ) ) , dm 1 , n 1 .
(30)

If device d meets the following three conditions at the same time, then we believe that this device matches the device resource ability in users’ demand:

  • σ { ( x ds 1 , y ds 1 , z ds 1 ) , , ( x dsm , y dsm , z dsm ) ̲ σ { ( x d 1 , y d 1 , z d 1 ) , , ( x dm , y dm , z dm )
    (31)
  • ( a 1 s , a 2 s ,, a ns )( a 1 , a 2 ,, a n )
    (32)
  • If σ { ( x 1 , y 1 , z 1 ) , , ( x m , y m , z m ) } ̲ σ { ( x ds 1 , y ds 1 , z ds 1 ) , , ( x dsm , y dsm , z dsm ) , then a is ( a 1 s , a 2 s , , a ns ) σ { ( x 1 , y 1 , z 1 ) , , ( x m , y m , z m ) } : a is σ { ( x 1 , y 1 , z 1 ) , , ( x m , y m , z m ) } : a i φ where a is and a i are the same function parameter a i ( a 1 , a 2 , , a n ) .
    (33)

3.3.3 Composite device ability matching method

Definition 11

Matching distance of device ability. It refers to the size of operation spatial extent and function parameter matching between two devices. Assume the abilities of devices d1 and d2 are as follows:

dA ( d 1 ) = fa ( σ { ( x d 11 , y d 11 , z d 11 ) , , ( x d 1 m , y d 1 m , z d 1 m ) } , ( a 11 , a 12 , , a 1 n ) ) , d 1 m 1 , 1 n 1
(34)
dA ( d 2 ) = fa ( σ { ( x d 21 , y d 21 , z d 21 ) , , ( x d 2 m , y d 2 m , z d 2 m ) } , ( a 21 , a 22 , , a 2 n ) ) , d 2 m 1 , 2 n 1 .
(35)

The matching distance of device ability is calculated as follows:

F(dA( d 1 ),dA( d 2 ))= ( σ 1 σ 2 ) 2 + i = 1 n ( a 1 i a 2 i ) 2
(36)
  • σ 1 = σ { ( x 11 , y 11 , z 11 ) , , ( x 1 m , y 1 m , z 1 m ) } , σ 2 = σ { ( x 21 , y 21 , z 21 ) , , ( x 2 m , y 2 m , z 2 m ) }
    (37)
  • a1i and a2i are the same function parameters, a1i(a11,a12,…,a1n),a2i(a21,a22,…,a2n).

Now, we give our composite ability matching algorithm based on the above matching distance. Assume D s ={d1,…,d l },l≥0 is the device satisfied by users, and D a l ={d1,…,d k },k≥1 is the device in the large-scale collaborative system. The description of algorithm is as follows:

  1. 1.

    The first input is the device resource ability r = (d s s,r s),r s = d A(d s) of users’ demand R = {r 1,…,r m },m≥1 in the large-scale collaborative system, i.e.,

    dA ( ds ) = fa ( σ { ( x ds 1 , y ds 1 , z ds 1 ) , , ( x dsm , y dsm , z dsm ) } , ( a 1 s , a 2 s , , a ns ) ) , dsm 1 , ns 1 .
    (38)

    The second input is the device set D = D a s D s = {d1,…,d n },n≥1 except that meets the demand, i.e.,

    dA ( d i ) = fa ( σ { ( x di 1 , y di 1 , z di 1 ) , , ( x dim , y dim , z dim ) } , ( a 1 i , a 2 i , , a ni ) ) , dim 1 , ni 1 .
    (39)
  2. 2.

    Set the matching depth of composite device be k.

  3. 3.

    Calculate the device ability matching distance F(d A(d i ),d A(d s)),d i D in device set D = {d 1,…,d n },n≥1.

  4. 4.

    Add the device d i with the minimum matching distance to the candidate composite device c o m D k where D = Dd i , d A(d s) = d A(d s)−d A(d i ).

  5. 5.

    Repeat steps 3 and 4 until d A(d s) = 0; now c o m D k is a candidate composite device.

  6. 6.

    If all the devices are traversed and d A(d s)≠0, the algorithm terminates; otherwise, repeat steps 3, 4, and 5 to find the candidate composite devices c o m D k which meet the matching depth k.

The following is the detail algorithm (Algorithm 1):

Algorithm 1 Composite device ability matching method

4 Experiments

4.1 Configuration

The experiments are conducted in three desktop computers: the first one simulates the requests of device collaborative tasks, the second one deploys a large-scale device collaboration system which uses our proposed matching method to assign the device resource with collaborative tasks, and the last one deploys a device simulator which can produce a lot of device resources with different abilities. Tables 1 and 2 show the configuration and parameters in our experiments, respectively.

Table 1 Configuration of ability matching experiment
Table 2 Parameters of ability matching experiment

4.2 Effect of matching method

This part measures the relationship between the number of candidate device resource in virtual device and the total number of device resource in a system. Assume the matching depth of device ability depth=40, the parameter number of device ability AN=2, and the number of device in large-scale collaborative system is 1,000, 2,000,…, 20,000, respectively. In order to reduce the random error, each test performs 50 times.

Figure 1 and 2 show the result: When the total number of devices D N = 1,000, our matching method can ensure the percentage of candidate device resource to be more than 75; and with the growth of the total number, this percentage becomes nearly 100, which indicates that our matching method can meet the effect demand of large-scale device collaboration system.

Figure 1
figure 1

Distribution of candidate device resource ( depth = 20 ).

Figure 2
figure 2

Distribution of candidate device resource ( depth = 40 ).

4.3 Performance of matching method

This part tests the performance of our matching method. Assume the matching depth of device ability depth = 40, the parameter number of device ability AN = 2, and the number of device in large-scale collaborative system be 1,000, 2,000, …, 20,000, respectively. In order to reduce the random error, each test is performed 50 times.

Figure 3 and 4 show the result due to the pre-processing operation for device matching; the growth of the total number of device in the system only affects the increase in time of pre-processing, while it affects matching time a little. Besides, when DN = 20,000, the total time of device ability matching is less than 6 s, which indicates that our matching method can meet the performance demand of large-scale device collaboration system. The details are in Tables 3 and 4.

Figure 3
figure 3

Time of device ability matching ( depth = 20 ).

Figure 4
figure 4

Time of device ability matching ( depth = 40 ).

Table 3 The number of matching resources in the case of different devices
Table 4 The time of matching resources in the case of different devices

4.4 Matching method between single and composite device

This part measures the relationship between matching time and number of device resource in the case of different matching depths. Assume the matching depth of device ability depth = 20,40,60,80,and 100, respectively, the parameter number of device ability AN = 2, and the number of device in large-scale collaborative system be 1,000,2,000,…,20,000, respectively. In order to reduce the random error, each test is performed 50 times.

Figure 5 and 6 show the result when depth<40; the matching time of both single and composite device increase slowly with the growth of total device number DN. The reason is that in device ability matching process, we should use as less as possible devices to meet the demand of virtual device in order to reduce the conflict of device operations. Thus, when the matching depth is small, single device will meet the requirement.

Figure 5
figure 5

The relationship between single device matching time and DN.

Figure 6
figure 6

The relationship between composite device matching time and DN.

However, the matching time of composite device grows rapidly with the growth of total device number DN, which indicates that considering both the less conflict of device operation and higher matching efficiency of device ability, we should select as less as possible devices to meet the demand of virtual device.

4.5 Comparisons with traditional methods

At present, resources matching research mainly conclude syntax service matching and semantic service matching. In order to compare the efficiency of our proposed device resource matching method based on the device resource ability model with the two traditional resource matching methods, we designed a set of comparative experiments, testing in the case of the same user requirements how much time is cost by each of the resource matching technique and how many devices are matched up by each of the technique.

Assume the matching depth of device ability depth = 40, the number of device in large-scale collaborative system is 1,000,2,000,…,20,000, respectively. In order to reduce the random error, each test is performed 50 times.

In Figure 7 and 8, horizontal axes show the total number of devices DN in large-scale device collaboration system, and the vertical axes show the cost time used for matching and the number of the candidate devices matched, respectively. It can be seen that syntax service matching method costs the least amount of time, but the matching result is not so good as the result of our proposed method. The number of the candidate devices is far less than the number of matched devices in the case of the device resource ability model matching method and semantic matching method. The effect of the semantic service matching method is almost the same with our proposed device resource matching method based on the device resource ability model, but the semantic service matching method costs much more time than that of our proposed method cost. In order to analyze the experimental results quantitatively, we give part of the experimental data in our experiments (Table 5).

Figure 7
figure 7

The relationship between matching time and DN in the case of three methods.

Figure 8
figure 8

The relationship between device number matched up and DN in the case of three methods.

Table 5 Part of the experimental data

5 Conclusions

WMSN applications usually involve a large number of devices and complex spatial information configurations. To address this challenge, in this article, we propose a multimedia device ability model, which incorporates spatial information management into the modeling phase. Based on this model, we further derive a multimedia device resource matching technique for ubiquitous computing environments. By adopting this technology, automatic execution of the collaboration process is done efficiently. Experimental results show that our proposed technique achieves better recall and precision. Compared with previous works, our approach not only has better performance but also meets WMSN application needs much better. The multimedia device ability matching method can greatly reduce the design complexity and workload of application designers.

References

  1. Chen M, Lai CF, Wang HG: Mobile multimedia sensor networks: architecture and routing. EURASIP J Wireless Commun. Netw 2011, 2011: 1-9.

    Article  Google Scholar 

  2. Campbell J, Gibbons PB, Nath S, Pillai P, Seshan S, Sukthankar R: IrisNet: an internet-scale architecture for multimedia sensors. In Proceedings of the 13th Annual ACM International Conference on Multimedia. New York: ACM,; 2005:81-88.

    Chapter  Google Scholar 

  3. Chen M, Leung V, Mao SW, Yuan Y: Directional geographical routing for real-time video communications in wireless sensor networks. Comput. Commun 2007, 30(17):3368-3383. 10.1016/j.comcom.2007.01.016

    Article  Google Scholar 

  4. Chen-Ritzo CH, Harrison C, Paraszczak J, Parr F: Instrumenting the planet. IBM J. Res. Dev 2009, 53(3):1.

    Article  Google Scholar 

  5. Deng P, Zhang JW, Rong XH, Chen F: Modeling the large-scale device control system based on PI-calculus. Adv. Sci. Lett 2011, 4(6–7):6-7.

    Google Scholar 

  6. Deng P, Chen F, Rong XH, Jiang P, Jin W: A meta communication protocol in support lighting device unified access of olympic center. ITCS 2009, 2: 48-52.

    Google Scholar 

  7. Sobajic DJ, Pao YH: Artificial neural-net based dynamic security assessment for electric power systems. Power Sys. IEEE Trans 1989, 4: 220-228. 10.1109/59.32481

    Article  Google Scholar 

  8. Devadithya T, Chiu K, Huffman K, McMullen DF: The common instrument middleware architecture, overview of goals and implementation. In Proceedings of the First International Conference on Science and Grid Computing, 2005. Piscataway: IEEE,; 2005:96-106.

    Google Scholar 

  9. Atkinson IM, Boulay Dd, Chee C, Chiu K, Coddington P, Gerson A, King T, McMullen DF, Quilici R, Turner P, Wendelborn A, Wyatt MJ, Zhang D: Developing CIMA-based cyberinfrastructure for remote access to scientific instruments and collaborative e-research. CRPIT 2007, 68: 3-10.

    Google Scholar 

  10. Bramley R, Chiu K, Devadithya T, Gupta N, Hart C, Huffman JC, Huffman K, Ma Y, McMullen DF: Instrument monitoring, data sharing, and archiving using common instrument middleware architecture (CIMA). J. Chem. Inf. Mod 2006, 46(3):1017-1025. 10.1021/ci050368l

    Article  Google Scholar 

  11. Wan JF, Yan HH, Suo H, Li F: Advances in cyber-physical systems research. KSII Trans. Internet Inf. Sys 2011, 5(11):1891-1908.

    Google Scholar 

  12. Chiu K, Bramley R, Huffman JC, Huffman K, McMullen DF: Instruments and, Sensors as Web Services. Arlington: National Science Foundation of ACI; 2003.

    Google Scholar 

  13. Chen M, Wan JF, Li F: Machine-to-Machine Communications: Architectures, Standards and Applications. KSII Trans. Internet Syst 2012, 6(2):480-497.

    Google Scholar 

  14. Shi JH, Wan JF, Yan HH, Suo H: A survey of cyber-physical systems. In 2011 IEEE International Conference on Wireless Communications and Signal Processing (WCSP). Piscataway: IEEE,; 2011:1-6.

    Google Scholar 

  15. Peng J, Law KH: A Reference Data Model for NEESgrid Shake Table Experiments. In Proceedings of the International Symposium on Earthquake Engineering in the Past and Future Fifty Years. Harbin: ; August 2004.

    Google Scholar 

  16. Chen M: “Towards smart city: M2M communications with software agent intelligence”,. Multimedia Tools Appl., pp.1–12, Feb.2012

  17. Chen M, Gonzalez S, Zhang Q, Leung VC: Code-centric RFID system based on software agent intelligence. IEEE Intell. Syst 2010, 25(2):12-19.

    Article  Google Scholar 

  18. Chen M, Gonzalez S, Zhang Y, Leung VC: Multi-agent itinerary planning for wireless sensor networks. In Quality of Service in Heterogeneous Networks. Heidelberg: Springer,; 2009:584-597.

    Chapter  Google Scholar 

  19. Chen M, Leung V, Mao SW, Kwon T, Li M: Energy-efficient itinerary planning for mobile agents in wireless sensor networks. In IEEE International Conference on Communications, 2009. Piscataway: IEEE,; 2009:1-5.

    Google Scholar 

  20. Zhou L, Wang X, Tu W, Muntean GM, Geller B: Distributed scheduling scheme for video streaming over multi-channel multi-radio multi-hop wireless networks. Selec. Areas Commun. IEEE J 2010, 28(3):409-419.

    Article  Google Scholar 

  21. DucklingTeam: CERC. 2009.http://duckling.escience.cn/dct/ . Accessed 2 July 2010

    Google Scholar 

  22. GRIDCC Project report 2008.http://ec.europa.eu/information_society/apps/projects/logos/2/511382/080/publishing/readmore/GRIDCC-WP8-D8 _ 3-20080201-06-INF-Final_Report.pdf. Accessed 10 June 2009

  23. McGough AS, Akram A, Guo L, Krznaric M, Dickens L, Colling D, Martyniak J, Powell R, Kyberd P, Kotsokalis C: GRIDCC: real-time workflow system. In Proceedings of the 2nd Workshop on Workflows in Support of Large-scale Science. New York: ACM,; 2007:3-12.

    Chapter  Google Scholar 

  24. Christensen E, Curbera F, Meredith G, Weerawarana S: Web Services Description Language (WSDL) 1.1. Cambridge: World Wide Web Consortium; 2001.

    Google Scholar 

  25. Huang Z, Gu L, Du B, He C: Grid resource specification language based on XML and its usage in resource registry meta-service. In Proceedings of 2004 IEEE International Conference on Services Computing. Piscataway: IEEE,; 2004:467-470.

    Google Scholar 

  26. Brickley D, Guha RV: RDF Vocabulary Description Language 1.0: RDF Schema. Cambridge: World Wide Web Consortium; 2004.

    Google Scholar 

  27. Tosic V, Pagurek B, Patel K: “WSOL - a language for the formal specification of classes of service for web services”. Las Vegas, Nevada, USA: International Conference on Web Services; June 2003.

    Google Scholar 

  28. Tosic V, Patel K, Pagurek B: WSOL-web service offerings language. In Web Services, E-Business, and the Semantic Web. Heidelberg: Springer,; 2002:57-67.

    Chapter  Google Scholar 

  29. Martin D, Burstein M, Lassila O, Paolucci M, Payne T, McIlraith S: Describing Web services using OWL-S and WSDL. DAML-S Coalition working document. Accessed 13 Aug 2002 [http://www.daml.org/services/daml-s/0.7/daml-s-wsdl.html] [] Accessed 13 Aug 2002

  30. Matoussi A, Laleau R: A Survey of Non-functional Requirements in Software Development Process. Paris: University of Paris; 2008.

    Google Scholar 

  31. Li L, Horrocks I: A software framework for matchmaking based on semantic web technology. Int. J. Electron. Commerce 2004, 8(4):39-60.

    Google Scholar 

  32. Paolucci M, Kawamura T, Payne TR, Sycara K: Semantic matching of web services capabilities. In The Semantic Web-ISWC 2002. Heidelberg: Springer,; 2002:333-347.

    Chapter  Google Scholar 

  33. Srinivasan N, Paolucci M, Sycara K: Semantic web service discovery in the OWL-S IDE. Proc. 39th Annual IEEE Hawaii Int. Conf. Syst. Sci. 2006, 6: 109b.

    Google Scholar 

  34. Ardagna D, Pernici B: Adaptive service composition in flexible processes. Softw. Eng. IEEE Trans 2007, 33(6):369-384.

    Article  Google Scholar 

  35. Xu B, Li T, Gu Z, Wu G: SWSDS: Quick web service discovery and composition in SEWSIP. In The 8th IEEE International Conference on E-Commerce Technology, 2006 and The 3rd IEEE International Conference on Enterprise Computing, E-Commerce, and E-Services. Piscataway: IEEE,; 2006:71-71.

    Google Scholar 

  36. Arpinar IB, Zhang R, Aleman-Meza B, Maduko A: Ontology-driven web services composition platform. Inf. Syst. E-Business Manage 2005, 3(2):175-199. 10.1007/s10257-005-0055-9

    Article  Google Scholar 

  37. Tian M, Gramm A, Ritter H, Schiller J: Efficient selection and monitoring of QoS-aware web services with the WS-QoS framework. In Proceedings of the 2004 IEEE/WIC/ACM International Conference on Web Intelligence, IEEE Computer Society. Piscataway: IEEE,; 2004:152-158.

    Google Scholar 

  38. Soydan Bilgin A, Singh MP: A DAML-based repository for QoS-aware semantic web service selection. In Proceedings of IEEE International Conference on Web Services, 2004. Piscataway: IEEE,; 2004:368-375.

    Chapter  Google Scholar 

  39. Sha L, Shaozhong G, Xin C, Mingjing L: A QoS based web service selection model. IFITA 2009, 3: 353-356.

    Google Scholar 

  40. Qiqing F, Xiaoming P, Qinghua L, Yahui H: A global QoS optimizing web services selection algorithm based on MOACA for dynamic web service composition. IFITA 2009, 1: 37-42.

    Google Scholar 

  41. Cardoso AJS: Quality of service and semantic composition of workflows. PhD thesis. Georgia: University of Georgia Athens; 2002.

    Google Scholar 

  42. Kerrigan M: Web service selection mechanisms in the web service execution environment (WSMX). In Proceedings of the 2006 ACM Symposium on Applied Computing. New York: ACM,; 2006:1664-1668.

    Chapter  Google Scholar 

  43. Zhou C, Chia LT, Lee BS: DAML-QoS ontology for web services. In Proceedings of IEEE International Conference on Web Services, 2004. Piscataway: IEEE,; 2004:472-479.

    Chapter  Google Scholar 

  44. Maximilien Em, Singh MP: A framework ontology for dynamic web services selection. Int. Comp. IEEE 2004, 8(5):84-93. 10.1109/MIC.2004.27

    Article  Google Scholar 

  45. Sha L, Shaozhong G, Xin C, Mingjing L: A qos based web service selection model. IFITA 2009, 3: 353-356.

    Google Scholar 

  46. Ali S, Zeeshan M: A utility based resource allocation scheme with delay scheduler for LTE service-class support. In 2012 IEEE Wireless Communications and Networking Conference (WCNC). Piscataway: IEEE,; 2012:1450-1455.

    Chapter  Google Scholar 

Download references

Acknowledgements

The work was supported by the National Natural Science Foundation of China (nos. 61100066, 61133005, 61262013), Special Fund Research in the Public Interest (no. 201008002), the National Science Foundation of Guangdong Province, China (no. S2011010001155), and the High-level Talent Project for Universities, Guangdong Province, China (431, YueCaiJiao 2011).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Jiafu Wan.

Additional information

Competing interests

The authors declare that they have no competing interests.

Authors’ original submitted files for images

Rights and permissions

Open Access This article is distributed under the terms of the Creative Commons Attribution 2.0 International License ( https://creativecommons.org/licenses/by/2.0 ), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

Reprints and permissions

About this article

Cite this article

Zhang, J., Deng, P., Wan, J. et al. A novel multimedia device ability matching technique for ubiquitous computing environments. J Wireless Com Network 2013, 181 (2013). https://doi.org/10.1186/1687-1499-2013-181

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1186/1687-1499-2013-181

Keywords