Font Size: a A A

Design And Implementation Of An Optimization Scheme For Image Sharing Application Software Based On IOS Platform

Posted on:2019-09-30Degree:MasterType:Thesis
Country:ChinaCandidate:Q TangFull Text:PDF
GTID:2428330590975421Subject:Software engineering
Abstract/Summary:PDF Full Text Request
In recent years,with the rapid development of mobile Internet and mobile devices,social networking is also experiencing changes.Images that are not restricted by the region and language gradually replace the tedious and subtle text,becoming the main media for the expression of ideas.My internship company,Huaban,is currently China's largest photo sharing social networking site based on waterfall flow.Huaban applications as mobile products on the iOS platform,has tens of millions of users.However,as the project scale gradually becomes larger and the business logic becomes more and more complex,and the number of developers increases,the problems hidden in the project are also gradually reflected.The main problems are as follows:(1)The problem of system architecture: As the scale of developers continues to expand and the complexity of business logic continues to increase,project architectures have become increasingly difficult to adapt to today's rapidly changing mobile application development needs.(2)The problem of system performance: As the number of users continues to grow,system performance issues become more prominent.In order to solve the existing problems of Huaban application,this thesis designs and implements a complete set of optimization scheme after systematic analysis and research.The main work of this thesis is as follows:(1)At the level of system architecture: Researched and analyzed the idea of componentization,and put forward a scheme of adopting component scheme to optimize the system architecture,split the project into components based on the principle of horizontal and vertical splitting,at the same time designed and implemented routing module to lift the coupling between these components.Researched and analyzed the related characteristics of MVVM architecture model and the powerful binding mechanism of ReactiveCocoa framework,and proposed to adopt the MVVM architecture mode based on ReactiveCocoa instead of the early MVC architecture mode,which makes the project easier to expand and maintain.(2)At the level of system performance: Researched and analyzed the source code and its principle of SQLite,for SQLite in the multithreaded concurrent operations and frequent I / O operations,put forward a SQLite source-level performance optimization scheme to achieve multithreaded concurrent read and write performance optimization after data persistence.Researched and analyzed various image format and image compression algorithm.Firstly,a multi-dimensional cache elimination algorithm is proposed to improve the cache efficiency.Secondly,in order to improve the loading and rendering speed of images in the application,and reduce the traffic consumption between the client and the server,a set of image loading optimization strategy based on WebP format is proposed.(3)The optimization scheme proposed in this thesis is systematically tested and analyzed.Combining the simulation experiment with the actual environment test shows that the overall optimization scheme proposed in this thesis not only optimizes the project architecture but also greatly improves the performance and stability of the application.
Keywords/Search Tags:Componentization, MVVM, SQLite, WebP, iOS
PDF Full Text Request
Related items