CN106846058A - Method and apparatus for choosing participant - Google Patents
Method and apparatus for choosing participant Download PDFInfo
- Publication number
- CN106846058A CN106846058A CN201710051662.5A CN201710051662A CN106846058A CN 106846058 A CN106846058 A CN 106846058A CN 201710051662 A CN201710051662 A CN 201710051662A CN 106846058 A CN106846058 A CN 106846058A
- Authority
- CN
- China
- Prior art keywords
- participant
- application
- request
- activity
- time
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0207—Discounts or incentives, e.g. coupons or rebates
- G06Q30/0235—Discounts or incentives, e.g. coupons or rebates constrained by time limit or expiration date
Abstract
Embodiments of the present invention provide a kind of method for choosing participant.The method for being used to choose participant includes:The application for receiving the participant from participation activity in the range of the activity time is selected request;Determine it is described application be selected request belonging to current slot do not select participant also, and the application is selected in the case that request is selected request for the n-th application received in the current time piece in current slot, according to the corresponding determine the probability that is selected of current time piece whether using the participant as the participant for selecting;Wherein, according to allowing selection total quantity to be divided into multiple time periods, the quantity of time period allows selection total quantity identical to the activity time scope with described, and a time period includes multiple timeslices, and the N is to preset natural number.Additionally, embodiment of the present invention additionally provides a kind of equipment and computer-readable recording medium for choosing participant.
Description
Technical field
Embodiments of the present invention are related to field of network communication, more specifically, embodiments of the present invention are related to for selecting
Take the method for participant, the equipment for choosing participant and computer-readable recording medium.
Background technology
This part is it is intended that the embodiments of the present invention stated in claims provide background or context.Herein
Description not because being included in this part just recognize it is prior art.
The many activities such as network prize drawing can all be related to comform in multi-player and select a number of participant as choosing
The process of participant's (be referred to as choose participant or lottery winner etc.) of taking-up.
At present, occurred in that according to predetermined selection probability (being referred to as winning probability etc.) and to choose quantity true
It is fixed whether using participant as the participant for selecting technical scheme;One specific example, sets for a prize in advance
Winning probability, prize discharging quantity and prize Time Of Release are put, participant applies getting this in the range of prize Time Of Release
During prize, in the case where prize current residual quantity allows to provide, the winning probability according to the prize is calculated to determine
Whether allow be the participant provide prize, determine allow for the participant provide prize when, for the participant perform
Prize granting is operated, and the proper account parameter of the participant is such as updated in database, in order to the prize is added in the ginseng
In the proper account of person, and update prize current residual quantity etc..
The content of the invention
But, when choosing the higher of probability setting or participant's quantity be more, the number of the participant of selection
Amount can reach predetermined selection quantity quickly;And when relatively low or participant's negligible amounts that probability is set are chosen,
The quantity of the participant of selection may be extremely difficult to predetermined selection quantity.
Therefore in the prior art, the quantity of the participant of selection quickly reaches predetermined quantity, can make work set in advance
Dynamic effective time loses meaning, the activity of release is killed activity as the second;And choose participant quantity be extremely difficult to it is pre-
The selection quantity for first setting, can make selection quantity set in advance lose meaning, and be easier to make the true of participant's suspection activity
Property;This is very bothersome process.
Therefore, being highly desirable to a kind of improved technical scheme for choosing participant, the conjunction of participant is chosen to improve
Rationality, and the abundant implementation for choosing participant.
In the present context, embodiments of the present invention expect to provide a kind of method for choosing participant, equipment with
And computer-readable recording medium.
In the one side of embodiment of the present invention, there is provided a kind of method for choosing participant, including:Connect
The application of the participant from participation activity being received in the range of the activity time is selected request;Determining that the application is selected
Take the current slot belonging to request and do not select participant also, and it is working as in current slot that the application is selected request
In the case that the n-th application received in preceding timeslice is selected request, probability is selected according to current time piece is corresponding
Determine whether the participant as the participant for selecting;Wherein, the activity time scope according to allow choose sum
Amount is divided into multiple time periods, and the quantity of time period allows selection total quantity identical with described, and a time period is including more
Individual timeslice, the N is default natural number.
In one embodiment of the invention, participant from participation activity of the reception in the range of the activity time
Application include the step of be selected request:The loose-leaf from user according to receiving asks to push institute to the user
Loose-leaf is stated, and receives the application for the loose-leaf from the user and be selected request.
In yet another embodiment of the present invention, the loose-leaf from user that the basis is received is asked to described
User pushes the loose-leaf, and application for the loose-leaf of the reception from the user is selected request step
Including:The loose-leaf request from user is received in WEB server, and local cache has the situation of the loose-leaf
Under, push the loose-leaf to the user;The Shen for the loose-leaf from user is received in WEB server
In the case of please being selected request, the application is selected request and is transferred to the movable corresponding application server, make institute
State application server and receive the application of the participant from participation activity in the range of the activity time and be selected request.
In yet another embodiment of the present invention, methods described also includes:According to predetermined participant's qualifying requirements to institute
State the transmission participant for applying being selected request to be filtered, participant's hair of participant's qualifying requirements is not met to filter
The application sent is selected request.
In yet another embodiment of the present invention, participant's qualifying requirements include following at least one:Participant's
Whether the corresponding number of times for participating in the activity of login account reaches the user bound in the login account of pre-determined number, participant
Whether identity terminal identical with the User Identity bound in the login account of other participants and participant sets
Whether standby identification information reaches predetermined similarity with the similarity of the Terminal Equipment Identifier information of other participants.
In yet another embodiment of the present invention, methods described also includes:According to determine at random each timeslice duration when
Between piece partition strategy each time period is respectively divided into multiple timeslices;Wherein, between the different time piece in any time period
All timeslices in the absence of the time of coincidence, and any time period are mutually linked to form the middle unremitting time period.
In yet another embodiment of the present invention, the n-th application is selected request to be included:First application is selected
Request.
In yet another embodiment of the present invention, for any time period, n-th timeslice in the time period is corresponding
Being selected probability includes:1/((m-n)+1;Wherein, m is the total quantity of the timeslice that the time period is included, and n is more than or equal to 1
And the no more than integer of m.
In yet another embodiment of the present invention, methods described also includes:Determining the participant as selection
In the case of the participant for going out, update local cache allows selection volume residual.
In yet another embodiment of the present invention, methods described also includes:According to data synchronization strategy by local cache
Selection volume residual is allowed to be synchronized in the database of the configuration information for storing the activity.
In yet another embodiment of the present invention, methods described also includes:Institute is asked determining that the application is selected
In the case that the current slot of category has selected participant, forbid the participant as the participant for selecting;With/
Or, determining that the current slot that the application is selected belonging to request do not select participant also, and the application is selected
Take in the case of asking not to be selected request for the n-th application received in the current time piece in current slot, forbid
Using the participant as the participant for selecting.
In second aspect of embodiment of the present invention, there is provided a kind of equipment for choosing participant, main bag
Include:Request module is received, the application for receiving the participant from participation activity in the range of the activity time is selected please
Ask;Choose participant's module, for determine it is described application be selected request belonging to current slot do not select ginseng also
It is selected and asks to be selected for the n-th application received in the current time piece in current slot with person, and the application
In the case of request, according to the corresponding determine the probability that is selected of current time piece whether using the participant as the ginseng for selecting
With person;Wherein, the activity time scope is divided into multiple time periods according to allowing to choose total quantity, and the time period quantity
Allow selection total quantity identical with described, the N is default natural number.
In one embodiment of the invention, it is described reception request module specifically for:According to receiving from user
Loose-leaf ask to push the loose-leaf to the user, receive from the user for the loose-leaf
Application is selected request.
In yet another embodiment of the present invention, the reception request module includes:First submodule, for being taken in WEB
In the case that business device receives the loose-leaf from user and asks, and local cache has the loose-leaf, to the user
Push the loose-leaf;Second submodule, for WEB server receive from user for the loose-leaf
In the case that application is selected request, the application is selected request and is transferred to the movable corresponding application server, made
The 3rd submodule in the application server receives the Shen of the participant from participation activity in the range of the activity time
Please be selected request.
In yet another embodiment of the present invention, the equipment also includes:Filtering module, for according to predetermined participant
Qualifying requirements to it is described send it is described apply for that being selected the participant of request filters, with filter do not meet participant's qualification will
The application that the participant for asking sends is selected request.
In yet another embodiment of the present invention, participant's qualifying requirements include following at least one:Participant's
Whether the corresponding number of times for participating in the activity of login account reaches the user bound in the login account of pre-determined number, participant
Whether identity terminal identical with the User Identity bound in the login account of other participants and participant sets
Whether standby identification information reaches predetermined similarity with the similarity of the Terminal Equipment Identifier information of other participants.
In yet another embodiment of the present invention, the equipment also includes:Division module, during for according to determining each at random
Between the timeslice partition strategy of piece duration each time period is respectively divided into multiple timeslices;Wherein, in any time period not
To form middle unremitting with being mutually linked in the absence of all timeslices in the time of coincidence, and any time period between timeslice
Time period.
In yet another embodiment of the present invention, the n-th application is selected request to be included:First application is selected
Request.
In yet another embodiment of the present invention, for any time period, n-th timeslice in the time period is corresponding
Being selected probability includes:1/((m-n)+1;Wherein, m is the total quantity of the timeslice that the time period is included, and n is more than or equal to 1
And the no more than integer of m.
In yet another embodiment of the present invention, the equipment also includes:Update module, for determining the ginseng
With person as the participant for selecting in the case of, update local cache allow choose volume residual.
In yet another embodiment of the present invention, the equipment also includes:Synchronization module, for according to data synchronization strategy
The selection volume residual that allows of local cache is synchronized in the database of the configuration information for storing the activity.
In yet another embodiment of the present invention, selection participant's module is additionally operable to:Determining the application quilt
In the case that current slot belonging to selection request has selected participant, forbid the participant as the ginseng for selecting
With person;And/or, determining that the current slot that the application is selected belonging to request do not select participant also, it is and described
Application is selected the situation for asking not to be selected request for the n-th application received in the current time piece in current slot
Under, forbid the participant as the participant for selecting.
In the third aspect of embodiment of the present invention, there is provided a kind of computer-readable recording medium, it is stored thereon with
Computer program, the program is when executed by realizing step:Receive in the range of the activity time from participation activity
The application of participant is selected request;Determine it is described application be selected request belonging to current slot do not select ginseng also
It is selected and asks to be selected for the n-th application received in the current time piece in current slot with person, and the application
In the case of request, according to the corresponding determine the probability that is selected of current time piece whether using the participant as the ginseng for selecting
With person;Wherein, the activity time scope is divided into multiple time periods according to allowing to choose total quantity, the quantity of time period with
Described to allow to choose total quantity identical, and time period includes multiple timeslices, and the N is default natural number.
The method for choosing participant according to embodiment of the present invention, the equipment for choosing participant and calculating
Machine readable storage medium storing program for executing, by by activity time scope according to allow choose total quantity be divided into multiple time periods, and time
Section quantity with it is described allow choose total quantity it is identical, so, a time period can only select a participant, thus this
Be reduced to the implementation process that multiple participants are selected in the range of the activity time within a time period by invention embodiment
Select the implementation process of participant;By by a time period be divided into multiple timeslices (such as each timeslice when
Length is randomly provided), and it is the n-th (such as the received in the current time piece in current slot to be selected request in application
One) in the case that application is selected request, it is selected probability to determine whether to participate in this according to current time piece is corresponding
Person allows embodiment of the present invention to be easier to realize in the range of the whole activity time, uniformly as the participant for selecting
Participant is selected, so as to avoid the process for choosing participant as far as possible by participant's quantity and be selected probability
Influence;It follows that embodiment of the present invention can to a certain extent improve the reasonability for choosing participant such that it is able to carry
The enthusiasm of user's participation activity high, and embodiment of the present invention also has and is easily achieved and the features such as application easy to spread.
Brief description of the drawings
Detailed description below, above-mentioned and other mesh of exemplary embodiment of the invention are read by reference to accompanying drawing
, feature and advantage will become prone to understand.In the accompanying drawings, if showing by way of example, and not by way of limitation of the invention
Dry implementation method, wherein:
Fig. 1 schematically shows the application scenarios schematic diagram that can be realized wherein according to embodiment of the present invention;
Fig. 2 schematically shows the method flow diagram for choosing participant according to an embodiment of the invention;
Fig. 3 schematically shows the method flow diagram for choosing participant according to further embodiment of this invention;
Fig. 4 schematically shows the structural representation for choosing the equipment of participant according to an embodiment of the invention
Figure;
Fig. 5 schematically shows the structural representation of computer according to an embodiment of the invention;
Fig. 6 schematically shows the schematic diagram of computer-readable recording medium according to an embodiment of the invention.
In the accompanying drawings, identical or corresponding label represents identical or corresponding part.
Specific embodiment
Principle of the invention and spirit are described below with reference to some illustrative embodiments.It should be appreciated that providing this
A little implementation methods are used for the purpose of better understood when those skilled in the art and then realizing the present invention, and not with any
Mode limits the scope of the present invention.Conversely, these embodiments are provided so that the disclosure is more thorough and complete, and energy
It is enough that the scope of the present disclosure is intactly conveyed into those skilled in the art.
Art technology technical staff knows that embodiments of the present invention can be implemented as a kind of equipment, method or calculating
Machine program product.Therefore, the disclosure can be implemented as following form, i.e.,:Complete hardware, complete software are (including solid
Part, resident software, microcode etc.), or the form that hardware and software is combined.
According to the embodiment of the present invention, it is proposed that a kind of method for choosing participant, equipment and computer can
Read storage medium.
Herein, it is to be understood that the term active time range involved by embodiment of the present invention can refer to
The movable effective time of release, and activity in embodiment of the present invention can be specially sweepstake or registration activity or
Person's application activity etc.;Term WEB server involved by embodiment of the present invention typically refers to that WEB information browses clothes can be provided
The server of business, and WEB server does not include specific service logic typically, it has, and the response time is very fast and throughput is higher
The features such as, the WEB server can be specially Nginx (i.e. " engine x ") server etc.;Involved by embodiment of the present invention
Term application server typically refer to be provided with the service provider of specific service logical calling interface, and application server is logical
Can often be called by WEB server, its throughput is usually less than WEB server.Additionally, any number of elements in accompanying drawing is equal
It is unrestricted for example, and it is any name be only used for distinguish, without any limitation.
Below with reference to some representative embodiments of the invention, principle of the invention and spirit are explained in detail.
Summary of the invention
The inventors discovered that, because prior art is in the feelings such as higher or participant's quantity is more that will choose that probability sets
Under condition, the quantity of the participant of selection can reach predetermined selection quantity quickly;And choosing the relatively low or ginseng that probability is set
When person's negligible amounts, the quantity of the participant of selection may be extremely difficult to predetermined selection quantity;It follows that
In the prior art, the quantity of the participant of selection quickly reaches predetermined quantity, can lose movable effective time set in advance
Meaning, such as makes the activity of release kill activity as the second;But the quantity of the participant for choosing is extremely difficult to selection set in advance
Quantity, can make selection quantity set in advance lose meaning, and be easier to make the authenticity of participant's suspection activity.
Embodiment of the present invention by by activity time scope according to allow choose total quantity be divided into multiple time periods,
And the quantity of time period with it is described allow choose total quantity it is identical, so, a time period can only select a participant,
So as to can be reduced to the implementation process that multiple participants are selected in the range of the activity time from one by embodiment of the present invention
The implementation process of participant is selected in the individual time period;By by a time period be divided into multiple timeslices (such as each
The duration of timeslice is randomly provided), and it is selected what is received in the current time piece during request is current slot in application
In the case that n-th (such as first) application is selected request, it is selected probability to determine to be according to current time piece is corresponding
It is no using the participant as the participant for selecting, allow embodiment of the present invention be easier to realize in whole activity time scope
It is interior, participant is uniformly selected, so as to avoid the process for choosing participant as far as possible by participant's quantity and quilt
Choose the influence of probability;It follows that embodiment of the present invention can to a certain extent improve the reasonability for choosing participant,
So as to improve the enthusiasm of user's participation activity, and embodiment of the present invention also has and is easily achieved and application easy to spread
The features such as.
After general principle of the invention is described, lower mask body introduces various non-limiting embodiment party of the invention
Formula.
Application scenarios overview
With reference first to Fig. 1, it is schematically shown that according to the applied field that can be realized wherein of embodiment of the present invention
Scape.
In Fig. 1, terminal device 1, terminal device 2 ... be mounted in terminal device n browser or apply (APP),
Different user can be installed using in its terminal device (such as above-mentioned terminal device 1 a to terminal device in terminal device n)
Browser or the instrument such as APP participate in picking out part ginseng in the multi-player of comforming that network side (such as application server) is released
With the activity of person, such as sweepstake or registration activity or application activity activity, positioned at network side respective server (such as
Application server etc.) whether it is participant (such as lottery winner or successfully entrant being selected to notify corresponding participant
Or successful application person etc.).However, those skilled in the art are appreciated that the applicable scene of embodiment of the present invention not completely
Limited by any aspect of the framework.
Illustrative methods
With reference to the application scenarios shown in Fig. 1, described according to exemplary embodiment of the invention with reference to Fig. 2-Fig. 3
Method for choosing participant.It should be noted that above-mentioned application scenarios be for only for ease of understanding it is of the invention spirit and
Principle and show, embodiments of the present invention are unrestricted in this regard.Conversely, embodiments of the present invention can be applied
In applicable any scene.
Referring to Fig. 2, it is schematically shown that the flow for choosing the method for participant according to an embodiment of the invention
Figure, the method is performed generally at the server of network side, specifically, the method can be in WEB server or application service
Performed at device, the method can also be performed partly at WEB server and part performs at application server, and the method can
With including step S200 and S210;Optionally, the method can also include:Step S220 and step S230.
The application of the participant from participation activity of S200, reception in the range of the activity time is selected request.
As an example, the application in embodiment of the present invention is selected request is normally based on the loose-leaf for pre-setting
And the request for producing, a specific example, user known in the chained address or the page received by its terminal device
When there is currently the activity such as prize drawing, by modes such as the respective regions in clickthrough or the click page to the corresponding of network side
Server sends loose-leaf request, the respective server of network side after loose-leaf request is received, to the user's
Terminal device pushes corresponding loose-leaf, " ginseng of the user in by clicking on the loose-leaf shown by its terminal device
With activity " etc. after button, produce application to be selected request and send this application to the respective server of network side and be selected request.
Application be selected request processed by application server in the case of, embodiment of the present invention can be by WEB
Server is selected request making application server receive the application from user;Such as receive to use by oneself in WEB server
When the loose-leaf of the terminal device at family is asked, judge locally whether be cached with the loose-leaf, WEB server is judging this
Ground is uncached when having the loose-leaf, asks the loose-leaf, WEB server receiving application to corresponding application server
After the loose-leaf that server sends, the local cache loose-leaf, and push the loose-leaf to the terminal device of user;
WEB server can directly obtain the active page when judging that local cache has the loose-leaf from the information that it is cached
Face, and push the loose-leaf to user;User performs corresponding operation (such as based on the loose-leaf that its terminal device is received
" prize drawing " button in click loose-leaf etc.), during participating in the activity as participant, produce the application for loose-leaf
Request is selected, this application is selected request and is sent to WEB server from the terminal device of user, and should by WEB server
Application is selected request and is sent to application server so that application server receive in the range of the activity time from ginseng
Application with the participant of activity is selected request.By being shared by WEB server to the treatment that loose-leaf is asked, and
WEB server has the response time very fast and the features such as throughput is higher, therefore, embodiment of the present invention is it is possible to prevente effectively from big
The loose-leaf of amount asks the pressure of application server, is conducive to improving the reliability and security of application server.
Activity time scope in embodiment of the present invention is properly termed as activity and holds time or movable effective time etc.,
Such as when activity is for sweepstake, activity time scope can specially participate in the time range of prize drawing.The present invention is implemented
The activity time scope of mode generally includes one or more continuous time period, 8 points to late 6 of such as certain year morning in such a month, and on such a day
Point, 8 points of certain year morning in such a month, and on such a day is to 12 noon and 2 pm on the same day to late 6 points etc. for another example.The present invention does not limit work
The specific manifestation form of dynamic time range.
Activity time scope in embodiment of the present invention should be divided into multiple time periods according to allowing to choose total quantity,
It is therein to allow to choose total quantity and comform the total quantity of the participant selected in multi-player;One specific example,
Activity is in the case of sweepstake, it is allowed to chooses total quantity and is usually prize-winning total quantity;It is the situation of registration activity in activity
Under, it is allowed to choose total quantity and be usually registration total quantity;In the case where activity is for application activity, it is allowed to choose total quantity usual
To be applied the total quantity of target.The quantity of the time period that embodiment of the present invention marks off activity time scope should be with permission
Choose total quantity identical, such as in the case where allowing to choose total quantity for A, activity time scope should be divided A time period,
So embodiment of the present invention can only select a participant in a time period.
Any one time period in embodiment of the present invention includes multiple timeslices, included by different time sections when
Between piece quantity it is generally identical, certainly, the quantity of the timeslice included by different time sections can also be differed.In addition, this hair
The duration of the different time piece in a time period in bright implementation method is usual and differs, and such as embodiment of the present invention is being incited somebody to action
When any one time period is divided into multiple timeslices, can be according to the timeslice partition strategy for determining each timeslice duration at random
Multiple timeslices will be respectively divided into the time period, that is to say, that during it will be divided into multiple timeslices the time period, can be with
In the case of the quantity of the timeslice that the duration and time period that consider the time period are included, random number is produced, and will produce
Raw random number carries out the division of timeslice as the duration of timeslice to the time period.
As an example, not existing the time between different time piece in any one time period in embodiment of the present invention
Coincidence phenomenon, and all timeslices in any time period are mutually linked to form the middle unremitting time period, i.e., one time
The duration sum of all timeslices in section is the duration of the time period;One specific example, setting time section 10:00:00-
10:01:00 is divided into five timeslices, and this five timeslices can be specially 10:00:00-10:00:09、10:00:10-
10:00:26、10:00:27-10:00:33、10:00:34-10:00:45 and 10:00:46-10:00:60.
Embodiment of the present invention determine above-mentioned application be selected request belonging to current slot do not select ginseng also
It is selected and asks to be selected request for the n-th application received in the current time piece in current slot with person, and application
In the case of, to step S210.
S210, according to the corresponding determine the probability that is selected of current time piece whether using participant as the participation for selecting
Person.
As an example, embodiment of the present invention can be after receiving application and being selected request, application is selected please
Asking carries out filtration treatment, with filter caused due to the improper operation of user activity occur unjust phenomenon application be selected please
Ask;Specifically, embodiment of the present invention can be selected the ginseng of request according to predetermined participant's qualifying requirements to sending application
Filtered with person, the application that participant's transmission of participant's qualifying requirements is not met to filter is selected request.It is above-mentioned predetermined
Participant's qualifying requirements generally include:Whether the number of times of the corresponding participation activity of login account of participant reaches pre-determined number
User Identity bound in (such as whether reaching once), the login account of participant whether the registration account with other participants
User Identity bound in family is identical and Terminal Equipment Identifier information of participant whether the terminal with other participants
The similarity of equipment identification information reaches predetermined similarity.Certainly, predetermined participant's qualifying requirements can also include above-mentioned
Meaning one or any two.
It is pre- whether embodiment of the present invention reaches by using the number of times of the corresponding participation activity of login account of participant
Number of times is determined it is possible to prevente effectively from a user (such as repeats to take out using the number of times that its same login account repeats participation activity
Number of times of prize etc.) more than the phenomenon of pre-determined number.One specific example, in a sweepstake, if one use of regulation
Family can only draw a lottery once, then after embodiment of the present invention can be selected request application is received, being selected from this application please
The login account information of middle acquisition participant is sought, and judges whether the login account information belongs to the prize drawing of participation for prestoring
Login account information aggregate, if it is judged that belonging to the set, it is determined that go out the participant and be already engaged in sweepstake, should
Filter this application and be selected request, if it is judged that being not belonging to the set, it is determined that go out the participant and also had neither part nor lot in prize drawing work
It is dynamic, this application should not be filtered and be selected request.
Embodiment of the present invention by using participant login account bound in User Identity whether with other
User Identity bound in the login account of participant is identical can avoid to a certain extent a user using it not
Same login account repeats the number of times (such as repeating the number of times of prize drawing) of participation activity more than the phenomenon of pre-determined number.One
Specific example, in a sweepstake, if one user of regulation can only draw a lottery once, embodiment of the present invention can be with
Receive application be selected request after, from this application be selected request in obtain participant login account information, and according to
The log-on message for prestoring determines the User Identity (mobile phone number as bound in bound in the login account information
Code or ID card No. etc.), then, judge whether the User Identity bound in the login account information belongs to and deposit in advance
User Identity set bound in the login account information for having participated in prize drawing of storage, if it is judged that belong to the set, then
Determine that the participant participated in sweepstake using other login account information, this application should be filtered and be selected request,
If it is judged that being not belonging to the set, it is determined that go out the participant and also had neither part nor lot in sweepstake, this application should not be filtered and be chosen
Take request.
Embodiment of the present invention by using participant Terminal Equipment Identifier information whether the terminal with other participants
The similarity of equipment identification information reaches predetermined similarity can to a certain extent avoid a user from utilizing different terminals
Equipment repeats the number of times (such as repeating the number of times of prize drawing) of participation activity more than the phenomenon of pre-determined number.One specific example
Son, in a sweepstake, if one user of regulation can only draw a lottery once, embodiment of the present invention can received
After application is selected request, Terminal Equipment Identifier information (such as terminal device of participant is obtained in being selected request from this application
In the hardware such as network interface card identification information and/or the identification information of software such as browser etc.), and the terminal device that will be got
It is a multi-C vector that identification information is abstract, then, calculates the multi-C vector with each user for having participated in prize drawing for prestoring
The similarity of corresponding multi-C vector, if it is judged that calculating any one similarity for obtaining reaches predetermined similarity, then really
Make the user and had been participating in sweepstake using other terminal devices, this application should be filtered and be selected request, if it is determined that
Go out to calculate all similarities for obtaining and be not up to predetermined similarity, it is determined that go out the user and also had neither part nor lot in sweepstake, no
This application should be filtered and be selected request.
As an example, being selected request for the application being not filtered out, embodiment of the present invention is determining this application quilt
Choose the current slot belonging to request and do not select participant also, and it is working as in current slot that this application is selected request
In the case that N (N is default natural number) the individual application received in preceding timeslice is selected request, should be according to current time
Whether piece is corresponding is selected determine the probability using participant as the participant for selecting.Under normal conditions, above-mentioned n-th Shen
Please be selected request can be selected request for first application;Certainly, it can also be that above-mentioned n-th application is selected request
Two applications are selected request or the 3rd application is selected request etc..When embodiment of the present invention using determining each at random
Between piece duration timeslice partition strategy timeslice division is carried out to each time period in the case of, due to the duration of each time
It is random determination, therefore, any one moment in each time period is likely to be selected as first application and asks
The time point asked, so that embodiment of the present invention can make the participant for selecting be randomly distributed over the phase of each time period
Answer the moment.
As an example, embodiment of the present invention is each timeslice in each time period be provided be selected it is general
Rate, and for any one time period, corresponding to the different time piece in the time period be selected probability can with identical,
Can also differ.One specific example, embodiment of the present invention can set a time period using following formula (1)
In n-th timeslice corresponding to be selected probability:
1/((m-n)+1;Formula (1)
In above-mentioned formula (1), m is the total quantity of the timeslice that the time period is included, and m is the integer more than 1, n
It is more than or equal to the 1 and no more than integer of m.
One that is selected probability set using above-mentioned formula (1) corresponding to each timeslice in the time period is specific
Example is:In the case where a time period is divided into five timeslices, first timeslice, second timeslice, the 3rd
Individual timeslice, the 4th timeslice and the 5th each self-corresponding probability that is selected of timeslice are respectively 1/5,1/4,1/3,1/
2 and 1;Although each each self-corresponding probability that is selected of timeslice is differed, due to the application quilt in posterior timeslice
Whether the participant for choosing request is depended on the application in first timeslice to be selected request as the participant for selecting
Participant not by as the participant for selecting, therefore, the actually n-th application in each timeslice is selected request
Participant is identical as the probability of the participant for selecting, and the n-th application of such as n-th timeslice is selected request
Participant is shown in the following formula of the probability (2) as the participant for selecting:
(1-1/((m-1)+1))ⅹ(1-1/((m-2)+1))ⅹ……ⅹ1/((m-n)+1));
=((m-1)/m) X ((m-2)/(m-1)) X ... X 1/ ((m-n)+1)
=1/m formula (2)
From above-mentioned formula (2), in fact, the n-th application of each timeslice in a time period is selected
The participant of request is 1/m as the probability of the participant for selecting;During due to each in embodiment of the present invention
Between any one moment in section be likely to turn into the time point that n-th application is selected request, and each timeslice
In n-th application to be selected the participant of request be all 1/m as the probability of the participant for selecting, therefore, it is of the invention
Implementation method ensure that each reception to application be selected the participant of request there is impartial quilt as selection
The probability of the participant for going out, and quantity and the default size for being selected probability of the prior art with participant is unrelated.
Embodiment of the present invention according to current time piece it is corresponding be selected determine the probability go out using above-mentioned participant as
In the case of the participant for selecting, to step S220, and determining not using above-mentioned participant as the participant for selecting
In the case of, to step S230.
S220, update local cache allow choose volume residual.
As an example, it is generally the case that allow selection volume residual (such as current residual prize quantity) to exist including current
Interior movable configuration information can be stored in database;Due to being required for data when selecting a participant every time
Current in storehouse allowing to choose volume residual and being updated, therefore, it is right in some hot moments (quarter at the beginning of such as drawing a lottery)
Database concentrate the substantial amounts of access easily to make database corruption, so that turn into the access of database to realize choosing participation
The bottleneck of person.Embodiment of the present invention allows to choose volume residual (such as in the mistake of selection participant by being obtained from database
Being obtained from database at the beginning for journey allows to choose total quantity, and will allow to choose total quantity and allow to choose remaining as current
Quantity), and local cache, so, when subsequently participant is selected, can the current of local cache be allowed to choose remainder
Amount is updated, and subsequently the selection volume residual that allows of local cache can be synchronized into number according to default data synchronization strategy
According to storehouse, such as after the predetermined quantity time period terminates, the selection volume residual that allows of local cache is synchronized to corresponding number
Volume residual is chosen according to allowing in storehouse, to database concentrate the substantial amounts of access easily make data so as to avoid hot moment
The phenomenon of storehouse collapse, and then improve the reliability and security of embodiment of the present invention.
Embodiment of the present invention determine application be selected request belonging to current slot selected participant's
In the case of, to step S230;Embodiment of the present invention can also be selected the current slot belonging to request application is determined
Do not select participant also, and above-mentioned application be selected request for received in the current time piece in current slot the
In the case that N number of application is selected request, to step S230.
S230, forbid participant as the participant for selecting.
Referring to Fig. 3, it is schematically shown that the flow for choosing the method for participant according to an embodiment of the invention
Figure, performs at the method WEB server and application server, and the method can comprise the steps:
S300, the sweepstake for current release, start the method for choosing participant of embodiment of the present invention.
S310, in sweepstake time range, WEB server receiving the terminal device from user prize drawing page
Request in person in the case of asking, the prize drawing page of the sweepstake is obtained from the static resource of its local cache, and to the end of user
End equipment sends the prize drawing page.After receiving the prize drawing page and showing, user is taken out the terminal device of user by click
Encourage the prize drawing button in the page and participate in sweepstake, the terminal device of user can be based on the operation of the prize drawing page according to user
And produce and apply for request (being referred to as request of getting the winning number in a bond) of getting the winning number in a bond, and send this application prize-winning request to WEB server.
This application prize-winning request is transmitted to application by S320, WEB server in the case where application prize-winning request is received
Server.
S330, application server are filtered to the application prize-winning request for receiving, with filter do not meet prize drawing qualification will
Application transmitted by the participant for asking is got the winning number in a bond and is asked.
S340, for meet prize drawing qualifying requirements participant transmitted by application get the winning number in a bond request, application server according to
Whether the current slot that this application is got the winning number in a bond corresponding to request has had whether lottery winner and this application prize-winning request are to work as
First application of preceding timeslice is got the winning number in a bond and asks to judge whether the user gets the winning number in a bond, in the current time corresponding to application prize-winning request
Section existed lottery winner or this application get the winning number in a bond request be not current time piece first application get the winning number in a bond request when, using clothes
Business device judges that the user does not get the winning number in a bond, to step S360;And do not deposited in the current slot that application is got the winning number in a bond corresponding to request
Lottery winner and this application get the winning number in a bond request be current time piece first application get the winning number in a bond request when, application server judges this
User gets the winning number in a bond, to step S350.
S350, application server judge whether also to be available for providing according to the current count value of the remaining prize quantity of caching
Prize, if it is judged that also have be available for provide prize, then to step S351, if it is judged that be not available for provide
Prize, then to step S360.
The current count value of remaining prize quantity for caching is subtracted 1 by S351, application server, and to step S352.
S352, application server are performed provides prize operation, the proper account of the participant is such as updated, in order to this is encouraged
Product are added in the proper account of the participant.
S360, this method for being used to choose participant terminate.
Example devices
After the method for describing exemplary embodiment of the invention, next, with reference to Fig. 4 to exemplary reality of the invention
Apply being illustrated for choosing the equipment of participant for mode.
Referring to Fig. 4, it is schematically shown that the structure for choosing the equipment of participant according to an embodiment of the invention
Schematic diagram, the equipment is generally disposed at the server of network side, specifically, the equipment can be arranged at WEB server or
At person's application server, the equipment partly can also be arranged at WEB server, and part is arranged at application server.
In Fig. 4, embodiment of the present invention includes for choosing the equipment of participant:Receive request module 400 and choosing
Take participant's module 410;Optionally, the equipment can also include:Filtering module 420, division module 430, update module 440 with
And synchronization module 450.
Receive the Shen that request module 400 is mainly used in receiving the participant from participation activity in the range of the activity time
Please be selected request.
As an example, the application that reception request module 400 is received is selected request is normally based on the work for pre-setting
The request moved the page and produce, a specific example, user is in the chained address or page received by its terminal device
Face known when there is currently the activity such as prize drawing, by clickthrough or clicks on the mode such as respective regions in the page to network side
Respective server send loose-leaf request, the reception request module 400 in the respective server of network side receiving this
After loose-leaf request, corresponding loose-leaf is pushed to the terminal device of the user, user is by clicking on its terminal device
After buttons such as " participation activities " in the shown loose-leaf, application is produced to be selected request and to the corresponding clothes of network side
Business device sends this application and is selected request, so that the reception request module 400 receives application is selected request.
Request is selected by the selection participant module 410 in application server come in the case of processing in application, this hair
Bright implementation method can make application server receive the application from user to be selected request by WEB server;At this
In the case of, the reception request module 400 in embodiment of the present invention can include:First submodule, the second submodule and
Three submodules;First submodule therein is arranged in WEB server, and the first submodule is mainly used in existing in WEB server
The loose-leaf request from user is received in the range of activity time, and WEB server local cache has the feelings of loose-leaf
Under condition, the loose-leaf is pushed to the user;Second submodule therein is arranged in WEB server, and the second submodule master
Be used for WEB server receive the application for loose-leaf from user be selected request in the case of, will apply
It is selected request and is transferred to movable corresponding application server;3rd submodule therein is arranged in application server, and the
Three submodules are mainly used in the next application of reception the second submodule transmission and are selected request, application server is received in activity
The application from participant is selected request in time range.
One specific example, the first submodule in WEB server receives the work of the terminal device from user
During dynamic page request, judge whether WEB server is locally cached with the loose-leaf, the first submodule is being judged not delaying locally
When having the loose-leaf, the loose-leaf is asked to corresponding application server, the first submodule is receiving application service
After the loose-leaf that device sends, in the WEB server local cache loose-leaf, and the work is pushed to the terminal device of user
The dynamic page;First submodule, can directly from the letter that it is cached when judging that WEB server local cache has the loose-leaf
The loose-leaf is obtained in breath, and the loose-leaf is pushed to user;User is based on the loose-leaf that its terminal device is received
Corresponding operation (such as clicking on " prize drawing " button in loose-leaf) is performed, during participating in the activity as participant, is produced
Application for loose-leaf is selected request, and this application is selected request and is sent to WEB server from the terminal device of user,
And this application is selected request by the second submodule in WEB server is sent to application server, so that application service
The application that the 3rd submodule in device receives the participant from participation activity in the range of the activity time is selected request.
By the treatment asked loose-leaf by WEB server in the first submodule share, and WEB server is when having response
Between very fast and throughput it is higher the features such as, therefore, embodiment of the present invention is it is possible to prevente effectively from the request of substantial amounts of loose-leaf is right
The pressure of application server, is conducive to improving the reliability and security of application server.
Activity time scope in embodiment of the present invention is properly termed as activity and holds time or movable effective time etc.,
Such as when activity is for sweepstake, activity time scope can specially participate in the time range of prize drawing.The present invention is implemented
The activity time scope of mode generally includes one or more continuous time period, 8 points to late 6 of such as certain year morning in such a month, and on such a day
Point, 8 points of certain year morning in such a month, and on such a day is to 12 noon and 2 pm on the same day to late 6 points etc. for another example.The present invention does not limit work
The specific manifestation form of dynamic time range.
Activity time scope in embodiment of the present invention should be divided into according to allowing selection total quantity to be divided module 430
It is multiple time periods, therein to allow to choose total quantity and comform the total quantity of the participant selected in multi-player;One tool
The example of body, in the case where activity is for sweepstake, it is allowed to choose total quantity and be usually prize-winning total quantity;It is registration in activity
In the case of activity, it is allowed to choose total quantity and be usually registration total quantity;In the case where activity is for application activity, it is allowed to choose
Total quantity is usually the total quantity for being applied target.Division module 430 in embodiment of the present invention can be by activity time model
The quantity for enclosing the time period for marking off should be identical with selection total quantity is allowed, such as in the case where allowing to choose total quantity for A,
Activity time scope should be divided A time period by division module 430, and such embodiment of the present invention can be in a time period
Only select a participant.
Any one time period in embodiment of the present invention includes multiple timeslices, included by different time sections when
Between piece quantity it is generally identical, certainly, the quantity of the timeslice included by different time sections can also be differed.In addition, this hair
The duration of the different time piece in a time period in bright implementation method is usual and differs, and such as division module 430 can be with root
Each time period is respectively divided into multiple timeslices according to the timeslice partition strategy for determining each timeslice duration at random, that is,
Say, division module 430 during it will be divided into multiple timeslices the time period, can consider the duration of time period and
In the case of the quantity of the timeslice that the time period is included, produce random number, and will produce random number as timeslice when
Division to carry out timeslice to the time period long.
As an example, not existing the time between different time piece in any one time period in embodiment of the present invention
Coincidence phenomenon, and all timeslices in any time period are mutually linked to form the middle unremitting time period, i.e., one time
The duration sum of all timeslices in section is the duration of the time period.
Participant module 410 is chosen to be mainly used in determining that this application is selected current slot belonging to request also not
Participant is selected, and it is the n-th application received in the current time piece in current slot that this application is selected request
In the case of being selected request, according to current time piece it is corresponding be selected determine the probability whether using the participant as selecting
Participant.
As an example, filtering module 420 can receive request module 400 receive application be selected request after, it is right
Application is selected request carries out filtration treatment, causes activity unjust phenomenon occur due to the improper operation of user to filter
Application is selected request;Filtering module 420 is mainly used in being selected to sending this application according to predetermined participant's qualifying requirements
The participant of request is filtered, and the application that participant's transmission of participant's qualifying requirements is not met to filter is selected request.
Specifically, predetermined participant's qualifying requirements that filtering module 420 is used are generally included:The registration account of participant
Whether the number of times of the corresponding participation activity in family is reached bound in pre-determined number (such as whether reaching once), the login account of participant
User Identity it is whether identical with the User Identity bound in the login account of other participants and participant
Whether Terminal Equipment Identifier information reaches predetermined similarity with the similarity of the Terminal Equipment Identifier information of other participants.When
So, predetermined participant's qualifying requirements that filtering module 420 is used can also include above-mentioned any one or any two.
Whether filtering module 420 reaches predetermined time by using the number of times of the corresponding participation activity of login account of participant
Number is it is possible to prevente effectively from a user repeats the number of times of participation activity (as repeated prize drawing using its same login account
Number of times etc.) more than the phenomenon of pre-determined number.One specific example, in a sweepstake, if one user of regulation is only
Can prize drawing once, then filtering module 420 can receive request module 400 receive application be selected request after, from this application
The login account information of acquisition participant in request is selected, and judges whether the login account information belongs to and prestored
The login account information aggregate of prize drawing is participated in, if it is judged that belonging to the set, then filtering module 420 has determined the participant
Through participating in sweepstake, this application should be filtered and be selected request, if it is judged that be not belonging to the set, then filtering module 420
Determine that the participant also had neither part nor lot in sweepstake, this application should not be filtered and be selected request.
Filtering module 420 by using participant login account bound in User Identity whether with other participation
User Identity bound in the login account of person is identical can to a certain extent to avoid a user different using its
Login account repeats the number of times (such as repeating the number of times of prize drawing) of participation activity more than the phenomenon of pre-determined number.One specific
Example, in a sweepstake, if regulation one user can only draw a lottery once, filtering module 420 can receive
Request module 400 receive application be selected request after, from this application be selected request in obtain participant login account letter
Breath, and User Identity according to bound in the log-on message for prestoring determines the login account information is (as bound in
Mobile Directory Number or ID card No. etc.), then, filtering module 420 judges the user bound in the login account information
Whether identity belongs to the User Identity set bound in the login account information for having participated in prize drawing for prestoring, such as
Fruit is judged to belong to the set, then filtering module 420 determines that the participant was participated in using other login account information
Sweepstake, should filter this application and be selected request, if it is judged that being not belonging to the set, then filtering module 420 determines this
Participant also had neither part nor lot in sweepstake, should not filter this application and be selected request.
Filtering module 420 by using participant Terminal Equipment Identifier information whether the terminal device with other participants
The similarity of identification information reaches predetermined similarity can to a certain extent avoid a user from utilizing different terminal devices
The number of times (such as repeating the number of times of prize drawing) for repeating participation activity exceedes the phenomenon of pre-determined number.One specific example,
In a sweepstake, if one user of regulation can only draw a lottery once, filtering module 420 can receive request module
400 receive application be selected request after, from this application be selected request in obtain participant Terminal Equipment Identifier information (such as
Identification information of the softwares such as the identification information and/or browser of the hardware such as the network interface card in terminal device etc.), and the end that will be got
The identification information of end equipment is abstract is a multi-C vector, and then, filtering module 420 calculates the multi-C vector and prestores
The similarity of the corresponding multi-C vector of each user of prize drawing is participated in, if it is judged that calculate any one similarity for obtaining reaching
To predetermined similarity, then filtering module 420 determines that the user had been participating in sweepstake using other terminal devices, should filter
Except this application is selected request, if it is judged that calculating all similarities for obtaining is not up to predetermined similarity, then filter module
Block 420 determines that the user also had neither part nor lot in sweepstake, should not filter this application and be selected request.
As an example, for request is not selected by the application that filtering module 420 is filtered, choosing participant's module 410
Determining that the current slot that this application is selected belonging to request do not select participant also, and this application is selected request and is
N (N is default natural number) the individual application received in current time piece in current slot is selected the situation of request
Under, should be according to the corresponding determine the probability that is selected of current time piece whether using participant as the participant for selecting.Usual
In the case of, above-mentioned n-th application is selected request and can be selected request for first application;Certainly, above-mentioned n-th application quilt
Choosing request can also be for second application is selected request or the 3rd application is selected request etc..In division module 430
In the case of timeslice division being carried out using the timeslice partition strategy for determining each timeslice duration at random to each time period, due to
The duration of each time be it is random determine, therefore, any one moment in each time period is likely to turn into the
One time point for applying being selected request, so that the equipment of embodiment of the present invention can make the participant for selecting random
It is distributed in the corresponding moment of each time period.
As an example, it is selected for each timeslice in each time period is provided with to choose participant's module 410
Probability is taken, and for any one time period, the probability that is selected corresponding to the different time piece in the time period can be with
It is identical, it is also possible to differ.One specific example, choosing participant's module 410 can set one using above-mentioned formula (1)
Probability is selected corresponding to n-th timeslice in the individual time period, is specifically no longer described in detail herein.
Choose participant module 410 and select participant determining the current slot that application is selected belonging to request
In the case of, forbid participant as the participant for selecting;Choosing participant's module 410 can also determine application quilt
Choose the current slot belonging to request and do not select participant also, and above-mentioned application is selected request not in current slot
Current time piece in the case that the n-th application that receives is selected request, forbid participant as the ginseng for selecting
With person.
Update module 440 is mainly used in determining the participant as in the case of the participant for selecting, updates
Local cache allow choose volume residual;And synchronization module 450 is mainly used in local cache according to data synchronization strategy
Selection volume residual is allowed to be synchronized in the database of the configuration information for storing activity.
As an example, it is generally the case that allow selection volume residual (such as current residual prize quantity) to exist including current
Interior movable configuration information can be stored in database;Due to being required for data when selecting a participant every time
Current in storehouse allowing to choose volume residual and being updated, therefore, it is right in some hot moments (quarter at the beginning of such as drawing a lottery)
Database concentrate the substantial amounts of access easily to make database corruption, so that turn into the access of database to realize choosing participation
The bottleneck of person.Update module 440 allows selection volume residual (such as choosing the process of participant by being obtained from database
Update module 440 is obtained from database at the beginning allows to choose total quantity, and will allow to choose total quantity as current permission
Choose volume residual), and local cache, so, when follow-up selection participant module 410 selects participant, update module
440 can allow selection volume residual to be updated the current of local cache, and subsequent synchronisation module 450 can be according to default
Be synchronized to the selection volume residual that allows of local cache in database by data synchronization strategy, is such as tied in the predetermined quantity time period
Be synchronized to the selection volume residual that allows of application server local cache in corresponding database by Shu Hou, synchronization module 450
Allow to choose volume residual, to database concentrate the substantial amounts of access easily make database corruption so as to avoid hot moment
Phenomenon, and then improve the reliability and security of embodiment of the present invention.
Fig. 5 shows the block diagram for being suitable to the exemplary computer system/server 50 for realizing embodiment of the present invention.
The computer system/server 50 that Fig. 5 shows is only an example, to the function of the embodiment of the present invention and should not use scope
Bring any limitation.
As shown in figure 5, computer system/server 50 is showed in the form of universal computing device.Computer system/service
The component of device 50 can be included but is not limited to:One or more processor or processing unit 501, system storage 502, even
Connect the bus 503 of different system component (including system storage 502 and processing unit 501).
Bus 503 represents one or more in a few class bus structures, including memory bus or Memory Controller,
Peripheral bus, AGP, processor or the local bus using any bus structures in various bus structures.Lift
For example, these architectures include but is not limited to industry standard architecture (ISA) bus, MCA (MAC)
Bus, enhanced isa bus, VESA's (VESA) local bus and periphery component interconnection (PCI) bus.
Computer system/server 50 typically comprises various computing systems computer-readable recording medium.These media can be appointed
What usable medium that can be accessed by computer system/server 50, including volatibility and non-volatile media, it is moveable and
Immovable medium.
System storage 502 can include the computer system readable media of form of volatile memory, for example, deposit at random
Access to memory (RAM) 5021 and/or cache memory 5022.Computer system/server 50 may further include it
It is removable/nonremovable, volatile/non-volatile computer system storage medium.Only as an example, ROM5023 can be with
For reading and writing immovable, non-volatile magnetic media (not shown in Fig. 5, commonly referred to " hard disk drive ").Although not existing
Being shown in Fig. 5, can provided for the disc driver to may move non-volatile magnetic disk (such as " floppy disk ") read-write, and it is right
The CD drive of removable anonvolatile optical disk (such as CD-ROM, DVD-ROM or other optical mediums) read-write.In these feelings
Under condition, each driver can be connected by one or more data media interfaces with bus 503.In system storage 502
At least one program product can be included, the program product has one group of (for example, at least one) program module, these program moulds
Block is configured to perform the function of various embodiments of the present invention.
With one group of program/utility 5025 of (at least one) program module 5024, can store in such as system
In memory 502, and such program module 5024 include but is not limited to operating system, one or more application program, its
Its program module and routine data, potentially include the realization of network environment in each or certain combination in these examples.
Program module 5024 generally performs the function and/or method in embodiment described in the invention.
Computer system/server 50 can also be with one or more (such as keyboard, sensing equipment, displays of external equipment 504
Device etc.) communication, also the equipment communication that is interacted with the computer system/server 50 can be enabled a user to one or more,
And/or with any equipment that the computer system/server 50 is communicated with one or more of the other computing device
(such as network interface card, modem etc.) communicates.This communication can be carried out by input/output (I/O) interface 505.Also,
Computer system/server 50 can also by network adapter 506 and one or more network (such as LAN (LAN),
Wide area network (WAN) and/or public network, such as internet) communication.As shown in figure 5, network adapter 506 by bus 503 with
Other modules (such as processing unit 501) communication of computer system/server 50.Although it should be understood that not shown in Fig. 5,
Computer system/server 50 can be combined and use other hardware and/or software module, including but not limited to:Microcode, equipment
Driver, redundant processing unit, external disk drive array, RAID system, tape drive and data backup storage system
Deng.
Processing unit 501 by running program of the storage in system storage 502 so that perform various function application with
And data processing, for example perform and realize for choosing each step in the method for participant, for example, performing following step:Connect
The application of the participant from participation activity being received in the range of the activity time is selected request;Asked determining that application is selected
Current slot belonging to asking does not select participant also, and it is the current time piece in current slot that application is selected request
In the case that the n-th application for inside receiving is selected request, whether determine the probability is selected according to current time piece is corresponding
Using the participant as the participant for selecting;Wherein, activity time scope according to allow choose total quantity be divided into multiple
Time period, the quantity of time period is identical with selection total quantity is allowed, and a time period includes multiple timeslices, and N is to preset certainly
So count;Other steps that the further particular content and embodiment of the present invention of above steps are included refer to above-mentioned
Description in implementation method, is not repeated.
One specific example of computer-readable recording medium of embodiment of the present invention is as shown in Figure 6.
The computer-readable recording medium of Fig. 6 is CD 600, is stored thereon with computer program (i.e. program product), should
Program is when executed by, and can realize described each step in above method implementation method, for example, performing following step:
The application for receiving the participant from participation activity in the range of the activity time is selected request;Determining that application is selected
Current slot belonging to request does not select participant also, and it is the current time in current slot that application is selected request
In the case that the n-th application received in piece is selected request, it is according to the corresponding determine the probability that is selected of current time piece
It is no using the participant as the participant for selecting;Wherein, activity time scope is more according to allowing selection total quantity to be divided into
Individual time period, the quantity of time period is identical with selection total quantity is allowed, and a time period includes multiple timeslices, and N is default
Natural number;Other steps that the further particular content and embodiment of the present invention of above steps are included are referred to
The description in implementation method is stated, is not repeated.
Although it should be noted that being referred to some modules or son of the equipment for choosing participant in above-detailed
Module, but this division is only not enforceable.In fact, according to the embodiment of the present invention, above-described two
Or more module feature and function can be embodied in a module.Conversely, the feature of an above-described module and
Function can be further divided into being embodied by multiple modules.
Additionally, although the operation of the inventive method is described with particular order in the accompanying drawings, this do not require that or
Hint must be performed according to the particular order these operation, or the operation having to carry out shown in whole could realize it is desired
As a result.Additionally or alternatively, it is convenient to omit some steps, multiple steps are merged into a step to perform, and/or by one
Step is decomposed into execution of multiple steps.
Although describing spirit and principles of the present invention by reference to some specific embodiments, it should be appreciated that, this
Invention is not limited to disclosed specific embodiment, and the division to each side does not mean that the feature in these aspects can not yet
Combination is this to divide merely to the convenience of statement to be benefited.It is contemplated that cover appended claims spirit and
In the range of included various modifications and equivalent arrangements.
Claims (10)
1. a kind of method, including:
The application for receiving the participant from participation activity in the range of the activity time is selected request;
Determining that the current slot that the application is selected belonging to request do not select participant also, and the application is selected
Take in the case that request is selected request for the n-th application received in the current time piece in current slot, according to working as
Whether preceding timeslice is corresponding is selected determine the probability using the participant as the participant for selecting;
Wherein, the activity time scope is divided into multiple time periods according to allowing to choose total quantity, the quantity of time period with
Described to allow to choose total quantity identical, and time period includes multiple timeslices, and the N is default natural number.
2. the method for claim 1, participant from participation activity of the reception in the range of the activity time
The step of application is selected request includes:
The loose-leaf from user according to receiving asks to push the loose-leaf to the user, and receives from institute
The application for the loose-leaf for stating user is selected request.
3. method as claimed in claim 2, the loose-leaf from user that the basis is received is asked to the user
The loose-leaf is pushed, and receives the application for the loose-leaf from the user and be selected request step bag
Include:
The loose-leaf request from user is received in WEB server, and in the case that local cache has the loose-leaf,
The loose-leaf is pushed to the user;
WEB server receive the application for the loose-leaf from user be selected request in the case of, by institute
State application and be selected request and be transferred to the movable corresponding application server, the application server is received in activity
Between in the range of the application of the participant from participation activity be selected request.
4. the method for claim 1, methods described also includes:
The transmission participant for applying being selected request is filtered according to predetermined participant's qualifying requirements, to filter
Except the application that the participant for not meeting participant's qualifying requirements sends is selected request.
5. method as claimed in claim 4, participant's qualifying requirements include following at least one:The registration account of participant
Whether the corresponding number of times for participating in the activity in family reaches the user identity mark bound in the login account of pre-determined number, participant
Know whether Terminal Equipment Identifier identical with the User Identity bound in the login account of other participants and participant
Whether information reaches predetermined similarity with the similarity of the Terminal Equipment Identifier information of other participants.
6. the method as described in claim 1 or 2 or 3 or 4 or 5, methods described also includes:
Each time period is respectively divided into multiple timeslices by the timeslice partition strategy according to each timeslice duration is determined at random;
Wherein, in the absence of all times in the time of coincidence, and any time period between the different time piece in any time period
Piece is mutually linked to form the middle unremitting time period.
7. the method as described in claim 1 or 2 or 3 or 4 or 5, the n-th application is selected request to be included:First Shen
Please be selected request.
8. the method as described in claim 1 or 2 or 3 or 4 or 5, for any time period, n-th time in the time period
The corresponding probability that is selected of piece includes:1/((m-n)+1;
Wherein, m is the total quantity of the timeslice that the time period is included, and n is more than or equal to the 1 and no more than integer of m.
9. the method as described in claim 1 or 2 or 3 or 4 or 5, methods described also includes:
Determine using the participant as in the case of the participant for selecting, update local cache allow choose remaining
Quantity.
10. a kind of equipment, including:
Request module is received, the application for receiving the participant from participation activity in the range of the activity time is selected please
Ask;
Choose participant's module, for determine it is described application be selected request belonging to current slot do not select ginseng also
It is selected and asks to be selected for the n-th application received in the current time piece in current slot with person, and the application
In the case of request, according to the corresponding determine the probability that is selected of current time piece whether using the participant as the ginseng for selecting
With person;
Wherein, the activity time scope is divided into multiple time periods according to allowing to choose total quantity, and the time period quantity
Allow selection total quantity identical with described, the N is default natural number.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710051662.5A CN106846058A (en) | 2017-01-19 | 2017-01-19 | Method and apparatus for choosing participant |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710051662.5A CN106846058A (en) | 2017-01-19 | 2017-01-19 | Method and apparatus for choosing participant |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106846058A true CN106846058A (en) | 2017-06-13 |
Family
ID=59120992
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710051662.5A Pending CN106846058A (en) | 2017-01-19 | 2017-01-19 | Method and apparatus for choosing participant |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106846058A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107968953A (en) * | 2017-11-28 | 2018-04-27 | 北京潘达互娱科技有限公司 | Anti- cheating user method and device |
CN108022126A (en) * | 2017-11-29 | 2018-05-11 | 广东欧珀移动通信有限公司 | Definite method, apparatus, server and the storage medium of prize drawing qualification |
CN108833505A (en) * | 2018-05-31 | 2018-11-16 | 康键信息技术(深圳)有限公司 | Data request processing method, server and storage medium |
CN108881954A (en) * | 2018-06-29 | 2018-11-23 | 深圳市酷开网络科技有限公司 | A kind of dynamic configuration runs movable method, storage medium and server |
CN108905211A (en) * | 2018-06-27 | 2018-11-30 | 深圳开黑科技有限公司 | It is a kind of to accompany the user matching method and equipment for playing platform based on game |
CN110120115A (en) * | 2019-05-21 | 2019-08-13 | 秒针信息技术有限公司 | A kind of method, apparatus of prize drawing, equipment and medium |
WO2020108136A1 (en) * | 2018-11-29 | 2020-06-04 | 阿里巴巴集团控股有限公司 | Service processing method and apparatus |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1065616A2 (en) * | 1999-06-29 | 2001-01-03 | Xerox Corporation | System and method for using noisy collaborative filtering to rank and present items |
CN106296276A (en) * | 2016-08-03 | 2017-01-04 | 西安诺瓦电子科技有限公司 | Electronics red packet distributing method |
CN106296272A (en) * | 2016-07-29 | 2017-01-04 | 五八同城信息技术有限公司 | A kind of drawing outcomes rendering method and device |
-
2017
- 2017-01-19 CN CN201710051662.5A patent/CN106846058A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1065616A2 (en) * | 1999-06-29 | 2001-01-03 | Xerox Corporation | System and method for using noisy collaborative filtering to rank and present items |
CN106296272A (en) * | 2016-07-29 | 2017-01-04 | 五八同城信息技术有限公司 | A kind of drawing outcomes rendering method and device |
CN106296276A (en) * | 2016-08-03 | 2017-01-04 | 西安诺瓦电子科技有限公司 | Electronics red packet distributing method |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107968953A (en) * | 2017-11-28 | 2018-04-27 | 北京潘达互娱科技有限公司 | Anti- cheating user method and device |
CN108022126A (en) * | 2017-11-29 | 2018-05-11 | 广东欧珀移动通信有限公司 | Definite method, apparatus, server and the storage medium of prize drawing qualification |
CN108833505A (en) * | 2018-05-31 | 2018-11-16 | 康键信息技术(深圳)有限公司 | Data request processing method, server and storage medium |
CN108905211A (en) * | 2018-06-27 | 2018-11-30 | 深圳开黑科技有限公司 | It is a kind of to accompany the user matching method and equipment for playing platform based on game |
CN108881954A (en) * | 2018-06-29 | 2018-11-23 | 深圳市酷开网络科技有限公司 | A kind of dynamic configuration runs movable method, storage medium and server |
WO2020108136A1 (en) * | 2018-11-29 | 2020-06-04 | 阿里巴巴集团控股有限公司 | Service processing method and apparatus |
US11461503B2 (en) * | 2018-11-29 | 2022-10-04 | Advanced New Technologies Co., Ltd. | Service processing method and apparatus |
CN110120115A (en) * | 2019-05-21 | 2019-08-13 | 秒针信息技术有限公司 | A kind of method, apparatus of prize drawing, equipment and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106846058A (en) | Method and apparatus for choosing participant | |
Bloom et al. | The demographic dividend: A new perspective on the economic consequences of population change | |
CN109598598A (en) | Transaction processing method and device, electronic equipment based on block chain | |
US8171114B1 (en) | System using specific geographic area multi-level caches for caching application data | |
CN107644354A (en) | A kind of bonusing method, server, system and computer-readable recording medium | |
CN109584063A (en) | Transaction processing method and device, electronic equipment based on block chain | |
CN109598504A (en) | Transaction processing method and device, electronic equipment based on block chain | |
CN107979525A (en) | A kind of red packet distribution method, equipment and medium | |
CN106446067A (en) | Transaction data acquisition method and apparatus | |
WO2019034164A1 (en) | Competition event voting system and method | |
CN106875322A (en) | A kind of network lottery drawing method and device | |
CN110060052A (en) | Interactive approach and device, electronic equipment based on electronic certificate | |
CN107920110A (en) | A kind of method and device of data sharing | |
CN110084604A (en) | Transaction processing method and device, electronic equipment based on block chain | |
CN107248132A (en) | A kind of processing method of guessing game, device, system and terminal | |
CN109146437A (en) | Processing method, client and the storage medium of virtual resource | |
CN107276970A (en) | One kind is unbinded, binding method and device | |
CN112286693B (en) | Refined current limiting processing method and device for emergency purchasing activities in high-concurrency scene | |
CN105871938B (en) | A kind of virtual resource configuration system, method and device | |
CN108171493A (en) | The data processing method and device of block chain | |
CN105468699B (en) | Duplicate removal data statistical approach and equipment | |
CN111009068B (en) | Lottery drawing number generation method and system based on block chain | |
CN109587244A (en) | Cloud data in mobile phone processing method, device, computer readable storage medium and electronic equipment | |
CN111249746B (en) | Method and device for acquiring virtual prop, storage medium and electronic device | |
CN106462867A (en) | Delivery system and delivery method |
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 | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20191105 Address after: 310012 G building, 10 floor, A building, Paradise Software Park, 3 West Road, Hangzhou, Xihu District, Zhejiang Applicant after: Alibaba (China) Co., Ltd. Address before: Hangzhou City, Zhejiang province 310051 Binjiang District River Street No. 1786 Jianghan Road Longsheng Building Room 803 Applicant before: Netease Koala (Hangzhou) Technology Co., Ltd. |
|
TA01 | Transfer of patent application right | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170613 |
|
RJ01 | Rejection of invention patent application after publication |