Realizing and Discussing of drawing the number

Wang ZhengMin,Liu HouQuan
DOI: https://doi.org/10.3969/j.issn.1008-0570.2007.33.077
2007-01-01
Abstract:In the text it describes how to use computer to design and realize drawing a number.It improves the traditional drawing a number's efficiency and reliabily.When solving drawing-a-number problem,we need to solve the flowing problem:How to produce the number random fluctuation and no duplication.There we use the java language which provide thread to call the random function Math.random()repeatly,then we let the random number to some effecting exchanges then show the number on the screen.In this system,we use the database to store the drawing numbers.When we draw a number,we need delete the number from the database' s table to realize the no duplication drawing number.Because Accessing the database need sometime cost,we reload the database drawing numbers to the memory.After that when we use the drawing number,we use the memory storing numbers instead of the database's numbers.Drawing-a-number will last for a long time,so data safety become import.We use two databases to manage the data.
What problem does this paper attempt to address?