CN108052323A - A kind of lottery system and lottery drawing method - Google Patents

A kind of lottery system and lottery drawing method Download PDF

Info

Publication number
CN108052323A
CN108052323A CN201711174152.3A CN201711174152A CN108052323A CN 108052323 A CN108052323 A CN 108052323A CN 201711174152 A CN201711174152 A CN 201711174152A CN 108052323 A CN108052323 A CN 108052323A
Authority
CN
China
Prior art keywords
prize
module
winning
sweepstake
user
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.)
Withdrawn
Application number
CN201711174152.3A
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.)
Lianjia Beijing Technology Co Ltd
Original Assignee
Lianjia Beijing Technology 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 Lianjia Beijing Technology Co Ltd filed Critical Lianjia Beijing Technology Co Ltd
Priority to CN201711174152.3A priority Critical patent/CN108052323A/en
Publication of CN108052323A publication Critical patent/CN108052323A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • 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

Abstract

The embodiment of the present invention provides a kind of lottery system and lottery drawing method, the system comprises:Configuration module and authentication module, wherein, the configuration module is used to obtain the ID of sweepstake, according to the ID of the sweepstake, setting and the relevant configuration information of the sweepstake;Wherein, the configuration information includes:The ID of service line belonging to the sweepstake;The authentication module is used to obtain the ID of the first service line of lottery system described in request call, according to the ID of first service line and the configuration information, judges whether first service line obtains the mandate of the lottery system.The system has the advantages that configuration flexibly and autgmentability is strong, can realize multi-business lines and more sweepstakes, and the demand of sweepstake is completed by different drawing manners.

Description

A kind of lottery system and lottery drawing method
Technical field
The present embodiments relate to field of computer technology more particularly to a kind of lottery systems and lottery drawing method.
Background technology
Sweepstake be each company, each service line can all use a kind of popularization own service, increase the side of number of users Formula, holding for sweepstake can improve number of users in a short time, client can be helped to carry out in a short time effectively wide Publicity is accused, the complete rate of certain item data can also be improved in the short time, is many companies in product promotion and is lifted at informant's number The mode that Shi Douhui is used.
One independent lottery system, when getting enough resources, can also realize one can meet multi-business lines With the lottery system of a variety of drawing manners, system is interior to realize several prize drawing scheme, for different demands, for example, system can To distinguish different business by id, then different prize drawing schemes are chosen according to different id.As external business is more and more multiple Miscellaneous, the business of access is more and more various, itself needs ceaselessly to increase new prize drawing scheme for business needs, can so cause System becomes increasingly complex.In addition, with the development of business, business side may propose some special prize drawing demands, such gesture Construction before necessity destruction so that code becomes increasingly complex.
The characteristics of due to prize drawing business, the time is short, and the frequency that single service line uses is not high, so existing prize drawing business The relatively simple mode of generally use is realized that still, service line is when running into prize drawing business, since prize drawing business can't It runs on line for a long time, simply a temporary demand, so among prize drawing business can generally be write to entire engineering.In this way, It can cause prize drawing business that can not be stripped out among regular traffic, cause this partial service that can not be answered in work afterwards With.And from the point of view of macroscopic aspect, when a plurality of service line runs into prize drawing business, since prize drawing business is write inside business, also without Prize drawing business is shared with other service lines and used by method, causes large-scale code function similar or even redundancy.
Service line is often developed when running into pumping by business only for current demand, without considering prize drawing business Other drawing manners, this block business is caused to can be only done a kind of business scenario.It does so product after causing and is changing prize drawing During pattern, this block service code needs to change or discard, and increases exploitation pressure.
Even if a lottery system disclosure satisfy that the different business demand of multi-business lines, still, in system provide several Single drawing manner often underaction, when running into the demand outside these types, it is impossible to meet the needs of business, face Some special prize drawing demands also tend to be unable to meet demand, whole system are caused not enough to have the scalability.
Therefore, how a kind of general lottery system with flexibility and scalability is provided, becomes asking for urgent need to resolve Topic.
The content of the invention
For problems of the prior art, the embodiment of the present invention provides a kind of lottery system and lottery drawing method.
In a first aspect, the embodiment of the present invention provides a kind of lottery system, the system comprises:Configuration module and authentication mould Block, wherein,
The configuration module is used to obtain the ID of sweepstake, according to the ID of the sweepstake, setting and the prize drawing The relevant configuration information of activity;Wherein, the configuration information includes:The ID of service line belonging to the sweepstake;
The authentication module is used to obtain the ID of the first service line of lottery system described in request call, according to described first The ID of service line and the configuration information, judge whether first service line obtains the mandate of the lottery system.
Second aspect, the embodiment of the present invention provide a kind of lottery drawing method based on above-mentioned lottery system, the described method includes:
Configuration module obtains the ID of sweepstake, and according to the ID of the sweepstake, setting is related to the sweepstake Configuration information;Wherein, the configuration information includes:The ID of service line belonging to the sweepstake;
Authentication module obtains the ID of the first service line of lottery system described in request call, according to first service line ID and the configuration information, judge whether first service line obtains the mandate of the lottery system.
The third aspect, the embodiment of the present invention provide a kind of electronic equipment, and the equipment includes memory and processor, described Processor and the memory complete mutual communication by bus;The memory storage has and can be performed by the processor Program instruction, the processor calls described program instruction to be able to carry out above-mentioned lottery drawing method.
Fourth aspect, the embodiment of the present invention provide a kind of computer readable storage medium, are stored thereon with computer program, The computer program realizes above-mentioned lottery drawing method when being executed by processor.
Lottery system and lottery drawing method provided in an embodiment of the present invention obtain the ID of sweepstake, root by configuration module According to the ID of the sweepstake, setting and the relevant configuration information of the sweepstake;Wherein, the configuration information includes:Institute The ID of the service line belonging to sweepstake is stated, authentication module obtains the ID of the first service line of lottery system described in request call, According to the ID of first service line and the configuration information, judge whether first service line obtains the lottery system It authorizes, can realize multi-business lines and more sweepstakes by different drawing manners, complete the demand of sweepstake, the system Have the advantages that access is simple, code reusability is high, configuration is flexible and autgmentability is strong, which is embodied as other service lines It provides a great convenience, reduces the exploitation pressure of each service line, improve work efficiency.
Description of the drawings
It in order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair Some bright embodiments, for those of ordinary skill in the art, without creative efforts, can be with root Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the structure diagram of lottery system provided in an embodiment of the present invention;
Fig. 2 is lottery drawing method flow chart provided in an embodiment of the present invention;
Fig. 3 is the structure diagram of electronic equipment provided in an embodiment of the present invention.
Specific embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, the technical solution in the embodiment of the present invention is explicitly described, it is clear that described embodiment be the present invention Part of the embodiment, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not having All other embodiments obtained under the premise of creative work are made, belong to the scope of protection of the invention.
Fig. 1 is the structure diagram of lottery system provided in an embodiment of the present invention, as shown in Figure 1, the system comprises:Match somebody with somebody Module 10 and authentication module 11 are put, wherein:
The configuration module 10 is used to obtain the ID of sweepstake, according to the ID of the sweepstake, setting and the pumping The relevant configuration information of prize activity;Wherein, the configuration information includes:The ID of service line belonging to the sweepstake;It is described Authentication module 11 is used to obtain the ID of the first service line of lottery system described in request call, according to the ID of first service line With the configuration information, judge whether first service line obtains the mandate of the lottery system.
Specifically, lottery system provided in an embodiment of the present invention includes:Configuration module 10 and authentication module 11.Wherein, institute Configuration module 10 is stated to set according to different business line and its demand of corresponding different sweepstake and match somebody with somebody confidence accordingly Breath.
There are one corresponding ID, the configuration module 10 can obtain the ID of sweepstake for each sweepstake, according to The ID of the sweepstake, setting and the relevant configuration information of the sweepstake, the content of the configuration information can include: The ID of service line belonging to the sweepstake.Wherein, each sweepstake may belong to one or more service lines, accordingly Ground, the ID of each sweepstake can correspond to the ID of one or more service lines.For example, the ID of a sweepstake is A, it should The ID of service line described in sweepstake can there are two, be respectively:A1 and A2.
When there is the above-mentioned lottery system of service line request call, the authentication module 11 can obtain request call institute first State the ID of the first service line of lottery system, then inquired about in the configuration information, the ID of first service line whether with The ID of the sweepstake is corresponding, if corresponding, illustrates that first service line obtains the mandate of the lottery system, If be not correspond to, illustrate that first service line there is no the mandate of the lottery system.First service line ID can be the token of service line, and the authentication module 11 can judge described first according to token and the ID of sweepstake Whether service line obtains the mandate of the lottery system, and can be by the token and the ID of the sweepstake, to distinguish The sweepstake of first service line and first service line.Wherein, token can be encrypted using Encryption Algorithm.
The ID of each service line can be corresponding with the ID of multiple sweepstakes, can call simultaneously according to actual needs The lottery system carries out a variety of sweepstakes.
Lottery system provided in an embodiment of the present invention obtains the ID of sweepstake by configuration module, according to the prize drawing The ID of activity, setting and the relevant configuration information of the sweepstake;Wherein, the configuration information includes:The sweepstake The ID of affiliated service line, authentication module obtain the ID of the first service line of lottery system described in request call, according to described the The ID of one service line and the configuration information, judge whether first service line obtains the mandate of the lottery system, can be with Realize that multi-business lines and more sweepstakes by different drawing manners, complete the demand of sweepstake, which, which has, accesses Simply, the advantages of reusability of code is high, configuration is flexible and autgmentability is strong, other service lines that are embodied as of the system provide pole Big facility reduces the exploitation pressure of each service line, improves work efficiency.
Optionally, on the basis of above-described embodiment, the configuration information further includes:Prize-winning Rule Information, the prize-winning Rule Information includes:Winning frequency and winning probability;
Correspondingly, the lottery system includes:Configuration module, authentication module and prize drawing module, wherein, the prize drawing module For according to the configuration information, obtaining the winning results of user;Wherein, the user is on first service line, has Qualification participates in the user of the sweepstake, and the winning results includes:Prize-winning grade, prize content and prize quantity.
The embodiment of the present invention provides a kind of lottery system, and the system can include:Configuration module, authentication module and prize drawing Module.The configuration module can set prize-winning Rule Information, and the prize-winning Rule Information can be set according to actual conditions It is fixed.For example, in a sweepstake, 60 prizes are shared, wherein 10 first prizes, 20 second prizes, 30 third prizes.Root According to the winning probability of activity need for 60%, the random number selection range that the configuration module can then be set is 1-100, user When participating in sweepstake, a random number can be allocated, if the random of user is scolded between 1-10, for the first prize, such as The random of fruit user is scolded between 11-30, then is second prize, if the random of user is scolded between 31-60, to be third Prize, if the random of user is scolded between 61-100, not get the winning number in a bond.If winning probability is 30%, configuration module is set The random number selection range put is 1-200.
In addition, the configuration module can also set winning frequency according to actual needs.An if for example, pumping Prize activity duration is long, in order to ensure can all to be sent out with lottery to activity end since activity, can set in one Frequency is encouraged, for example can be set as, every 3 hours, generating a prize winner.The configuration module can also be according to reality It needs to set winning probability, the winning probability refers to during once drawing a lottery, the probability that user gets the winning number in a bond.The winning probability It may be employed:The constant mode of probability variation pattern, probability and rob red packet mode.The configuration module can be by above-mentioned prize-winning rule Information is added in configuration information.
If the authentication module is known by judgement, the first service line obtains the mandate of lottery system, then the prize drawing mould Block can calculate user's on first service line, being eligible to participate in the sweepstake according to the configuration information Winning results.The winning results can include:The prizes such as prize-winning grade, prize content and prize quantity, the prize-winning can wrap It includes:It does not get the winning number in a bond, the first prize, second prize and third prize.
Lottery system provided in an embodiment of the present invention, by including in configuration information:Prize-winning Rule Information, the prize-winning Rule Information includes:Winning frequency and winning probability, prize drawing module according to the configuration information, obtain it is on the first service line, User's winning results of the sweepstake is eligible to participate in, the winning results includes:Prize-winning grade, prize content and prize Quantity improves scalability and the flexibility of the lottery system so that the system more science.
Optionally, on the basis of above-described embodiment, the configuration information further includes:Blacklist and white list;
The system comprises:Configuration module, authentication module, prize drawing module and qualification correction verification module, wherein, the qualification school Module is tested for obtaining the ID of the user, according to the ID of the user and the configuration information, judge the user whether be User in the blacklist and the white list;
Correspondingly, if the prize drawing module is additionally operable to the user as the user in the white list, it is determined that the use Family has the chance for obtaining painted eggshell, if the user is the user in the blacklist, it is determined that the winning results of the user Not get the winning number in a bond.
The embodiment of the present invention provides a kind of lottery system, and the system can include:Configuration module, authentication module, prize drawing Module and qualification correction verification module.The configuration module can add blacklist and white list in configuration information.
The setting rule of the blacklist can be:If there are a user other improper operations to cause to be deprived of prize drawing money Lattice or the user have reached the prize-winning upper limit, then the ID of the user are added to blacklist.The rule of the white list can be: If a user is the user for meeting preset condition, by the ID of the user, it is added to white list.
The qualification correction verification module can obtain the ID of user on the first service line, participating in sweepstake, by described in The ID of user compares with the ID on blacklist and white list, if the ID of the user is on the white list, it is determined that should User has the chance for obtaining painted eggshell, and the painted eggshell can be set according to actual needs, for example can be set as special award. If the ID of the user is on the blacklist, it is determined that the user is deprived of prize-winning qualification, and winning results is not get the winning number in a bond.
Lottery system provided in an embodiment of the present invention adds blacklist and white name by configuration module in configuration information Single, qualification correction verification module obtains the ID of user, according to the ID of the user and the configuration information, judge the user whether be User in the blacklist and the white list, if the user is the user in the white list, module of drawing a lottery determines The user has the chance for obtaining painted eggshell, if the user is the user in the blacklist, module of drawing a lottery determines described The winning results of user adds scalability and the flexibility of the lottery system so that the lottery system not get the winning number in a bond More science.
Optionally, on the basis of above-described embodiment, the system comprises:Configuration module, authentication module, prize drawing module and Audit Module, wherein:
The Audit Module is used to obtain winnings information in prizes pool, according to the winnings information in the prizes pool and it is described in Prize is as a result, judge that can the corresponding prize of the winning results correctly send.
Optionally, on the basis of above-described embodiment, the Audit Module is additionally operable to:
If judgement knows that the prize can correctly be sent, the winnings information in the prizes pool is updated.
Specifically, lottery system provided in an embodiment of the present invention includes:Configuration module, authentication module, prize drawing module and examine Count module.Wherein, the configuration module, the authentication module and the prize drawing module, are described in detail in the above-described embodiments, Details are not described herein again.
The Audit Module can obtain after the prize drawing module calculates the winning results of user from database Winnings information in prizes pool according to the winnings information in the prizes pool, judges whether prize has residue, and then judges that can prize Successfully send.For example, the winning results that the prize drawing module calculates is:Prize-winning rank is third prize, and prize quantity is 2, prize Product content is cup.If the audit mould knows that the surplus of cup is 3 in prizes pool, then may determine that prize can successfully be sent out Go out.If the audit mould knows that the surplus of cup is 1 in prizes pool, then may determine that prize cannot successfully be sent.
If the Audit Module judgement knows that the prize in winning results can successfully be sent, then can also be to prizes pool Interior winnings information is updated.
Lottery system provided in an embodiment of the present invention by Audit Module according to the winnings information in prizes pool, judges to get the winning number in a bond As a result whether corresponding prize can successfully send, if judging to know that the prize can correctly be sent, update the prizes pool Interior winnings information so that the system more science.
Optionally, on the basis of above-described embodiment, the system comprises:Configuration module, authentication module, prize drawing module, Audit Module issues module and flowing water module, wherein:
It is described to issue module for by the information of the winning results, get the winning number in a bond time and prize winner, being sent to described the One service line and the flowing water module;The flowing water module is for preserving the winning results, prize-winning time and described The information of prize winner.
Specifically, lottery system provided in an embodiment of the present invention includes:Configuration module, authentication module, prize drawing module, audit Module issues module and flowing water module.Wherein, the configuration module, the authentication module, the prize drawing module and the audit Module is described in detail in the above-described embodiments, and details are not described herein again.
If the Audit Module judgement knows that the corresponding prize of winning results can successfully be sent, can be to the prize drawing Module sends a winning results and effectively notifies, after the prize drawing module receives the notice, can tie described get the winning number in a bond Fruit, the information of get the winning number in a bond time and prize winner informs and issues module, it is described issue module can by the winning results, it is described in The information of prize time and the prize winner are sent to the operation system of lottery system described in request call and flowing water module, described Flowing water module can the winning results, the information of get the winning number in a bond time and the prize winner preserve in the database, be convenient for Carry out product inquiry.
Lottery system provided in an embodiment of the present invention, by issuing module by winning results, prize-winning time and prize winner Information be sent to operation system and flowing water module, the flowing water module preserves the winning results, the prize-winning time and institute State the information of prize winner so that the system more science.
Fig. 2 is lottery drawing method flow chart provided in an embodiment of the present invention, as shown in Fig. 2, the described method includes:
Step 20, configuration module obtain the ID of sweepstake, and according to the ID of the sweepstake, setting is lived with the prize drawing Move relevant configuration information;Wherein, the configuration information includes:The ID of service line belonging to the sweepstake;
Step 21, authentication module obtain the ID of the first service line of lottery system described in request call, according to described first The ID of service line and the configuration information, judge whether first service line obtains the mandate of the lottery system.
The embodiment of the present invention provides a kind of lottery drawing method, and the method is based on the lottery system described in above-described embodiment.
First, configuration module can set phase according to different business line and its demand of corresponding different sweepstake The configuration information answered.There are one corresponding ID, the configuration module can obtain the ID of sweepstake, root for each sweepstake According to the ID of the sweepstake, setting and the relevant configuration information of the sweepstake, the content of the configuration information can wrap It includes:The ID of service line belonging to the sweepstake.Wherein, each sweepstake may belong to one or more service lines, phase Ying Di, the ID of each sweepstake can correspond to the ID of one or more service lines.For example, the ID of a sweepstake is A, The ID of service line described in the sweepstake can there are two, be respectively:A1 and A2.
When there is service line request call lottery system, authentication module can obtain lottery system described in request call first The first service line ID, then inquired about in the configuration information, whether the ID of first service line lives with the prize drawing Dynamic ID is corresponding, if corresponding, illustrates that first service line obtains the mandate of the lottery system, if not opposite Should, then illustrate that first service line there is no the mandate of the lottery system.
The ID of first service line can be the token of service line, and the authentication module can be according to token and prize drawing The ID of activity, judges whether first service line obtains the mandate of the lottery system, and can pass through the token and institute The ID of sweepstake is stated, to distinguish the sweepstake of first service line and first service line.Wherein, token can be with It is encrypted using Encryption Algorithm.The ID of each service line can be corresponding with the ID of multiple sweepstakes, can be according to reality It needs, while calls the lottery system, carry out a variety of sweepstakes.
Lottery drawing method provided in an embodiment of the present invention obtains the ID of sweepstake by configuration module, according to the prize drawing The ID of activity, setting and the relevant configuration information of the sweepstake;Wherein, the configuration information includes:The sweepstake The ID of affiliated service line, authentication module obtain the ID of the first service line of lottery system described in request call, according to described the The ID of one service line and the configuration information, judge whether first service line obtains the mandate of the lottery system, can be with Realize that multi-business lines and more sweepstakes by different drawing manners, complete the demand of sweepstake, which, which has, accesses Simply, the advantages of reusability of code is high, configuration is flexible and autgmentability is strong, provides a great convenience for other service lines, drops The low exploitation pressure of each service line, improves work efficiency.
Optionally, on the basis of above-described embodiment, the method further includes:
If the authentication module judgement knows that first service line obtains the mandate of the lottery system, then mould of drawing a lottery Root tuber obtains the winning results of user according to the configuration information;Wherein, the configuration information further includes:Prize-winning Rule Information, institute Stating prize-winning Rule Information includes:Winning frequency and winning probability, the user are on first service line, are eligible to participate in The user of the sweepstake, the winning results include:Prize-winning grade, prize content and prize quantity.
The configuration module can set prize-winning Rule Information, and the prize-winning Rule Information can be carried out according to actual conditions Setting.For example, in a sweepstake, 60 prizes are shared, wherein 10 first prizes, 20 second prizes, 30 third prizes. It is 60% according to the winning probability of activity need, the random number selection range that the configuration module can then be set is 1-100, is used When family participates in sweepstake, a random number can be allocated, if the random of user is scolded between 1-10, for the first prize, If the random of user is scolded between 11-30, for second prize, if the random of user is scolded between 31-60, for three Deng prize, if the random of user is scolded between 61-100, not get the winning number in a bond.If winning probability is 30%, configuration module The random number selection range of setting is 1-200.
In addition, the configuration module can also set winning frequency according to actual needs.An if for example, pumping Prize activity duration is long, in order to ensure can to send out with lottery from the beginning to the end, can set a winning frequency, such as can To be set as, every 3 hours, generating a prize winner.It is general that the configuration module can also set prize-winning according to actual needs Rate, the winning probability refer to, during once drawing a lottery, the probability of user's prize-winning.The winning probability can include:Probability The constant mode of variation pattern, probability and rob red packet mode.Above-mentioned prize-winning Rule Information can be added to and matched somebody with somebody by the configuration module In confidence breath.
If the authentication module described in above-described embodiment is known by judgement, the first service line obtains awarding for lottery system Power, then module of drawing a lottery can according to configuration information, calculate it is on first service line, be eligible to participate in the sweepstake The winning results of user.The winning results can include:The prizes such as prize-winning grade, prize content and prize quantity, the prize-winning It can include:It does not get the winning number in a bond, the first prize, second prize and third prize.
Lottery drawing method provided in an embodiment of the present invention, by including in configuration information:Prize-winning Rule Information, the prize-winning Rule Information includes:Winning frequency and winning probability, prize drawing module according to the configuration information, obtain it is on the first service line, User's winning results of the sweepstake is eligible to participate in, the winning results includes:Prize-winning grade, prize content and prize Quantity improves the scalability and flexibility of the method so that the method more science.
Fig. 3 is the structure diagram of electronic equipment provided in an embodiment of the present invention, as shown in figure 3, the equipment includes:Place Device (processor) 31, memory (memory) 32 and bus 33 are managed, wherein:
The processor 31 and the memory 32 complete mutual communication by the bus 33;The processor 31 For calling the program instruction in the memory 32, to perform the method that above-mentioned each method embodiment is provided, such as including: Configuration module and authentication module, wherein, the configuration module is used to obtain the ID of sweepstake, according to the sweepstake ID, setting and the relevant configuration information of the sweepstake;Wherein, the configuration information includes:Belonging to the sweepstake The ID of service line;The authentication module is used to obtain the ID of the first service line of lottery system described in request call, according to institute The ID of the first service line and the configuration information are stated, judges whether first service line obtains the mandate of the lottery system.
The embodiment of the present invention discloses a kind of computer program product, and the computer program product includes being stored in non-transient Computer program on computer readable storage medium, the computer program include program instruction, when described program instructs quilt When computer performs, computer is able to carry out the method that above-mentioned each method embodiment is provided, such as including:Configuration module and mirror Weigh module, wherein, the configuration module is used to obtain the ID of sweepstake, according to the ID of the sweepstake, setting with it is described The relevant configuration information of sweepstake;Wherein, the configuration information includes:The ID of service line belonging to the sweepstake;Institute Authentication module is stated for obtaining the ID of the first service line of lottery system described in request call, according to the ID of first service line With the configuration information, judge whether first service line obtains the mandate of the lottery system.
The embodiment of the present invention provides a kind of non-transient computer readable storage medium storing program for executing, the non-transient computer readable storage Medium storing computer instructs, and the computer instruction makes the computer perform the side that above-mentioned each method embodiment is provided Method, such as including:Configuration module and authentication module, wherein, the configuration module is used to obtain the ID of sweepstake, according to described The ID of sweepstake, setting and the relevant configuration information of the sweepstake;Wherein, the configuration information includes:The prize drawing The ID of service line belonging to activity;The authentication module is used to obtain the first service line of lottery system described in request call ID according to the ID of first service line and the configuration information, judges whether first service line obtains the prize drawing system The mandate of system.
The embodiments such as electronic equipment described above are only schematical, illustrate wherein described as separating component Unit may or may not be physically separate, and the component shown as unit may or may not be object Manage unit, you can be located at a place or can also be distributed in multiple network element.It can select according to the actual needs Some or all of module therein is selected to realize the purpose of this embodiment scheme.Those of ordinary skill in the art are not paying wound In the case of the work for the property made, you can to understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can It is realized by the mode of software plus required general hardware platform, naturally it is also possible to pass through hardware.Based on such understanding, on Technical solution is stated substantially in other words to embody the part that the prior art contributes in the form of software product, it should Computer software product can store in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD, including several fingers Order, which is used, so that computer equipment (can be personal computer, server or the network equipment etc.) performs each implementation Method described in some parts of example or embodiment.
Finally it should be noted that:Various embodiments above is only to illustrate the technical solution of the embodiment of the present invention rather than right It is limited;Although the embodiment of the present invention is described in detail with reference to foregoing embodiments, the ordinary skill of this field Personnel should be understood:It can still modify to the technical solution recorded in foregoing embodiments or to which part Or all technical characteristic carries out equivalent substitution;And these modifications or replacement, do not make the essence disengaging of appropriate technical solution The scope of each embodiment technical solution of the embodiment of the present invention.

Claims (10)

1. a kind of lottery system, which is characterized in that including:Configuration module and authentication module, wherein,
The configuration module is used to obtain the ID of sweepstake, according to the ID of the sweepstake, setting and the sweepstake Relevant configuration information;Wherein, the configuration information includes:The ID of service line belonging to the sweepstake;
The authentication module is used to obtain the ID of the first service line of lottery system described in request call, according to first business The ID of line and the configuration information, judge whether first service line obtains the mandate of the lottery system.
2. system according to claim 1, which is characterized in that the configuration information further includes:Prize-winning Rule Information, it is described Prize-winning Rule Information includes:Winning frequency and winning probability;
Correspondingly, the lottery system further includes:
Prize drawing module, the prize drawing module are used for according to the configuration information, obtain the winning results of user;Wherein, the use Family is user on first service line, being eligible to participate in the sweepstake, and the winning results includes:Get the winning number in a bond etc. Grade, prize content and prize quantity.
3. system according to claim 2, which is characterized in that the configuration information further includes:Blacklist and white list;
The system also includes:
Qualification correction verification module, the qualification correction verification module are used to obtain the ID of the user, according to the ID of the user and described Configuration information judges whether the user is user in the blacklist and the white list;
Correspondingly, if the prize drawing module is additionally operable to the user as the user in the white list, it is determined that user's tool There is the chance for obtaining painted eggshell, if the user is the user in the blacklist, it is determined that the winning results of the user is not It gets the winning number in a bond.
4. system according to claim 2, which is characterized in that further include:
Audit Module, the Audit Module are used to obtain winnings information in prizes pool, according to the winnings information in the prizes pool and The winning results judges that can the corresponding prize of the winning results correctly send.
5. system according to claim 4, which is characterized in that the Audit Module is additionally operable to:
If judgement knows that the prize can correctly be sent, the winnings information in the prizes pool is updated.
6. system according to claim 4, which is characterized in that further include:
Module and flowing water module are issued, the module that issues is used for the winning results, get the winning number in a bond time and the letter of prize winner Breath, is sent to first service line and the flowing water module;
The flowing water module is used to preserve the winning results, the information of get the winning number in a bond time and the prize winner.
7. a kind of lottery drawing method of the lottery system based on as described in claim 1~6 is any, which is characterized in that including:
Configuration module obtains the ID of sweepstake, according to the ID of the sweepstake, setting with the sweepstake is relevant matches somebody with somebody Confidence ceases;Wherein, the configuration information includes:The ID of service line belonging to the sweepstake;
Authentication module obtains the ID of the first service line of lottery system described in request call, according to the ID of first service line and The configuration information, judges whether first service line obtains the mandate of the lottery system.
8. it the method according to the description of claim 7 is characterized in that further includes:
If the authentication module judgement knows that first service line obtains the mandate of the lottery system, then module of drawing a lottery root According to the configuration information, the winning results of user is obtained;Wherein, the configuration information further includes:Prize-winning Rule Information, in described Prize Rule Information includes:Winning frequency and winning probability, the user for it is on first service line, be eligible to participate in it is described The user of sweepstake, the winning results include:Prize-winning grade, prize content and prize quantity.
9. a kind of electronic equipment, which is characterized in that including memory and processor, the processor and the memory pass through total Line completes mutual communication;The memory storage has the program instruction that can be performed by the processor, the processor tune Method as claimed in claim 7 or 8 is able to carry out with described program instruction.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program quilt Processor realizes method as claimed in claim 7 or 8 when performing.
CN201711174152.3A 2017-11-22 2017-11-22 A kind of lottery system and lottery drawing method Withdrawn CN108052323A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711174152.3A CN108052323A (en) 2017-11-22 2017-11-22 A kind of lottery system and lottery drawing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711174152.3A CN108052323A (en) 2017-11-22 2017-11-22 A kind of lottery system and lottery drawing method

Publications (1)

Publication Number Publication Date
CN108052323A true CN108052323A (en) 2018-05-18

Family

ID=62119154

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711174152.3A Withdrawn CN108052323A (en) 2017-11-22 2017-11-22 A kind of lottery system and lottery drawing method

Country Status (1)

Country Link
CN (1) CN108052323A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109544243A (en) * 2018-11-28 2019-03-29 深圳先锋居善科技有限公司 A kind of processing method and system of lottery information
CN110097680A (en) * 2019-05-08 2019-08-06 广州市百果园信息技术有限公司 Lottery drawing method, device, lottery service system, lottery system and storage medium
CN110120115A (en) * 2019-05-21 2019-08-13 秒针信息技术有限公司 A kind of method, apparatus of prize drawing, equipment and medium
CN110796778A (en) * 2018-08-01 2020-02-14 广州市森锐科技股份有限公司 Lottery drawing method, device, terminal and computer readable storage medium
CN111142868A (en) * 2019-12-31 2020-05-12 中国银行股份有限公司 Method and device for developing movable winning system
CN112486486A (en) * 2020-11-30 2021-03-12 上海悦易网络信息技术有限公司 Lottery drawing method and device based on static resources

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104125203A (en) * 2013-04-26 2014-10-29 腾讯科技(深圳)有限公司 Permission management method and system
KR20160036109A (en) * 2014-09-23 2016-04-01 주식회사 씨유니온 Apparatus for advertisement used lottery and method thereof
CN106651439A (en) * 2016-11-22 2017-05-10 腾讯科技(深圳)有限公司 Processing method and device for interactive application
CN106998551A (en) * 2016-01-25 2017-08-01 中兴通讯股份有限公司 A kind of method, system, device and the terminal of application access authentication
CN107122992A (en) * 2017-04-17 2017-09-01 南京欣网互联信息技术有限公司 A kind of method that sweepstake is produced in the network platform
CN107180338A (en) * 2017-05-22 2017-09-19 深圳市小牛在线互联网信息咨询有限公司 Business performs method, device, storage medium and computer equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104125203A (en) * 2013-04-26 2014-10-29 腾讯科技(深圳)有限公司 Permission management method and system
KR20160036109A (en) * 2014-09-23 2016-04-01 주식회사 씨유니온 Apparatus for advertisement used lottery and method thereof
CN106998551A (en) * 2016-01-25 2017-08-01 中兴通讯股份有限公司 A kind of method, system, device and the terminal of application access authentication
CN106651439A (en) * 2016-11-22 2017-05-10 腾讯科技(深圳)有限公司 Processing method and device for interactive application
CN107122992A (en) * 2017-04-17 2017-09-01 南京欣网互联信息技术有限公司 A kind of method that sweepstake is produced in the network platform
CN107180338A (en) * 2017-05-22 2017-09-19 深圳市小牛在线互联网信息咨询有限公司 Business performs method, device, storage medium and computer equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘菲: "中国移动营销活动支撑平台的设计与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110796778A (en) * 2018-08-01 2020-02-14 广州市森锐科技股份有限公司 Lottery drawing method, device, terminal and computer readable storage medium
CN109544243A (en) * 2018-11-28 2019-03-29 深圳先锋居善科技有限公司 A kind of processing method and system of lottery information
CN110097680A (en) * 2019-05-08 2019-08-06 广州市百果园信息技术有限公司 Lottery drawing method, device, lottery service system, lottery system and storage medium
CN110097680B (en) * 2019-05-08 2022-02-08 广州市百果园信息技术有限公司 Lottery drawing method, device, lottery drawing service system, lottery drawing system and storage medium
CN110120115A (en) * 2019-05-21 2019-08-13 秒针信息技术有限公司 A kind of method, apparatus of prize drawing, equipment and medium
CN111142868A (en) * 2019-12-31 2020-05-12 中国银行股份有限公司 Method and device for developing movable winning system
CN112486486A (en) * 2020-11-30 2021-03-12 上海悦易网络信息技术有限公司 Lottery drawing method and device based on static resources

Similar Documents

Publication Publication Date Title
CN108052323A (en) A kind of lottery system and lottery drawing method
CN108510389A (en) Intelligent contract call method, equipment and readable storage medium storing program for executing based on block chain
CN107213634A (en) A kind of game user management method, game server and system
CN108183924A (en) A kind of login validation method and terminal device
CN107871234A (en) Electric paying method and application server
CN108234134A (en) Block synchronous method and system
CN109327627A (en) Telephone number recognition methods, device and storage medium based on block chain
CN104125203A (en) Permission management method and system
CN109274782A (en) A kind of method and device acquiring website data
CN106921684A (en) The processing method and server of a kind of solicited message
CN106412078B (en) Accurate information method for pushing, device and system
CN107689941A (en) A kind of apparatus and method for preventing same user's repeat logon
CN103713895A (en) Data sending method and device
US20170289354A1 (en) System and Method for Allocation And Management Of Shared Virtual Numbers
CN107896227A (en) A kind of data calling method, device and device data cloud platform
CN105224541B (en) Uniqueness control method, information storage means and the device of data
CN110247857B (en) Current limiting method and device
CN105354112B (en) Data reconstruction method, device and the system of single-play game
CN109684033A (en) Cloud platform bare machine management method, storage medium, electronic equipment and system
CN108228197A (en) A kind of method and apparatus for installing software in the cluster
CN104703173B (en) The configuration of terminal applies account and detection method, apparatus and system
CN105847284B (en) A kind of communication service processing method, device and and server
CN109150864A (en) Anti-cheating method and device based on re-authentication
CN110716730B (en) Gray release method, device, equipment and computer readable storage medium
CN106034148A (en) Fast information interaction method, local server, remote server and system

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20180518