Font Size: a A A

Research On Business Mobile Application Service Framework Based On Thread Scheduling

Posted on:2019-02-17Degree:MasterType:Thesis
Country:ChinaCandidate:Y B WangFull Text:PDF
GTID:2428330548461170Subject:Engineering
Abstract/Summary:PDF Full Text Request
With business-level mobile App architecture becoming more complicated and the rapid development of research and development technology of mobile terminal application engineering,how to build an efficient,stable,robust and reliable mobile terminal business framework that can withstand tens of millions of user tests and support highly developed iterative development has become the key of mobile terminal App in development process and architecture design.In the actual mobile app development process,whether the business framework is easy to use directly affects the research and development efficiency of the project,meanwhile,the stability of the business framework directly affects the ability of App to perform online and the user experience.This paper will mainly discuss and resolve thread scheduling strategy,build an underlying business framework that can expand,efficiently and thread security based on thread services,and satisfy the needs of development of large commercial Application.Thread level scheduling strategy of mobile terminal CPU is similar to computer CPU.Threads execute thread instructions by obtaining the right to use CPU.From the microscopic perspective,multithreaded concurrent execution is the CPU's right to assign threads to each thread in order,so that it can perform the binding tasks when it has the right to use.In the thread scheduling system,there will be many threads in the ready state,the concept of thread scheduling is to establish a set of scientific and effective rules,and the operating system in accordance with the rules for the assigned right to the use of CPU to improve the safety and stability of CPUuse efficiency and improve the systemAt the business level of mobile App,the concept of thread is more specific.For mobile App,various tasks and embedment capabilities are implemented in the way of synchronous thread or asynchronous thread,and the events are carried out by threads.The thread is invoked according to the execution order of events.Finally,the result is presented to the users.However,the operation system's support for thread operation is relatively weak due to thread operation involves kernel scheduling of operation system in mobile App,which often makes developers unable to get familiar to use thread operation quickly,and then they can not quickly carry out project iteration.What is more serious is that the abuse of thread operation will lead to higher project risk,which can harm the online performance of business level mobile App,and reduce user experience.In this paper,we analyze the thread scheduling policy,apply the lock processing to the atomic service,and split the business level of existing mobile apps exactly with service-oriented design patterns.According to priority and business scenarios,atomic service,the basic unit,is placed in the corresponding thread operation queue,and it performs synchronous execution or asynchronous execution independently.At the same time,it provides a variety of security methods for thread safety.The final underlying business framework has strong atomicity and high scalability,the framework not only greatly improves mobile App thread safety and iterative development efficiency,but also provides great convenience for the developers to understand mobile App business structure.After months of unremitting efforts and positive attempts,the business framework has been embedded in a large business level mobile App,the business framework has been widely concerned and praised by the team.
Keywords/Search Tags:Thread Scheduling, Mobile Internet, iOS, Security
PDF Full Text Request
Related items