Font Size: a A A

Design And Implementation Of Lottery Betting Platform

Posted on:2016-07-09Degree:MasterType:Thesis
Country:ChinaCandidate:Q Q HouFull Text:PDF
GTID:2348330503494297Subject:Software engineering
Abstract/Summary:PDF Full Text Request
These years, trading through telephone, SMS and other rising business brings great value and market potential. Various traditional trading patterns take advantage of the network and mobile to implement their products, such as buying lottery tickets, buying movie tickets and exchanging coupon through mobiles. At the same time, Chinese Welfare Lottery and Chinese Sport Lottery as two lotteries published by the government are aimed at improving the infrastructure and welfare of people, which still have breach in finance. The popular combination of the Internet and mobile technology has proved to have active influence on multiple industries, and can be applied to different industries. Chinese lottery as the main income of the commonweal investment by the government also needs to gather more finance through new-born patterns and commercial ways.The passage is aimed at the analysis of the mobile application of the lottery betting, and at finishing a robust lottery betting and ticketing platform, which is based on mobile devices. The subject mainly discusses the design of structure, database, interface, and analyze deeply at several key problems:(1) Analyze the process of lottery behavior and demands of the 3rd party partners. In the process of normal customers'lottery behavior, they focus mainly on the convenience of operation, the security of capital and the experience of using the software, so these pointed are considered in designing the system. When discussing the demands of the 3rd party partners, the process of renting the lottery service and lottery through the Internet is considered. Interfaces of the lottery platform and operation process are analyzed and designed as well as the safety of the interface and the data model.(2) Analyze the architecture according to the demands, including the architecture of software as well as the topology of the system. The whole system is divided to 3 sections:the user interaction module, lottery operating system and lottery ticketing system. And then the processes of interaction between different systems are discussed in the paper as well as the interface, which is offered to the 3rd party partners. The user interaction module is responsible for the detail interaction process when the user is using the system through telephone voice or mobile and offers voice or SMS hint. Lottery operating system is responsible for the detail logic of buying lottery, lottery ticketing request and maintain the basic information of users. The lottery ticketing system is responsible for sending the lottery ticket to the official lottery organization. The platform is open for the 3rd party companies, who are registered in the platform and have paid forehead.(3) Implementing the logic and method according to the design and demand. For the lottery ticketing platform which is based on the interfaces, the vital parameter are combined and encoding into md5 string to assure the security of the data. Java thread pool is used to manage the threads, which will decrease the consuming of the system and accelerate the response speed. When discussing the algorithm of splitting lottery tickets, a algorithm based on gray code is designed to calculate the count of tickets in a lottery number. Java reflect mechanism is used to auto selected the according class to verify the format of the request of different lottery type.The system optimizes the process of buying lottery, especially for the old who are not used to the modern electronic devices. At the same time the system offer a formal interface to the public so that the company who want to use the lottery operation can easily access to it.
Keywords/Search Tags:welfare lottery, sports lottery, lottery ticketing, lottery splitting
PDF Full Text Request
Related items