Font Size: a A A

Research And Implementation Of The National Fitness Convenience Service Platform

Posted on:2020-06-10Degree:MasterType:Thesis
Country:ChinaCandidate:K C LiFull Text:PDF
GTID:2417330575965055Subject:Engineering
Abstract/Summary:PDF Full Text Request
With the continuous improvement of living standards,the rapid development of Fitness Industry,The coordination of the resources in the fitness venues has been unable to meet people's needs for a variety of fitness,venue management has not formed a more complete unity.Therefore,this article from the grass-roots point of view,the construction of national fitness convenient service platform,Take "fitness card" as the core,concatenates each fitness place,Through the government to coordinate the allocation of resources,unified venue management,online and offline linkage.At the same time,through the lottery function to distribute free fitness cards to promote people from all walks of life to actively participate in physical fitness,exercise the concept of national fitness,gradually complete the National Fitness Program.This paper focuses on the platform of the lottery function and top-up consumption module to carry out research,its main contributions are:1)Taking "fitness for all,convenience for the people" as the goal,the platform functional requirements analysis was completed,the functional modules of the platform were designed,the issues of the platform recharge and consumer safety were studied,and the platform for the People's fitness service platform was programmed Including WeChat public number,mobile APP,background management system,offline terminal system,fitness card five modules;2)Using the method of characteristic constant,control interval and specific parameter to improve the Linear congruence theorem,a dynamic generating algorithm of lottery code based on linear congruence is proposed to ensure the feasibility of the lottery function of the platform,and to ensure that the platform can generate lottery code in batches,unlimited,mutually unique and random,and has the advantages of expansibility and optimization;3)In order to solve the problem of obtaining duplicate lottery codes in highconcurrency environment,a dynamic allocation model based on the peak value of message queue is designed,which makes use of the first-in-first-out feature of message queue to ensure the lottery function can run stably in special environment And the method of dynamic allocation of the queue group can significantly improve the number of concurrent lottery code allocation.Finally,compared with the traditional solution model,the efficiency of this model is verified;4)During the peak period of the platform raffle visit,a dynamic memory allocation algorithm based on curve fitting prediction is proposed,which allocates the memory for the server in advance,greatly reduces the running cost of the platform,and improv-es the utilization ratio of the Server Memory Ensure the server can run stably and efficiently during the peak of raffle visit.The platform has been put into operation in a city at this stage,the strength of the lottery continues to expand,the users continue to improve,and has a good application prospects.
Keywords/Search Tags:National Fitness, Convenience Service, Linear Congruence, Message Queue, Curve Fitting
PDF Full Text Request
Related items