CN104217488A - Data unit acquisition method and device and server - Google Patents
Data unit acquisition method and device and server Download PDFInfo
- Publication number
- CN104217488A CN104217488A CN201410466235.XA CN201410466235A CN104217488A CN 104217488 A CN104217488 A CN 104217488A CN 201410466235 A CN201410466235 A CN 201410466235A CN 104217488 A CN104217488 A CN 104217488A
- Authority
- CN
- China
- Prior art keywords
- data cell
- user
- amount threshold
- value
- 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.)
- Granted
Links
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention relates to a data unit acquisition method, a data unit acquisition device and a server, which mainly aim at controlling the data unit acquisition time. The data unit acquisition method comprises the following steps: receiving requests for acquiring the data unit transmitted by a user; counting all the received requests, thereby obtaining the total request number; comparing the total request number with a preset quantity threshold; and acquiring the data unit and transmitting the data unit to the user according to a comparison result of the total request number and the quantity threshold.
Description
Technical field
The present invention relates to electronic technology field, in particular to a kind of data cell acquisition methods, device and server.
Background technology
At present, the request of a lot of website to different user adopts same processing mode.
Such as, one ticket sheet is supplied to user by certain website, in order to ensure the justice between user, an option is provided usually on webpage, request is sent to Website server after user clicks on tabs, websites response request extracts admission ticket by the random mode that probability is identical, and the chance whether each user can be drawn into admission ticket is fair completely.
This just causes a problem: if first user extracting admission ticket is extracted into admission ticket, then other users below can be caused to extract admission ticket, then the activity of this extraction admission ticket cannot be carried out terminating.As can be seen here, adopt the mode of same probability assignments admission ticket often and incorrect to each user, the time that admission ticket distributes can not get controlling, and may occur at any time, especially user extracts admission ticket prematurely, and this just causes the loss of other users a large amount of.
Summary of the invention
In view of the above problems, the present invention is proposed to provide a kind of the data cell acquisition methods, device and the server that overcome the problems referred to above or solve the problem at least in part.
According to one aspect of the present invention, provide a kind of data cell acquisition methods, it comprises: the request receiving the acquisition data cell that user sends; Statistics is carried out to all requests received and obtains request sum; Described request sum is compared with the amount threshold preset; According to described request sum and the comparative result of described amount threshold, obtain described data cell and send to described user.
According to another aspect of the present invention, provide a kind of data cell acquisition device, it comprises: request receiving module, for receiving the request of the acquisition data cell that user sends; Request statistical module, obtains request sum for carrying out statistics to all requests received; Comparison module, for comparing described request sum with the amount threshold preset; Data cell sending module, if according to described request sum and the comparative result of described amount threshold, obtain described data cell and send to described user.
According to another aspect of the present invention, provide a kind of server, it comprises: aforesaid data cell acquisition device.
Data cell acquisition methods of the present invention, device and server, at least have the following advantages:
In technical scheme in the present invention, the quantity of request that counting user sends, and the quantity of Corpus--based Method carries out the response of different modes to the request of user, data cell is supplied to the user desired by it by the owner being conducive to data cell.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of instructions, and can become apparent, below especially exemplified by the specific embodiment of the present invention to allow above and other objects of the present invention, feature and advantage.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing only for illustrating the object of preferred implementation, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.In the accompanying drawings:
Fig. 1 shows the process flow diagram 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.
Embodiment
Below with reference to accompanying drawings exemplary embodiment of the present disclosure is described in more detail.Although show exemplary embodiment of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the disclosure can be understood, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
As shown in Figure 1, provide a kind of data cell acquisition methods in one embodiment of the present of invention, it comprises:
Step 110, receives the request of the acquisition data cell that user sends.In the present embodiment, do not limit the type of data cell, it includes but not limited to merchandise news, incentive message etc.; User can be sent request by the terminal device such as mobile phone, computing machine.
Step 120, carries out statistics to all requests received and obtains request sum.
Step 130, compares request sum with the amount threshold preset.In the present embodiment, suppose that amount threshold is 1000.
Step 140, according to the comparative result of request sum with amount threshold, obtains data cell and sends to user.The present embodiment includes but not limited to following concrete scheme:
1, after request sum meets or exceeds amount threshold, for user obtains data cell.Such as, amount threshold gets 1000, then start from the 1000th user or backward, for user obtains merchandise news or incentive message, then at least attracted 1000 users when merchandise news or incentive message are supplied to user, be conducive to the loss preventing user.
2, before sum do not meet or exceed amount threshold in request, for for obtaining data cell.Such as, quantitative value gets 1000, then obtain merchandise news or incentive message for 999 or 1000 initial users, and the user namely more early sent request more may obtain commodity or award, and this is conducive to attracting user fast.
3, by amount threshold, the user sent request is divided, and for comparatively morning, the more late user sent request obtain data cell in different ways.Such as, amount threshold gets 1000, then everyone provides two lottery tickets 999 or 1000 initial users, and then everyone provides a lottery ticket to user afterwards.Obtain in data unit form the present embodiment and do not limit.
In the technical scheme of the present embodiment, the quantity of request that counting user sends, and the quantity of Corpus--based Method carries out the response of different modes to the request of user, data cell is supplied to the user desired by it by the owner being conducive to data cell.
As shown in Figure 2, additionally provide a kind of data cell acquisition methods in one embodiment of the present of invention, step 140 comprises:
Step 141, if request sum arrives or exceedes amount threshold, then for user distributes first random value, the first random value obtains from the first numerical intervals.In the present embodiment, suppose that the first numerical intervals is 1-100.
If the first random value is preset value, then perform step 140, obtain data cell and send to user.In the present embodiment, suppose that preset value is 10, in conjunction with above-mentioned citing, then the first random value is the probability of preset value is 1/100, that is starts from 1000 users or backward, the probability that each user successfully obtains merchandise news, incentive message etc. is 1/100.
In the technical scheme of the present embodiment, the sum that makes to call request arrive or after exceeding predetermined threshold for user obtain data cell and not necessarily successfully, but only have the success of certain probability, this prolongs after causing the time successfully obtaining data cell to continue, this is conducive to attracting more user, also improves the fairness between user.
Additionally provide a kind of data cell acquisition methods in one embodiment of the present of invention, step 140, also comprises:
Step 142, if request sum does not arrive or exceedes amount threshold, for user distributes second random value, the second random value obtains from second value interval.In the present embodiment, suppose that second value interval is for 1-1000.
If the second random value is preset value, then perform step 140, obtain data cell and send to user; Wherein, the numerical value in second value interval is the numerical value that the probability of preset value is less than the first numerical intervals is the probability of preset value.In this enforcement, in conjunction with above-mentioned citing, then the second random value is the probability of preset value is 1/1000,999 or 1000 that is initial users, and the probability that each user successfully obtains merchandise news, incentive message etc. is 1/1000.
In the technical scheme of the present embodiment, user before making to call request sum arrival or exceed predetermined threshold also likely successfully obtains data cell, but the probability obtaining data cell is very little, larger may be, and request sum arrives or user after exceeding predetermined threshold successfully obtains data cell, and this is conducive to the control to data cell acquisition time; Meanwhile, owing to asking sum to arrive or user before exceeding predetermined threshold also likely successfully obtains data cell, so improve the fairness between user.
Additionally provide a kind of data cell acquisition methods in one embodiment of the present of invention, also comprise:
After successfully obtaining a data cell, the request sum added up is reset, or increase a preset value for amount threshold.Such as, the activity extracting lottery ticket has been carried out in certain website, and the prize drawing number of requests being arranged on user arrives after 1000, start by certain probability as user provides lottery ticket, prize winner is there is when the prize drawing request added up reaches 1200, now according to the technical scheme of the present embodiment, following two kinds of operations can be carried out:
1, the request of statistics sum is reset, be revised as 0 by 1200.Now request sum 0 is less than again amount threshold 1000, needs again, through making the number of requests of reception more than 1000 after a while, to trigger the extraction of lottery ticket.
2, amount threshold 1000 is increased a preset value, this preset value size is not limit, and make the amount threshold after increasing be greater than the request sum of current statistic, especially, this preset value can be identical with amount threshold, is namely similarly 1000.Now request sum 1200 is less than amount threshold 2000, needs again, through making the number of requests of reception more than 2000 after a while, to trigger the extraction of lottery ticket.
In the technical scheme of the present embodiment, no matter be reset the request sum of statistics, still amount threshold is increased, capital causes request sum to be less than amount threshold, thus the cycle control automatically realized data cell acquisition: according to new request sum or amount threshold, again process the request of user, determine whether as user obtains data cell.
Additionally provide a kind of data cell acquisition methods in one embodiment of the present of invention, wherein, before step 130, also comprise:
According to the success ratio of each acquisition data cell preset, number of computations threshold value.Such as, the activity extracting lottery ticket has been carried out in certain website, and after arranging the prize drawing number of requests arriving amt threshold value of user, starting by the success ratio of 1/1000 is user's prize drawing; Now amount threshold can value in the following manner:
1, the denominator 1000 directly getting success ratio is amount threshold.
2, product between the denominator 1000 of success ratio and a coefficient is got as this amount threshold; Wherein, the size not requirement of coefficient, such as, it is 200 that coefficient gets 0.2 amount threshold, and it is 500 that coefficient gets 0.5 amount threshold.
3, the denominator 1000 of success ratio is substituted into formula f (x) of other types, getting f (1000) is amount threshold.
In the technical scheme of the present embodiment, based on each success ratio obtaining data cell, suitable amount threshold is set, avoid that amount threshold is too high causes too many user to be difficult to obtain data cell, or avoid amount threshold too low causing to have user to get data cell very soon.
Additionally provide a kind of data cell acquisition methods in one embodiment of the present of invention, before step 130, also comprise:
Add up the quantity of retrievable all data cells, and according to the quantity of all data cells, magnitude setting threshold value.In the present embodiment, such as, when data cell sum is more, then what amount threshold can be arranged is less, makes data cell can distribute to user in time; Otherwise what amount threshold arranged is comparatively large, avoids data cell to distribute too early.
In the technical scheme of the present embodiment, arrange suitable amount threshold based on retrievable data cell sum, this is conducive to the experience promoting user.
As shown in Figure 3, additionally provide a kind of data cell acquisition device in one embodiment of the present of invention, it comprises:
Request receiving module 310, for receiving the request of the acquisition data cell that user sends.In the present embodiment, do not limit the type of data cell, it includes but not limited to merchandise news, incentive message etc.; User can be sent request by the terminal device such as mobile phone, computing machine.
Request statistical module 320, obtains request sum for carrying out statistics to all requests received.
Comparison module 330, for comparing request sum with the amount threshold preset.In the present embodiment, suppose that amount threshold is 1000.
Data cell sending module 340, if according to the comparative result of request sum with amount threshold, obtain data cell and send to user.The present embodiment includes but not limited to following concrete scheme:
1, after request sum meets or exceeds amount threshold, for user obtains data cell.Such as, amount threshold gets 1000, then start from the 1000th user or backward, for user obtains merchandise news or incentive message, then at least attracted 1000 users when merchandise news or incentive message are supplied to user, be conducive to the loss preventing user.
2, before sum do not meet or exceed amount threshold in request, for for obtaining data cell.Such as, quantitative value gets 1000, then obtain merchandise news or incentive message for 999 or 1000 initial users, and the user namely more early sent request more may obtain commodity or award, and this is conducive to attracting user fast.
3, by amount threshold, the user sent request is divided, and for comparatively morning, the more late user sent request obtain data cell in different ways.Such as, amount threshold gets 1000, then everyone provides two lottery tickets 999 or 1000 initial users, and then everyone provides a lottery ticket to user afterwards.Obtain in data unit form the present embodiment and do not limit.
In the technical scheme of the present embodiment, the quantity of request that counting user sends, and the quantity of Corpus--based Method carries out the response of different modes to the request of user, data cell is supplied to the user desired by it by the owner being conducive to data cell.
As shown in Figure 4, additionally provide a kind of data cell acquisition device in one embodiment of the present of invention, wherein, also comprise:
First random value distribution module 350, if request sum meets or exceeds amount threshold, then for user distributes first random value, the first random value obtains from the first numerical intervals.In the present embodiment, suppose that 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 send to user.In the present embodiment, suppose that preset value is 10, in conjunction with above-mentioned citing, then the first random value is the probability of preset value is 1/100, that is starts from 1000 users or backward, the probability that each user successfully obtains merchandise news, incentive message etc. is 1/100.
In the technical scheme of the present embodiment, the sum that makes to call request arrive or after exceeding predetermined threshold for user obtain data cell and not necessarily successfully, but only have the success of certain probability, this prolongs after causing the time successfully obtaining data cell to continue, this is conducive to attracting more user, also improves the fairness between user.
Additionally provide a kind of data cell acquisition device in one embodiment of the present of invention, also comprise:
Second random value distribution module 360, if request sum does not arrive or exceedes amount threshold, for user distributes second random value, the second random value obtains from second value interval.In the present embodiment, suppose that second value interval is for 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 numerical value in second value interval is the numerical value that the probability of preset value is less than the first numerical intervals is the probability of preset value.In this enforcement, in conjunction with above-mentioned citing, then the second random value is the probability of preset value is 1/1000,999 or 1000 that is initial users, and the probability that each user successfully obtains merchandise news, incentive message etc. is 1/1000.
In the technical scheme of the present embodiment, user before making to call request sum arrival or exceed predetermined threshold also likely successfully obtains data cell, but the probability obtaining data cell is very little, larger may be, and request sum arrives or user after exceeding predetermined threshold successfully obtains data cell, and this is conducive to the control to data cell acquisition time; Meanwhile, owing to asking sum to arrive or user before exceeding predetermined threshold also likely successfully obtains data cell, so improve the fairness between user.
As shown in Figure 5, additionally provide a kind of data cell acquisition device in one embodiment of the present of invention, also comprise:
Cycle control module 370, for after successfully obtaining a data cell, resets the request sum added up, or increases a preset value for amount threshold.Such as, the activity extracting lottery ticket has been carried out in certain website, and the prize drawing number of requests being arranged on user arrives after 1000, start by certain probability as user provides lottery ticket, prize winner is there is when the prize drawing request added up reaches 1200, now according to the technical scheme of the present embodiment, following two kinds of operations can be carried out:
1, the request of statistics sum is reset, be revised as 0 by 1200.Now request sum 0 is less than again amount threshold 1000, needs again, through making the number of requests of reception more than 1000 after a while, to trigger the extraction of lottery ticket.
2, amount threshold 1000 is increased a preset value, this preset value size is not limit, and make the amount threshold after increasing be greater than the request sum of current statistic, especially, this preset value can be identical with amount threshold, is namely similarly 1000.Now request sum 1200 is less than amount threshold 2000, needs again, through making the number of requests of reception more than 2000 after a while, to trigger the extraction of lottery ticket.
In the technical scheme of the present embodiment, no matter be reset the request sum of statistics, still amount threshold is increased, capital causes request sum to be less than amount threshold, thus the cycle control automatically realized data cell acquisition: according to new request sum or amount threshold, again process the request of user, determine whether as user obtains data cell.
As shown in Figure 6, additionally provide a kind of data cell acquisition device in one embodiment of the present of invention, also comprise:
First amount threshold arranges module 380, for the success ratio according to each acquisition data cell preset, and number of computations threshold value.Such as, the activity extracting lottery ticket has been carried out in certain website, and after arranging the prize drawing number of requests arriving amt threshold value of user, starting by the success ratio of 1/1000 is user's prize drawing; Now amount threshold can value in the following manner:
1, the denominator 1000 directly getting success ratio is amount threshold.
2, product between the denominator 1000 of success ratio and a coefficient is got as this amount threshold; Wherein, the size not requirement of coefficient, such as, it is 200 that coefficient gets 0.2 amount threshold, and it is 500 that coefficient gets 0.5 amount threshold.
3, the denominator 1000 of success ratio is substituted into formula f (x) of other types, getting f (1000) is amount threshold.
In the technical scheme of the present embodiment, based on each success ratio obtaining data cell, suitable amount threshold is set, avoid that amount threshold is too high causes too many user to be difficult to obtain data cell, or avoid amount threshold too low causing to have user to get data cell very soon.
Additionally provide a kind of data cell acquisition device in one embodiment of the present of invention, also comprise:
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, and magnitude setting threshold value.In the present embodiment, such as, when data cell sum is more, then what amount threshold can be arranged is less, makes data cell can distribute to user in time; Otherwise what amount threshold arranged is comparatively large, avoids data cell to distribute too early.
In the technical scheme of the present embodiment, arrange suitable amount threshold based on retrievable data cell sum, this is conducive to the experience promoting user.
As shown in Figure 7, an alternative embodiment of the invention additionally provides a kind of server, and it comprises: according to the data cell acquisition device 710 of previous embodiment.
According to aforesaid embodiment, server can control the acquisition time of data cell, namely after number of requests arrives predetermined threshold, just carry out the acquisition of data cell, now at least the quantity of the user of acquisition request data cell at least reaches predetermined threshold, thus the situation avoiding customer loss occurs.
Intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with display at this algorithm provided.Various general-purpose system also can with use based on together with this teaching.According to description above, the structure constructed required by this type systematic is apparent.In addition, the present invention is not also for any certain programmed language.It should be understood that and various programming language can be utilized to realize content of the present invention described here, and the description done language-specific is above to disclose preferred forms of the present invention.
In instructions provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand in each inventive aspect one or more, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can use with arbitrary array mode.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions that microprocessor or digital signal processor (DSP) can be used in practice to realize according to the some or all parts in the data cell acquisition device of the embodiment of the present invention.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and does not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the computing machine of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.
A1, a kind of data cell acquisition methods, it comprises:
Receive the request of the acquisition data cell that user sends;
Statistics is carried out to all requests received and obtains request sum;
Described request sum is compared with the amount threshold preset;
According to described request sum and the comparative result of described amount threshold, obtain described data cell and send to described user.
A2, method according to A1, wherein, according to described request sum and the comparative result of described amount threshold, obtain described data cell and send to described user, comprising:
If described request sum arrives or exceedes described amount threshold, then distribute first random value for described user, 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 send to described user.
A3, method according to A2, wherein, according to described request sum and the comparative result of described amount threshold, obtain described data cell and send to described user, also comprising:
If described request sum does not arrive or exceedes described amount threshold, for described user distributes second 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 of the numerical value in described second value interval to be the numerical value that the probability of described preset value is less than described first numerical intervals be described preset value.
A4, method according to A1, wherein, also comprise:
After successfully obtaining a data cell, the described request sum added up is reset, or increases a preset value for described amount threshold.
A5, method according to A1, wherein, before described request sum and the amount threshold preset being compared, also comprise:
According to the success ratio of the described data cell of each acquisition preset, calculate described amount threshold.
A6, method according to any one of A1 to A5, wherein, before being compared with the amount threshold preset by described request sum, also comprise:
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, it comprises:
Request receiving module, for receiving the request of the acquisition data cell that user sends;
Request statistical module, obtains request sum for carrying out statistics to all requests received;
Comparison module, for comparing described request sum with the amount threshold preset;
Data cell sending module, if according to described request sum and the comparative result of described amount threshold, obtain described data cell and send to described user.
A8, device according to A7, wherein, also comprise:
First random value distribution module, if described request sum meets or exceeds described amount threshold, then distributes first random value for described user, 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 sends to described user.
A9, device according to A8, wherein, also comprise:
Second random value distribution module, if described request sum does not arrive or exceedes described amount threshold, for described user distributes second random value, described second random value obtains from second value interval;
If described second random value is described preset value, then described data cell sending module obtains described data cell and sends to described user; Wherein, the probability of the numerical value in described second value interval to be the numerical value that the probability of described preset value is less than described first numerical intervals be described preset value.
A10, device according to A7, wherein, also comprise:
Cycle control module, for after successfully obtaining a data cell, resets the described request sum added up, or increases a preset value for described amount threshold.
A11, device according to A7, wherein, also comprise:
First amount threshold arranges module, for the success ratio according to the described data cell of each acquisition preset, calculates described amount threshold.
A12, device according to any one of A7 to A11, wherein, also comprise:
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, it comprises:
Data cell acquisition device according to any one of A7 to A12.
Claims (10)
1. a data cell acquisition methods, it comprises:
Receive the request of the acquisition data cell that user sends;
Statistics is carried out to all requests received and obtains request sum;
Described request sum is compared with the amount threshold preset;
According to described request sum and the comparative result of described amount threshold, obtain described data cell and send to described user.
2. method according to claim 1, wherein, according to described request sum and the comparative result of described amount threshold, obtains described data cell and sends to described user, comprising:
If described request sum arrives or exceedes described amount threshold, then distribute first random value for described user, 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 send to described user.
3. method according to claim 2, wherein, according to described request sum and the comparative result of described amount threshold, obtains described data cell and sends to described user, also comprising:
If described request sum does not arrive or exceedes described amount threshold, for described user distributes second 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 of the numerical value in described second value interval to be the numerical value that the probability of described preset value is less than described first numerical intervals be described preset value.
4. method according to claim 1, wherein, also comprises:
After successfully obtaining a data cell, the described request sum added up is reset, or increases a preset value for described amount threshold.
5. method according to any one of claim 1 to 4, wherein, before being compared with the amount threshold preset by described request sum, also comprises:
Add up the quantity of retrievable all data cells;
According to the quantity of described all data cells, described amount threshold is set.
6. a data cell acquisition device, it comprises:
Request receiving module, for receiving the request of the acquisition data cell that user sends;
Request statistical module, obtains request sum for carrying out statistics to all requests received;
Comparison module, for comparing described request sum with the amount threshold preset;
Data cell sending module, if according to described request sum and the comparative result of described amount threshold, obtain described data cell and send to described user.
7. device according to claim 6, wherein, also comprises:
First random value distribution module, if described request sum meets or exceeds described amount threshold, then distributes first random value for described user, 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 sends to described user.
8. device according to claim 7, wherein, also comprises:
Second random value distribution module, if described request sum does not arrive or exceedes described amount threshold, for described user distributes second random value, described second random value obtains from second value interval;
If described second random value is described preset value, then described data cell sending module obtains described data cell and sends to described user; Wherein, the probability of the numerical value in described second value interval to be the numerical value that the probability of described preset value is less than described first numerical intervals be described preset value.
9. the device according to any one of claim 6 to 8, wherein, also comprises:
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.
10. a server, it comprises:
Data cell acquisition device according to any one of claim 6 to 9.
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 true CN104217488A (en) | 2014-12-17 |
CN104217488B 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) |
Cited By (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 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105321249A (en) * | 2015-10-14 | 2016-02-10 | 贵阳朗玛信息技术股份有限公司 | Prize drawing method and device |
Also Published As
Publication number | Publication date |
---|---|
CN104217488B (en) | 2016-09-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109246229B (en) | Method and device for distributing resource acquisition request | |
CN108616444B (en) | A kind of PUSH message processing method, computer readable storage medium and terminal device | |
CN107819870A (en) | Increment pulling data method, apparatus, storage medium, terminal device and server | |
CN104065565A (en) | Information pushing method, server, client-side device and system | |
CN105138693A (en) | Method and device for having access to databases | |
CN101261716A (en) | Method and device for identifying mapping relation of advertisement and its distribution site | |
CN106649638B (en) | Big data acquisition method | |
CN111464427A (en) | Method, device, equipment and storage medium for sending message | |
CN103714289A (en) | Method and device for determining mobile application antivirus results | |
CN104468399A (en) | Data transmission method and device and server | |
CN108833505B (en) | Data request processing method, server and storage medium | |
CN108111591B (en) | Method and device for pushing message and computer readable storage medium | |
CN109784947A (en) | Worksheet processing method, equipment, storage medium and device are rescued after sale | |
CN109656592A (en) | Card management method, apparatus, terminal and computer readable storage medium | |
CN104217488A (en) | Data unit acquisition method and device and server | |
CN105763616A (en) | Resource-downloading method and device | |
CN106339926A (en) | Object processing method and device | |
CN108632054B (en) | Information transmission quantity prediction method and device | |
CN110557324B (en) | Unread IM message processing method and device | |
CN103679509A (en) | Advertisement putting device for mobile Internet | |
CN112686694A (en) | Data pushing method, system and related equipment | |
CN111815339B (en) | Marketing information pushing method and device | |
CN103577218B (en) | The method and system that a kind of pair of program is configured | |
CN106506558A (en) | The method of interacting message, apparatus and system | |
CN110420458A (en) | Game request processing method and processing 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 |