CN111221707A - Method and system for monitoring body color random number generator - Google Patents

Method and system for monitoring body color random number generator Download PDF

Info

Publication number
CN111221707A
CN111221707A CN202010052912.9A CN202010052912A CN111221707A CN 111221707 A CN111221707 A CN 111221707A CN 202010052912 A CN202010052912 A CN 202010052912A CN 111221707 A CN111221707 A CN 111221707A
Authority
CN
China
Prior art keywords
random number
number generator
monitoring
data
lottery drawing
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.)
Granted
Application number
CN202010052912.9A
Other languages
Chinese (zh)
Other versions
CN111221707B (en
Inventor
孙丽莉
毕国庭
章小文
张劭劼
许超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Sports Lottery Technology Development Co ltd
Original Assignee
China Sports Lottery Technology Development Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by China Sports Lottery Technology Development Co ltd filed Critical China Sports Lottery Technology Development Co ltd
Priority to CN202010052912.9A priority Critical patent/CN111221707B/en
Publication of CN111221707A publication Critical patent/CN111221707A/en
Application granted granted Critical
Publication of CN111221707B publication Critical patent/CN111221707B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3051Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/08Error detection or correction by redundancy in data representation, e.g. by using checking codes
    • G06F11/10Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
    • G06F11/1008Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices
    • G06F11/1012Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices using codes or arrangements adapted for a specific type of error
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/327Alarm or error message display
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F7/00Methods or arrangements for processing data by operating upon the order or content of the data handled
    • G06F7/58Random or pseudo-random number generators
    • G06F7/588Random number generators, i.e. based on natural stochastic processes
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C15/00Generating random numbers; Lottery apparatus
    • G07C15/006Generating random numbers; Lottery apparatus electronically

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Computing Systems (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a method and a system for monitoring a body color random number generator, wherein the method comprises the following steps: acquiring monitoring data of a random number generator periodically; the monitoring data includes: sample data generated by a random number generator, a lottery drawing log at a lottery drawing stage and lottery drawing historical data; carrying out analysis and verification according to the monitoring data to obtain an analysis and verification result; and displaying the analysis and verification result by using the monitoring page, and generating alarm information and carrying out alarm notification by using the monitoring page if the analysis and verification result triggers an alarm condition. The method and the system can monitor the random number generator in the whole running period of the lottery drawing, regularly check the probability of the random number generator, and ensure the randomness of the random number generator during working; in the process of checking the random number generator, the background system completely and automatically completes the processes of analysis checking, result displaying, alarming and the like, manual participation is not needed in the process, and powerful guarantee is provided for fairness, justice and openness of the sportsbook system.

Description

Method and system for monitoring body color random number generator
Technical Field
The invention relates to the technical field of random number security, in particular to a method and a system for monitoring a body color random number generator.
Background
With the continuous development of random number generators, the security of the technology is more and more concerned; at present, a random number generator for sportsbook is a physical device, which is completely independent of other systems, and no relevant interface is provided for the external use, so that the traditional monitoring software can monitor the device conveniently. In the prior art, the network connectivity is monitored, and when the device cannot ping, the device considers that the network is connected or the device is abnormal and needs to be processed in time.
In the prior art, monitoring of the random number generator stays on a peripheral network connection layer, the random number generator is not actually monitored, sampling analysis is not performed on the random number, and the generation equal probability and the non-equal probability of the random number generator cannot be guaranteed to be within a certain range. Meanwhile, the abnormal situation of data acquired in each lottery drawing process cannot be monitored in real time. The working state of the random number generator is in a black box stage, the problem of probability deviation of the random number generator is unknown in advance, abnormal conditions cannot be reflected in the process in time, and no data can be analyzed and verified afterwards.
Therefore, a technical solution for comprehensively monitoring the security and randomness of the random number generator is needed.
Disclosure of Invention
In order to solve the problems, the invention provides a method and a system for monitoring a body color random number generator, which can monitor the random number generator in the whole running period of lottery drawing, adopts a mode of combining sampling of the random number generator, persistence of real-time lottery drawing logs and verification of lottery drawing history, and comprehensively considers various data in the running period of the random number generator so as to ensure the safety and randomness of the random number generator in work and provide powerful guarantee for the fairness, justice and openness of a body color system.
In an embodiment of the present invention, a method for monitoring a body color random number generator is provided, the method comprising:
acquiring monitoring data of a random number generator periodically; wherein the monitoring data comprises: sample data generated by the random number generator, a lottery drawing log at a lottery drawing stage and lottery drawing historical data;
carrying out analysis and verification according to the monitoring data to obtain an analysis and verification result;
and displaying the analysis and verification result by using a monitoring page, and generating alarm information and carrying out alarm notification by using the monitoring page if the analysis and verification result triggers an alarm condition.
In another embodiment of the present invention, there is provided a system for monitoring a body color random number generator, the system comprising:
the monitoring data acquisition module is used for periodically acquiring monitoring data of the random number generator; wherein the monitoring data comprises: sample data generated by the random number generator, a lottery drawing log at a lottery drawing stage and lottery drawing historical data;
the analysis and verification module is used for carrying out analysis and verification according to the monitoring data to obtain an analysis and verification result;
the monitoring page display module is used for displaying the analysis and verification result by using a monitoring page;
and the alarm module is used for generating alarm information for alarm notification and utilizing a monitoring page for alarm notification when the analysis and verification result triggers an alarm condition.
The monitoring method and the system of the body color random number generator can monitor the random number generator in the whole running period of lottery drawing, regularly check the generation number probability of the random number generator and ensure the randomness of the random number generator during working; in the process of checking the random number generator, the background system completely and automatically completes the processes of analysis checking, result displaying, alarming and the like, manual participation is not needed in the process, and powerful guarantee is provided for fairness, justice and openness of the sportsbook system.
Drawings
FIG. 1 is a flow chart of a method for monitoring a body color random number generator according to one embodiment of the present invention.
FIG. 2 is a schematic flow diagram of a sample analysis for a random number generator in accordance with an embodiment of the present invention.
Fig. 3 is a schematic diagram of a configuration file analysis and verification process according to an embodiment of the present invention.
Fig. 4A is a schematic diagram of a display interface of a generator sampling monitoring result according to an embodiment of the present invention.
Fig. 4B is a schematic diagram of a display interface of an abnormal list for monitoring non-equal probability data sampling according to an embodiment of the present invention.
Fig. 4C is a schematic diagram of a display interface of a configuration file monitoring exception list according to an embodiment of the present invention.
FIG. 4D is a schematic diagram of a configuration file exception handling interface according to an embodiment of the invention.
Fig. 5 is a flow chart illustrating the analysis of the prize-winning log according to an embodiment of the present invention.
Fig. 6A is a schematic diagram of a display interface of details of a lottery drawing log according to an embodiment of the present invention.
Fig. 6B is a schematic diagram of a display interface of detailed information of the lottery drawing log according to an embodiment of the present invention.
Fig. 6C is a schematic view of a display interface of the detailed log exception information according to an embodiment of the present invention.
Fig. 7 is a schematic view of a high-frequency game drawing monitoring and verifying process according to an embodiment of the present invention.
Fig. 8A is a schematic diagram of a display interface of a high-frequency game drawing monitoring result according to an embodiment of the invention.
Fig. 8B is a schematic diagram of a display interface of a high-frequency game drawing monitoring exception list according to an embodiment of the present invention.
FIG. 8C is a diagram of a high-frequency game exception handling interface according to an embodiment of the invention.
FIG. 9 is a schematic diagram of a monitoring system for a body color random number generator, in accordance with an embodiment of the present invention.
Fig. 10 is a schematic structural diagram of a computer device according to an embodiment of the present invention.
Detailed Description
The principles and spirit of the present invention will be described with reference to a number of exemplary embodiments. It is understood that these embodiments are given solely for the purpose of enabling those skilled in the art to better understand and to practice the invention, and are not intended to limit the scope of the invention in any way. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
As will be appreciated by one skilled in the art, embodiments of the present invention may be embodied as a system, apparatus, device, method, or computer program product. Accordingly, the present disclosure may be embodied in the form of: entirely hardware, entirely software (including firmware, resident software, micro-code, etc.), or a combination of hardware and software.
According to the embodiment of the invention, the invention provides a method and a system for monitoring a body color random number generator.
In the present embodiment, the terms to be explained:
rng (random Number generator): the random number generator is a hardware device provided by Deann technology company, and a built-in chip can generate random numbers for providing a lottery drawing result for the high-frequency game of the body lottery.
RNG communication module (RNGWeb): connecting the background system and the random number generator and establishing communication between the background system and the random number generator; the background system may send a request to RNGWeb, which may obtain relevant data from the random number generator device and then send the data to the background system.
ADP: the high-frequency automatic lottery drawing server end of the body lottery is responsible for driving the lottery process of the high-frequency game.
The principles and spirit of the present invention are explained in detail below with reference to several representative embodiments of the invention.
FIG. 1 is a flow chart of a method for monitoring a body color random number generator according to one embodiment of the present invention. As shown in fig. 1, the method includes:
step S1, acquiring the monitoring data of the random number generator periodically; wherein the monitoring data comprises: sample data generated by the random number generator, a lottery drawing log at a lottery drawing stage and lottery drawing historical data;
step S2, analyzing and checking according to the monitoring data to obtain an analyzing and checking result;
and step S3, displaying the analysis and verification result by using a monitoring page. And if the analysis and verification result triggers an alarm condition, generating alarm information and carrying out alarm notification. The alarm reporting mode can be displayed through a monitoring page, and can also directly inform workers through mails, short messages and other modes.
The method can monitor the random number generator in the whole operation period of the lottery drawing, comprehensively considers the operation period, realizes the monitoring of the random number generator by adopting a mode of combining sampling of the random number generator, persistence of a real-time lottery drawing log and historical verification of the lottery drawing, and ensures the randomness and the safety of the random number generator.
Furthermore, in the whole operation cycle of the lottery drawing, the three stages of "in advance", "in advance" and "after" are mainly included, and the realization principle of monitoring in each stage is as follows:
1. generator sampling monitoring (a priori):
the random number is from a random number generator, the action and the analysis result are realized by a background system, and an RNGebb is newly added and used for connecting the two systems; RNGbob can acquire sample data from the random number generator equipment and then return the sample data to the background system for analysis and verification.
2. Details of the lottery drawing log (in fact):
ADP writes the details of the result of drawing the prize into the table of the Database (DB) in the stage of drawing the prize, and the operation and maintenance system reads the table in real time and executes the alarm once the abnormality is found.
3. High-frequency game lottery monitoring (after the fact):
and querying the collection database by RNGbob, returning the result of the high-frequency game for the lottery drawing to a background system, and analyzing and checking.
For a more clear explanation of the method of monitoring the body color random number generator, reference is now made to specific examples.
In a first embodiment, the generator samples monitoring (a priori):
referring to fig. 2, a schematic flow chart of sampling analysis of a random number generator according to an embodiment includes the following specific steps:
step S201, setting calling times and a random number range;
step S202, the RNGwebb is called according to the calling times, and the result data generated by the random number generator according to the random number range is correspondingly acquired by calling each time.
Step S203, judging whether a preset count is reached or not in the calling process; if the preset count is not reached, returning to the step S202 to continue calling;
if the calling times are reached, executing step S204, analyzing and checking, judging whether the error exceeds the preset threshold range, and analyzing the randomness of result data generated by the random number generator;
if yes, generating alarm information, executing step S205, and displaying the alarm information.
If not, a normal analysis result is generated, and step S206 is executed to display the normal analysis result.
In an embodiment, referring to fig. 3, further verification analysis may be performed on a configuration file locally stored by the random number generator.
Utilizing the RNGbob to synchronize a random number configuration file of the lottery drawing service end to a random number generator periodically; the synchronization frequency may be once per day.
When the random number configuration file is checked, the random number configuration file locally stored by the random number generator is obtained through the random number configuration file checking interface of RNGwebb, the corresponding MD5 value is checked with the MD5 value of the random number configuration file of the lottery drawing service terminal (ADP), and if the MD5 values are different, warning information is generated.
The verification process of MD5 is performed once per day.
In one embodiment, the generator sample monitoring results shown in FIG. 4A can be obtained using the sample analysis process described in FIG. 2 and FIG. 3.
As shown in fig. 4A, a display interface for generator sampling monitoring.
In the interface, equiprobable data sampling monitoring, non-equiprobable data sampling monitoring and configuration file monitoring are included, as can be seen from fig. 4A, the sampling monitoring time is once a day, the currently displayed sampling monitoring analysis results are normal, and no alarm occurs.
On the basis of the display interface of fig. 4A, each monitoring interface can be clicked to view a detailed list of each monitoring.
For example, as shown in fig. 4B, a display interface for an abnormal list of non-equal probability data sampling monitoring is provided, on which the abnormal list of non-equal probability data sampling monitoring can be viewed by defining "start date" and "end date", where the current interface displays: there is temporarily no data available for display.
As shown in fig. 4C, a plurality of verification results are displayed on the display interface of the profile monitoring exception list, and it can be seen through the interface that monitoring exceptions occur continuously every day in the profile from 28 days 12 and 28 days 2019 to 8 days 1 and 2020, and the staff can perform corresponding processing accordingly. Further referring to fig. 4D, the staff may open a corresponding configuration file exception handling interface to handle the configuration file exception.
Example two, the details of the lottery drawing log record (in fact):
referring to fig. 5, the analysis process of the details record of the lottery drawing log is as follows:
step S501, obtaining a lottery drawing result in real time by ADP, and writing a lottery drawing log into a database; the database stores lottery drawing logs written by the lottery drawing server side in a lottery drawing stage;
step S502, the background system sends a real-time query request to a database, and acquires a lottery drawing log of a lottery drawing stage from the database;
step S503, analyzing according to the lottery drawing log of the lottery drawing stage by comparing with an abnormal information code table;
step S504, judge whether there is unusual information;
if yes, generating alarm information in a grading mode, and executing the step S505 to display the alarm information;
if not, normal information is generated and step S506 is performed to display the normal information.
Wherein, no matter whether produce the warning, will show the log information, include: the time of drawing a prize, the log level, the prize-winning ID and the information of the process of drawing a prize.
In an embodiment, the details of the drawing log shown in fig. 6A can be obtained by analyzing the drawing log according to the drawing log analysis flow shown in fig. 5.
As shown in fig. 6A, is a display interface for details of the lottery drawing log.
As a result of analysis of the drawing log shown in fig. 6A, in the two-stage drawing of the game "sikawa jingle 7" at 15 o 34 (the drawing stage number 17102943) and 20 o 34 o (the drawing stage number 17102943) on 29 th 10 th day, time is respectively consumed by 7.281 and 7.391, the drawing result is delayed, and the corresponding warning information (the warning indication mark "on center" and displayed in yellow) is displayed.
Other game drawing processes are normal, and no alarm appears (the alarm indication mark is close to the right and is displayed in green).
Furthermore, detailed information of the lottery drawing logs can be checked by clicking each game. Taking the game "flying fish" (prize-winning number 171207052) of 12 months and 7 days as an example, fig. 6A shows that the game is alerted, and the result of drawing a prize is "device 0 failed". Furthermore, detailed information of the lottery drawing logs of the game can be checked by clicking the game; as shown in fig. 6B, details of the drawing log can be seen in the pop-up box. Wherein the log is described as: the random number generator 0 has a fault, the random number generator 1 is switched to successfully award, and as a result: 05+03+02, time consuming: 3.0938094 seconds.
Fig. 6C is a view showing a display interface of detailed log exception information. The staff can limit the 'start time' and 'end time' in the interface and check the corresponding information such as the early warning occurrence time, the verification result, the game name, the prize-giving stage number, the prize-giving stage ID, the log description and the like.
Example three, high frequency game drawing monitoring (after the fact):
with reference to the schematic flow chart of monitoring and verifying the high-frequency game drawing prize shown in fig. 7, the specific process is as follows:
first, an expected probability threshold range of the game id (game id) needs to be set; each game corresponds to a preset threshold range.
Step S701, inquiring a game list, applying for inquiry of historical lottery drawing result data of a specified game (an equal probability game) to RNGwebb according to a game ID and a historical lottery drawing result data period (YYYYMMDD-YYYYYMMDD);
step S702, circulating a game list;
the two steps acquire the historical data of the lottery drawing from a collection library by calling the RNGbob; wherein the drawing history data includes: game ID, drawing result data cycle and corresponding drawing result data.
In one embodiment, the historical lottery result obtaining period may be initially set to 90 business days (which lottery dates belong to the same business day according to the year, month and day in the game lottery number).
Step S703, analyzing the result data of the lottery drawing, and comparing the result data with the expected probability threshold range of the corresponding game ID to obtain a comparison result;
step S704, judging whether abnormal information exists;
if the expected probability range is exceeded, generating alarm information, and executing the step S705 to display the alarm information;
if there is no abnormal information, normal information is generated, and step S706 is performed to display the normal information.
In one embodiment, the high frequency game drawing monitoring result may be obtained using the drawing history verification process described in fig. 7.
Fig. 8A is a view showing a display interface for monitoring the high-frequency game drawing. In this interface, the result of the analysis of the history of the high-frequency game drawing from 7 months 30 to 10 months 28 days is displayed. Wherein, the game of "the color is happy in Hunan" appears the alarm information (the alarm instruction sign "leans to the left", show through red), the staff can handle according to this.
Further, the staff can inquire the high-frequency game drawing monitoring abnormality through the high-frequency game drawing history monitoring abnormality inquiry function, and as shown in fig. 8B, the high-frequency game drawing monitoring abnormality between 12 and 10 months in 2019 and 1 and 8 months in 2020, it can be seen that the alarms are mainly generated by games of "qinghai happy playing card" and "hunan happy lottery". As shown in fig. 8C, in order to implement the high-frequency game exception handling interface, the staff may perform corresponding handling for each alarm.
By integrating the processes, the random number generator can be monitored in the whole running period of lottery drawing, the generation probability of the random number generator is periodically checked, and the randomness of the random number generator during working is ensured; in the process of checking the random number generator, the supervision platform completely and automatically completes the processes of analysis checking, result displaying, alarming and the like, manual participation is not needed in the process, and powerful guarantee is provided for fairness, justice and openness of the sportsbook system.
It should be noted that although the operations of the method of the present invention have been described in the above embodiments and the accompanying drawings in a particular order, this does not require or imply that these operations must be performed in this particular order, or that all of the operations shown must be performed, to achieve the desired results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions.
Having described the method of an exemplary embodiment of the present invention, a monitoring system for a body color random number generator of an exemplary embodiment of the present invention is next described with reference to FIG. 9.
The implementation of the monitoring system of the body color random number generator can refer to the implementation of the method, and repeated details are omitted. The term "module," as used below, may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Based on the same inventive concept, the present invention further provides a monitoring system for a body color random number generator, as shown in fig. 9, the system comprises:
a monitoring data obtaining module 910, configured to periodically obtain monitoring data of the random number generator; wherein the monitoring data comprises: sample data generated by the random number generator, a lottery drawing log at a lottery drawing stage and lottery drawing historical data;
the analysis and verification module 920 is configured to perform analysis and verification according to the monitoring data to obtain an analysis and verification result;
a monitoring page display module 930, configured to display the analysis and verification result by using a monitoring page;
an alarm module 940, configured to generate alarm information for alarm notification when the analysis and verification result triggers an alarm condition, and perform alarm notification by using a monitoring page.
In a specific embodiment, the monitoring system of the random number generator can be implemented by using a set of hardware, and the basic requirements are as follows:
server and operating system: virtual machine, windows2008R 2;
supporting software: IIS7+. net frame 4.0;
deployment: two servers configured in cluster.
The administration platform displays pages including, but not limited to, the following sections:
overall operating conditions;
the equal probability random number operation condition;
non-equal probability random number operation condition;
analyzing historical lottery drawing results;
alarm (if there is an anomaly).
It should be noted that although several modules of the monitoring system of the random number generator are mentioned in the above detailed description, such division is merely exemplary and not mandatory. Indeed, the features and functionality of two or more of the modules described above may be embodied in one module according to embodiments of the invention. Conversely, the features and functions of one module described above may be further divided into embodiments by a plurality of modules.
Based on the aforementioned inventive concept, as shown in fig. 10, the present invention further provides a computer device 1000, which includes a memory 1010, a processor 1020, and a computer program 1030 stored on the memory 1010 and executable on the processor 1020, wherein the processor 1020 implements the aforementioned monitoring method of the random number generator when executing the computer program 1030.
Based on the foregoing inventive concept, the present invention further provides a computer-readable storage medium storing a computer program, which when executed by a processor implements a method for monitoring a body color random number generator.
The monitoring method and the system of the body color random number generator can monitor the random number generator in the whole running period of lottery drawing, regularly check the generation number probability of the random number generator and ensure the randomness of the random number generator during working; in the process of checking the random number generator, the supervision platform completely and automatically completes the processes of analysis checking, result displaying, alarming and the like, manual participation is not needed in the process, and powerful guarantee is provided for fairness, justice and openness of the sportsbook system.
The above-mentioned embodiments are only specific embodiments of the present invention, which are used for illustrating the technical solutions of the present invention and not for limiting the same, and the protection scope of the present invention is not limited thereto, although the present invention is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A method of monitoring a body color random number generator, the method comprising:
acquiring monitoring data of a random number generator periodically; wherein the monitoring data comprises: sample data generated by the random number generator, a lottery drawing log at a lottery drawing stage and lottery drawing historical data;
carrying out analysis and verification according to the monitoring data to obtain an analysis and verification result;
and displaying the analysis and verification result by using a monitoring page, and generating alarm information and carrying out alarm notification by using the monitoring page if the analysis and verification result triggers an alarm condition.
2. The method of monitoring a body color random number generator of claim 1, wherein periodically obtaining monitoring data for the random number generator comprises:
setting an RNG communication module, and establishing communication connection between a background system and a random number generator;
and sending a sampling request to the RNG communication module periodically, and acquiring sample data of the random number generator through the RNG communication module.
3. The method of claim 2, wherein sending a sampling request to said RNG communication module, obtaining sample data of said random number generator by said RNG communication module, further comprises:
setting the calling times and the range of random numbers;
and calling the RNG communication module according to the calling times, and correspondingly acquiring result data generated by the random number generator according to the random number range every time calling.
4. The method of claim 3, wherein performing an analytical check based on said monitored data to obtain an analytical check result comprises:
judging whether a preset count is reached or not in the calling process; if the preset count is not reached, continuing to call;
if the calling times are reached, analyzing and checking, judging whether the error exceeds a preset threshold range, and analyzing the randomness of result data generated by the random number generator;
if the alarm information exceeds the preset alarm threshold value, generating and displaying alarm information;
if not, generating and displaying a normal analysis result.
5. The method of monitoring a body color random number generator of claim 4, further comprising:
when the random number configuration file is verified, the random number configuration file locally stored by the random number generator is obtained through a random number configuration file verification interface of the RNG communication module, the MD5 value of the random number configuration file is verified, and if the MD5 values are different, alarm information is generated.
6. The method of monitoring a body color random number generator of claim 1, wherein periodically obtaining monitoring data for the random number generator comprises:
periodically sending a real-time query request to a database, wherein the database stores lottery drawing logs written by a lottery drawing server side in a lottery drawing stage;
and obtaining a lottery drawing log of a lottery drawing stage from the database.
7. The method of claim 6, wherein performing an analytical check based on said monitored data to obtain an analytical check result comprises:
analyzing according to the lottery drawing logs in the lottery drawing stage and comparing with an abnormal information coding table, and generating alarm information in a grading manner;
displaying the log information and the alarm information in the lottery drawing log on a monitoring system; the displayed log information comprises the drawing time, the log level, the prize-winning period ID and the drawing process information.
8. The method of monitoring a body color random number generator of claim 1, wherein periodically obtaining monitoring data for the random number generator comprises:
setting an RNG communication module, and establishing communication connection between a background system and a collection library;
the RNG communication module is called periodically to obtain lottery drawing historical data from a collection library; wherein the drawing history data includes: game ID, drawing result data cycle and corresponding drawing result data.
9. The method of claim 8, wherein performing an analytical check based on said monitored data to obtain an analytical check result comprises:
setting an expected probability threshold range for the game ID;
analyzing the lottery drawing result data, and comparing the lottery drawing result data with an expected probability threshold range of a corresponding game ID to obtain a comparison result; and if the expected probability range is exceeded, generating alarm information.
10. A system for monitoring a body color random number generator, the system comprising:
the monitoring data acquisition module is used for periodically acquiring monitoring data of the random number generator; wherein the monitoring data comprises: sample data generated by the random number generator, a lottery drawing log at a lottery drawing stage and lottery drawing historical data;
the analysis and verification module is used for carrying out analysis and verification according to the monitoring data to obtain an analysis and verification result;
the monitoring page display module is used for displaying the analysis and verification result by using a monitoring page;
and the alarm module is used for generating alarm information for alarm notification and utilizing a monitoring page for alarm notification when the analysis and verification result triggers an alarm condition.
CN202010052912.9A 2020-01-17 2020-01-17 Method and system for monitoring physical color random number generator Active CN111221707B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010052912.9A CN111221707B (en) 2020-01-17 2020-01-17 Method and system for monitoring physical color random number generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010052912.9A CN111221707B (en) 2020-01-17 2020-01-17 Method and system for monitoring physical color random number generator

Publications (2)

Publication Number Publication Date
CN111221707A true CN111221707A (en) 2020-06-02
CN111221707B CN111221707B (en) 2024-03-26

Family

ID=70810556

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010052912.9A Active CN111221707B (en) 2020-01-17 2020-01-17 Method and system for monitoring physical color random number generator

Country Status (1)

Country Link
CN (1) CN111221707B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102708532A (en) * 2012-05-11 2012-10-03 深圳市永恒乐彩科技开发有限公司 An automatic lottery drawing system and an automatic lottery drawing method
CN105260936A (en) * 2015-10-29 2016-01-20 中体彩科技发展有限公司 Monitoring method for lottery transaction-by-transaction and monitoring device for lottery transaction-by-transaction
CN107018026A (en) * 2017-05-18 2017-08-04 国网辽宁省电力有限公司盘锦供电公司 Automate main website network monitoring system
CN107911348A (en) * 2017-11-01 2018-04-13 浙江九州量子信息技术股份有限公司 A kind of random number real-time detecting system and method based on cloud service
CN108153643A (en) * 2016-12-02 2018-06-12 北京奇虎科技有限公司 Daily record monitoring system and method
CN109544352A (en) * 2018-10-17 2019-03-29 深圳壹账通智能科技有限公司 Sampling observation method, apparatus, computer equipment and storage medium based on random number
CN109905262A (en) * 2017-12-11 2019-06-18 上海逸云信息科技发展有限公司 A kind of monitoring system and monitoring method of CDN device service
CN110389874A (en) * 2018-04-20 2019-10-29 比亚迪股份有限公司 Journal file method for detecting abnormality and device
US20210335118A1 (en) * 2019-11-20 2021-10-28 Shenzhen China Star Optoelectronics Semiconductor Display Technology Co., Ltd. Monitoring method of mes, monitoring device, and readable storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102708532A (en) * 2012-05-11 2012-10-03 深圳市永恒乐彩科技开发有限公司 An automatic lottery drawing system and an automatic lottery drawing method
CN105260936A (en) * 2015-10-29 2016-01-20 中体彩科技发展有限公司 Monitoring method for lottery transaction-by-transaction and monitoring device for lottery transaction-by-transaction
CN108153643A (en) * 2016-12-02 2018-06-12 北京奇虎科技有限公司 Daily record monitoring system and method
CN107018026A (en) * 2017-05-18 2017-08-04 国网辽宁省电力有限公司盘锦供电公司 Automate main website network monitoring system
CN107911348A (en) * 2017-11-01 2018-04-13 浙江九州量子信息技术股份有限公司 A kind of random number real-time detecting system and method based on cloud service
CN109905262A (en) * 2017-12-11 2019-06-18 上海逸云信息科技发展有限公司 A kind of monitoring system and monitoring method of CDN device service
CN110389874A (en) * 2018-04-20 2019-10-29 比亚迪股份有限公司 Journal file method for detecting abnormality and device
CN109544352A (en) * 2018-10-17 2019-03-29 深圳壹账通智能科技有限公司 Sampling observation method, apparatus, computer equipment and storage medium based on random number
US20210335118A1 (en) * 2019-11-20 2021-10-28 Shenzhen China Star Optoelectronics Semiconductor Display Technology Co., Ltd. Monitoring method of mes, monitoring device, and readable storage medium

Also Published As

Publication number Publication date
CN111221707B (en) 2024-03-26

Similar Documents

Publication Publication Date Title
US10469307B2 (en) Predicting computer network equipment failure
JP2823698B2 (en) Event correlation
CN106844145A (en) A kind of server hardware fault early warning method and device
CN110739637A (en) power transmission line monitoring method, system, terminal and storage medium
CN109660518A (en) Communication data detection method, device and the machine readable storage medium of network
CN107426231A (en) A kind of method and device for identifying user behavior
CN112153062B (en) Multi-dimension-based suspicious terminal equipment detection method and system
CN114726642B (en) Quantification system based on network threat of power monitoring system
CN117635106A (en) Power equipment monitoring method, system, terminal and storage medium
CN117375985A (en) Method and device for determining security risk index, storage medium and electronic device
CN111221707A (en) Method and system for monitoring body color random number generator
CN112416896A (en) Data abnormity warning method and device, storage medium and electronic device
CN115102838B (en) Emergency processing method and device for server downtime risk and electronic equipment
CN116416764A (en) Alarm threshold generation method and device, electronic equipment and storage medium
CN107765123A (en) Detected rule update method and Electrical Safety monitoring system
CN111694715A (en) Abnormity warning method, device, equipment and machine readable storage medium
CN114610560A (en) System abnormity monitoring method, device and storage medium
CN112035315A (en) Webpage data monitoring method and device, computer equipment and storage medium
CN117493127B (en) Application program detection method, device, equipment and medium
CN111274089A (en) Server abnormal behavior perception system based on bypass technology
CN114257491B (en) VR alarm processing method, device, equipment and storage medium for virtualization system
CN114826871B (en) Cloud platform monitoring alarm processing function test method and system
CN111290903B (en) Software system monitoring method and device based on user behavior and machine learning
CN116149933B (en) Abnormal log data determining method, device, equipment and storage medium
CN113761015B (en) Log processing method, device, system and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant