CN109285027A - Distribution of bonus method, apparatus, computer equipment and storage medium based on data safety - Google Patents

Distribution of bonus method, apparatus, computer equipment and storage medium based on data safety Download PDF

Info

Publication number
CN109285027A
CN109285027A CN201810951866.9A CN201810951866A CN109285027A CN 109285027 A CN109285027 A CN 109285027A CN 201810951866 A CN201810951866 A CN 201810951866A CN 109285027 A CN109285027 A CN 109285027A
Authority
CN
China
Prior art keywords
user
user account
prize drawing
bonus
preset
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
CN201810951866.9A
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.)
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 CN201810951866.9A priority Critical patent/CN109285027A/en
Publication of CN109285027A publication Critical patent/CN109285027A/en
Pending legal-status Critical Current

Links

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/0212Chance 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)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention discloses a kind of distribution of bonus method, apparatus, computer equipment and storage medium based on data safety includes the following steps: to obtain the prize drawing request that user terminal is sent, wherein the prize drawing request in carry user account;Confirm the user account whether in preset white list;When the user account is in the white list, the amount of money award that there are mapping relations with the user account is searched in preset reward list, wherein the user account in the reward list is white list member.By the way that user specific in platform or registration user to be arranged in access white list, and within a period of time before formal prize drawing starts, drawn a lottery in advance to all user accounts in white list, and drawing outcomes are recorded in the reward list of setting.Server end can be substantially reduced in this way to carry out in the time in prize drawing, the frequency for operation of drawing a lottery, release server end and largely calculate power for accepting more amount of access.

Description

Distribution of bonus method, apparatus, computer equipment and storage medium based on data safety
Technical field
The present embodiments relate to model algorithm field, especially a kind of distribution of bonus method based on data safety, dress It sets, computer equipment and storage medium.
Background technique
With the development of information technology, more and more trading activities can carry out on the internet.Facilitating people While transaction, also brings and competed on fierce line.In order to grab user volume between each platform, need to spend huge wide Promotion expense is accused, or attracts user by various preferential strategies.And bonus or excellent is sent to user by way of prize drawing The mode of favour card certificate is also a kind of common promotion method.
Platform is when being drawn a lottery on the net in the prior art, set certain amount of money or a certain number of lottery tickets as prize Jin Chi, and it is regular (winning probability of each amount of money or lottery ticket) to set prize drawing.After the prize drawing request for receiving user terminal transmission, according to The prize drawing rule of setting is drawn a lottery, and the result that prize drawing obtains is sent to the user terminal completion prize drawing.
The inventor of the invention has found under study for action, and superelevation amount of access is often brought when being drawn a lottery, is especially existed Belong to the high concurrent period of the flow of website in the time of prize drawing.Drawing manner in the prior art is receiving user's request Afterwards, primary prize drawing operation is carried out in response to the request, then the mode of feedback result, prize drawing operation will significantly at the high concurrent moment The load for increasing server end, the problem of causing response speed slow, or even cause servers go down.
Summary of the invention
The embodiment of the present invention, which provides, is capable of providing a kind of base that can alleviate server end operation pressure in draw times In distribution of bonus method, apparatus, computer equipment and the storage medium of data safety.
In order to solve the above technical problems, the technical solution that the embodiment of the invention uses is: providing a kind of base In the distribution of bonus method of data safety, include the following steps:
Obtain the prize drawing request that user terminal is sent, wherein carry user account in the prize drawing request;
Confirm the user account whether in preset white list;
When the user account is in the white list, searches in preset reward list and have with the user account There is the amount of money award of mapping relations, wherein the user account in the reward list is white list member.
Optionally, further include following step before the step of prize drawing request for obtaining user terminal transmission:
Obtain the user account in the white list;
It is drawn a lottery according to preset prize drawing rule to the user account;
The lottery result is recorded in the reward list, with the pumping of the user account in obtaining the white list It draws a lottery and requests according to the reward list quick response after prize request.
Optionally, further include following step before the step of prize drawing request for obtaining user terminal transmission:
Obtain the amount of access in preset time span;
The amount of access is compared with preset access thresholds;
When the amount of access is greater than the access thresholds, pass through user's account in white list described in the reward list response The prize drawing at family is requested.
Optionally, confirm that the user account further includes following step whether after the step in preset white list:
Obtain preset blacklist;
Confirm the user account whether in the blacklist;
When the user account is in the blacklist, preset first response message is sent to the user terminal, Wherein, user's winning results of the first corresponding information characterization are not get the winning number in a bond.
Optionally, confirm that the user account further includes following step whether after the step in preset white list:
Obtain preset blacklist;
Confirm the user account whether in the blacklist;
When the user account is not in the blacklist, the user account is carried out according to preset prize drawing rule It draws a lottery and drawing outcomes is sent to the user terminal.
Optionally, further include following step before the step of prize drawing request for obtaining user terminal transmission:
Obtain the task requests of the user terminal uploads;
Confirm whether the task requests are prize drawing request;
When the task requests are prize drawing requests, the task requests are responded;Otherwise, then forbid response is described to appoint Business request.
Optionally, described when the user account is in the white list, lookup and institute in preset reward list Further include following step after stating user account there is the step of amount of money award of mapping relations:
Obtain the total bonus for currently having extracted bonus;
The total bonus is compared with preset bonus threshold value;
When the total bonus is greater than the bonus threshold value, the user terminal that supervention send prize drawing to request backward sends default The first response message, wherein user's winning results of first corresponding information characterization are not get the winning number in a bond.
In order to solve the above technical problems, the embodiment of the present invention also provides a kind of distribution of bonus device based on data safety, Include:
Module is obtained, for obtaining the prize drawing request of user terminal transmission, wherein carry user in the prize drawing request Account;
Processing module, for confirming the user account whether in preset white list;
Execution module, for when the user account is in the white list, searched in preset reward list and The user account has the amount of money award of mapping relations, wherein the user account in the reward list be white list at Member.
Optionally, the distribution of bonus device based on data safety further include:
First acquisition submodule, for obtaining the user account in the white list;
First processing submodule, for being drawn a lottery according to preset prize drawing rule to the user account;
First implementation sub-module, for the lottery result to be recorded in the reward list, with described in the acquisition It draws a lottery and requests according to the reward list quick response after the prize drawing request of user account in white list.
Optionally, the distribution of bonus device based on data safety further include:
Second acquisition submodule, for obtaining the amount of access in preset time span;
Second processing submodule, for the amount of access to be compared with preset access thresholds;
Second implementation sub-module, for being rung by the reward list when the amount of access is greater than the access thresholds The prize drawing of user account in the white list is answered to request.
Optionally, the distribution of bonus device based on data safety further include:
Third acquisition submodule, for obtaining preset blacklist;
Whether third handles submodule, for confirming the user account in the blacklist;
Third implementation sub-module, for being sent to the user terminal when the user account is in the blacklist Preset first response message, wherein user's winning results of the first corresponding information characterization are not get the winning number in a bond.
Optionally, the distribution of bonus device based on data safety further include:
4th acquisition submodule, for obtaining preset blacklist;
4th confirmation submodule, for confirming the user account whether in the blacklist;
4th implementation sub-module, it is right according to preset prize drawing rule when the user account is not in the blacklist The user account draw a lottery and drawing outcomes is sent to the user terminal.
Optionally, the distribution of bonus device based on data safety further include:
5th acquisition submodule, for obtaining the task requests of the user terminal uploads;
5th processing submodule, for confirming whether the task requests are prize drawing request;
5th implementation sub-module, for responding the task requests when the task requests are prize drawing requests;It is no Then, then forbid responding the task requests.
Optionally, the distribution of bonus device based on data safety further include:
6th acquisition submodule, for obtaining the total bonus for currently having extracted bonus;
6th processing submodule, for the total bonus to be compared with preset bonus threshold value;
6th implementation sub-module, for when the total bonus is greater than the bonus threshold value, supervention to send prize drawing to ask backward The user terminal asked sends preset first response message, wherein user's winning results of the first corresponding information characterization are It does not get the winning number in a bond.
In order to solve the above technical problems, the embodiment of the present invention also provides a kind of computer equipment, including memory and processing Device is stored with computer-readable instruction in the memory, when the computer-readable instruction is executed by the processor, so that The processor executes the step of distribution of bonus method described above based on data safety.
In order to solve the above technical problems, the embodiment of the present invention also provides a kind of storage Jie for being stored with computer-readable instruction Matter, when the computer-readable instruction is executed by one or more processors, so that one or more processors execute above-mentioned institute The step of distribution of bonus method based on data safety stated.
The beneficial effect of the embodiment of the present invention is: by the way that user specific in platform or registration user are arranged at visit It asks in white list, and within a period of time before formal prize drawing starts, all user accounts in white list is shifted to an earlier date Prize drawing, and drawing outcomes are recorded in the reward list of setting.When formal prize drawing, whether prize drawing user is requested by detection Belonging to white list user, the preparatory drawing outcomes for directly reading the account when belonging in reward list feed back to user terminal, Server end can be substantially reduced in this way to carry out in the time in prize drawing, the frequency for operation of drawing a lottery releases server Therefore a large amount of power of calculating in end, prize drawing feedback efficiency is not only improved only using the above method, together for accepting more amount of access When, access bearing capacity of the server end within the prize drawing high concurrent period is also improved, is realized by pretreated mode The covert dilatation at draw times section server end.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is the basic procedure schematic diagram of distribution of bonus method of the embodiment of the present invention based on data safety;
Fig. 2 is the flow diagram that the embodiment of the present invention is drawn a lottery in advance;
Fig. 3 is that the embodiment of the present invention is confirmed whether by amount of access using the prize drawing requesting method for rewarding list response user Flow diagram;
Fig. 4 is the flow diagram that the embodiment of the present invention carries out quick response by blacklist;
Fig. 5 is the flow diagram of new registration of embodiment of the present invention user prize drawing;
Fig. 6 is the flow diagram of Detection task of embodiment of the present invention request type and selective response;
Fig. 7 is the flow diagram that the embodiment of the present invention controls Budget for the Bonuses;
Fig. 8 is distribution of bonus device basic structure schematic diagram of the embodiment of the present invention based on data safety;
Fig. 9 is computer equipment of embodiment of the present invention basic structure block diagram.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described.
In some processes of the description in description and claims of this specification and above-mentioned attached drawing, contain according to Multiple operations that particular order occurs, but it should be clearly understood that these operations can not be what appears in this article suitable according to its Sequence is executed or is executed parallel, and serial number of operation such as 101,102 etc. is only used for distinguishing each different operation, serial number It itself does not represent and any executes sequence.In addition, these processes may include more or fewer operations, and these operations can To execute or execute parallel in order.It should be noted that the description such as " first " herein, " second ", is for distinguishing not Same message, equipment, module etc., does not represent sequencing, does not also limit " first " and " second " and be different type.
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those skilled in the art's every other implementation obtained without creative efforts Example, shall fall within the protection scope of the present invention.
Those skilled in the art of the present technique are appreciated that " terminal " used herein above, " terminal device " both include wireless communication The equipment of number receiver, only has the equipment of the wireless signal receiver of non-emissive ability, and including receiving and emitting hardware Equipment, have on bidirectional communication link, can execute two-way communication reception and emit hardware equipment.This equipment It may include: honeycomb or other communication equipments, shown with single line display or multi-line display or without multi-line The honeycomb of device or other communication equipments;PCS (Personal Communications Service, PCS Personal Communications System), can With combine voice, data processing, fax and/or communication ability;PDA (Personal Digital Assistant, it is personal Digital assistants), it may include radio frequency receiver, pager, the Internet/intranet access, web browser, notepad, day It goes through and/or GPS (Global Positioning System, global positioning system) receiver;Conventional laptop and/or palm Type computer or other equipment, have and/or the conventional laptop including radio frequency receiver and/or palmtop computer or its His equipment." terminal " used herein above, " terminal device " can be it is portable, can transport, be mounted on the vehicles (aviation, Sea-freight and/or land) in, or be suitable for and/or be configured in local runtime, and/or with distribution form, operate in the earth And/or any other position operation in space." terminal " used herein above, " terminal device " can also be communication terminal, on Network termination, music/video playback terminal, such as can be PDA, MID (Mobile Internet Device, mobile Internet Equipment) and/or mobile phone with music/video playing function, it is also possible to the equipment such as smart television, set-top box.
Illustrate referring specifically to the basic procedure that Fig. 1, Fig. 1 are distribution of bonus method of the present embodiment based on data safety Figure.
As shown in Figure 1, a kind of distribution of bonus method based on data safety, includes the following steps:
S1100, the prize drawing request that user terminal is sent is obtained, wherein carry user account in the prize drawing request;
When user enters the prize drawing page by terminal, by clicking the prize drawing trigger button in the prize drawing page, terminal After receiving the triggering command, prize drawing request is sent to server end.Prize drawing request is a tables of data, includes: in tables of data User is in the information such as the register account number of prize drawing platform and the IP address of user terminal.Wherein, register account number can be user terminal Communication number, such as phone number;It also can be the register account number of user social contact account, such as the registration of instant chat software Account;It also can be the customized account that user directly registers in prize drawing platform.
Server end carries out parsing to tables of data and obtains in tables of data after receiving the prize drawing request of user terminal transmission The account of user.
Whether S1200, the confirmation user account are in preset white list;
After received server-side to user account, confirm that user account is in preset white list by way of retrieval It is no in white list.
User in white list preferentially can obtain corresponding bonus when prize is provided.Specifically, in white list Member is dynamic configuration, for example, obtain had consumer record first on platform when sales platform carries out white list configuration Above-mentioned user is added in white list by user;In some embodiments, the purpose of cash bonuses is to attract user's note Volume, at this point, the user in white list is then the account registered on platform.In present embodiment, white list timing updates The content updated in Transaction Information in platform or registration information list is pulled, is added in white list, to guarantee timely Reward user's bonus earned.
In some embodiments, the user in white list has the permission for repeatedly participating in the meeting of bonus lottery drawing machine, (this implementation In mode, ordinary user only enjoys the primary chance for extracting cash bonuses) terminal drawn a lottery is participated in, it sends and participates in server end When the solicited message of prize drawing, server end first parses the gauge outfit in user request information, obtains the solicited message table The account of sign and the user account of client terminal, then traverse user account in white list, if looking in white list To above-mentioned user account, then so that the account is participated in prize drawing, otherwise, then carry out the user account in the account list drawn a lottery Retrieval then sends preset standard to the client and replys (example when retrieving in the user list that the user account has been drawn a lottery Such as, thanks participation), forbid it to participate in sweepstake.
In some embodiments, the row to prevent same terminal that prize drawing is repeated by registering different user accounts For, the information of user account is the IP address of the user terminal, and corresponding white list is also the white list of user terminal IP address, By limiting the prize drawing number of the same IP address, the behavior drawn a lottery with preventing portion point terminal by multiple register account numbers.
S1300, when the user account is in the white list, in preset reward list search with the user Account has the amount of money award of mapping relations, wherein the user account in the reward list is white list member.
In the present embodiment, to prevent a large number of users request prize drawing in draw times section, server end is caused to draw a lottery The pressure of operation is excessive, half an hour, two hours, one day before the time, such as draw times before formal prize drawing starts Or in the longer time, drawn a lottery in advance to the user account in white list, i.e., it is regular (probability) according to the prize drawing of setting It draws a lottery in advance to the user in white list before formal prize drawing.
Preparatory lottery result is stored in reward list.The account of each user account in white list is stored in reward list Family information and the corresponding preparatory lottery result of account information.
When formal prize drawing starts, server end obtains take out first after receiving the prize drawing request of user terminal transmission The user account in information is encouraged whether in fine flour list, if so, being examined in reward list using the account as search condition Rope, searches the corresponding preparatory drawing outcomes (amount of money award) of the user account in reward list, and the drawing outcomes are sent To the user terminal for sending prize drawing request.
By the way that user specific in platform or registration user to be arranged in access white list in above embodiment, And within a period of time before formal prize drawing starts, drawn a lottery, and will be taken out in advance to all user accounts in white list Prize result is recorded in the reward list of setting.When formal prize drawing, request whether prize drawing user belongs to white list by detection User, the preparatory drawing outcomes for directly reading the account when belonging in reward list feed back to user terminal, pass through this side Formula can substantially reduce server end and carry out in the time in prize drawing, and the frequency for operation of drawing a lottery releases server end and largely calculates Power is used to accept more amount of access, therefore, prize drawing feedback efficiency is not only improved only using the above method, meanwhile, also improve Access bearing capacity of the server end within the prize drawing high concurrent period, by pretreated mode realizes draw times section The covert dilatation at server end.
In some embodiments, it is the pressure for mitigating draw times section server end, needs before prize drawing starts It draws a lottery to certain customers, and is requested according to the prize drawing that preparatory drawing outcomes respond user in advance.Referring specifically to Fig. 2, Fig. 2 The flow diagram drawn a lottery in advance for the present embodiment.
As shown in Fig. 2, further including following step before step S1100:
User account in S1011, the acquisition white list;
User in white list preferentially can obtain corresponding bonus when prize is provided.Specifically, in white list Member is dynamic configuration, for example, obtain had consumer record first on platform when sales platform carries out white list configuration Above-mentioned user is added in white list by user;In some embodiments, the purpose of cash bonuses is to attract user's note Volume, at this point, the user in white list is then the account registered on platform.In present embodiment, white list timing updates The content updated in Transaction Information in platform or registration information list is pulled, is added in white list, to guarantee timely Reward user's bonus earned.
When being drawn a lottery in advance, according to the sortord of user account in white list, (initial, number are enrolled into Row sequence) successively obtain user account.
S1012, it is drawn a lottery according to preset prize drawing rule to the user account;
It is successively drawn a lottery according to the prize drawing rule of setting to user account.Prize drawing rule is the general of user account prize-winning Rate, for example, prize drawing rule is takes a number at random between 0 to 100, each number corresponds to a drawing outcomes, such as 1-80 Corresponding drawing outcomes are not get the winning number in a bond;The corresponding drawing outcomes of 81-90 are 5 yuan of bonus;The corresponding drawing outcomes of 91-95 are bonus 10 yuan;The corresponding drawing outcomes of 96-99 are 50 yuan of bonus;100 corresponding drawing outcomes are 1000.According to ratio by taking out at random Take obtain 1000 yuan of bonuses probability be 1%, the probability of other amount of money and so on calculated.In some embodiments, Drawing outcomes are not limited to amount of money award, additionally it is possible to be reward in kind or coupon incentive etc..
It should be pointed out that prize drawing rule is not limited to this in present embodiment, according to the difference of specific application environment, take out Prize rule can be any one in drawing manner on prior art middle line, for example, passing through the rank school of identification user account The drawing manner of positive user's prize-winning weight or the mode that drawing outcomes are calculated according to the customer consumption amount of money.For example, being dialogue name User in list carries out feedback, and the feature of the winning amount of white list user can describe are as follows: the consumption total value * 0.3% of account. The account in white list and its amount of money award being extracted into are recorded in the reward list of setting.
S1013, the lottery result is recorded in the reward list, with user's account in obtaining the white list It draws a lottery and requests according to the reward list quick response after the prize drawing request at family.
The drawing outcomes of each user account are recorded in reward list, rewards in list and is stored with each user in white list The corresponding preparatory lottery result of account information and account information of account.
When formal prize drawing starts, server end obtains take out first after receiving the prize drawing request of user terminal transmission The user account in information is encouraged whether in fine flour list, if so, being examined in reward list using the account as search condition Rope searches the corresponding preparatory drawing outcomes of the user account in reward list, drawing outcomes is quickly then sent to user Terminal improves prize drawing feedback velocity.
In some embodiments, it is drawn a lottery in advance to the user in white list and stores drawing outcomes, when detecting When user's amount of access of website is more than given threshold, requested using the prize drawing of reward list response user.Referring specifically to Fig. 3, Fig. 3 is the process signal for the prize drawing requesting method that the present embodiment is confirmed whether using reward list response user by amount of access Figure.
As shown in figure 3, further including following step before step S1100:
Amount of access in S1021, acquisition preset time span;
Click volume of the website within every second is obtained, for example, the click volume in one second is 1000, then the visit of website The amount of asking is 1000 times/second.The time span for obtaining click volume is not limited to this, and in some embodiments, time span can It is 2 seconds, 30 seconds, 1 minute, 5 minutes or other times length.
S1022, the amount of access is compared with preset access thresholds.
Amount of access is compared with preset access thresholds, access thresholds are the access set according to website processing capacity Threshold value.For example, the amount of access that can be handled in time of website is 1000 times/second, after amount of access is greater than the value, website is for prize drawing Biggish delay will occur in the response of request, influence the use of user.Therefore, which is set as access thresholds. Since the setting of access thresholds and the processing capacity of website are related, and therefore, the setting of access thresholds not instead of definite value can Any setting is carried out with the demand of application scenarios.
S1023, when the amount of access be greater than the access thresholds when, by white list described in the reward list response The prize drawing of user account is requested.
By comparing when amount of access is greater than the access thresholds of setting, server end is in the pumping for receiving user terminal transmission After prize request, whether the user account first in acquisition lottery information is in fine flour list, if so, using the account as search condition It is retrieved in reward list, searches the corresponding preparatory drawing outcomes of the user account in reward list, it then will prize drawing As a result it is quickly sent to the user terminal, improves prize drawing feedback velocity.
By setting access thresholds, uses when website pressure is excessive in draw times and used in reward list response white list The prize drawing of family account is requested, and high concurrent moment prize drawing feedback velocity is improved.
In some embodiments, user account blacklist is set, when the user account of request prize drawing is black list member When, the information command that the user account is not got the winning number in a bond is directly fed back, while preventing " Hao Mao party ", the further website that mitigates is taken out The pressure of operation is encouraged, prize drawing recovery rate is improved.Referring specifically to Fig. 4, Fig. 4 is that the present embodiment is quickly rung by blacklist The flow diagram answered.
Further include following step after step S1200 as shown in Figure 4:
S1201, preset blacklist is obtained;
User account blacklist is set in present embodiment, and blacklist can be the black name of routine obtained by public channel It is single, i.e., there is the user account or " Hao Mao party " party's account of illegal operation suspicion in other platforms.
Whether S1202, the confirmation user account are in the blacklist;
By way of retrieval, retrieval confirmation user account is carried out in blacklist whether in blacklist.
S1203, when the user account is in the blacklist, to the user terminal send it is preset first response Information, wherein user's winning results of the first corresponding information characterization are not get the winning number in a bond.
When retrieval confirmation user account is in blacklist, server end is asked according to preset command information to prize drawing is sent The user terminal asked replys the first response message.Wherein, the first response message is the prize drawing knot of the display of the setting user account Fruit is the response message that do not get the winning number in a bond, and for user terminal when receiving first response message, " unfortunately, not the result of display is Draw ", " thanks refering to " or " next time refuels " etc. do not draw the drawing outcomes of prize.
By using to black list member without prize drawing, directly feed back the information that do not draw, further mitigate website The pressure of prize drawing operation improves prize drawing recovery rate.
In some embodiments, certain customers' account is neither white list member is also not black list member, but by The platform user for attracting the new registration in draw times section to prize drawing, for such user account, according to the prize drawing of setting rule It draws a lottery, and feeds back drawing outcomes.Referring specifically to the process signal that Fig. 5, Fig. 5 are the present embodiment new registration user prize drawing Figure.
Further include following step after step S1200 as shown in Figure 5:
S1211, preset blacklist is obtained;
User account blacklist is set in present embodiment, and blacklist can be the black name of routine obtained by public channel It is single, i.e., there is the user account or " Hao Mao party " party's account of illegal operation suspicion in other platforms.
Whether S1212, the confirmation user account are in the blacklist;
By way of retrieval, retrieval confirmation user account is carried out in blacklist whether in blacklist.
S1213, when the user account is not in the blacklist, according to preset prize drawing rule to user's account It number carries out drawing a lottery and drawing outcomes is sent to the user terminal.
When confirming the user account not among black, white list after through detection white and black list, the use is confirmed Family account is the user account of new registration in draw times.Server end carries out the user account according to preset prize drawing rule Prize drawing, and drawing outcomes are fed back in the user terminal of the user account.
Prize drawing is regular to be the probability of user account prize-winning, for example, rule of drawing a lottery is to take a number at random between 0 to 100, Each number corresponds to a drawing outcomes, if the corresponding drawing outcomes of 1-80 are not get the winning number in a bond;The corresponding drawing outcomes of 81-90 are 5 yuan of bonus;The corresponding drawing outcomes of 91-95 are 10 yuan of bonus;The corresponding drawing outcomes of 96-99 are 50 yuan of bonus;100 is corresponding Drawing outcomes are 1000.Pass through that randomly select the probability for obtaining 1000 yuan of bonuses be 1% according to ratio, the probability of other amount of money according to It is secondary analogize calculated.In some embodiments, drawing outcomes are not limited to amount of money award, additionally it is possible to be rewards or excellent in kind Favour certificate reward etc..
In some embodiments, website also provides other activities, such as shopping, trivial games in addition to providing sweepstake Or video playback capability etc..When website was in the high concurrent time of sweepstake, user terminal requests execute its of website When his activity, the calculation power of web site server end can be occupied, keeps prize drawing response more slow, or even is caused paralysed in the short time of website Paralysis.For this purpose, in draw times section, the task requests type that detection user account is sent, then only to certain types of Business request is responded, and is reduced the processing pressure of server end, is improved the response efficiency of partial function.Referring specifically to Fig. 6, figure 6 be the present embodiment Detection task request type and the flow diagram of selective response.
As shown in fig. 6, further including following step before step S1100:
S1031, the task requests for obtaining the user terminal uploads;
When user enters Website page by terminal, the different function triggering that webpage is triggered by way of click refers to It enables, after terminal receives triggering command, sends task requests to server end.Task requests are a tables of data, in tables of data It include: register account number, the IP address of user terminal and task type of the user in prize drawing platform.
Whether S1032, the confirmation task requests are prize drawing request;
Server end confirms whether the task requests are prize drawing request by reading the task type in task requests.Example Such as, the task type that number 0011 is characterized is video playing task, and the task type that number 1011 characterizes is prize drawing request, is led to Cross whether the corresponding task type energy stock confirmation task requests of mission number in comparison task requests are prize drawing request.
S1033, when the task requests be the prize drawing request when, respond the task requests;Otherwise, then forbid responding The task requests.
When task requests are prize drawing request, server end handles the task requests, and processing result is sent To the user terminal of request.When task requests are not prize drawing requests, server end abandons the task requests, does not ask to the task It asks and is responded.
It is identified by the task requests sent in draw times section to user terminal, when the task class that terminal is sent When type is not prize drawing request, to the task requests without response, the further pressure for mitigating website prize drawing operation is improved and is taken out Encourage recovery rate.
In some embodiments, before carrying out sweepstake, according to movable scale and the setting prize of movable purpose Golden total value.During prize drawing, the bonus extracted is monitored in real time, when extracted bonus reach setting bonus it is total When volume, limiting the user account for continuing to participate in prize drawing is non-prize status, effectively by activity control in budget limitations. It is the flow diagram that the present embodiment controls Budget for the Bonuses referring specifically to Fig. 7, Fig. 7.
As shown in fig. 7, further including following step after step S1300:
S1311, the total bonus for currently having extracted bonus is obtained;
Server end after the prize drawing request of user of every response, amount of money award which is extracted with before All participation prize drawing users prize drawing amount of money add up, and obtain the total bonus for currently having extracted bonus.
S1312, the total bonus is compared with preset bonus threshold value;
The cumulative obtained total bonus for currently having extracted bonus is compared with the bonus threshold value of setting, the bonus threshold Value is the sweepstake budget amount of setting.
S1313, when the total bonus be greater than the bonus threshold value when, backward supervention send prize drawing request user terminal hair Send preset first response message, wherein user's winning results of the first corresponding information characterization are not get the winning number in a bond.
When the total bonus extracted is greater than bonus threshold value, server end is drawn a lottery according to preset command information to transmission The user terminal of request replys the first response message.Wherein, the first response message is the prize drawing of the display of the setting user account It as a result is the response message that do not get the winning number in a bond, for user terminal when receiving first response message, " unfortunately, the result of display is Do not draw ", " thanks refering to " or " next time refuels " etc. do not draw the drawing outcomes of prize.
By controlling to having extracted bonus, activity control is effectively improved into cost control in budget limitations Accuracy.
In order to solve the above technical problems, the embodiment of the present invention also provides a kind of distribution of bonus device based on data safety.
It is distribution of bonus device basic structure schematic diagram of the present embodiment based on data safety referring specifically to Fig. 8, Fig. 8.
As shown in figure 8, a kind of distribution of bonus device based on data safety, comprising: obtain module 2100, processing module 2200 and execution module 2300.Wherein, the prize drawing request that module 2100 is used to obtain user terminal transmission is obtained, wherein prize drawing Request includes user account;Whether processing module 2200 is for confirming user account in preset white list;Execution module 2300 for when user account is in white list, searching in preset reward list to have mapping relations with user account Amount of money award.
Distribution of bonus device based on data safety is by the way that user specific in platform or registration user to be arranged at It accesses in white list, and within a period of time before formal prize drawing starts, all user accounts in white list is mentioned Preceding prize drawing, and drawing outcomes are recorded in the reward list of setting.When formal prize drawing, by detection, request prize drawing user is No to belong to white list user, the preparatory drawing outcomes for directly reading the account when belonging in reward list feed back to user's end End can substantially reduce server end in this way and carry out in the time in prize drawing, and the frequency for operation of drawing a lottery releases service Device end largely calculates power and is used to accept more amount of access, therefore, prize drawing feedback efficiency is not only improved only using the above method, Meanwhile access bearing capacity of the server end within the prize drawing high concurrent period is also improved, it is realized by pretreated mode The covert dilatation at draw times section server end.
In some embodiments, the distribution of bonus device based on data safety further include: the first acquisition submodule, first Handle submodule and the first implementation sub-module.Wherein, the first acquisition submodule is used to obtain the user account in white list;First Processing submodule is used to draw a lottery to user account according to preset prize drawing rule;What the first implementation sub-module was used to draw a lottery As a result it is recorded in reward list, according to reward list quick response after being requested with the prize drawing of the user account in obtaining white list Prize drawing request.
In some embodiments, the distribution of bonus device based on data safety further include: the second acquisition submodule, second Handle submodule and the second implementation sub-module.Wherein, the second acquisition submodule is used to obtain the amount of access in preset time span; Second processing submodule is for amount of access to be compared with preset access thresholds;Second implementation sub-module is for working as amount of access When greater than access thresholds, requested by the prize drawing of user account in reward list response white list.
In some embodiments, the distribution of bonus device based on data safety further include: third acquisition submodule, third Handle submodule and third implementation sub-module.Wherein, third acquisition submodule is for obtaining preset blacklist;Third processing Whether module is for confirming user account in blacklist;Third implementation sub-module is used for when user account is in blacklist, Preset first response message is sent to user terminal, wherein user's winning results of the first corresponding information characterization are not get the winning number in a bond.
In some embodiments, the distribution of bonus device based on data safety further include: the 4th acquisition submodule, the 4th Confirm submodule and the 4th implementation sub-module.Wherein, the 4th acquisition submodule is for obtaining preset blacklist;4th confirmation Whether module is for confirming user account in blacklist;4th implementation sub-module is not when user account is in blacklist, root User account draw a lottery and be sent to the user terminal drawing outcomes according to preset prize drawing rule.
In some embodiments, the distribution of bonus device based on data safety further include: the 5th acquisition submodule, the 5th Handle submodule and the 5th implementation sub-module.Wherein, the 5th acquisition submodule is used to obtain the task requests of user terminal uploads; 5th processing submodule is for confirming whether task requests are prize drawing request;5th implementation sub-module is used to when task requests be to take out When prize request, task requests are responded;Otherwise, then forbid responding task requests.
In some embodiments, the distribution of bonus device based on data safety further include: the 6th acquisition submodule, the 6th Handle submodule and the 6th implementation sub-module.Wherein, it is total to be used to obtain the current bonus for having extracted bonus for the 6th acquisition submodule Volume;6th processing submodule is for total bonus to be compared with preset bonus threshold value;6th implementation sub-module is for working as When total bonus is greater than bonus threshold value, the user terminal that supervention send prize drawing to request backward sends preset first response message, In, user's winning results of the first corresponding information characterization are not get the winning number in a bond.
In order to solve the above technical problems, the embodiment of the present invention also provides computer equipment.It is this referring specifically to Fig. 9, Fig. 9 Embodiment computer equipment basic structure block diagram.
As shown in figure 9, the schematic diagram of internal structure of computer equipment.As shown in figure 9, the computer equipment includes passing through to be Processor, non-volatile memory medium, memory and the network interface of bus of uniting connection.Wherein, the computer equipment is non-easy The property lost storage medium is stored with operating system, database and computer-readable instruction, can be stored with control information sequence in database Column, when which is executed by processor, may make processor to realize a kind of distribution of bonus based on data safety Method.The processor of the computer equipment supports the operation of entire computer equipment for providing calculating and control ability.The meter Computer-readable instruction can be stored with by calculating in the memory of machine equipment, when which is executed by processor, can be made It obtains processor and executes a kind of distribution of bonus method based on data safety.The network interface of the computer equipment is used to connect with terminal Connect letter.It will be understood by those skilled in the art that structure shown in Fig. 9, only part relevant to application scheme is tied The block diagram of structure does not constitute the restriction for the computer equipment being applied thereon to application scheme, specific computer equipment It may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
Processor obtains module 2100, processing module 2200 and execution module for executing in present embodiment in Fig. 8 2300 concrete function, program code and Various types of data needed for memory is stored with the above-mentioned module of execution.Network interface is used for To the data transmission between user terminal or server.Memory in present embodiment is stored with facial image critical point detection Program code needed for executing all submodules in device and data, server are capable of the program code and data of invoking server Execute the function of all submodules.
Computer equipment is accessed in white list by the way that user specific in platform or registration user to be arranged at, and In formal a period of time before starting of drawing a lottery, drawn a lottery in advance to all user accounts in white list, and prize drawing is tied Fruit is recorded in the reward list of setting.When formal prize drawing, request whether prize drawing user belongs to white list user by detection, The preparatory drawing outcomes for directly reading the account when belonging in reward list feed back to user terminal, in this way can It substantially reduces server end to carry out in the time in prize drawing, the frequency for operation of drawing a lottery, releases server end and largely calculate power and be used for More amount of access are accepted, therefore, prize drawing feedback efficiency are not only improved only using the above method, meanwhile, also improve service Access bearing capacity of the device end within the prize drawing high concurrent period, is realized in draw times section by pretreated mode and is serviced The covert dilatation at device end.
The present invention also provides a kind of storage mediums for being stored with computer-readable instruction, and the computer-readable instruction is by one When a or multiple processors execute, so that one or more processors execute described in any of the above-described embodiment based on data safety The step of distribution of bonus method.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, which can be stored in a computer-readable storage and be situated between In matter, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, storage medium above-mentioned can be The non-volatile memory mediums such as magnetic disk, CD, read-only memory (Read-Only Memory, ROM) or random storage note Recall body (Random Access Memory, RAM) etc..
It should be understood that although each step in the flow chart of attached drawing is successively shown according to the instruction of arrow, These steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps Execution there is no stringent sequences to limit, can execute in the other order.Moreover, at least one in the flow chart of attached drawing Part steps may include that perhaps these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps Completion is executed, but can be executed at different times, execution sequence, which is also not necessarily, successively to be carried out, but can be with other At least part of the sub-step or stage of step or other steps executes in turn or alternately.

Claims (10)

1. a kind of distribution of bonus method based on data safety, which is characterized in that include the following steps:
Obtain the prize drawing request that user terminal is sent, wherein carry user account in the prize drawing request;
Confirm the user account whether in preset white list;
When the user account is in the white list, searches to have with the user account in preset reward list and reflect Penetrate the amount of money award of relationship, wherein the user account in the reward list is white list member.
2. the distribution of bonus method according to claim 1 based on data safety, which is characterized in that the acquisition user is whole Further include following step before the step of prize drawing request that end is sent:
Obtain the user account in the white list;
It is drawn a lottery according to preset prize drawing rule to the user account;
The lottery result is recorded in the reward list, is asked with the prize drawing of the user account in obtaining the white list It draws a lottery and requests according to the reward list quick response after asking.
3. the distribution of bonus method according to claim 1 based on data safety, which is characterized in that the acquisition user is whole Further include following step before the step of prize drawing request that end is sent:
Obtain the amount of access in preset time span;
The amount of access is compared with preset access thresholds;
When the amount of access is greater than the access thresholds, pass through user account in white list described in the reward list response Prize drawing request.
4. the distribution of bonus method according to claim 3 based on data safety, which is characterized in that confirm user's account Further include following step number whether after the step in preset white list:
Obtain preset blacklist;
Confirm the user account whether in the blacklist;
When the user account is in the blacklist, preset first response message is sent to the user terminal, wherein User's winning results of the first corresponding information characterization are not get the winning number in a bond.
5. the distribution of bonus method according to claim 3 based on data safety, which is characterized in that confirm user's account Further include following step number whether after the step in preset white list:
Obtain preset blacklist;
Confirm the user account whether in the blacklist;
When the user account is not in the blacklist, drawn a lottery according to preset prize drawing rule to the user account And drawing outcomes are sent to the user terminal.
6. the distribution of bonus method according to claim 3 based on data safety, which is characterized in that the acquisition user is whole Further include following step before the step of prize drawing request that end is sent:
Obtain the task requests of the user terminal uploads;
Confirm whether the task requests are prize drawing request;
When the task requests are prize drawing requests, the task requests are responded;Otherwise, then forbid responding the task and ask It asks.
7. the distribution of bonus method according to claim 1 based on data safety, which is characterized in that described to work as the user When account is in the white list, the bonus that there are mapping relations with the user account is searched in preset reward list Further include following step after the step of volume:
Obtain the total bonus for currently having extracted bonus;
The total bonus is compared with preset bonus threshold value;
When the total bonus is greater than the bonus threshold value, the user terminal that supervention send prize drawing to request backward sends preset the One response message, wherein user's winning results of the first corresponding information characterization are not get the winning number in a bond.
8. a kind of distribution of bonus device based on data safety characterized by comprising
Module is obtained, for obtaining the prize drawing request of user terminal transmission, wherein carry user's account in the prize drawing request Number;
Processing module, for confirming the user account whether in preset white list;
Execution module, for when the user account is in the white list, in preset reward list lookup with it is described User account has the amount of money award of mapping relations, wherein the user account in the reward list is white list member.
9. a kind of computer equipment, including memory and processor, it is stored with computer-readable instruction in the memory, it is described When computer-readable instruction is executed by the processor, so that the processor executes such as any one of claims 1 to 7 right It is required that the step of distribution of bonus method based on data safety.
10. a kind of storage medium for being stored with computer-readable instruction, the computer-readable instruction is handled by one or more When device executes, pacified as described in any one of claims 1 to 7 claim based on data so that one or more processors are executed The step of full distribution of bonus method.
CN201810951866.9A 2018-08-21 2018-08-21 Distribution of bonus method, apparatus, computer equipment and storage medium based on data safety Pending CN109285027A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810951866.9A CN109285027A (en) 2018-08-21 2018-08-21 Distribution of bonus method, apparatus, computer equipment and storage medium based on data safety

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810951866.9A CN109285027A (en) 2018-08-21 2018-08-21 Distribution of bonus method, apparatus, computer equipment and storage medium based on data safety

Publications (1)

Publication Number Publication Date
CN109285027A true CN109285027A (en) 2019-01-29

Family

ID=65183823

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810951866.9A Pending CN109285027A (en) 2018-08-21 2018-08-21 Distribution of bonus method, apparatus, computer equipment and storage medium based on data safety

Country Status (1)

Country Link
CN (1) CN109285027A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110838008A (en) * 2019-11-18 2020-02-25 中国银行股份有限公司 Data processing method and system based on mobile banking
WO2022103379A1 (en) * 2020-11-16 2022-05-19 Игорь Николаевич АЛЕКСЕЕВ Automated system for purchasing goods and services on the internet by lottery
WO2023204207A1 (en) * 2022-04-18 2023-10-26 株式会社ブートロック System and method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040007843A (en) * 2002-07-11 2004-01-28 김혜령 Method for repaying stock trading fee by lots and system therefor
US20100323787A1 (en) * 2007-12-18 2010-12-23 Konami Digital Entertainment Co, Ltd. Drawing machine for jackpot game, and game apparatus and game system using the same
CN104899768A (en) * 2015-06-25 2015-09-09 北京奇虎科技有限公司 Prize information generation method, device and system
CN106296272A (en) * 2016-07-29 2017-01-04 五八同城信息技术有限公司 A kind of drawing outcomes rendering method and device
CN108197976A (en) * 2017-12-18 2018-06-22 广东欧珀移动通信有限公司 Reward distribution method, device and server
CN108235102A (en) * 2017-12-29 2018-06-29 广州酷狗计算机科技有限公司 Method for processing business, device and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040007843A (en) * 2002-07-11 2004-01-28 김혜령 Method for repaying stock trading fee by lots and system therefor
US20100323787A1 (en) * 2007-12-18 2010-12-23 Konami Digital Entertainment Co, Ltd. Drawing machine for jackpot game, and game apparatus and game system using the same
CN104899768A (en) * 2015-06-25 2015-09-09 北京奇虎科技有限公司 Prize information generation method, device and system
CN106296272A (en) * 2016-07-29 2017-01-04 五八同城信息技术有限公司 A kind of drawing outcomes rendering method and device
CN108197976A (en) * 2017-12-18 2018-06-22 广东欧珀移动通信有限公司 Reward distribution method, device and server
CN108235102A (en) * 2017-12-29 2018-06-29 广州酷狗计算机科技有限公司 Method for processing business, device and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110838008A (en) * 2019-11-18 2020-02-25 中国银行股份有限公司 Data processing method and system based on mobile banking
WO2022103379A1 (en) * 2020-11-16 2022-05-19 Игорь Николаевич АЛЕКСЕЕВ Automated system for purchasing goods and services on the internet by lottery
WO2023204207A1 (en) * 2022-04-18 2023-10-26 株式会社ブートロック System and method

Similar Documents

Publication Publication Date Title
US8700735B1 (en) Multi-level cache with synch
US10698901B1 (en) Query completions
CN109154940A (en) Learn new words
US9118722B1 (en) Peak traffic management
CN109921977A (en) Information processing method, apparatus and system based on instant messaging
CN109285027A (en) Distribution of bonus method, apparatus, computer equipment and storage medium based on data safety
US20190266637A1 (en) Transmitting valid coupon offers to an email recipient
CN103635905A (en) Device for providing information, method for providing information, program for providing information, and computer-readable recording medium storing program for same
CN104142975B (en) Microblog information promotion method, device and system
US11509610B2 (en) Real-time messaging platform with enhanced privacy
DE102012022733A1 (en) Advertising system combined with a search engine service and method for carrying it out
CN107248002A (en) A kind of data processing method, system and device
CN107391587A (en) Link is shared and access method, server, terminal and computer-readable storage medium
CN111026994A (en) Task evaluation information pushing method, system, equipment and storage medium
US20140006104A1 (en) System and method for sharing information
JPWO2006028213A1 (en) Advertising / information distribution system
CN113781084A (en) Questionnaire display method and device
CN108564406B (en) Incentive pushing method and device
CN113724019B (en) Online financial service sharing method and device, storage medium and electronic equipment
US20200155949A1 (en) Method for performing game by using activity count
CN114390017A (en) Session reminding method, device and equipment
US20140172586A1 (en) Advertisement information providing device and advertisement information providing method
CN104281491B (en) A kind of data processing method and device
JP5723949B2 (en) Lottery notification device, lottery notification method, and program
KR20200055576A (en) Operating Method of parameter and service device supporting the same

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