In recent years,with the rapid development of Internet of Things technology and sensor technology,there are more and more sensors in people’s working and living environments.These massive sensors constitute a sensing cluster that can provide a large amount of raw data.However,for upper-level situational applications that require abstraction and integration of data,the low-grained raw data provided by the perception cluster is difficult to be directly utilized.Prior to analysis,suitable sensing devices must be screened and their raw data analyzed.Situational element data suitable for direct use by situational applications can be produced through transformation and fusion processing.Therefore,thesis designs and implements the application service middleware for this specific problem.The middleware can dynamically generate data interfaces according to the data requirements of situational applications,and then discover sensing devices that can provide data support and fuse the data of these sensing devices into situational element data required by upper-layer applications.The research content of thesis is as follows:(1)In response to the dynamic situational element requirements of situational applications,thesis defines the situational application data requirement specification.The situational application proposes data requirements according to this specification,and the middleware dynamically generates the situational element data access interface and provides data for it.When situational element data is generated,the situational application can directly obtain the situational data fused based on the data of the underlying sensing device from the dynamically generated data access interface,which simplifies the process of obtaining data by the situational application.At the same time,in order to support the delay-sensitive data requirements,after the fusion of a frame of situational data is completed,the data fusion event will be sent to the situational application so that it can be read in time.(2)In order to generate situational element data according to the data requirements of situational applications,thesis defines the generation rules of situational element data.For the generation rules of different situational elements,the middleware dynamically schedules the basic service from the basic service library to generate data fusion based on the service scheduling template Service,to complete the conversion and fusion from perception cluster data to situational element data.(3)There are many different types of sensing devices in the sensing cluster.To generate different situational element data based on these sensing devices,it is necessary to select suitable devices from the sensing device cluster.Thesis implements resource discovery based on the resource layer of the sensing device cluster and can discover sensing devices that can provide data support based on each attribute of the sensing device.It can also monitor the on-offline events of these sensing devices,and dynamically establish or delete the data pipeline between the sensing device resources and the data fusion service.Finally,a verification system is constructed based on the cluster situation awareness resource management and application service middleware designed and implemented in thesis.Taking the building situation display application as an example,the verification system verifies the effectiveness of the three functions of data interface generation for dynamic situation element requirements,service dynamic scheduling based on service scheduling templates,and data pipeline construction based on resource discovery. |