Font Size: a A A

Research And Development Of WebIDE System Based On OpenStack

Posted on:2018-07-19Degree:MasterType:Thesis
Country:ChinaCandidate:J B TianFull Text:PDF
GTID:2518306248982989Subject:Computer system architecture
Abstract/Summary:PDF Full Text Request
In the wake of developments in computer and Internet technology,application development is developing from the desktop to the Web.Web client,which can avoid the complex on the local computer installation and configuration,supplies a common user interface development,user collaboration as well as integration with other online services and other functions.Therefore,the cloud-based integrated development environment(WebIDE)has received the developer's attention,and is gradually being applied.This thesis studies and implements a WebIDE system based on Openstack,which provides a useful exploration for the research and application of browser-based integrated development environment.The following work is done:(1)By analyzing the running environment and developer requirements of WebIDE,a hierarchical WebIDE system structure is designed,including visual interaction,control and service,cloud server and Git code management.There into,visualization module offers visualization of file operations,code preparation,code highlighting and intelligent prompts;the second module provides access control and resource management,conducting classification parsing and responding to business requests sent by the visual module;Git presents code version management,storage custody;cloud server provides resource allocation,compilation environment mirroring management and code running.(2)A method of halo resource allocation based on task pre-scheduling is proposed for a large number of concurrent users,who may encounter uneven traffic allocation,task response-time latency and other issues in the use of WebIDE system.Firstly,the method is decomposed into different sub-tasks according to the type of task execution.Secondly,the transformation relationship between sub-tasks is analyzed,and the sub-task prediction model is constructed by using Markov state transition probability matrix.Then,the task prescheduling is performed according to the designed task of prediction model.The distribution of cloud resources was carried out by means of pre-run-time scheduling of task and ant colony algorithm.Experiments show that this method has the characteristics of low response time delay and high resource utilization efficiency compared to the ant colony algorithm.(3)Aiming at the problem of user isolation in WebIDE usage,a privilege control method based on file security level and Access Control Lists(ACL)is presented.The method builds the security level model according to the file attribute and divides the file into different security levels.Afterward,it constructs the mapping relationship between the file and the security level,generating the authorization code and authorizing it to any devices according to the security level and the expiration time.Finally,the ACL policy is used to bind the user to the device,and to implement the mutual constraint and control of the permissions between users,devices,and files.The experimental result demonstrates that the method has the characteristics of high safety and good performance.(4)Based on the above research,the thesis designs and implements a WebIDE system based on OpenStack.The major functions of the hierarchical module of the system is fulfilled by the React + Redux + Webpack combination,Spring boot framework,Git API,OpenStack API and so on.
Keywords/Search Tags:WebIDE, OpenStack, Cloud server resource allocation, Permission control
PDF Full Text Request
Related items