CN113112304A - Intelligent prize distribution method and system - Google Patents

Intelligent prize distribution method and system Download PDF

Info

Publication number
CN113112304A
CN113112304A CN202110465334.6A CN202110465334A CN113112304A CN 113112304 A CN113112304 A CN 113112304A CN 202110465334 A CN202110465334 A CN 202110465334A CN 113112304 A CN113112304 A CN 113112304A
Authority
CN
China
Prior art keywords
prize
distributing
distribution
user
prizes
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110465334.6A
Other languages
Chinese (zh)
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.)
Xiamen Information Group Big Data Operation Co ltd
Original Assignee
Xiamen Information Group Big Data Operation 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 Xiamen Information Group Big Data Operation Co ltd filed Critical Xiamen Information Group Big Data Operation Co ltd
Priority to CN202110465334.6A priority Critical patent/CN113112304A/en
Publication of CN113112304A publication Critical patent/CN113112304A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/0226Incentive systems for frequent usage, e.g. frequent flyer miles programs or point systems
    • 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/0239Online discounts or incentives

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Strategic Management (AREA)
  • Finance (AREA)
  • Game Theory and Decision Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Pinball Game Machines (AREA)

Abstract

The invention discloses an intelligent prize distributing method and system, wherein the method comprises the following steps: s1, when a user triggers lottery drawing, confirming that no processed lottery distributing behavior exists in the distributing system; s2, locking the distribution system and acquiring the user participation of the current user; s3, determining a pre-distributed prize according to the user participation and the prize distribution rule; s4, verifying distributable prizes in the distribution system and distributing the prizes; s5, registering a prize distribution result and unlocking the distribution system. The system includes a prize controller, a winning rule controller, a prize distributor, and a prize verifier. The method and the system ensure the normal operation of the prize distributing system when multiple users trigger the prize distribution at the same time, avoid the conditions of overdraft of a prize pool and abnormal reduction of the number of prizes in the prize distribution under the condition of high concurrency, and improve the efficiency of the prize distribution.

Description

Intelligent prize distribution method and system
Technical Field
The invention relates to the technical field of lottery drawing, in particular to an intelligent prize distributing method and system.
Background
With the rapid development of the mobile internet, more and more services are turned to be on-line to improve the service efficiency and the service level, but the popularization of the mobile internet service generally faces the problems of high development cost of new users, low activity of old users and low retention rate. In order to meet the online popularization requirement, merchants often use lottery activities as entry points to attract users to participate in the activities, so that the conversion rate and the activity of the users are improved.
The traditional lottery algorithm adopts a random method to select winning users and winning items according to the lottery range and the required winning number, and the circulating times of the method is far more than the required winning number, so the efficiency is lower; and when multiple users trigger the prize distribution at the same time, high concurrency can occur, which may cause overdraft in a prize pool (i.e. the number of prizes is negative) and abnormal prize deduction, resulting in errors in a lottery system.
Disclosure of Invention
In order to solve the above problems, the present invention provides a method and a system for distributing intelligent prizes.
The invention adopts the following technical scheme:
a smart prize distribution method comprising the steps of:
s1, when a user triggers lottery drawing, confirming that no processed lottery distributing behavior exists in the distributing system;
s2, locking the distribution system and acquiring the user participation of the current user;
s3, determining a pre-distributed prize according to the user participation and the prize distribution rule;
s4, verifying distributable prizes in the distribution system and distributing the prizes;
s5, registering a prize distribution result and unlocking the distribution system.
Further, it is confirmed that there is no pending award distribution behavior in the distribution system, if there is pending award distribution behavior in the distribution system, step S2 is executed after the award distribution is completed, and if there is no pending award distribution behavior in the distribution system, step S2 is directly executed.
Further, the locking and unlocking are realized by adopting a synchronized method in Java.
Further, the user engagement is calculated as: the participation coefficient represents whether the user is a registered user of the distribution system, if so, the participation coefficient is 1, and if not, the participation coefficient is 0; the lottery drawing possible number represents the lottery drawing possible number of the current user.
Further, the number of possible drawings is calculated as follows: the lottery available times are equal to the first participation lottery times, the daily participation lottery times, the sharing bonus lottery times and the sharing new user bonus lottery times.
Further, the verifying comprises: checking the number of the prize storehouses, checking the distributable prizes every day and checking the repeatable winning times of the current user.
Further, the registered prize distribution result is realized by a transactional method in Java.
An intelligent prize distributing system comprises a prize controller, a prize winning rule controller, a prize distributor and a prize checker; the prize controller is used for initializing a prize pool, configuring corresponding prize winning probability and current prize inventory number for each grade of prize, recording a prize distributing result and updating the prize pool; the winning prize rule controller is used for configuring prize distributing rules and comprises the following steps: the number of awards which can be distributed every day and the number of times of repeated wins of the user; the prize distributor is used for locking or unlocking the system, acquiring the participation degree of the user, and determining pre-distributed prizes and distributed prizes according to a prize distribution rule; the prize checker is used for checking whether the pre-distributed prize conforms to the configuration of the prize controller and the prize rule controller.
After adopting the technical scheme, compared with the background technology, the invention has the following advantages:
the method ensures the normal operation of the prize distributing system when multiple users trigger the distribution of the prizes at the same time, avoids the conditions of pool overdraft and abnormal reduction of the number of the prizes in the distribution of the prizes under the condition of high concurrency, ensures the integrity of lottery service logic and the consistency of data operation, and improves the efficiency of the distribution of the prizes;
the system of the invention initializes the state of the prize pool in time through the prize controller, when distributing the prizes, the system is locked through the prize distributor firstly, then the prize checker checks whether the pre-distributed prizes accord with the configuration of the prize controller and the prize rule controller, if so, the prizes are distributed; therefore, intelligent distribution and modular management of the prizes are realized, the consistency and integrity of the prize quantity and the prize winning records are ensured, and the conditions of overdraft of a prize pool and abnormal prize deduction are avoided.
Drawings
FIG. 1 is a schematic flow chart of the method of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Example one
As shown in fig. 1, a method for distributing smart prizes includes the following steps:
s1, when a user triggers lottery drawing, confirming that no processed lottery distributing behavior exists in the distributing system;
if the processed award distribution behavior exists in the distribution system, the step S2 is executed after the award distribution is finished, and if the processed award distribution behavior does not exist in the distribution system, the step S2 is directly executed;
s2, locking the distribution system and acquiring the user participation of the current user;
here, a synchronized (keyword) method in Java is used to lock the dispatch system, for example: when a user A triggers the prize distribution, firstly locking a distribution system, then acquiring the user participation of the user A, calculating the user participation, determining the lottery drawing times, if the user participation is 0, the user can not participate in the lottery drawing, the prize distribution is finished, if the user participation is not 0, determining the lottery drawing times of the user, and then executing the subsequent steps, thereby avoiding the prize overdraft condition possibly caused by the fact that the user A triggers the prize distribution at the same time;
s3, determining a pre-distributed prize according to the user participation and the prize distribution rule;
the user engagement is calculated as: the participation coefficient represents whether the user is a registered user of the distribution system, if so, the participation coefficient is 1, and if not, the participation coefficient is 0; the lottery drawing possible number represents the lottery drawing possible number of the current user.
The number of possible drawings is calculated as follows: the lottery available times are equal to the first participation lottery times, the daily participation lottery times, the sharing bonus lottery times and the sharing new user bonus lottery times.
The first participation lottery frequency is the number of times that a user who participates in the first time can obtain the appointed lottery frequency;
the number of the lottery drawing participated in every day is that a user can obtain the specified lottery drawing number when entering the system every day;
the sharing bonus lottery times are that the designated bonus lottery times can be obtained by sharing a friend circle or sharing a link every day;
the sharing of the number of bonus lotteries of the new user means that when a new user registers as a system user through a link, the sharing user can obtain a specified number of bonus lotteries, for example: and 3 new users register as new users of the system through the sharing link, the number of awards of each user is 5, and the number of awards of the sharing user can be 15.
S4, verifying distributable prizes in the distribution system and distributing the prizes;
the registered prize distributing result is realized by a transactional (annotation) method in Java;
the verification comprises the following steps: checking the number of the prize storehouses, checking the distributable prizes every day and checking the repeatable winning times of the current user.
Through the transactional method, the number of prizes can be accurately controlled to be decreased, and the winning records can be accurately registered, so that the consistency and the integrity of the number of prizes and the winning records can be ensured.
S5, registering a prize distribution result and unlocking the distribution system.
The distributed system is unlocked by a synchronized (keyword) method in Java, the system is automatically unlocked after the distribution of the prizes of the current user is finished, and then the next user is locked and distributed with the prizes, so that the prizes can be prevented from being overdrawn, and the high efficiency of the prize distribution is ensured.
Example two
An intelligent prize distributing system comprises a prize controller, a prize winning rule controller, a prize distributor and a prize checker;
the prize controller is used for initializing a prize pool, configuring corresponding prize winning probability and current prize inventory number for each grade of prize, recording a prize distributing result and updating the prize pool; the prize winning probability can be adjusted according to the day, prizes are distributed preferentially according to the high and medium prize winning probability, and prizes are distributed secondarily according to the low prize winning rate, so that the diversification and the flexibility of the prize winning probability are realized;
the winning prize rule controller is used for configuring prize distributing rules and comprises the following steps: the number of awards which can be distributed every day and the number of times of repeated wins of the user; the number of the awards which can be distributed every day can be adjusted according to the day;
the prize distributor is used for locking or unlocking the system, acquiring the participation degree of the user, and determining pre-distributed prizes and distributed prizes according to a prize distribution rule;
the prize checker is used for checking whether the pre-distributed prize conforms to the configuration of the prize controller and the prize rule controller.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (8)

1. An intelligent prize distribution method is characterized in that: the method comprises the following steps:
s1, when a user triggers lottery drawing, confirming that no processed lottery distributing behavior exists in the distributing system;
s2, locking the distribution system and acquiring the user participation of the current user;
s3, determining a pre-distributed prize according to the user participation and the prize distribution rule;
s4, verifying distributable prizes in the distribution system and distributing the prizes;
s5, registering a prize distribution result and unlocking the distribution system.
2. A smart prize distribution method as claimed in claim 1, wherein: and confirming that the processed award distributing behavior does not exist in the distributing system, if the processed award distributing behavior exists in the distributing system, executing the step S2 after the award distributing is finished, and if the processed award distributing behavior does not exist in the distributing system, directly executing the step S2.
3. A smart prize distribution method as claimed in claim 1, wherein: the locking and unlocking are realized by adopting a synchronized method in Java.
4. A smart prize distribution method as claimed in claim 3, wherein: the user engagement is calculated as: the participation coefficient represents whether the user is a registered user of the distribution system, if so, the participation coefficient is 1, and if not, the participation coefficient is 0; the lottery drawing possible number represents the lottery drawing possible number of the current user.
5. A smart prize distribution method as claimed in claim 4, wherein: the number of possible drawings is calculated as follows: the lottery available times are equal to the first participation lottery times, the daily participation lottery times, the sharing bonus lottery times and the sharing new user bonus lottery times.
6. A smart prize distribution method as claimed in claim 5, wherein: the verification comprises the following steps: checking the number of the prize storehouses, checking the distributable prizes every day and checking the repeatable winning times of the current user.
7. A smart prize distribution method as claimed in claim 6, wherein: the registered prize distributing result is realized by a transactional method in Java.
8. An intelligent prize distribution system, comprising: comprises a prize controller, a prize rule controller, a prize distributor and a prize checker; the prize controller is used for initializing a prize pool, configuring corresponding prize winning probability and current prize inventory number for each grade of prize, recording a prize distributing result and updating the prize pool; the winning prize rule controller is used for configuring prize distributing rules and comprises the following steps: the number of awards which can be distributed every day and the number of times of repeated wins of the user; the prize distributor is used for locking or unlocking the system, acquiring the participation degree of the user, and determining pre-distributed prizes and distributed prizes according to a prize distribution rule; the prize checker is used for checking whether the pre-distributed prize conforms to the configuration of the prize controller and the prize rule controller.
CN202110465334.6A 2021-04-28 2021-04-28 Intelligent prize distribution method and system Pending CN113112304A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110465334.6A CN113112304A (en) 2021-04-28 2021-04-28 Intelligent prize distribution method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110465334.6A CN113112304A (en) 2021-04-28 2021-04-28 Intelligent prize distribution method and system

Publications (1)

Publication Number Publication Date
CN113112304A true CN113112304A (en) 2021-07-13

Family

ID=76720315

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110465334.6A Pending CN113112304A (en) 2021-04-28 2021-04-28 Intelligent prize distribution method and system

Country Status (1)

Country Link
CN (1) CN113112304A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114298766A (en) * 2021-12-31 2022-04-08 广州零世纪信息科技有限公司 Lottery dispatching data processing method and device of marketing system and computer equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013100396A1 (en) * 2011-12-29 2013-07-04 (주)네오위즈게임즈 Capsule lottery server and capsule lottery method capable of setting the lottery premium
CN107038788A (en) * 2017-04-06 2017-08-11 福建新大陆软件工程有限公司 A kind of sequences match prize drawing control method and system
CN108090058A (en) * 2016-11-21 2018-05-29 广东亿迅科技有限公司 A kind of high concurrent action interactions method
CN112381576A (en) * 2020-11-16 2021-02-19 贵阳语玩科技有限公司 Method for efficiently acquiring lottery random prizes

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013100396A1 (en) * 2011-12-29 2013-07-04 (주)네오위즈게임즈 Capsule lottery server and capsule lottery method capable of setting the lottery premium
CN108090058A (en) * 2016-11-21 2018-05-29 广东亿迅科技有限公司 A kind of high concurrent action interactions method
CN107038788A (en) * 2017-04-06 2017-08-11 福建新大陆软件工程有限公司 A kind of sequences match prize drawing control method and system
CN112381576A (en) * 2020-11-16 2021-02-19 贵阳语玩科技有限公司 Method for efficiently acquiring lottery random prizes

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114298766A (en) * 2021-12-31 2022-04-08 广州零世纪信息科技有限公司 Lottery dispatching data processing method and device of marketing system and computer equipment

Similar Documents

Publication Publication Date Title
US20190354518A1 (en) Chain mesh network for decentralized transaction systems
US10304143B2 (en) Consensus system for manipulation resistant digital record keeping
CN110611701B (en) Parameter configuration and transaction processing method based on block chain
CN107103473A (en) A kind of intelligent contract implementation method based on block chain
CN106850536A (en) Block chain common recognition method and system
US9192855B2 (en) Managing grant of digital achievements
CN109242500A (en) Block chain transaction validation verification method, apparatus and storage medium
CN109409918A (en) The recognition methods of wool party, device, equipment and storage medium based on user behavior
US11625461B2 (en) Method and system for safeguarding stored data
CN112700329A (en) Response method of wind control rule engine and wind control rule engine
US11403281B2 (en) Parallel blockchain processing
CN113112304A (en) Intelligent prize distribution method and system
CN109542395A (en) Lottery information determines method, apparatus, equipment and storage medium
CN112862303A (en) Crowdsourcing quality evaluation system and method based on block chain
CN110009497B (en) Block chain-based decision method and device and electronic equipment
CN112862578B (en) Account checking method and device
CN110060041A (en) Channel of disbursement cut-in method, system, computer equipment and readable storage medium storing program for executing
CN109598365A (en) Event prediction method and device, electronic equipment
CN110533402B (en) Billing consensus method and system for heterogeneous system
CN112070646A (en) Suggestion engine for secondary market agent wagering
CN115720227A (en) Election method and device for consensus nodes of block chain and electronic equipment
CN114860615A (en) Rule automatic testing method and device, electronic equipment and storage medium
CN112600945B (en) Distributed block chain service system, construction method thereof and storage medium
US10262494B2 (en) Gaming system and method
US11875357B2 (en) Method and system of using miner commitment to reward proofs

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210713