Font Size: a A A

Realization Of A Supermarket Push System And Research On Related Algorithms

Posted on:2016-08-20Degree:MasterType:Thesis
Country:ChinaCandidate:T XueFull Text:PDF
GTID:2308330461991675Subject:Circuits and Systems
Abstract/Summary:PDF Full Text Request
Now the supermarket has a pivotal position in people’s life and it is favored by consumers. Consumers pay more attention to the supermarket information such as goods and activities. They hope they can obtain the commodity information, favorable activity lightning deal, and so on in real time. For such a system, with the number of users access to increase the pressure on the server will become larger and larger and need to use the mainstream load balancing cluster technology to solve this problem. The client of mobile phone also need to have a good cache mechanism to cache the pictures in local against more pictures in the background. It can reduce the burden of the server. The core of good technology must have a good algorithm. The research work of this dissertation is based on this requirement, a new load balancing algorithm and a new caching algorithm are proposed and the supermarket push system which depends on the increasing popularity of mobile Internet devices is designed and implemented.This dissertation introduces the research significance and the research status of the cluster system, the load balancing, the image caching technology and the supermarket push system. Then the dissertation describes the cluster technology and the load balancing. It also studies up on static algorithms and dynamic algorithms of load balancing and has an analysis of their shortcomings. The dissertation put forward a the load balancing algorithm based on the comprehensive performance. The algorithm calculates a final target value by collecting the CPU idle rate and the memory idle rate of each node server and according to the ratio which the current connection numbers of the node server in total connection numbers in cluster system. According to the final target value to distribute client requests. The dissertation analyzes the existing caching technology and algorithm. And the time-consuming part of the original algorithm is optimized. The cache mechanism is effectively improved. Finally, We realize the supermarket push system which mainly including three parts of background, supermarket client and APP. The supermarket client is mainly composed of the login module, the user list module, the supermarket information module, the commodities module and the information activities module. The login module realizes the functions such as login, changing password and logout. Other modules realizes the functions such as adding, editing and deleting messages. The client is comprised of the homepage module, the business module, the information module and the more module. The homepage module implements browsing the supermarket information, commodities price comparison, seeing the latest information. The business module realizes the functions of sharing and collecting commodities, searching commodities, seeing the details of commodities, getting the supermarket location and the route planning. The information module implements the functions of browsing information, collecting information and sharing of information. The more module implements the functions of canceling and refering to collecting information, clearing the cache, checking the version update, sharing the APP. The app has friendly interface and easy to use. The system was tested. It runs stability and achieves the needs of users.
Keywords/Search Tags:supermarket push system, clustering technology, load balance, cache
PDF Full Text Request
Related items