Font Size: a A A

Research And Application Of High-performance Mobile Application Development Model

Posted on:2015-03-27Degree:MasterType:Thesis
Country:ChinaCandidate:R ZhangFull Text:PDF
GTID:2428330488499648Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With mobile terminals becoming intelligent and mobile applications trending to industrial,mobile applications pay more attention to user experience.In order to ensure the efficiency and stability,mobile applications should be able to process the data quickly,and the server should have excellent concurrent processing capabilities.In the development of mobile applications,Web Service has been widely used,but the traditional development model does not have high concurrent processing capability,and data processing efficiency is not high of XML/JSON.Therefore,it is necessary to make a research on mobile application development model and propose a new model which meets the higher performance requirements.In this paper,the author has been studied the traditional mobile application development model.On the basic research,did some improvement and designed a high-performance model named WZP,and used this model in specific projects.The main text of the work as follows:(1)Analysis of the traditional development model,found that the HTTP protocol speed becomes slowly when the transfer data is large,and real-time interaction can affect server performance;XML/JSON data encoding method will result in a large volume of packaged data,also packaging and parsing efficiency is slow.In addition,when meet a large number of concurrent requests,the performance of Web servers sharply declined.(2)Studied on ZeroMQ technology and Protocol Buffer(hereinafter referred to as ProtoBuf)encoding.ZeroMQ is an asynchronous message-based communication model which packaged the network communication,message queues,thread scheduling and other functions.ProtoBuf encoding the data in binary form which can reduce the volume of packaged data,and packaging/parsing speed is faster than the traditional way,but this encoding method have not yet applied to the iPhone mobile application development,this paper achieve the integration of Xcode and ProtoBuf.(3)Based on the above work,the author designed WZP model which used ZeroMQ technology as the transmission mechanism and ProtoBuf as the data encoding method.Furthermore,the Web service added thread pool technology,using priority-based queuing model and dynamic scheduling strategy to achieve the dynamic management of thread pool.(4)Showed the overall structure and the main function of Police-Public system,and used WZP model in some specific features on iPhone application.By comparing tests,the system which using WZP model to develop had better handling capacity of Web server under high concurrency condition,and the reaction rate of mobile applications had increased.The results showed the WZP model is more efficient.
Keywords/Search Tags:Mobile internet, Mobile development, Communication protocol, Thread pool
PDF Full Text Request
Related items