CN109448215B - Lottery drawing data processing method and device, storage medium and server - Google Patents

Lottery drawing data processing method and device, storage medium and server Download PDF

Info

Publication number
CN109448215B
CN109448215B CN201811137070.6A CN201811137070A CN109448215B CN 109448215 B CN109448215 B CN 109448215B CN 201811137070 A CN201811137070 A CN 201811137070A CN 109448215 B CN109448215 B CN 109448215B
Authority
CN
China
Prior art keywords
lottery
day
probability
lottery drawing
time periods
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.)
Active
Application number
CN201811137070.6A
Other languages
Chinese (zh)
Other versions
CN109448215A (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.)
Ping An Life Insurance Company of China Ltd
Original Assignee
Ping An Life Insurance Company of China 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 Ping An Life Insurance Company of China Ltd filed Critical Ping An Life Insurance Company of China Ltd
Priority to CN201811137070.6A priority Critical patent/CN109448215B/en
Publication of CN109448215A publication Critical patent/CN109448215A/en
Application granted granted Critical
Publication of CN109448215B publication Critical patent/CN109448215B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0207Discounts or incentives, e.g. coupons or rebates
    • G06Q30/0212Chance discounts or incentives

Landscapes

  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • General Physics & Mathematics (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Game Theory and Decision Science (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention relates to the field of data analysis and processing, in particular to a lottery drawing data processing method, a lottery drawing data processing device, a storage medium and a server based on access amount, wherein the method comprises the following steps: acquiring a first proportion of the lottery drawing user access amount of different time periods in the previous day of the lottery drawing activity day to the total access amount of the lottery drawing users in the previous day; acquiring the average proportion of the lottery drawing user access amount of different time periods in a plurality of days before the lottery drawing activity day to the total lottery drawing user access amount in the plurality of days before; determining lottery coefficients of different time periods of the day of the lottery activity according to the first proportion and the average proportion; determining the balance lottery drawing probability of different time periods on the same day according to the initial lottery drawing probability of the lottery drawing activity and the lottery drawing coefficient; and configuring lottery activities in different time periods on the same day according to the balanced lottery probability. The invention can adjust the prize hit rate through the access amount of the lottery users, reduce the influence of high concurrency of the access amount of the lottery users on the lottery activities, and ensure the effectiveness of the implementation of the lottery activities.

Description

Lottery drawing data processing method and device, storage medium and server
Technical Field
The invention relates to the field of data analysis and processing, in particular to a lottery drawing data processing method, a lottery drawing data processing device, a storage medium and a server.
Background
With the development of network technology, a large number of platforms launch various methods for attracting the utilization rate of users and improving the activity and viscosity of users, for example, lottery activities launched by each platform in a specific time period can be participated in lottery in the time period, the platform is provided with various prizes for users to participate in lottery, but in the current lottery activities, a large number of users all rush in and participate in the first time when the lottery activities begin, then the prizes are exhausted at once, the high-concurrency lottery user visit volume not only brings huge pressure on the normal operation of the lottery activities, but also for the users who subsequently participate in the lottery activities, the gradual reduction of prize inventory inevitably reduces the probability of the users, therefore, how to guarantee the normal operation of the activities, and guarantee the fairness of the lottery activities are the problem that needs to be solved urgently when the current platforms launch the lottery activities.
Disclosure of Invention
In order to overcome the technical problems, particularly the problem that the lottery activity cannot be implemented fairly due to the fact that the access amount of lottery users in the prior art is too concentrated, the following technical scheme is particularly provided:
in a first aspect, the present invention provides a lottery data processing method based on an access amount, including:
acquiring a first proportion of the lottery drawing user access amount of different time periods in the previous day of the lottery drawing activity day to the total access amount of the lottery drawing users in the previous day;
acquiring the average proportion of the lottery drawing user access amount of different time periods in a plurality of days before the lottery drawing activity day to the total lottery drawing user access amount in the plurality of days before;
determining lottery drawing coefficients of different time periods of the day of the lottery drawing activity according to the first proportion and the average proportion;
determining the balance lottery drawing probability of different time periods on the same day according to the initial lottery drawing probability of the lottery drawing activity and the lottery drawing coefficient;
and configuring lottery activities in different time periods on the same day according to the balance lottery probability.
Further, after the lottery activities in different time periods of the day are configured according to the balanced lottery probability, the method further includes:
and counting the first access amount of the lottery users from the beginning of the lottery activity to the current time on the day, and adjusting the balance lottery probability of the subsequent time period according to the first access amount.
Further, the adjusting the balanced lottery probability of the subsequent time period according to the first access amount includes:
judging whether the first visit volume is larger than the average visit volume of the time periods corresponding to the previous days or not; if yes, reducing the balance lottery probability of the subsequent time period; if not, the balance lottery probability of the subsequent time period is improved.
Further, after the lottery activities in different time periods of the day are configured according to the balanced lottery probability, the method further includes:
and obtaining the remaining amount of the prizes in the current time period, and adjusting the balance lottery probability of the current time period according to the remaining amount of the prizes in the current time period.
Further, the adjusting the balance lottery probability of the current time period according to the remaining number of prizes of the current time period includes:
judging whether the remaining amount of the prizes in the current time period is larger than the average remaining amount of the prizes in the time periods corresponding to the days before; if so, improving the balance lottery probability of the current time period; if not, reducing the balance lottery drawing probability of the current time period.
Further, after the lottery activities in different time periods of the day are configured according to the balanced lottery probability, the method further includes:
acquiring the residual quantity of the first type prizes, and setting the lottery probability of the first type prizes in the subsequent time period to be the minimum value and the lottery probability of the second type prizes to be the maximum value when the residual quantity of the first type prizes is 0.
In a second aspect, the present invention provides a lottery data processing apparatus based on an access amount, comprising:
a first statistics module: the method comprises the steps of obtaining a first proportion of lottery drawing user access amount of different time periods in the previous day of a lottery drawing activity day to total lottery drawing user access amount in the previous day;
a second statistical module: the method comprises the steps of obtaining the average proportion of the lottery drawing user access amount of different time periods of a plurality of days before the day of the lottery drawing activity to the total access amount of the lottery drawing users of the plurality of days before;
a coefficient determination module: the lottery drawing coefficients of different time periods on the day of the lottery drawing activity are determined according to the first proportion and the average proportion;
a probability determination module: the system is used for determining the balance lottery drawing probability of different time periods on the same day according to the initial lottery drawing probability of the lottery drawing activity and the lottery drawing coefficient;
a configuration module: the lottery activity in different time periods of the day is configured according to the balance lottery probability.
In a third aspect, the present invention also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the above-described access-amount-based lottery data processing method.
In a fourth aspect, the present invention also provides a server comprising one or more processors, memory, one or more computer programs stored in the memory and configured to be executed by the one or more processors, the one or more computer programs configured to perform the above-described access-based lottery data processing method.
Compared with the prior art, the invention has the following beneficial effects:
the invention provides a method for processing lottery drawing data based on the access amount of lottery drawing users in the process of lottery drawing activities, which is characterized in that the access amounts of the lottery drawing users in different time periods of the current day and a plurality of days before the current day of the lottery drawing activities are counted, then the access amounts of the lottery drawing users in different time periods of the previous day and a plurality of days before the current day are compared to determine the lottery drawing coefficients in different time periods, and then the balance lottery drawing probabilities in different time periods of the current day are determined according to the initial lottery drawing probabilities of the lottery drawing activities, so that the lottery drawing processes in different time periods of the lottery drawing activities in the current day are configured.
Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic flow chart of an access-based lottery data processing method according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a lottery data processing method based on an access amount according to another embodiment of the present invention;
fig. 3 is a flowchart illustrating a lottery data processing method based on an access amount according to another embodiment of the present invention;
fig. 4 is a schematic view of an embodiment of an access amount-based lottery data processing apparatus according to the present invention;
fig. 5 is a schematic structural diagram of a server according to an embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative only for the purpose of explaining the present invention and are not to be construed as limiting the present invention.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, or operations, but do not preclude the presence or addition of one or more other features, integers, steps, operations, or groups thereof.
It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
It will be appreciated by those skilled in the art that the terms "application," "computer program" and similar terms used herein refer to the same concepts known to those skilled in the art that refer to computer software electronically-adapted to be organized into a series of computer instructions and associated data sources. Unless specifically stated, this nomenclature is not limited in itself by the programming language class, level, or operating system or platform on which it depends. Of course, such concepts are not limited to any type of terminal.
In one embodiment, the present invention provides a lottery data processing method based on an access amount, as shown in fig. 1, the method including the steps of:
s10: the method comprises the steps of obtaining a first proportion of the lottery drawing user access amount of different time periods of the day before the day of the lottery drawing activity to the total access amount of the lottery drawing users of the day before the day.
In this embodiment, the platform holds a lottery event, and the background server of the platform monitors and counts the visit volume of the lottery users participating in each time period of each day of the lottery event, so as to estimate the lottery rate of different time periods of the next day, specifically, the counted time periods may be configured to count every hour or every half hour or every minute, for example, the duration of the lottery event is 20-00, and every 5 minutes is used as a time period to count the visit volume of the lottery users, then the visit volume of the lottery users in different time periods of the day before the day of the lottery event is obtained, and the total visit volume of the lottery users in the day before the day of the lottery event is obtained, then the ratio of the visit volume of the users in different time periods of the day before the day of the lottery event to the total visit volume of the lottery users in the day before the day is determined, and this ratio is defined as a first ratio; if the lottery activity is 20 of 2018, 8 and 20, calculating that the lottery user visit volume of 20 of 2018, 8 and 19 is 5000, the lottery user visit volume of 20.
S20: and acquiring the average proportion of the lottery drawing user access amount of different time periods in a plurality of days before the day of the lottery drawing activity to the total lottery drawing user access amount in the plurality of days before the day of the lottery drawing activity.
Further, in this embodiment, after obtaining the first ratio of each time period of the day before the day of the lottery activity, obtaining the ratio of the access amount of the lottery users in different time periods of the days before the day of the lottery activity to the total access amount of the lottery users in the days before the day of the lottery activity, and this embodiment defines this ratio as an average ratio, which is similar to the calculation manner of the first ratio. For example, the lottery activity is 20-00 of 20 days in 8 and 20 in 2018, the sum of the lottery user access amounts of the time periods 20 from 00 to 20 in 8 and 19 in 2018 is statistically 50000, the lottery user access amounts of the time periods 20 from 05 to 10 is 80000, the lottery user access amounts of the time periods 20 from 10 to 20 are 60000 · ·, and the total lottery user access amounts of the previous days are 2000000, then the average proportion of the lottery user access amounts of different time periods in the previous days to the total lottery user access amounts of the previous days is calculated and recorded as B, and the average proportion of each time period can be recorded as B1, B2, B3 ·.
S30: and determining lottery coefficients of different time periods of the day of the lottery activity according to the first proportion and the average proportion.
After a first ratio and an average ratio are obtained, lottery coefficients of different time periods of the day of the lottery activity can be determined according to the first ratio and the average ratio, in this embodiment, the lottery coefficients are ratios of the first ratio and the average ratio, the lottery coefficients are marked as X, X = a/B, the lottery coefficients of different time periods can be marked as X1, X2, and X3, and if the first ratio is greater than the average ratio, which indicates that the access amount of the lottery users in the time period corresponding to the previous day is greater than the average access amount of the lottery users in the previous days, the lottery coefficient of the time period of the day of the lottery activity is determined to be greater than 1; if the first ratio is smaller than the average ratio, it is indicated that the access amount of the lottery drawing users in the corresponding time period in the previous day is smaller than the average access amount of the lottery drawing users in the previous days, and then the lottery drawing coefficient of the time period on the day of the lottery drawing activity is determined to be smaller than 1.
S40: and determining the balance lottery drawing probability of different time periods in the day according to the initial lottery drawing probability of the lottery drawing activity and the lottery drawing coefficient.
Further, before the lottery activities in different time periods of the same day are configured, the equilibrium lottery probabilities in different time periods of the same day of the lottery activities are determined according to the initial lottery probabilities of the lottery activities and the obtained lottery coefficients, wherein the initial lottery probabilities are the lottery probabilities in which the lottery probabilities in the time periods of the lottery activities are all the same, each prize in the lottery activities has an initial lottery probability, which is also referred to as an initial winning probability, for example, the initial winning probability of the M prize in the lottery activities is 0.25%, the initial winning probability of the N prize is 0.7%, when the lottery coefficients in the different time periods of the same day are determined, the winning probability of the M prize in different time periods is 0.25X%, the winning probability of the N in different time periods is 0.7X%, and the value of the X in different time periods is different, when X is greater than 1, the winning probability of the prize in the time period can be increased, when X is less than 1, the lottery probability of the prize in the time period can be decreased, and the winning probability of the whole lottery activities changes along with the change of the access amount, so that the winning probabilities are more balanced.
S50: and configuring lottery activities in different time periods on the same day according to the balanced lottery probability.
After the background server determines the balance lottery probabilities of different time periods of the day, the lottery activities of different time periods of the day are configured according to the balance lottery probabilities, for example, in the lottery activities configured in the time period 20 of the day from 00 to 05, the winning probability of the M prizes is 0.25X 1 The winning probability of the percentage and the N prize is 0.7X 1 Percent; in the lottery process configured in time period 20 2 The winning probability of the% and N prizes is 0.7X 2 Percent; in the lottery process configured in time period 20 3 The winning probability of the% and N prizes is 0.7X 3 %; the probability that a lottery user who participates in a lottery event in different time periods on the same day can win is different, and then a lottery is performed according to the lottery flow of the time period in response to the lottery request of the lottery user.
The embodiment provides a method for processing lottery drawing data based on the access amount of lottery drawing users in the process of lottery drawing activities, which comprises the steps of counting the access amounts of the lottery drawing users in different time periods of the current day and the previous days of the lottery drawing activities, then determining the lottery drawing coefficients in different time periods of the current day by comparing the access amounts of the lottery drawing users in different time periods of the previous day and the previous days, and then determining the balanced lottery drawing probabilities in different time periods of the current day according to the initial lottery drawing probabilities of the lottery drawing activities, thereby configuring the lottery drawing processes in different time periods of the lottery drawing activities of the current day.
In an embodiment of the present invention, as shown in fig. 2, after configuring lottery activities for different time periods of the day according to the balanced lottery probability, the method further includes:
s51: and counting the first access amount of the lottery drawing users from the beginning of the lottery drawing activity to the current time on the day, and adjusting the balance lottery drawing probability of the subsequent time period according to the first access amount.
In order to better dynamically adjust the lottery drawing probability according to the access amount of the lottery drawing users, in the embodiment, when the lottery drawing activity in the day is carried out, the first access amount of the lottery drawing users from the beginning of the lottery drawing activity in the day to the current time is counted in real time, then the balance lottery drawing probability of the subsequent time period is adjusted in real time according to the first access amount, the lottery drawing probability is changed along with the access amount of the lottery drawing users accessed in the day, and the change requirement of the lottery drawing activity under different access amounts can be met.
In an embodiment of the present invention, the adjusting the balanced lottery probability of the current time period according to the first access amount includes:
judging whether the first visit volume is larger than the average visit volume of the time periods corresponding to the previous days or not; if yes, reducing the balance lottery probability of the subsequent time period; if not, improving the balance lottery drawing probability of the subsequent time period.
On the basis of the above embodiment, in this embodiment, when the lottery activity of the day is performed, the first access amount of the lottery users from the beginning of the lottery activity of the day to the current time period is counted in real time, whether the first access amount is greater than the average access amount of the corresponding time periods of the previous days is judged, and if yes, the balanced lottery probability of the subsequent time periods is reduced; if not, the balance lottery probability of the subsequent time period is improved, and preferably, the subsequent time period is 1-2 subsequent time periods. For example, when the lottery activity on the day starts from 20.
In an embodiment of the present invention, as shown in fig. 3, after configuring lottery activities for different time periods of the day according to the balanced lottery probability, the method further includes:
s52: and obtaining the remaining amount of the prizes in the current time period, and adjusting the balance lottery probability of the current time period according to the remaining amount of the prizes in the current time period.
In order to better balance the lottery probability, in this embodiment, the remaining number of prizes in the current time period is obtained, and then the balance lottery probability in the current time period is adjusted according to the remaining number of prizes in the current time period, if the number of prizes which are drawn before the current time period is less, the lottery probability in the current time period can be properly improved, and if the number of prizes which are drawn in the current time period is more, the lottery probability in the current time period can be properly reduced, so that the better balance of the lottery probability is achieved.
In an embodiment of the present invention, the adjusting the balanced lottery probability of the current time slot according to the remaining amount of prizes of the current time slot includes:
judging whether the remaining number of the prizes in the current time period is larger than the average remaining number of the prizes in the time periods corresponding to the previous days; if yes, improving the balanced lottery drawing probability of the current time period; if not, reducing the balance lottery probability of the current time period.
On the basis of the above embodiment, in this embodiment, it is determined whether the remaining number of prizes in the current time period is greater than the average remaining number of prizes in the time period corresponding to the previous days; if yes, the prizes which are drawn in the current time period on the current day are fewer than the prizes which are drawn in the previous days, the balance lottery probability of the current time period is configured to be a preset value, and the balance lottery probability of the current time period is improved, for example, if the remaining number of the prizes in the current time period is greater than 5% of the average remaining number of the prizes in the time periods corresponding to the previous days, the balance lottery probability of the current time period is configured to be improved by 5%, the winning probability of the lottery users is improved, and excessive prizes are avoided; if not, the fact that the number of the prizes which are drawn in the current time period is larger than that of the prizes which are drawn in the previous days is shown, the balance lottery probability of the current time period is configured to be a preset value, and the balance lottery probability of the current time period is reduced, for example, if the remaining number of the prizes in the current time period is smaller than the average remaining number of the prizes in the time periods corresponding to the previous days by 2%, the balance lottery probability of the current time period is configured to be reduced by 5%, the winning probability of the lottery users is reduced, and the prizes are prevented from being drawn out immediately.
In an embodiment of the present invention, after configuring lottery activities for different time periods of the day according to the balanced lottery probability, the method further includes:
acquiring the residual quantity of the first type prizes, and setting the drawing probability of the first type prizes in the subsequent time period as the minimum value and the drawing probability of the second type prizes as the maximum value when the residual quantity of the first type prizes is 0.
The prizes in this embodiment include a first type prize and a second type prize, the first prize is an actual prize, for example, the first prize is a prize M, a prize N, and a prize S, the second prize is an actual prize, for example, the second prize is "thank you", "sorry, and you have not won", in this embodiment, when the lottery activity is performed, the remaining number of the first type prize is obtained, when the remaining number of the first type prize is 0, it is stated that the first type prize has been completely drawn, at this time, the probability of drawing the first type prize in the subsequent time period is set to be the minimum value, so that the lottery user cannot draw the first type prize any more, and the probability of drawing the second type prize is set to be the maximum value, so that the lottery user who continues to participate in the lottery activity draws the second type prize, thereby ensuring the normal performance of the lottery activity.
As shown in fig. 4, in another embodiment, the present invention provides an access amount-based lottery data processing apparatus including:
the first statistical module 10: the method comprises the steps of obtaining a first proportion of the lottery drawing user access amount of different time periods of the day before the day of lottery drawing activity to the total access amount of the lottery drawing users of the day before;
the second statistical module 20: the method comprises the steps of obtaining the average proportion of the lottery drawing user access amount of different time periods of a plurality of days before the day of the lottery drawing activity to the total access amount of the lottery drawing users of the plurality of days before;
coefficient determination module 30: the lottery drawing coefficients of different time periods on the day of the lottery drawing activity are determined according to the first proportion and the average proportion;
the probability determination module 40: the system is used for determining the balance lottery drawing probability of different time periods in the day according to the initial lottery drawing probability of the lottery drawing activity and the lottery drawing coefficient;
the configuration module 50: the lottery activity in different time periods of the day is configured according to the balance lottery probability.
In an embodiment of the present invention, the probability determination module 40 further performs:
acquiring a prior character string in an input box, and processing the prior character string into a prior character array;
and counting the first access amount of the lottery users from the beginning of the lottery activity to the current time on the day, and adjusting the balance lottery probability of the subsequent time period according to the first access amount.
In one embodiment of the present invention, the probability determination module 40 performs the adjustment of the balanced lottery probability of the subsequent time period according to the first access amount, including:
judging whether the first visit volume is larger than the average visit volume of the time periods corresponding to the previous days or not; if yes, reducing the balance lottery probability of the subsequent time period; if not, improving the balance lottery drawing probability of the subsequent time period.
In an embodiment of the present invention, the probability determining module 40 further performs:
and obtaining the remaining amount of the prizes in the current time period, and adjusting the balanced lottery probability in the current time period according to the remaining amount of the prizes in the current time period.
In an embodiment of the present invention, the probability determining module 40 adjusts the balanced lottery probability of the current time period according to the remaining amount of prizes of the current time period, including:
judging whether the remaining amount of the prizes in the current time period is larger than the average remaining amount of the prizes in the time periods corresponding to the days before; if so, improving the balance lottery probability of the current time period; if not, reducing the balance lottery drawing probability of the current time period.
In an embodiment of the present invention, the probability determination module 40 further performs:
acquiring the residual quantity of the first type prizes, and setting the drawing probability of the first type prizes in the subsequent time period as the minimum value and the drawing probability of the second type prizes as the maximum value when the residual quantity of the first type prizes is 0.
In another embodiment, the present invention provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the access-amount-based lottery data processing method described in the above embodiments. The computer-readable storage medium includes, but is not limited to, any type of disk including floppy disks, hard disks, optical disks, CD-ROMs, and magneto-optical disks, ROMs (Read-Only memories), RAMs (Random AcceSS memories), EPROMs (EraSable Programmable Read-Only memories), EEPROMs (Electrically EraSable Programmable Read-Only memories), flash memories, magnetic cards, or optical cards. That is, a storage device includes any medium that stores or transmits information in a form readable by a device (e.g., a computer, a cellular phone), and may be a read-only memory, a magnetic or optical disk, or the like.
The computer-readable storage medium provided by the embodiment of the invention can realize the first proportion of the access amount of lottery drawing users in different time periods of the day before the day of the lottery drawing activity to the total access amount of the lottery drawing users in the day before the day; acquiring the average proportion of the lottery drawing user access amount of different time periods in a plurality of days before the lottery drawing activity day to the total lottery drawing user access amount in the plurality of days before; determining lottery drawing coefficients of different time periods of the day of the lottery drawing activity according to the first proportion and the average proportion; determining the balance lottery drawing probability of different time periods on the same day according to the initial lottery drawing probability of the lottery drawing activity and the lottery drawing coefficient; and configuring lottery activities in different time periods on the same day according to the balance lottery probability. The method comprises the steps of counting the access amounts of lottery users in different time periods in the current day and several days before the lottery activity, then comparing the access amounts of the lottery users in different time periods in the previous day and several days before the lottery activity to determine the lottery coefficients in different time periods at present, and then determining the balance lottery probabilities in different time periods in the same day according to the initial lottery probabilities of the lottery activity, thereby configuring the lottery processes in different time periods of the lottery activity in the same day.
The computer-readable storage medium provided in the embodiment of the present invention may implement the above-mentioned embodiment of the method for processing lottery data based on access amount, and for the specific function implementation, reference is made to the description in the method embodiment, which is not described herein again.
In addition, in another embodiment, the present invention further provides a server, as shown in fig. 5, the server includes a processor 503, a memory 505, an input unit 507, a display unit 509, and other devices. Those skilled in the art will appreciate that the structural elements shown in fig. 5 are not limiting to all servers and may include more or fewer components than those shown, or some combination of components. The memory 505 may be used to store the computer program 501 and the functional modules, and the processor 503 runs the computer program 501 stored in the memory 505, thereby executing various functional applications of the device and data processing. Memory 505 may be internal memory or external memory, or include both internal and external memory. The internal memory may include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), flash memory, or random access memory. The external memory may include a hard disk, a floppy disk, a ZIP disk, a usb-disk, a magnetic tape, etc. The disclosed memory includes, but is not limited to, these types of memory. The memory 505 disclosed herein is provided by way of example only and not by way of limitation.
The input unit 507 is used for receiving signal input and receiving user input, the input unit 507 may include a touch panel and other input devices, the touch panel may collect touch operations of a user on or near the touch panel (for example, operations of a user on or near the touch panel using any suitable object or accessory such as a finger, a stylus pen, etc.) and drive a corresponding connection device according to a preset program; other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as play control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like. The display unit 509 may be used to display information input by a user or information provided to the user and various menus of the computer device. The display unit 509 may take the form of a liquid crystal display, an organic light emitting diode, or the like. The processor 503 is a control center of the computer device, connects various parts of the whole computer using various interfaces and lines, and performs various functions and processes data by operating or executing software programs and/or modules stored in the memory 503 and calling data stored in the memory.
In one embodiment, the server includes one or more processors 503, and one or more memories 505, one or more computer programs 501, wherein the one or more computer programs 501 are stored in the memory 505 and configured to be executed by the one or more processors 503, the one or more computer programs 501 being configured to perform the access based lottery data processing method described in the above embodiments. The one or more processors 503 shown in fig. 5 can execute, implement the functions of the first obtaining module 10, the second obtaining module 20, the comparing module 30, and the updating module 40 shown in fig. 4.
The server provided by the embodiment of the invention can realize the first proportion of the access amount of the lottery drawing users in different time periods on the previous day of the lottery drawing activity to the total access amount of the lottery drawing users on the previous day; acquiring the average proportion of the lottery drawing user access amount of different time periods of a plurality of days before the day of the lottery drawing activity to the total access amount of the lottery drawing users of the plurality of days before; determining lottery drawing coefficients of different time periods of the day of the lottery drawing activity according to the first proportion and the average proportion; determining the balance lottery drawing probability of different time periods on the same day according to the initial lottery drawing probability of the lottery drawing activity and the lottery drawing coefficient; and configuring lottery activities in different time periods on the same day according to the balance lottery probability. The method for processing the lottery drawing data based on the access amount of the lottery drawing users in the process of the lottery drawing activity is provided, the access amounts of the lottery drawing users in different time periods of the current day and a plurality of days of the lottery drawing activity are counted, then the access amounts of the lottery drawing users in different time periods of the previous day and the plurality of days are compared to determine the lottery drawing coefficients in different time periods of the current day, and then the balance lottery drawing probability in different time periods of the current day is determined according to the initial lottery drawing probability of the lottery drawing activity, so that the lottery drawing processes in different time periods of the lottery drawing activity in the current day are configured, the access of the lottery drawing users in which time period is concentrated can be counted through counting the access amounts of the lottery drawing users in historical lottery drawing activity, the access of the lottery drawing users in which time period is sparse, the lottery drawing hit rate in different time periods of the current day is adjusted, the influence of the access amount of the lottery drawing users on the lottery drawing activity is reduced, the fair access amount of the lottery drawing activity is maintained, and the effectiveness of the implementation of the lottery drawing activity is ensured.
The server provided by the embodiment of the present invention may implement the above-mentioned embodiment of the lottery data processing method based on the access amount, and for the specific function implementation, reference is made to the description in the method embodiment, which is not described herein again.
The foregoing is only a partial embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (10)

1. A lottery data processing method based on an access amount, characterized by comprising:
acquiring a first proportion of lottery drawing user access amounts in different time periods on the previous day of a lottery drawing activity day to the total lottery drawing user access amount on the previous day;
acquiring the average proportion of the lottery drawing user access amount of different time periods of a plurality of days before the day of the lottery drawing activity to the total access amount of the lottery drawing users of the plurality of days before;
determining lottery coefficients of different time periods of the day of the lottery activity according to the first proportion and the average proportion; the lottery coefficient is a ratio of the first proportion to the average proportion;
determining the balance lottery drawing probability of different time periods in the current day according to the initial lottery drawing probability of the lottery drawing activity and the lottery drawing coefficient;
and configuring lottery activities in different time periods on the same day according to the balanced lottery probability.
2. The method of claim 1, wherein after configuring the lottery activities for different time periods of the day according to the balanced lottery probabilities, further comprising:
and counting the first access amount of the lottery users from the beginning of the lottery activity to the current time on the day, and adjusting the balance lottery probability of the subsequent time period according to the first access amount.
3. The method of claim 2, wherein adjusting the balanced draw probability for the subsequent time period based on the first access amount comprises:
judging whether the first visit volume is larger than the average visit volume of the time periods corresponding to the previous days or not; if yes, reducing the balance lottery drawing probability of the subsequent time period; if not, the balance lottery probability of the subsequent time period is improved.
4. The method of claim 1, wherein after configuring the lottery activities for different time periods of the day according to the balanced lottery probabilities, further comprising:
and obtaining the remaining amount of the prizes in the current time period, and adjusting the balance lottery probability of the current time period according to the remaining amount of the prizes in the current time period.
5. The method of claim 4, wherein adjusting the balanced lottery probability for the current time period based on the remaining number of prizes for the current time period comprises:
judging whether the remaining amount of the prizes in the current time period is larger than the average remaining amount of the prizes in the time periods corresponding to the days before; if yes, improving the balanced lottery drawing probability of the current time period; if not, reducing the balance lottery probability of the current time period.
6. The method of claim 1, wherein after configuring the lottery activity for different time periods of the day according to the balanced lottery probability, further comprising:
acquiring the residual quantity of the first type prizes, and setting the drawing probability of the first type prizes in the subsequent time period as the minimum value and the drawing probability of the second type prizes as the maximum value when the residual quantity of the first type prizes is 0.
7. A lottery data processing apparatus based on an access amount, characterized by comprising:
a first statistics module: the method comprises the steps of obtaining a first proportion of the lottery drawing user access amount of different time periods of the day before the day of lottery drawing activity to the total access amount of the lottery drawing users of the day before;
a second statistical module: the method comprises the steps of obtaining the average proportion of lottery drawing user access amount of different time periods in a plurality of days before the day of lottery drawing activity to the total lottery drawing user access amount in the plurality of days before;
a coefficient determination module: the lottery drawing coefficients of different time periods on the day of the lottery drawing activity are determined according to the first proportion and the average proportion; the lottery coefficient is the ratio of the first proportion to the average proportion;
a probability determination module: the system is used for determining the balance lottery drawing probability of different time periods on the same day according to the initial lottery drawing probability of the lottery drawing activity and the lottery drawing coefficient;
a configuration module: the lottery activity in different time periods of the day is configured according to the balance lottery probability.
8. The apparatus of claim 7, wherein the probability determination module further performs: and obtaining the remaining amount of the prizes in the current time period, and adjusting the balanced lottery probability in the current time period according to the remaining amount of the prizes in the current time period.
9. A computer-readable storage medium, characterized in that a computer program is stored thereon, which, when executed by a processor, implements the access amount-based lottery data processing method of any one of claims 1 through 6.
10. A terminal, comprising:
one or more processors;
a memory;
one or more computer programs, wherein the one or more computer programs are stored in the memory and configured to be executed by the one or more processors, the one or more computer programs being configured to perform the access-based lottery data processing method according to any one of claims 1 to 6.
CN201811137070.6A 2018-09-28 2018-09-28 Lottery drawing data processing method and device, storage medium and server Active CN109448215B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811137070.6A CN109448215B (en) 2018-09-28 2018-09-28 Lottery drawing data processing method and device, storage medium and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811137070.6A CN109448215B (en) 2018-09-28 2018-09-28 Lottery drawing data processing method and device, storage medium and server

Publications (2)

Publication Number Publication Date
CN109448215A CN109448215A (en) 2019-03-08
CN109448215B true CN109448215B (en) 2022-10-04

Family

ID=65545583

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811137070.6A Active CN109448215B (en) 2018-09-28 2018-09-28 Lottery drawing data processing method and device, storage medium and server

Country Status (1)

Country Link
CN (1) CN109448215B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111127108A (en) * 2019-12-27 2020-05-08 北京奇艺世纪科技有限公司 Article distribution method, device, electronic equipment and computer readable storage medium
CN111489195B (en) * 2020-04-03 2024-04-09 京东科技控股股份有限公司 Method, device, system and storage medium for controlling distribution of articles

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105677662A (en) * 2014-11-19 2016-06-15 腾讯科技(成都)有限公司 Dynamic data control method and device
CN105894338A (en) * 2016-06-30 2016-08-24 广东电网有限责任公司珠海供电局 Probability adjusting method and probability adjusting device for resource allocation
CN106779839A (en) * 2016-12-13 2017-05-31 微鲸科技有限公司 A kind of winning probability method of adjustment and system
CN106682944A (en) * 2016-12-30 2017-05-17 重庆腾帆科技有限公司 Server for processing lottery information in real-time lottery activity
CN107248133A (en) * 2017-06-30 2017-10-13 北京邦赢彩服科技有限公司 A kind of method and device for distributing data resource weight
CN107481045B (en) * 2017-08-07 2021-03-16 赵波 Random control method and device for prize sending
CN107481387A (en) * 2017-08-11 2017-12-15 众彩世纪广告传媒(北京)有限公司 A kind of lottery drawing method of the instant lottery ticket of probabilistic type

Also Published As

Publication number Publication date
CN109448215A (en) 2019-03-08

Similar Documents

Publication Publication Date Title
CN109615758B (en) Lottery drawing data processing method and device, storage medium and server
US8147321B2 (en) Method and apparatus for electronic random prize distribution with fixed prize inventory and unknown participant count
EP2019374A1 (en) System and method for managing game specific meter information in a gaming system
CN109547282B (en) Overload protection method and device, computer readable storage medium and server
CN109448215B (en) Lottery drawing data processing method and device, storage medium and server
CN109428910B (en) Data processing method, device and system
CN109257612B (en) Game live broadcast potential evaluation method and device, computer storage medium and server
CN109615200B (en) Virtual interactive prop issuing method, storage medium, electronic device and system
CN112274925B (en) AI model training method, calling method, server and storage medium
KR20180072793A (en) Push Information Approximate Selection Alignment Method, Device and Computer Storage Medium
CN108777801B (en) Method and device for mining high-quality anchor user, computer storage medium and server
CN109542395A (en) Lottery information determines method, apparatus, equipment and storage medium
US9430903B2 (en) Progressive pool management
US20170252656A1 (en) Statistical modifiers for de-randomization in an augmented reality gaming environment
US20190236909A1 (en) Method and apparatus for simulating betting in real time
EP3691765B1 (en) Method and system for game data processing, server and computer readable storage medium
CN112381234A (en) Resource distribution method, device, equipment and computer readable storage medium
CN110975294A (en) Game fighting implementation method and terminal
US8568220B2 (en) Liability management system
CN111611123B (en) Data processing method, data processing system and equipment
CN113038242A (en) Method, device and equipment for determining display position of live broadcast card and storage medium
CN110852806A (en) Data processing method and device, storage medium and electronic equipment
US11995950B1 (en) Systems and methods for odds selection
CN117101125A (en) Information processing method and device in game and electronic equipment
CN113034207A (en) Lottery information processing method, device, server and readable 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