Font Size: a A A

Design And Implementation Of Reusable Web3D Framework For Internet Of Things

Posted on:2021-04-27Degree:MasterType:Thesis
Country:ChinaCandidate:L ChengFull Text:PDF
GTID:2428330614457276Subject:Engineering
Abstract/Summary:PDF Full Text Request
The core problem faced by software engineering,to be in short,is how to produce the most effective software with the least cost.One solution to this problem is to develop software and methods with high reusability and scalability,in which framework is a representative.If a Web3 D framework or platform with high reusability and scalability can be designed,the field of Internet of Things will be benefit a lot.To this end,this article makes the following attempts:(1)Design of reusable Web3D framework based on object-oriented theory and method.Most current Web3 D applications are developed using Web GL technologybased Java Script software packages(such as Three.js).Similar to other mainstream Web front-end applications,they are implemented using traditional structured programming languages,which are often difficult to reuse and extend.Therefore,by introducing the ES6 language that supports object-oriented,this paper makes full use of important theories,principles,and methods of object-oriented software design.Based on related theories such as design patterns,and using a variety of design patterns,such as abstract factory pattern,template method pattern,strategy pattern,singleton pattern,decorator pattern and publish-subscribe pattern,a new reusable framework that can be applied to multiple industries is realized.(2)Research on reusable Web3D model method based on data center Scene.First of all,the 3D models of different objects are often different,and changes in the format,position,angle,size and other properties of the model,as well as changes in loading and rendering methods,will make it difficult to reuse between different Web3 D projects.Therefore,the data center scenario is used as a case.A set of 3D model specifications and loading rendering schemes can be used for different projects.Secondly,for the data center usually needs to present the functional characteristics such as association between devices and scene roaming,a reusable connection algorithm between models and a 3D scene roaming algorithm are studied and established respectively.(3)An analysis of the advantages of this framework.Taking the scenario of the data center as a case,through the application of this framework and traditional methods to different projects,the comparison are made in terms of code quality and development efficiency.Firstly,duplicate code is greatly reduced;secondly,reusability and scalability are greatly enhanced;finally,when applied to new projects,development time is also greatly reduced.
Keywords/Search Tags:IoT, WebGL, Object-oriented, design pattern, software framework, datacenter
PDF Full Text Request
Related items