| Internet of Things technology has played an important role in smart home,smart industry,smart city and other fields.The Internet of Things platform is the key supporting technology of its application and development.This paper makes a comparative analysis of the existing Internet of Things platforms,and combines the common requirements of the author’s actual participation in the Internet of Things projects,and aims to study the common key technologies of the entity integration and data analysis module of the Internet of Things platform.The research content and contributions of this paper are as follows:(1)The expression of physical world in virtual world.This paper proposes the virtual world entity model and entity relationship model to express physical entities,such as temperature and humidity sensors and other devices,and constructs and implements the model based on OPC UA technology.Entity model includes four attributes: state,event,function and indicator,which mainly describes what the entity is and its function,etc.Entity relation model realizes typical organization management of entity by tree-structure relation.The data model corresponding to the four attributes is also proposed,in order to realize the persistent storage of historical data during the operation of entity life cycle and provide entity modeling development capability for the Internet of Things platform.(2)The entity integration framework that supports bidirectional mapping.This paper proposes an entity integration framework based on stream computing and supports bidirectional mapping.Bidirectional mapping entity integration refers to the integration of upstream synchronization from the physical entity state to the corresponding virtual entity state,and downstream implementation of virtual entity operations by users on the corresponding physical entity,based on that the physical entity establishes the corresponding entity model in the virtual world.The entity integration framework realizes heterogeneous physical entity access through device access service,provides a distributed bidirectional mapping entity integration engine for processing the physical entity upstream and virtual entity operation,in order to provide entity integration development capability for Internet of Things platform.(3)The batch-oriented data analysis framework.In this paper,a batch-oriented data analysis framework is proposed,which supports multi-programming language platform technical data analysis algorithm programs to be dynamically registered in the function library to become analysis functions,and the related analysis functions are arranged through the workflow mechanism to form data analysis tasks,and the task engine realizes the lifecycle management of data analysis tasks,providing batch data analysis and development capabilities for Internet of Things platform.(4)Internet of Things entity integration and data analysis platform.This paper conducts requirement analysis,functional design,programming implementation and testing of Internet of Things entity integration and data analysis business,and implements a system including entity modeling management,entity supervision,bidirectional mapping entity integration framework and engine,data analysis framework and engine,and other functions.The Internet of Things entity integration and analysis platform proposed and implemented in this paper has been used as the core support subsystem of the Internet of Things platform developed by the author’s team,supporting the development and application of seven Internet of Things projects.These projects cover application scenarios including industrial Internet of Things,building energy conservation supervision,building safety monitoring,etc.,and provide a certain degree of evidence for the work of this paper in terms of system function and performance effectiveness,practical application and value. |