CN102984274A - Dynamic load optimization method for lottery cloud service system based on data mining - Google Patents
Dynamic load optimization method for lottery cloud service system based on data mining Download PDFInfo
- Publication number
- CN102984274A CN102984274A CN2012105389765A CN201210538976A CN102984274A CN 102984274 A CN102984274 A CN 102984274A CN 2012105389765 A CN2012105389765 A CN 2012105389765A CN 201210538976 A CN201210538976 A CN 201210538976A CN 102984274 A CN102984274 A CN 102984274A
- Authority
- CN
- China
- Prior art keywords
- service system
- cloud service
- server
- lottery ticket
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a dynamic load optimization method for a lottery cloud service system based on data mining. The method effectively utilizes characteristics of lottery games, and predicts a bet pressure peak at each time period based on analysis on historical bet data of the lottery games. Server resources are dynamically distributed to the lottery games according to predicted data of the pressure peak and server processing capacity data, so that the server resources in the whole lottery cloud service system is distributed more reasonably; the overall processing capacity of the lottery cloud service system is improved; and hardware resources are saved.
Description
Technical field
The present invention relates to a kind of lottery ticket cloud service system dynamic load optimization method, especially relate to the lottery ticket cloud service system dynamic load optimization method that a kind of based on data excavates, be mainly used in the Internet lottery management, belong to the electrical application technology field.
Background technology
In recent years, the development speed of the Internet lottery is very fast, and the lottery ticket cloud service system is the inexorable trend of in the future the Internet lottery development.And as the lottery ticket cloud service system, must be able to respond the concurrent lottery ticket choosing and selling request of magnanimity.General cloud service system be in order to satisfy such demand, in load can't the situation of dynamic optimization, need to calculate needed number of servers according to the peak value wager amount sum of each Entertaiment game teleloto, will cause a large amount of equipment redundancies like this.
Summary of the invention
The present invention seeks in order to overcome above-mentioned the deficiencies in the prior art part, proposed the lottery ticket cloud service system dynamic load optimization method that a kind of based on data excavates.The method is based on the characteristics of Entertaiment game teleloto: it not is consistent (stake peak period of twin color ball for example that the wager amount of each game within a period of time distributes, seven happy coloured silk wager amount this moment are lower), this is because the life cycle of every kind of Entertaiment game teleloto is inconsistent.On this basis by analyze the wager amount distributed data of each Entertaiment game teleloto within a period of time and at present the computing capability data of Servers-all come dynamically server resource to be re-assigned on each Entertaiment game teleloto, thereby reach the dynamic optimization of entire system load.
The present invention realizes with following technical scheme: the lottery ticket cloud service system dynamic load optimization method that a kind of based on data excavates, it is characterized in that: the method comprises: excavate and analyze by the historical data that the wager amount of each Entertaiment game teleloto within a period of time distributed, the server operation of dynamically adjusting in the lottery ticket cloud service system in conjunction with the hardware handles ability of server distributes, so that the distribution of the server resource in the whole lottery ticket cloud service system is more reasonable; Improve the disposed of in its entirety ability of lottery ticket cloud service system.
Described dynamic lottery ticket cloud service system server operation distributes to adjust and has comprised a distribution management layer; Described distribution management layer is responsible for analyzing the historical data of each Entertaiment game teleloto and quantity and the disposal ability of present server, the server operation of dynamically adjusting in the lottery ticket cloud service system distributes, realize the level and smooth expansion of whole cloud service system after new server is added, specifically comprise the steps:
(1) manages Servers-all, quantize to calculate the disposal ability of each server according to each server CPU number, frequency and memory size;
(2) according to historical betting statistics, calculate in a period of time, each the game entry amount on each adjustment of load time point distributes, for dynamic load optimization provides data supporting;
(3) carrying out dynamic load according to the data of step (2) optimizes and revises.
The present invention is that advantage is: the method has effectively been utilized the Entertaiment game teleloto characteristics, based on the stake pressure peak of predicting for the analysis of the historical betting statistics of each Entertaiment game teleloto in each time period T.Server resource must be assigned to each Entertaiment game teleloto according to this pressure peak prediction data and server handling ability data are dynamic; So that the distribution of the server resource in the whole lottery ticket cloud service system is more reasonable; In the disposed of in its entirety ability that has improved the lottery ticket cloud service system, saved hardware resource.
Description of drawings
Below in conjunction with drawings and Examples the present invention is described in further detail:
Fig. 1 is lottery ticket cloud service system dynamic load optimization method program schematic diagram of the present invention:
Embodiment
As shown in the figure: described dynamic lottery ticket cloud service system server operation distributes to adjust and has comprised a distribution management layer; Described distribution management layer is responsible for analyzing the historical data of each Entertaiment game teleloto and quantity and the disposal ability of present server, the server operation of dynamically adjusting in the lottery ticket cloud service system distributes, realize the level and smooth expansion of whole cloud service system after new server is added, specifically comprise the steps:
(1) manages Servers-all, quantize to calculate the disposal ability of each server according to each server CPU number, frequency and memory size;
(2) according to historical betting statistics, calculate in a period of time, each the game entry amount on each adjustment of load time point distributes, for dynamic load optimization provides data supporting;
(3) carrying out dynamic load according to the data of step (2) optimizes and revises.
Distribution management layer of the present invention is responsible for analyzing the historical data of each Entertaiment game teleloto and quantity and the disposal ability of present server, and the computing of dynamically adjusting the server operation distribution in the lottery ticket cloud service system comprises:
(a) calculate interior each server handling ability C of cloud service system
i:
N is set
Cpu, iBe CPU number, N
Mem, iBe amount of memory, draw thus
C
i=K
cpu×N
cpu,i+K
mem×N
mem,i (i)
Here K
Cpu, K
MemBe every coefficient, K
CpuAccording to different cpu frequencies and different.
(b) establishing the time interval that each dynamic load optimizes and revises is T, and each dynamic load is optimized and revised the prediction that all is based on the loading condition of respectively playing in the next time period T and carried out.
Certain that draws according to historical data analysis optimizes and revises that each game prediction stake pressure peak in next time end T is S on the time point
i, and the prediction of each game stake pressure peak is P in the upper time period T
iAdjust according to these data:
At first, for satisfying S
i<P
iEntertaiment game teleloto, if P
i-S
iDifference greater than certain critical value G
1Then according to P
i-S
iDifference and the disposal ability quantized value of each server of being assigned to of these game, number of servers is cut down.The server of having more than needed out after the reduction is included into tabulation to be allocated.
Secondly, for S
iP
iEntertaiment game teleloto, if S
i-P
iDifference greater than certain critical value G
2, then according to S
i-P
iDifference from tabulation to be allocated, select enough server-assignment and give these Entertaiment game telelotos.
If after the load optimized adjustment in the tabulation to be allocated server also have more than neededly, then this part server temporarily is set to resting state, save power consumption; If the server in the tabulation to be allocated is not enough, then need new server is added tabulation to be allocated, distribute to needed Entertaiment game teleloto by dynamic adjustment.
If S
i=P
iThen do not need to adjust.
Claims (2)
1. the lottery ticket cloud service system dynamic load optimization method that excavates of a based on data, it is characterized in that: the method comprises: excavate and analyze by the historical data that the wager amount of each Entertaiment game teleloto within a period of time distributed, the server operation of dynamically adjusting in the lottery ticket cloud service system in conjunction with the hardware handles ability of server distributes, so that the distribution of the server resource in the whole lottery ticket cloud service system is more reasonable; Improve the disposed of in its entirety ability of lottery ticket cloud service system.
2. the lottery ticket cloud service system dynamic load optimization method that excavates of a kind of based on data according to claim 1, it is characterized in that: described dynamic lottery ticket cloud service system server operation distributes to adjust and has comprised a distribution management layer; Described distribution management layer is responsible for analyzing the historical data of each Entertaiment game teleloto and quantity and the disposal ability of present server, and the server operation of dynamically adjusting in the lottery ticket cloud service system distributes, and specifically comprises the steps:
(1) manages Servers-all, quantize to calculate the disposal ability of each server according to each server CPU number, frequency and memory size;
(2) according to historical betting statistics, calculate in a period of time, each the game entry amount on each adjustment of load time point distributes, and optimizing and revising for dynamic load provides data supporting;
(3) carrying out dynamic load according to the data of step (2) optimizes and revises.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012105389765A CN102984274A (en) | 2012-12-13 | 2012-12-13 | Dynamic load optimization method for lottery cloud service system based on data mining |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012105389765A CN102984274A (en) | 2012-12-13 | 2012-12-13 | Dynamic load optimization method for lottery cloud service system based on data mining |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102984274A true CN102984274A (en) | 2013-03-20 |
Family
ID=47858007
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2012105389765A Pending CN102984274A (en) | 2012-12-13 | 2012-12-13 | Dynamic load optimization method for lottery cloud service system based on data mining |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102984274A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105554096A (en) * | 2015-12-11 | 2016-05-04 | 鹏博士电信传媒集团股份有限公司 | Method and system for realizing cloud game cloud service |
CN107807856A (en) * | 2017-11-07 | 2018-03-16 | 王昆 | A kind of limited period integration cloud service system resource allocation method and device |
CN107835171A (en) * | 2017-11-07 | 2018-03-23 | 王昆 | A kind of indefinite duration integration cloud service system resource allocation method and device |
CN108073493A (en) * | 2017-11-21 | 2018-05-25 | 北京奇虎科技有限公司 | A kind of method and device of the display system data in interface |
CN109446041A (en) * | 2018-09-25 | 2019-03-08 | 平安普惠企业管理有限公司 | A kind of server stress method for early warning, system and terminal device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6078960A (en) * | 1998-07-03 | 2000-06-20 | Acceleration Software International Corporation | Client-side load-balancing in client server network |
CN102244685A (en) * | 2011-08-11 | 2011-11-16 | 中国科学院软件研究所 | Distributed type dynamic cache expanding method and system supporting load balancing |
CN102637287A (en) * | 2012-03-18 | 2012-08-15 | 江苏新彩软件有限公司 | Dynamic load balancing method for high-capacity concurrent transactions of users of Internet lottery |
-
2012
- 2012-12-13 CN CN2012105389765A patent/CN102984274A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6078960A (en) * | 1998-07-03 | 2000-06-20 | Acceleration Software International Corporation | Client-side load-balancing in client server network |
CN102244685A (en) * | 2011-08-11 | 2011-11-16 | 中国科学院软件研究所 | Distributed type dynamic cache expanding method and system supporting load balancing |
CN102637287A (en) * | 2012-03-18 | 2012-08-15 | 江苏新彩软件有限公司 | Dynamic load balancing method for high-capacity concurrent transactions of users of Internet lottery |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105554096A (en) * | 2015-12-11 | 2016-05-04 | 鹏博士电信传媒集团股份有限公司 | Method and system for realizing cloud game cloud service |
CN107807856A (en) * | 2017-11-07 | 2018-03-16 | 王昆 | A kind of limited period integration cloud service system resource allocation method and device |
CN107835171A (en) * | 2017-11-07 | 2018-03-23 | 王昆 | A kind of indefinite duration integration cloud service system resource allocation method and device |
CN108073493A (en) * | 2017-11-21 | 2018-05-25 | 北京奇虎科技有限公司 | A kind of method and device of the display system data in interface |
CN109446041A (en) * | 2018-09-25 | 2019-03-08 | 平安普惠企业管理有限公司 | A kind of server stress method for early warning, system and terminal device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102984274A (en) | Dynamic load optimization method for lottery cloud service system based on data mining | |
CN105281981B (en) | The data traffic monitoring method and device of network service | |
CN103036946B (en) | A kind of method and system processing file backup task for cloud platform | |
KR101434887B1 (en) | Cache system and cache service providing method using network switches | |
CN101799773B (en) | Memory access method of parallel computing | |
CN104182801B (en) | A kind of method and apparatus for predicting website visiting amount | |
CN103023801B (en) | A kind of network intermediate node cache optimization method analyzed based on traffic characteristic | |
CN103945548A (en) | Resource distribution system and task/service scheduling method in C-RAN | |
CN105657449B (en) | A kind of video code conversion distribution method, device and video code conversion system | |
CN110263370B (en) | Model optimization method, system and server | |
CN106020934A (en) | Optimized deploying method based on virtual cluster online migration | |
CN102681902A (en) | Load balancing method based on task distribution of multicore system | |
CN102426544A (en) | Task allocating method and system | |
CN102981893B (en) | A kind of dispatching method of virtual machine and system | |
CN102176696B (en) | Multi-computer system | |
CN108712296A (en) | One kind being based on distributed daily record monitoring device and method | |
US20170279697A1 (en) | Control device for estimation of power consumption and energy efficiency of application containers | |
CN109828790B (en) | Data processing method and system based on Shenwei heterogeneous many-core processor | |
CN106775944A (en) | The method integrated based on cultural multi-ant colony algorithm virtual machine under cloud platform | |
CN107220108A (en) | A kind of method and system for realizing cloud data center load balancing | |
CN104750538A (en) | Virtual storage pool providing method and system for target application | |
CN106909462A (en) | A kind of cloud resource regulating method and device | |
CN108684075A (en) | Processing resource allocation method under centralized base station framework | |
CN105426228B (en) | A kind of OpenStack virtual machine placement methods towards live streaming media and video code conversion | |
CN112559122A (en) | Virtualization instance management and control method and system based on electric power special security and protection equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20130320 |