CN104217488B - Data cell acquisition methods, device and server - Google Patents
Data cell acquisition methods, device and server Download PDFInfo
- Publication number
- CN104217488B CN104217488B CN201410466235.XA CN201410466235A CN104217488B CN 104217488 B CN104217488 B CN 104217488B CN 201410466235 A CN201410466235 A CN 201410466235A CN 104217488 B CN104217488 B CN 104217488B
- Authority
- CN
- China
- Prior art keywords
- data cell
- value
- amount threshold
- user
- request
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 35
- 230000000052 comparative effect Effects 0.000 claims abstract description 11
- 238000000605 extraction Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 5
- 230000000694 effects Effects 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 230000008901 benefit Effects 0.000 description 4
- 230000004044 response Effects 0.000 description 4
- 239000000284 extract Substances 0.000 description 3
- 238000004590 computer program Methods 0.000 description 2
- 230000001737 promoting effect Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 238000001035 drying Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The present invention relates to a kind of data cell acquisition methods, device and server, main purpose is, is controlled the acquisition time of data cell.Data cell acquisition methods includes: receive the request of the acquisition data cell that user sends;The all requests received are carried out statistics and obtains request sum;Request sum is compared with the amount threshold preset;According to the comparative result of request sum with amount threshold, obtain data cell and be sent to user.
Description
Technical field
The present invention relates to electronic technology field, in particular to a kind of data cell acquisition methods, dress
Put and server.
Background technology
At present, different user is asked to use same processing mode by a lot of websites.
Such as, a ticket sheet is supplied to user by certain website, in order to ensure the justice between user, generally
Webpage provides an option, after user clicks on tabs, sends request, websites response to Website server
Request extracts admission ticket by the random manner that probability is identical, and whether each user can be drawn into admission ticket
Chance is entirely justice.
This has resulted in a problem: if the user of first extraction admission ticket is extracted into admission ticket, then can cause
Other users below cannot extract admission ticket, then the activity of this extraction admission ticket cannot be carried out terminating.By
This is visible, and each user uses the mode of same probability assignments admission ticket often and incorrect, and admission ticket distributes
Time can not get control, at any time it may happen that, especially user extracts admission ticket prematurely, and this results in
The loss of other users a large amount of.
Summary of the invention
In view of the above problems, it is proposed that the present invention is to provide one to overcome the problems referred to above or at least partly
Ground solves data cell acquisition methods, device and the server of the problems referred to above.
According to one aspect of the present invention, it is provided that a kind of data cell acquisition methods, comprising: receive
The request of the acquisition data cell that user sends;The all requests received are carried out statistics and always obtains request
Number;Described request sum is compared with the amount threshold preset;Total and described according to described request
The comparative result of amount threshold, obtains described data cell and is sent to described user.
According to another aspect of the present invention, it is provided that a kind of data cell acquisition device, comprising: please
Seek receiver module, for receiving the request of the acquisition data cell that user sends;Request statistical module, uses
Request sum is obtained in all requests received being carried out statistics;Comparison module, for by described request
Sum compares with the amount threshold preset;Data cell sending module, if according to described request sum
With the comparative result of described amount threshold, obtain described data cell and be sent to described user.
According to another aspect of the present invention, it is provided that a kind of server, comprising: aforesaid data sheet
Unit's acquisition device.
Data cell acquisition methods, device and the server of the present invention, at least has the advantage that
In technical scheme in the present invention, the quantity of the request that counting user sends, and based on statistics
Quantity carries out the response of different modes to the request of user, and beneficially the owner of data cell is by data
Unit is supplied to its desired user.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the skill of the present invention
Art means, and can being practiced according to the content of description, and in order to allow, the present invention's is above and other
Objects, features and advantages can become apparent, below especially exemplified by the detailed description of the invention of the present invention.
Accompanying drawing explanation
By reading the detailed description of hereafter preferred implementation, various other advantage and benefit for this
Field those of ordinary skill will be clear from understanding.Accompanying drawing is only used for illustrating the purpose of preferred implementation,
And it is not considered as limitation of the present invention.And in whole accompanying drawing, be denoted by the same reference numerals
Identical parts.In the accompanying drawings:
Fig. 1 shows the flow chart of data cell acquisition methods according to an embodiment of the invention;
Fig. 2 shows the partial process view of data cell acquisition methods according to an embodiment of the invention;
Fig. 3 shows the block diagram of data cell acquisition device according to an embodiment of the invention;
Fig. 4 shows the block diagram of data cell acquisition device according to an embodiment of the invention;
Fig. 5 shows the block diagram of data cell acquisition device according to an embodiment of the invention;
Fig. 6 shows the block diagram of data cell acquisition device according to an embodiment of the invention;
Fig. 7 shows the block diagram of server according to an embodiment of the invention.
Detailed description of the invention
It is more fully described the exemplary embodiment of the disclosure below with reference to accompanying drawings.Although accompanying drawing shows
The exemplary embodiment of the disclosure, it being understood, however, that may be realized in various forms the disclosure and not
Should be limited by embodiments set forth here.On the contrary, it is provided that these embodiments are able to more thoroughly
Understand the disclosure, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
As it is shown in figure 1, one embodiment of the present of invention provides a kind of data cell acquisition methods, its
Including:
Step 110, receives the request of the acquisition data cell that user sends.In the present embodiment, to data
The type of unit does not limits, and it includes but not limited to merchandise news, incentive message etc.;User is permissible
Request is sent by the terminal unit such as mobile phone, computer.
The all requests received are carried out statistics and obtain request sum by step 120.
Step 130, compares request sum with the amount threshold preset.In this example, it is assumed that
Amount threshold is 1000.
Step 140, according to the comparative result of request sum with amount threshold, obtains data cell and is sent to
User.The present embodiment includes but not limited to scheme in detail below:
1, after request sum meets or exceeds amount threshold, data cell is obtained for user.Such as, number
Amount threshold value takes 1000, then start from the 1000th user or backward, obtain merchandise news or award for user
Information, then at least attracted 1000 users, favorably when merchandise news or incentive message are supplied to user
In the loss preventing user.
2, before request sum is not up to or exceedes amount threshold, for being used for obtaining data cell.Such as,
Quantitative value takes 1000, then obtain merchandise news or incentive message for 999 or 1000 initial users, i.e.
The user more early sending request is more likely to be obtained commodity or award, and this is conducive to quickly attracting user.
3, by amount threshold, the user sending request is divided, and be relatively morning, the later user sending request
Obtain data cell in different ways.Such as, amount threshold takes 1000, the most initial 999 or 1000
Everyone provides two lottery tickets individual user, and then everyone provides a lottery ticket to user afterwards.Obtain data sheet
N-ary form n the present embodiment does not limits.
In the technical scheme of the present embodiment, the quantity of the request that counting user sends, and based on statistics
Quantity carries out the response of different modes to the request of user, and beneficially the owner of data cell is by data
Unit is supplied to its desired user.
As in figure 2 it is shown, one embodiment of the present of invention additionally provides a kind of data cell acquisition methods,
Step 140 includes:
Step 141, if request sum arrives or exceedes amount threshold, then for user distribute one first random
Value, the first random value obtains from the first numerical intervals.In this example, it is assumed that the first numerical intervals
For 1-100.
If the first random value is preset value, then performs step 140, obtain data cell and be sent to user.
In this example, it is assumed that preset value is 10, in conjunction with the example above, then the first random value is preset value
Probability is 1/100, say, that start from 1000 users or backward, each user successfully obtains commodity
The probability of information, incentive message etc. is 1/100.
In the technical scheme of the present embodiment so that request sum arrives or after exceeding predetermined threshold is
User obtains data cell not necessarily success, but the most certain probability is successful, and this causes successfully obtaining
The time of data cell prolongs after may continue to, and this is conducive to attracting more user, also improve user it
Between fairness.
One embodiment of the present of invention additionally provides a kind of data cell acquisition methods, step 140, also wraps
Include:
Step 142, if request sum does not arrives or exceedes amount threshold, for user distribute one second random
Value, the second random value obtains from second value interval.In this example, it is assumed that second value is interval
For 1-1000.
If the second random value is preset value, then performs step 140, obtain data cell and be sent to user;
Wherein, the probability that numerical value is preset value that second value is interval is default less than the numerical value of the first numerical intervals
The probability of value.In this embodiment, in conjunction with the example above, then the second random value be the probability of preset value be 1/1000,
999 or 1000 the most initial users, each user successfully obtains merchandise news, incentive message
Deng probability be 1/1000.
In the technical scheme of the present embodiment so that request sum arrives or exceedes the use before predetermined threshold
Family is also possible to successfully obtain data cell, but the possibility that the probability that obtains data cell is the least, bigger
Being that the user after request sum arrives or exceedes predetermined threshold successfully obtains data cell, this is the most right
Data cell obtains the control of time;Simultaneously as before request sum arrives or exceedes predetermined threshold
User is also possible to successfully obtain data cell, so the fairness that improve between user.
One embodiment of the present of invention additionally provides a kind of data cell acquisition methods, also includes:
After successfully obtaining a data cell, the request sum added up is zeroed out, or is quantity
Threshold value increases a preset value.Such as, certain website has carried out extracting the activity of lottery ticket, and is arranged on user
Prize drawing number of requests arrive after 1000, start to provide the user lottery ticket by certain probability, work as statistics
Prize drawing request prize winner occurs when reaching 1200, now according to the technical scheme of the present embodiment, can
To carry out following two operation:
1, the request sum of statistics is reset, 1200 will be revised as 0.Now request sum 0 is less than again
Amount threshold 1000, needs again to make the number of requests of reception more than 1000 through after a while, triggers lottery ticket
Extraction.
2, amount threshold 1000 increasing a preset value, this preset value size does not limits so that after increase
Amount threshold more than the request sum of current statistic, especially, this preset value can be with quantity threshold
It is worth identical, is i.e. similarly 1000.Now request sum 1200 is less than amount threshold 2000, need again through
A period of time makes the number of requests of reception more than 2000, triggers the extraction of lottery ticket.
In the technical scheme of the present embodiment, whether the request sum of statistics is reset, or increase number
Amount threshold value, all can cause request sum to be less than amount threshold, thus be automatically obtained data cell acquisition
Loop control: according to new request sum or amount threshold, again process the request of user, determines and is
No obtain data cell for user.
One embodiment of the present of invention additionally provides a kind of data cell acquisition methods, wherein, in step
Before 130, also include:
According to the default success rate obtaining data cell, number of computations threshold value every time.Such as, certain website
Carry out extracting the activity of lottery ticket, and after the prize drawing number of requests arriving amt threshold value of user is set, opened
Beginning by the success rate of 1/1000 is that user draws a lottery;Now amount threshold can value in the following manner:
1, the denominator 1000 directly taking success rate is amount threshold.
2, the product between denominator 1000 and a coefficient of success rate is taken as this amount threshold;Wherein,
The not requirement of the size of coefficient, such as, it is 200 that coefficient takes 0.2 amount threshold, and coefficient takes 0.5 number
Amount threshold value is 500.
3, the denominator 1000 of success rate being substituted into other kinds of formula f (x), taking f (1000) is quantity threshold
Value.
In the technical scheme of the present embodiment, arrange suitably based on the success rate obtaining data cell every time
Amount threshold, it is to avoid amount threshold is too high causes too many user to be difficult to obtain data cell, or avoids number
Amount threshold value too low causing quickly has user to get data cell.
One embodiment of the present of invention additionally provides a kind of data cell acquisition methods, step 130 it
Before, also include:
Add up the quantity of retrievable all data cells, and according to the quantity of all data cells, arrange
Amount threshold.In the present embodiment, such as, when data cell sum is more, then can be by amount threshold
Arrange is less so that data cell can distribute to user in time;Otherwise amount threshold arranged is relatively big,
Data cell is avoided to distribute too early.
In the technical scheme of the present embodiment, suitable number is set based on retrievable data cell sum
Amount threshold value, this experience being conducive to promoting user.
As it is shown on figure 3, one embodiment of the present of invention additionally provides a kind of data cell acquisition device,
Comprising:
Request receiver module 310, for receiving the request of the acquisition data cell that user sends.In this enforcement
In example, not limiting the type of data cell, it includes but not limited to merchandise news, incentive message
Deng;User can send request by the terminal unit such as mobile phone, computer.
Request statistical module 320, obtains request sum for all requests received carry out statistics.
Comparison module 330, for comparing request sum with the amount threshold preset.At the present embodiment
In, it is assumed that amount threshold is 1000.
Data cell sending module 340, if according to the comparative result of request sum with amount threshold, obtaining number
According to unit and be sent to user.The present embodiment includes but not limited to scheme in detail below:
1, after request sum meets or exceeds amount threshold, data cell is obtained for user.Such as, number
Amount threshold value takes 1000, then start from the 1000th user or backward, obtain merchandise news or award for user
Information, then at least attracted 1000 users, favorably when merchandise news or incentive message are supplied to user
In the loss preventing user.
2, before request sum is not up to or exceedes amount threshold, for being used for obtaining data cell.Such as,
Quantitative value takes 1000, then obtain merchandise news or incentive message for 999 or 1000 initial users, i.e.
The user more early sending request is more likely to be obtained commodity or award, and this is conducive to quickly attracting user.
3, by amount threshold, the user sending request is divided, and be relatively morning, the later user sending request
Obtain data cell in different ways.Such as, amount threshold takes 1000, the most initial 999 or 1000
Everyone provides two lottery tickets individual user, and then everyone provides a lottery ticket to user afterwards.Obtain data sheet
N-ary form n the present embodiment does not limits.
In the technical scheme of the present embodiment, the quantity of the request that counting user sends, and based on statistics
Quantity carries out the response of different modes to the request of user, and beneficially the owner of data cell is by data
Unit is supplied to its desired user.
As shown in Figure 4, one embodiment of the present of invention additionally provides a kind of data cell acquisition device,
Wherein, also include:
First random value distribution module 350, if request sum meets or exceeds amount threshold, then divides for user
Joining first random value, the first random value obtains from the first numerical intervals.In the present embodiment, false
If the first numerical intervals is 1-100.
If the first random value is preset value, data cell sends 340 modules and obtains data cell and be sent to
User.In this example, it is assumed that preset value is 10, in conjunction with the example above, then the first random value is pre-
If the probability of value is 1/100, say, that start from 1000 users or backward, each user successfully obtains
The probability taking merchandise news, incentive message etc. is 1/100.
In the technical scheme of the present embodiment so that request sum arrives or after exceeding predetermined threshold is
User obtains data cell not necessarily success, but the most certain probability is successful, and this causes successfully obtaining
The time of data cell prolongs after may continue to, and this is conducive to attracting more user, also improve user it
Between fairness.
One embodiment of the present of invention additionally provides a kind of data cell acquisition device, also includes:
Second random value distribution module 360, if request sum does not arrives or exceedes amount threshold, divides for user
Joining second random value, the second random value obtains from second value interval.In the present embodiment, false
If second value interval is 1-1000.
If the second random value is preset value, then data cell sending module 340 obtains data cell and sends
To user;Wherein, the probability that numerical value is preset value that second value is interval is less than the number of the first numerical intervals
Value is the probability of preset value.In this embodiment, in conjunction with the example above, then the second random value is preset value
Probability is 1/1000, say, that 999 or 1000 initial users, each user successfully obtains commodity
The probability of information, incentive message etc. is 1/1000.
In the technical scheme of the present embodiment so that request sum arrives or exceedes the use before predetermined threshold
Family is also possible to successfully obtain data cell, but the possibility that the probability that obtains data cell is the least, bigger
Being that the user after request sum arrives or exceedes predetermined threshold successfully obtains data cell, this is the most right
Data cell obtains the control of time;Simultaneously as before request sum arrives or exceedes predetermined threshold
User is also possible to successfully obtain data cell, so the fairness that improve between user.
As it is shown in figure 5, one embodiment of the present of invention additionally provides a kind of data cell acquisition device,
Also include:
Loop control module 370, for after successfully obtaining a data cell, the request to having added up is total
Number is zeroed out, or increases a preset value for amount threshold.Such as, certain website has carried out extraction lottery ticket
Activity, and the prize drawing number of requests being arranged on user arrives after 1000, start by certain probability be
User provides lottery ticket, prize winner occurs when the prize drawing request of statistics reaches 1200, now according to this
The technical scheme of embodiment, can carry out following two operation:
1, the request sum of statistics is reset, 1200 will be revised as 0.Now request sum 0 is less than again
Amount threshold 1000, needs again to make the number of requests of reception more than 1000 through after a while, triggers lottery ticket
Extraction.
2, amount threshold 1000 increasing a preset value, this preset value size does not limits so that after increase
Amount threshold more than the request sum of current statistic, especially, this preset value can be with quantity threshold
It is worth identical, is i.e. similarly 1000.Now request sum 1200 is less than amount threshold 2000, need again through
A period of time makes the number of requests of reception more than 2000, triggers the extraction of lottery ticket.
In the technical scheme of the present embodiment, whether the request sum of statistics is reset, or increase number
Amount threshold value, all can cause request sum to be less than amount threshold, thus be automatically obtained data cell acquisition
Loop control: according to new request sum or amount threshold, again process the request of user, determines and is
No obtain data cell for user.
As shown in Figure 6, one embodiment of the present of invention additionally provides a kind of data cell acquisition device,
Also include:
First amount threshold arranges module 380, for the success rate according to the data cell of acquisition every time preset,
Number of computations threshold value.Such as, certain website has carried out extracting the activity of lottery ticket, and the prize drawing arranging user please
After seeking quantity arriving amt threshold value, start to be that user draws a lottery by the success rate of 1/1000;Now quantity threshold
Value can value in the following manner:
1, the denominator 1000 directly taking success rate is amount threshold.
2, the product between denominator 1000 and a coefficient of success rate is taken as this amount threshold;Wherein,
The not requirement of the size of coefficient, such as, it is 200 that coefficient takes 0.2 amount threshold, and coefficient takes 0.5 number
Amount threshold value is 500.
3, the denominator 1000 of success rate being substituted into other kinds of formula f (x), taking f (1000) is quantity threshold
Value.
In the technical scheme of the present embodiment, arrange suitably based on the success rate obtaining data cell every time
Amount threshold, it is to avoid amount threshold is too high causes too many user to be difficult to obtain data cell, or avoids number
Amount threshold value too low causing quickly has user to get data cell.
One embodiment of the present of invention additionally provides a kind of data cell acquisition device, also includes:
Data cell statistical module 390, for adding up the quantity of retrievable all data cells;
Second amount threshold arranges module 3100, for the quantity according to all data cells, arranges quantity
Threshold value.In the present embodiment, such as, when data cell sum is more, then amount threshold can be arranged
Less so that data cell can distribute to user in time;Otherwise amount threshold arranged is relatively big, keeps away
Exempt from data cell to distribute too early.
In the technical scheme of the present embodiment, suitable number is set based on retrievable data cell sum
Amount threshold value, this experience being conducive to promoting user.
As it is shown in fig. 7, an alternative embodiment of the invention additionally provides a kind of server, comprising: root
Data cell acquisition device 710 according to previous embodiment.
According to aforesaid embodiment, the acquisition time of data cell can be controlled, i.e. exist by server
Number of requests just carries out the acquisition of data cell, the most at least acquisition request data sheet after arriving predetermined threshold
The quantity of the user of unit is at least up to predetermined threshold, thus the situation avoiding customer loss occurs.
Algorithm and display be not solid with any certain computer, virtual system or miscellaneous equipment provided herein
Have relevant.Various general-purpose systems can also be used together with based on teaching in this.As described above,
Construct the structure required by this kind of system to be apparent from.Additionally, the present invention is also not for any specific
Programming language.It is understood that, it is possible to use various programming languages realize the content of invention described herein,
And the description done language-specific above is the preferred forms in order to disclose the present invention.
In description mentioned herein, illustrate a large amount of detail.It is to be appreciated, however, that this
Bright embodiment can be put into practice in the case of not having these details.In some instances, the most in detail
Known method, structure and technology are carefully shown, in order to do not obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure help to understand in each inventive aspect one or
Multiple, above in the description of the exemplary embodiment of the present invention, each feature of the present invention sometimes by
It is grouped into together in single embodiment, figure or descriptions thereof.But, should be by the disclosure
Method is construed to reflect an intention that i.e. the present invention for required protection requires that ratio is in each claim
The more feature of feature being expressly recited.More precisely, as the following claims reflect
Like that, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows tool
Claims of body embodiment are thus expressly incorporated in this detailed description of the invention, and the most each right is wanted
Ask itself all as the independent embodiment of the present invention.
Those skilled in the art are appreciated that and can carry out the module in the equipment in embodiment certainly
Change adaptively and they are arranged in one or more equipment different from this embodiment.Permissible
Module in embodiment or unit or assembly are combined into a module or unit or assembly, and in addition may be used
To put them into multiple submodule or subelement or sub-component.Except such feature and/or process or
Outside at least some in unit excludes each other, can use any combination that (this specification is included companion
With claim, summary and accompanying drawing) disclosed in all features and so disclosed any method or
All processes of person's equipment or unit are combined.Unless expressly stated otherwise, this specification (includes companion
With claim, summary and accompanying drawing) disclosed in each feature can by provide identical, equivalent or phase
Replace like the alternative features of purpose.
Although additionally, it will be appreciated by those of skill in the art that embodiments more described herein include other
Some feature included in embodiment rather than further feature, but the combination of the feature of different embodiment
Mean to be within the scope of the present invention and formed different embodiments.Such as, in following right
In claim, one of arbitrarily can mode using in any combination of embodiment required for protection.
The all parts embodiment of the present invention can realize with hardware, or with at one or more processor
The software module of upper operation realizes, or realizes with combinations thereof.Those skilled in the art should manage
Solve, microprocessor or digital signal processor (DSP) can be used in practice to realize according to this
The some or all functions of the some or all parts in the data cell acquisition device of bright embodiment.
The present invention be also implemented as part or all the equipment for performing method as described herein or
Person's device program (such as, computer program and computer program).Such realize the present invention's
Program can store on a computer-readable medium, or can be to have the form of one or more signal.
Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or with
Any other form provides.
The present invention will be described rather than limits the invention to it should be noted above-described embodiment, and
And those skilled in the art can design replacement enforcement without departing from the scope of the appended claims
Example.In the claims, any reference marks that should not will be located between bracket is configured to claim
Restriction.Word " comprises " and does not excludes the presence of the element or step not arranged in the claims.It is positioned at unit
Word "a" or "an" before part does not excludes the presence of multiple such element.The present invention can borrow
Help include the hardware of some different elements and realize by means of properly programmed computer.At row
If having lifted in the unit claim of equipment for drying, several in these devices can be by same firmly
Part item specifically embodies.Word first, second and third use do not indicate that any order.Can
It is title by these word explanations.
A1, a kind of data cell acquisition methods, comprising:
Receive the request of the acquisition data cell that user sends;
The all requests received are carried out statistics and obtains request sum;
Described request sum is compared with the amount threshold preset;
Comparative result with described amount threshold total according to described request, obtains described data cell concurrent
Give described user.
A2, according to the method described in A1, wherein, total with described amount threshold according to described request
Comparative result, obtains described data cell and is sent to described user, including:
If described request sum arrives or exceedes described amount threshold, then distribute one first for described user
Random value, described first random value obtains from the first numerical intervals;
If described first random value is preset value, then performs the described data cell of described acquisition and be sent to institute
State user.
A3, according to the method described in A2, wherein, total with described amount threshold according to described request
Comparative result, obtains described data cell and is sent to described user, also including:
If described request sum does not arrives or exceedes described amount threshold, distribute one second for described user
Random value, described second random value obtains from second value interval;
If described second random value is described preset value, then performs the described data cell of described acquisition and send
To described user;Wherein, the probability that numerical value is described preset value that described second value is interval is less than described
The numerical value of the first numerical intervals is the probability of described preset value.
A4, according to the method described in A1, wherein, also include:
After successfully obtaining a data cell, the described request sum added up is zeroed out, or is
Described amount threshold increases a preset value.
A5, according to the method described in A1, wherein, described request sum is entered with default amount threshold
Before row compares, also include:
According to the default success rate obtaining described data cell every time, calculate described amount threshold.
A6, according to the method according to any one of A1 to A5, wherein, by described request sum with pre-
If amount threshold compare before, also include:
Add up the quantity of retrievable all data cells;
According to the quantity of described all data cells, described amount threshold is set.
A7, a kind of data cell acquisition device, comprising:
Request receiver module, for receiving the request of the acquisition data cell that user sends;
Request statistical module, obtains request sum for all requests received carry out statistics;
Comparison module, for comparing described request sum with the amount threshold preset;
Data cell sending module, and if comparative result of described amount threshold total according to described request,
Obtain described data cell and be sent to described user.
A8, according to the device described in A7, wherein, also include:
First random value distribution module, if described request sum meets or exceeds described amount threshold, be then
Described user distributes first random value, and described first random value obtains from the first numerical intervals;
If described first random value is preset value, described data cell sending module obtains described data cell
And it is sent to described user.
A9, according to the device described in A8, wherein, also include:
Second random value distribution module, if described request sum does not arrives or exceedes described amount threshold, for
Described user distributes second random value, and described second random value obtains from second value interval;
If described second random value is described preset value, the most described data cell sending module obtains described number
According to unit and be sent to described user;Wherein, the numerical value that described second value is interval is described preset value
Probability is less than the probability that numerical value is described preset value of described first numerical intervals.
A10, according to the device described in A7, wherein, also include:
Loop control module, for after successfully obtaining a data cell, to the described request added up
Sum is zeroed out, or is that described amount threshold increases a preset value.
A11, according to the device described in A7, wherein, also include:
First amount threshold arranges module, for according to the success obtaining described data cell preset every time
Rate, calculates described amount threshold.
A12, according to the device according to any one of A7 to A11, wherein, also include:
Data cell statistical module, for adding up the quantity of retrievable all data cells;
Second amount threshold arranges module, for the quantity according to described all data cells, arranges described
Amount threshold.
A13, a kind of server, comprising:
According to the data cell acquisition device according to any one of A7 to A12.
Claims (9)
1. a data cell acquisition methods, comprising:
Receive the request of the acquisition data cell that user sends;
The all requests received are carried out statistics and obtains request sum;
Described request sum is compared with the amount threshold preset;
Comparative result with described amount threshold total according to described request, obtains described data cell concurrent
Give described user, including:
If described request sum arrives or exceedes described amount threshold, then distribute one first for described user
Random value, described first random value obtains from the first numerical intervals;
If described first random value is preset value, then performs the described data cell of described acquisition and be sent to institute
State user;
If described request sum does not arrives or exceedes described amount threshold, distribute one second for described user
Random value, described second random value obtains from second value interval;
If described second random value is described preset value, then performs the described data cell of described acquisition and send
To described user;Wherein, the probability that numerical value is described preset value that described second value is interval is less than described
The numerical value of the first numerical intervals is the probability of described preset value.
Method the most according to claim 1, wherein, also includes:
After successfully obtaining a data cell, the described request sum added up is zeroed out, or is
Described amount threshold increases a preset value.
Method the most according to claim 1, wherein, by described request sum and the quantity threshold preset
Before value compares, also include:
According to the default success rate obtaining described data cell every time, calculate described amount threshold.
Method the most according to claim 1, wherein, by described request sum and the quantity preset
Before threshold value compares, also include:
Add up the quantity of retrievable all data cells;
According to the quantity of described all data cells, described amount threshold is set.
5. a data cell acquisition device, comprising:
Request receiver module, for receiving the request of the acquisition data cell that user sends;
Request statistical module, obtains request sum for all requests received carry out statistics;
Comparison module, for comparing described request sum with the amount threshold preset;
Data cell sending module, and if comparative result of described amount threshold total according to described request,
Obtain described data cell and be sent to described user;
First random value distribution module, if described request sum meets or exceeds described amount threshold, be then
Described user distributes first random value, and described first random value obtains from the first numerical intervals;
If described first random value is preset value, described data cell sending module obtains described data cell
And it is sent to described user;
Second random value distribution module, if described request sum does not arrives or exceedes described amount threshold, for
Described user distributes second random value, and described second random value obtains from second value interval;
If described second random value is described preset value, the most described data cell sending module obtains described number
According to unit and be sent to described user;Wherein, the numerical value that described second value is interval is described preset value
Probability is less than the probability that numerical value is described preset value of described first numerical intervals.
Device the most according to claim 5, wherein, also includes:
Loop control module, for after successfully obtaining a data cell, to the described request added up
Sum is zeroed out, or is that described amount threshold increases a preset value.
Device the most according to claim 5, wherein, also includes:
First amount threshold arranges module, for according to the success obtaining described data cell preset every time
Rate, calculates described amount threshold.
Device the most according to claim 5, wherein, also includes:
Data cell statistical module, for adding up the quantity of retrievable all data cells;
Second amount threshold arranges module, for the quantity according to described all data cells, arranges described
Amount threshold.
9. a server, comprising:
According to the data cell acquisition device according to any one of claim 5 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410466235.XA CN104217488B (en) | 2014-09-12 | 2014-09-12 | Data cell acquisition methods, device and server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410466235.XA CN104217488B (en) | 2014-09-12 | 2014-09-12 | Data cell acquisition methods, device and server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104217488A CN104217488A (en) | 2014-12-17 |
CN104217488B true CN104217488B (en) | 2016-09-28 |
Family
ID=52098927
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410466235.XA Expired - Fee Related CN104217488B (en) | 2014-09-12 | 2014-09-12 | Data cell acquisition methods, device and server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104217488B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105321249A (en) * | 2015-10-14 | 2016-02-10 | 贵阳朗玛信息技术股份有限公司 | Prize drawing method and device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001222674A (en) * | 2000-02-10 | 2001-08-17 | Entertainment Plus:Kk | Ticket issuing device, ticket acquiring device, and system and method for issuing ticket |
JP2002150088A (en) * | 2000-11-14 | 2002-05-24 | Oki Electric Ind Co Ltd | Lottery type ticket reservation method |
US6406019B1 (en) * | 1999-12-23 | 2002-06-18 | Jeffrey S. Melcher | Method of determining a lottery winner |
CN103198422A (en) * | 2012-01-06 | 2013-07-10 | 深圳市腾讯计算机系统有限公司 | Mobile group purchase method and mobile group purchase platform |
CN103312704A (en) * | 2013-06-03 | 2013-09-18 | 苏州阔地网络科技有限公司 | Method and system for realizing intelligent customer service |
CN103745387A (en) * | 2014-01-27 | 2014-04-23 | 胡泽军 | Train ticket network sale method |
-
2014
- 2014-09-12 CN CN201410466235.XA patent/CN104217488B/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6406019B1 (en) * | 1999-12-23 | 2002-06-18 | Jeffrey S. Melcher | Method of determining a lottery winner |
JP2001222674A (en) * | 2000-02-10 | 2001-08-17 | Entertainment Plus:Kk | Ticket issuing device, ticket acquiring device, and system and method for issuing ticket |
JP2002150088A (en) * | 2000-11-14 | 2002-05-24 | Oki Electric Ind Co Ltd | Lottery type ticket reservation method |
CN103198422A (en) * | 2012-01-06 | 2013-07-10 | 深圳市腾讯计算机系统有限公司 | Mobile group purchase method and mobile group purchase platform |
CN103312704A (en) * | 2013-06-03 | 2013-09-18 | 苏州阔地网络科技有限公司 | Method and system for realizing intelligent customer service |
CN103745387A (en) * | 2014-01-27 | 2014-04-23 | 胡泽军 | Train ticket network sale method |
Also Published As
Publication number | Publication date |
---|---|
CN104217488A (en) | 2014-12-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108616444B (en) | A kind of PUSH message processing method, computer readable storage medium and terminal device | |
CN109035013B (en) | Apparatus and method for detecting abnormal financial transaction and computer readable storage medium | |
CN107679718B (en) | List allocation method, apparatus and computer-readable storage medium | |
US20180322209A1 (en) | Method, apparatus, computing device, and machine-readable storage medium for recommending activity information | |
WO2019218431A1 (en) | Message pushing method, storage medium, server and apparatus | |
KR102111223B1 (en) | Push information roughly select sorting method, device and computer storage media | |
CN106899857B (en) | Server load adjusting method, device and server | |
CN108108384B (en) | Data storage method and device | |
CN108694657A (en) | Client's identification device, method and computer readable storage medium | |
CN103812961A (en) | Method and device for recognizing Internet protocol (IP) addresses of designated class and defending method and system | |
CN103530796B (en) | The active period detection method of application program and active period detection system | |
CN104317920A (en) | Information pushing method and information pushing system based on intelligent user demand matching | |
CN109873813A (en) | Text input abnormality monitoring method, device, computer equipment and storage medium | |
CN109741142A (en) | Order allocation method, Order splitting device, readable storage medium storing program for executing and electronic equipment | |
CN103685154A (en) | Internet-based probability product data processing method and server | |
CN112035717A (en) | Information processing method, device, equipment and storage medium | |
CN106649323B (en) | Method and device for recommending keywords | |
CN104217488B (en) | Data cell acquisition methods, device and server | |
CN108833505B (en) | Data request processing method, server and storage medium | |
CN104298548B (en) | A kind of information processing method and electronic equipment | |
CN108986428A (en) | The fire alarm method and Related product in warehouse | |
JP2017049730A (en) | Notification program, notification method and notification system | |
CN107257358A (en) | A kind of information-pushing method, terminal and server | |
CN106339926A (en) | Object processing method and device | |
CN108898482B (en) | Multi-product signing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20160928 Termination date: 20210912 |