CN104462977A - Data processing method and system - Google Patents
Data processing method and system Download PDFInfo
- Publication number
- CN104462977A CN104462977A CN201410811762.XA CN201410811762A CN104462977A CN 104462977 A CN104462977 A CN 104462977A CN 201410811762 A CN201410811762 A CN 201410811762A CN 104462977 A CN104462977 A CN 104462977A
- Authority
- CN
- China
- Prior art keywords
- user
- panic buying
- panic
- request
- surplus
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/50—Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
- G06F21/55—Detecting local intrusion or implementing counter-measures
- G06F21/56—Computer malware detection or handling, e.g. anti-virus arrangements
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/50—Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
- G06F21/55—Detecting local intrusion or implementing counter-measures
- G06F21/56—Computer malware detection or handling, e.g. anti-virus arrangements
- G06F21/566—Dynamic detection, i.e. detection performed at run-time, e.g. emulation, suspicious activities
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0207—Discounts or incentives, e.g. coupons or rebates
- G06Q30/0212—Chance discounts or incentives
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2221/00—Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F2221/03—Indexing scheme relating to G06F21/50, monitoring users, programs or devices to maintain the integrity of platforms
- G06F2221/031—Protect user input by software means
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Business, Economics & Management (AREA)
- Virology (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Finance (AREA)
- Strategic Management (AREA)
- Development Economics (AREA)
- Accounting & Taxation (AREA)
- Game Theory and Decision Science (AREA)
- General Business, Economics & Management (AREA)
- Entrepreneurship & Innovation (AREA)
- Marketing (AREA)
- Economics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention discloses a data processing method and system. The data processing method comprises the steps of conducting filtering, wherein a panic purchasing request of a user is received, the level information of the user is obtained, the remaining number of panic purchasing targets distributed according to the level of the user is determined, under the condition that the remaining number is zero, the panic purchasing request is rejected, under the condition that the remaining number is not zero, screening is conducted on the panic purchasing request of the user according to a preset screening probability, if the panic purchasing request of the user passes screening, the following random drawing step is executed, and if the panic purchasing request of the user does not pass screening, a following queuing step is executed; conducting queuing, wherein the inquiry request, in a queue, of the user is received, whether the panic purchasing request of the user meets a delaying condition, under the condition that the delaying condition is met, whether the remaining number of the panic purchasing targets corresponding to the level of the user is zero or not is judged, and under the condition that the remaining number is not zero, the random drawing step is executed; conducting random drawing, according to a preset drawing probability, selection is conducted on the panic purchasing request of the user, and if the panic purchasing request is selected, it is determined that panic purchasing succeeds. The data processing method and system can reduce the probability of success of malicious users.
Description
Technical field
The application relates to network data processing technique, particularly relates to a kind of data processing method and system.
Background technology
At present, along with popularizing of network, get up based on the e-commerce system of smart machine (as computing machine, smart mobile phone, panel computer etc.) and communication network and electronic logistic system fast development, carry out shopping online and sell also more and more becoming a kind of trend by internet.E-commerce system is mainly used for carrying out man-machine interaction with user, and the instruction accepting user generates corresponding service request (such as order is exactly a kind of service request), corresponding commodity target information is carried out to the information handling system of data processing.
Along with the fast development of ecommerce, competition between e-commerce system each side is also further fierce, various types of panic buying activity has become a kind of conventional promotion method, by selecting to make concessions in buyer lower than the commodity of the market price, using the viscosity as increase old user, one of means simultaneously attracting new user to add.
Go on the razzle-dazzle with price lower than market price or the factor such as commodity are rarer, more than concern attracting domestic consumer, a lot of malicious user adopts machine software to participate in panic buying activity simultaneously, gets commodity price markup switch selling.The panic buying speed of domestic consumer is difficult to reach software speed, and therefore interest concessions originally and the activity of buyer, not only really do not allow user receive more tangible benefits, also likely bring sense of defeat to user.
In prior art, in order to stop that malicious user uses the mode such as software to participate in panic buying activity, mainly at present to verify in the mode such as identifying code, authorization identifying.
Wherein, existing verification code technology scheme mainly comprises: in the process of process panic buying request (panic buying request is also a kind of service request in a kind of e-commerce system), add the link of identifying code verification, user's input validation code, server verification identifying code, verification correctly continues flow process below, verifies and unsuccessfully then re-enters identifying code.
Existing authorization identifying technical scheme mainly comprises: be generally that user application need rush to purchase qualification before panic buying, after panic buying activity starts, user participates in panic buying, whether server verified users has qualification or judges according to user gradation, verification succeeds continues flow process below, verifies and unsuccessfully then can not participate in panic buying.
But there is following defect in prior art:
The mode of existing stop malicious user, general difficulty of only imitating software in elevator system, such as promotes identifying code difficulty, increases the flow process of more human-computer interaction.But present malicious user is not before cracking system, often use semi-automatic software to participate in panic buying, software is only responsible for conventional access and is submitted function to, the artificial input of needs, then malicious user adopts artificial input, and after manually having inputted, software is submitted to automatically.The speed of software is very fast, and compared with normal users, this malicious user has obvious speed advantage.Malicious user generally uses a large amount of registered users to rush to purchase simultaneously, and the malicious user of vast scale adds speed advantage, causes the chance of success of malice panic buying very high, and corresponding domestic consumer is just difficult to rush to purchase successfully.
Summary of the invention
In view of this, fundamental purpose of the present invention is to provide a kind of data processing method and system, reduces the chance of success of malice panic buying.
Technical scheme of the present invention is achieved in that
A kind of data processing method, comprising:
Filtration step: the panic buying request receiving user, obtain the class information of this user, be defined as the surplus of the panic buying target that this user gradation correspondence divides, this panic buying request is refused when described surplus is zero, when surplus is non-vanishing, screen according to the panic buying request of predetermined screening probability to this user, screen and follow-uply randomly draw step by entering, otherwise enter follow-up queue step;
Queue step: the inquiry request being received in the user in queuing, judge whether to meet time delay condition, when meeting time delay condition, whether the surplus of the panic buying target that judgement is corresponding with this user gradation is zero, when described surplus is non-vanishing, randomly draws step described in entering;
Randomly draw step: selecting according to the panic buying request of predetermined extraction probability to described user, confirming when choosing to rush to purchase successfully.
Preferably, in described filtration step, when described when surplus is non-vanishing, before screening according to the panic buying request of predetermined screening probability to this user, comprise further: determine to enter the follow-up number of users randomly drawing the ad eundem of step, when this number of users is less than the panic buying target dilatation amount corresponding with this user gradation, screen according to the panic buying request of predetermined screening probability to this user; Otherwise enter follow-up queue step.
Preferably, the described panic buying target dilatation amount corresponding with this user gradation is: the total amount of the panic buying target corresponding with this user gradation is multiplied by the dilation coefficient corresponding with this user gradation; The described inverse randomly drawed probability and be more than or equal to the dilation coefficient corresponding with this user gradation, the described dilation coefficient corresponding with this user gradation is more than or equal to 1.
Preferably, in described queue step, when described surplus is non-vanishing, before randomly drawing step described in entering, comprise further: judge whether the number of times of described user's inquiry request exceedes predetermined inquiry times, if exceeded, confirm to rush to purchase unsuccessfully, otherwise randomly draw step described in entering.
Preferably, the described surplus determining the panic buying target corresponding with this user gradation, specifically comprises: distribute according to the total amount of user gradation to panic buying target in advance, the panic buying destination number that each user gradation is corresponding accounts for the designated ratio of this panic buying target total amount; Panic buying destination number corresponding for user gradation corresponding for described panic buying request is deducted in same user gradation to have rushed to purchase and successfully rushes to purchase quantity, obtain the surplus of the panic buying target corresponding with this user gradation.
A kind of data processing equipment, comprising:
Filtering module, for receiving the panic buying request of user, obtain the class information of this user, be defined as the surplus of the panic buying target that this user gradation correspondence divides, refuse this panic buying request when described surplus is zero, when surplus is non-vanishing, screen according to the panic buying request of predetermined screening probability to this user, screen and follow-uply randomly draw module by entering, otherwise enter follow-up queue module;
Queue module, for being received in the inquiry request of the user in queuing, judge whether to meet time delay condition, when meeting time delay condition, whether the surplus of the panic buying target that judgement is corresponding with this user gradation is zero, when described surplus is non-vanishing, described in entering, randomly draw module;
Randomly drawing module, for selecting according to the panic buying request of predetermined extraction probability to described user, confirming when choosing to rush to purchase successfully.
Preferably, described filtering module is further used for: when described when surplus is non-vanishing, before screening according to the panic buying request of predetermined screening probability to this user, determine further to have entered the follow-up number of users randomly drawing the ad eundem of module, when this number of users is less than the panic buying target dilatation amount corresponding with this user gradation, screen according to the panic buying request of predetermined screening probability to this user; Otherwise enter follow-up queue module.
Preferably, the described panic buying target dilatation amount corresponding with this user gradation is: the total amount of the panic buying target corresponding with this user gradation is multiplied by the dilation coefficient corresponding with this user gradation; The described inverse randomly drawed probability and be more than or equal to the dilation coefficient corresponding with this user gradation, the described dilation coefficient corresponding with this user gradation is more than or equal to 1.
Preferably, described queue module is further used for: when described surplus is non-vanishing, before randomly drawing module described in entering, judge whether the number of times of described user's inquiry request exceedes predetermined inquiry times further, if exceeded, confirm to rush to purchase unsuccessfully, otherwise randomly draw module described in entering.
Preferably, described filtering module comprises the module of the surplus for determining the panic buying target corresponding with user gradation, this module specifically for: in advance according to user gradation to panic buying target total amount distribute, the panic buying destination number that each user gradation is corresponding accounts for the designated ratio of this panic buying target total amount; Panic buying destination number corresponding for user gradation corresponding for described panic buying request is deducted in same user gradation to have rushed to purchase and successfully rushes to purchase quantity, obtain the surplus of the panic buying target corresponding with this user gradation.
Compared with prior art, the present invention is to user's divided rank, divide for the quantity of different user gradations to corresponding panic buying target, after receiving panic buying request, according to the user gradation that this panic buying is asked, determine the surplus of the corresponding panic buying target divided, this panic buying request is refused when described surplus is zero, when surplus is non-vanishing, screen according to the panic buying request of predetermined screening probability to this user, screen and follow-uply randomly draw step by entering, otherwise enter follow-up queue step; Such panic buying request just can not rush to purchase the total amount of waiting to rush to purchase target, but only for the quantity of a ratio, malicious user can possess some obvious features, such as rush to purchase often, the features such as IP address substitution is frequent, so just malicious user can be divided in junior user, the quantitative proportion that this part user can rush to purchase is lower, so just can carry out the filtration of ground floor according to user gradation to malicious user; If malicious user pretends better, the user that the higher grade that disguised oneself as, then the present invention can also carry out second layer filtration by described screening probability to user, can filter out a part of malicious user so again; Next, then selecting according to extraction probability entering the panic buying request randomly drawing step, a part of malicious user can be filtered out so again; For the panic buying request entering queue step, can filter according to time delay condition, can effectively filter the inquiry request that malicious user uses software to send continually.By above-mentioned comprehensive filtration treatment, the present invention can filter out the panic buying request that malicious user sends effectively, reduces the chance of success of the malice panic buying of malicious user.
Accompanying drawing explanation
Fig. 1 is a kind of embodiment process flow diagram of data processing method of the present invention;
Fig. 2 is the schematic flow sheet of the further embodiment of data processing method of the present invention;
Fig. 3 is the schematic flow sheet of the service layer specifically of the further embodiment of data processing method of the present invention;
Fig. 4 is the one composition schematic diagram of data processing equipment of the present invention.
Embodiment
Below in conjunction with drawings and the specific embodiments, the present invention is further described in more detail.
Fig. 1 is a kind of embodiment process flow diagram of data processing method of the present invention; See Fig. 1, method of the present invention mainly comprises:
Filtration step 101: the panic buying request receiving user, obtain the class information of this user, be defined as the surplus of the panic buying target that this user gradation correspondence divides, this panic buying request is refused when described surplus is zero, when surplus is non-vanishing, screen according to the panic buying request of predetermined screening probability to this user, screen and follow-uply randomly draw step 103 by entering, otherwise enter follow-up queue step 102.
In described filtration step 101, the described surplus determining the panic buying target corresponding with this user gradation, specifically comprise: distribute according to the total amount of user gradation to panic buying target in advance, the panic buying destination number that each user gradation is corresponding accounts for the designated ratio of this panic buying target total amount; Each user gradation proportion equal 1 with value, panic buying destination number corresponding for user gradation corresponding for described panic buying request is deducted in same user gradation to have rushed to purchase and successfully rushes to purchase quantity, obtain the surplus of the panic buying target corresponding with this user gradation.
In the present invention, in advance to user's divided rank, divide for the quantity of different user gradations to corresponding panic buying target.Such as can the historical behavior data of inquiring user, according to historical behavior data, classifying and dividing is carried out to user, described historical behavior data such as can comprise: the address of accession page, lower unirecord, Payment Records, panic buying number of times, the frequency of accessing certain page, IP address, login custom etc., malicious user can possess some obvious features, such as rush to purchase often, the features such as IP address substitution is frequent, so just can be divided into malicious user in junior user.Such as user can be divided into A, B, C Three Estate from high to low, the designated ratio of corresponding distribution panic buying target is 50%, 30%, 20%, suppose that the total amount of rushing to purchase target is N, the quantity that then A class user can be rushed to purchase is 50%*N, the quantity that B class user can be rushed to purchase is the quantity that 30%*N, C class user can be rushed to purchase is 20%*N.If it is k that C class user has rushed to purchase successfully panic buying quantity, then when after the panic buying request receiving C class user, the surplus of the panic buying target that this user gradation is corresponding is 20%*N-k.
In current e-commerce system, have acquisition system and the query interface of user behavior data, the present invention directly can inquire about the user behavior data of needs from this query interface.
Queue step 102: the inquiry request being received in the user in queuing, judge whether to meet time delay condition, when meeting time delay condition, whether the surplus of the panic buying target that judgement is corresponding with this user gradation is zero, when described surplus is non-vanishing, described in entering, randomly draw step.When described surplus is zero, confirm to rush to purchase unsuccessfully.
Randomly draw step 103: selecting according to the panic buying request of predetermined extraction probability to described user, confirming when choosing to rush to purchase successfully, otherwise confirm to rush to purchase unsuccessfully; Rush to purchase successfully, then need the surplus upgrading the panic buying target corresponding with this user gradation, namely current residual amount correspondingly will deduct the panic buying quantity in current panic buying request.
In an advantageous embodiment, in described filtration step 101, when described when surplus is non-vanishing, before screening according to the panic buying request of predetermined screening probability to this user, can further include:
Determine to enter the follow-up number of users randomly drawing the ad eundem of step 103, when this number of users is less than the panic buying target dilatation amount corresponding with this user gradation, screen according to the panic buying request of predetermined screening probability to this user, screen and follow-uply randomly draw step 103 by entering, screening can't pass, and enters follow-up queue step 102; When this number of users exceedes the panic buying target dilatation amount corresponding with this user gradation, enter follow-up queue step 102.
Described screening probability can pre-set, such as, can be set to 50%.
More specifically, the described panic buying target dilatation amount corresponding with this user gradation is: the quantity n of the panic buying target corresponding with this user gradation is multiplied by the dilation coefficient r corresponding with this user gradation, i.e. n × r, described n is: the designated ratio that total amount N × this user gradation is corresponding of this panic buying target; The described inverse randomly drawed probability and be more than or equal to the dilation coefficient corresponding with this user gradation, namely randomly draws probability >=1/r, and the described dilation coefficient corresponding with this user gradation is more than or equal to 1, i.e. r >=1.
In an advantageous embodiment, in described queue step 102, when described surplus is non-vanishing, before randomly drawing step described in entering, comprise further: judge whether the number of times of described user's inquiry request exceedes predetermined inquiry times, if exceeded, confirm to rush to purchase unsuccessfully, otherwise randomly draw step described in entering.
By above-mentioned process, the present invention can to user's divided rank, and divide for the quantity of different user gradations to corresponding panic buying target, after receiving panic buying request, according to the user gradation that this panic buying is asked, determine the surplus of the corresponding panic buying target divided, this panic buying request is refused when described surplus is zero, when surplus is non-vanishing, screen according to the panic buying request of predetermined screening probability to this user, screen and follow-uply randomly draw step by entering, otherwise enter follow-up queue step; Such panic buying request just can not rush to purchase the total amount of waiting to rush to purchase target, but only for the quantity of a ratio, malicious user can possess some obvious features, such as rush to purchase often, the features such as IP address substitution is frequent, so just malicious user can be divided in junior user, the quantitative proportion that this part user can rush to purchase is lower, so just can carry out the filtration of ground floor according to user gradation to malicious user; If malicious user pretends better, the user that the higher grade that disguised oneself as, then the present invention can also carry out second layer filtration by described screening probability to user, can filter out a part of malicious user so again; Next, then selecting according to extraction probability entering the panic buying request randomly drawing step, a part of malicious user can be filtered out so again; For the panic buying request entering queue step, can filter according to time delay condition, can effectively filter the inquiry request that malicious user uses software to send continually.By above-mentioned comprehensive filtration treatment, the present invention can filter out the panic buying request that malicious user sends effectively, reduces the chance of success of the malice panic buying of malicious user.
Several basic embodiment of the method for the invention that above-mentioned introduced is, in a further embodiment, in described data handling procedure, the more abundant treatment step such as verification, inspection can also be comprised, the probability that malicious user panic buying is failed can be increased so further.Further embodiment of the present invention is introduced further below in conjunction with accompanying drawing.
Fig. 2 is the schematic flow sheet of the further embodiment of data processing method of the present invention; Fig. 3 is the schematic flow sheet of the service layer specifically of the further embodiment of data processing method of the present invention.See Fig. 2 and Fig. 3, introduce the classification based on user behavior of the present invention and stop that the detailed process of malicious user panic buying is as follows:
S100: the request receiving inquiry panic buying state.
In practical application, user accesses the page that goes on the razzle-dazzle on foreground, and front page layout can rush to purchase state or active request inquiry commodity panic buying state by Asynchronous Request inquiry commodity, and now backstage receives the request of inquiry panic buying state.
Described backstage refers to background server or server cluster, described foreground typically refers to and user interactions end, specifically can be realized by special client (Client), also can pass through the mode that web browser (Browser) visits server to realize, namely browser/server (B/S) structure can be adopted, also client/server (C/S) structure can be adopted, but in the age of network information develop rapidly, system architecture also may can develop and change, no matter but be what framework, the functional module of core concept of the present invention and core is identical, the present position just performing the module of concrete function is different.
S101: verification condition of merchandise, if verification succeeds, returns panic buying entry address and status information.
Wherein specifically comprise: after background server receives the request of described inquiry panic buying state, first whether specification (can preset the standardize information of this inquiry panic buying state to check this inquiry to rush to purchase status request, with the standardize information preset to check this request whether specification), if lack of standardization, then return abnormal state information; If specification, then according to the goods number (namely rushing to purchase the numbering of target) in this inquiry panic buying status request, inquire about local storage unit (as database, data file etc.), judge further this panic buying target whether during rushing to purchase; If do not started, return non-initial state, if the panic buying button in front page layout is " beginning "; If terminated, then return done state, if the panic buying button in front page layout is " terminating "; If movable well afoot, and this panic buying target also has volume residual (namely also in stockit is available), then return and carry out middle state, if the panic buying button in front page layout is " in panic buying ", and can press, and active ingress is returned in the lump, and add the session data (session) based on user, enter next step; If movable well afoot, but this panic buying target does not have volume residual (namely out of stock), then return and carry out middle state, and the panic buying button in front page layout is " in panic buying ", but cannot press.
S102: conventional authentication code stream journey.
In this step, conventional authentication code of the prior art can be adopted to verify flow process, herein this is repeated no more.
S103: receive panic buying request.
Server receives panic buying request, and this panic buying request is exactly the request that essence enters panic buying.
S104: inquiring user grade, the total amount of panic buying target and surplus (total stock and residue stock), and entered the number of users randomly drawing step (namely rushing to purchase step), carry out user's shunting, this step S104 specifically can comprise the following steps 41 to 46:
Server carries out following flow process after receiving the panic buying request of user:
41, check that whether the parameter of this panic buying request is legal, if non-rule enters error handling procedures, legally enter next step.The present invention can pre-set the parameter and standard information of described panic buying request, can check whether the parameter in this panic buying request meets standard, and it is then legal to meet, otherwise illegal according to the parameter and standard pre-set.
42, whether server check user logs in, if do not logged in, then jumps into login page, logs in, enter next step.
43, server is according to the goods number in panic buying request, carries out commodity validity checking, if do not conform to rule to enter failure page, otherwise enters next step.
44, server is according to the goods number in panic buying request, inquires about this total volume of commodities and surplus and has entered the number of users of each grade of panic buying flow process.
45, the user profile of panic buying request user is initiated in server lookup, according to user profile, inquire about the user gradation of this user, the quantity of the panic buying target that this user gradation is corresponding is determined according to the designated ratio of this user gradation, the quantity of this panic buying target is the panic buying target ratio α that total amount N × this user gradation is corresponding, i.e. α * N, inquire about this panic buying target by the quantity k rushed to purchase, the surplus obtaining panic buying target corresponding to this user gradation is: α * N-k, this surplus is exactly the residue stock of this panic buying target, if residue stock is zero, then enter failure page, if stock is non-vanishing for residue, then enter next step,
46, judge whether containing panic buying planned number, namely the number of users of the ad eundem having entered follow-up panic buying flow process (namely randomly drawing step) is determined, if this number of users is more than or equal to the panic buying target dilatation amount corresponding with this user gradation, then panic buying name is full, enters queuing flow process S106; Otherwise panic buying planned number less than, then when meeting user's classification, enter panic buying flow process S105.The dilatation amount of described panic buying target is α * N*r, described r is dilation coefficient, r>=1.
S105: enter panic buying flow process, enters the user of panic buying flow process, enters subsequent step S109.
S106: enter queuing flow process, enters the user of queuing flow process, enters subsequent step S107.
S107: the inquiry request being received in the user in queuing, such as, for the user in queuing, can show countdown on foreground, the time of such as countdown is 10 seconds, and countdown terminates just to allow user to send inquiry request.
S108: judge time delay, residue stock and queuing user inquiry times.
Concrete, server is verified as follows and inquires about after receiving the inquiry request of queuing user:
81, whether the data of revene lookup request are legal, do not conform to rule and enter abnormality processing flow process, and namely described abnormality processing flow process enters failure page, legally enter next step;
82, whether revene lookup request time difference is more than the time delay of specifying (as more than 10s), is less than the time delay of specifying and then enters abnormality processing flow process, otherwise enter next step;
83, namely the surplus of the panic buying target that server lookup is corresponding with this user gradation remains stock, judges whether to remain stock in addition, does not remain stock and enters abnormality processing flow process, otherwise enter next step;
84, whether user meets inquiry times, and the inquiry times such as given tacit consent to is 1, judges whether the number of times of described user's inquiry request exceedes predetermined inquiry times, if exceeded, confirms to rush to purchase unsuccessfully, enters abnormality processing flow process, otherwise enter panic buying flow process S105.
S109: selected order according to random chance.
Selecting according to the panic buying request of predetermined extraction probability to described user, confirming when choosing to rush to purchase successfully.Otherwise confirm to rush to purchase unsuccessfully; Rush to purchase successfully, then need the surplus upgrading the panic buying target corresponding with this user gradation, namely current residual amount correspondingly will deduct the panic buying quantity in current panic buying request.The described inverse randomly drawed probability and be more than or equal to the dilation coefficient r corresponding with this user gradation.Such as: the quantity of the panic buying target that this user gradation is corresponding is n, then the number of users entering this grade of panic buying flow process is r*n (r>=1), then Stochastic choice n user can be successfully completed order, rushes to purchase successfully.
By process of the present invention, the Order success rate of malicious user can be effectively reduced.User's classification measure can filter part off-specification user, randomly draws part simultaneously and is successfully completed and places an order, weaken malicious user further and utilize software to rush to purchase the speed advantage of order from the user entering panic buying flow process.
Corresponding with said method, the invention also discloses a kind of data processing equipment.Fig. 4 is the one composition schematic diagram of data processing equipment of the present invention.See Fig. 4, this data processing equipment comprises:
Filtering module 401, for receiving the panic buying request of user, obtain the class information of this user, be defined as the surplus of the panic buying target that this user gradation correspondence divides, refuse this panic buying request when described surplus is zero, when surplus is non-vanishing, screen according to the panic buying request of predetermined screening probability to this user, screen and follow-uply randomly draw module 403 by entering, otherwise enter follow-up queue module 402;
Queue module 402, for being received in the inquiry request of the user in queuing, judge whether to meet time delay condition, when meeting time delay condition, whether the surplus of the panic buying target that judgement is corresponding with this user gradation is zero, when described surplus is non-vanishing, described in entering, randomly draw module 403;
Randomly drawing module 403, for selecting according to the panic buying request of predetermined extraction probability to described user, confirming when choosing to rush to purchase successfully.
In an advantageous embodiment, described filtering module 401 is further used for:
When described when surplus is non-vanishing, before screening according to the panic buying request of predetermined screening probability to this user, determine further to have entered the follow-up number of users randomly drawing the ad eundem of module 403, when this number of users is less than the panic buying target dilatation amount corresponding with this user gradation, screen according to the panic buying request of predetermined screening probability to this user; Otherwise enter follow-up queue module 402.
In an advantageous embodiment, the described panic buying target dilatation amount corresponding with this user gradation is: the total amount of the panic buying target corresponding with this user gradation is multiplied by the dilation coefficient corresponding with this user gradation; The described inverse randomly drawed probability and be more than or equal to the dilation coefficient corresponding with this user gradation, the described dilation coefficient corresponding with this user gradation is more than or equal to 1.
In an advantageous embodiment, described queue module 402 is further used for: when described surplus is non-vanishing, before randomly drawing module 403 described in entering, judge whether the number of times of described user's inquiry request exceedes predetermined inquiry times further, if exceeded, confirm to rush to purchase unsuccessfully, otherwise described in entering, randomly draw module 403.
In another preferred embodiment, described filtering module 401 comprises the module of the surplus for determining the panic buying target corresponding with user gradation, this module specifically for: in advance according to user gradation to panic buying target total amount distribute, the panic buying destination number that each user gradation is corresponding accounts for the designated ratio of this panic buying target total amount; Each user gradation proportion equal 1 with value, panic buying destination number corresponding for user gradation corresponding for described panic buying request is deducted in same user gradation to have rushed to purchase and successfully rushes to purchase quantity, obtain the surplus of the panic buying target corresponding with this user gradation.
In addition, each functional module in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of modules exists, also can two or more module integrations in a unit.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form of SFU software functional unit also can be adopted to realize.The functional module of described each embodiment can be positioned at a terminal or network node, or also can be distributed on multiple terminal or network node.
In addition, each embodiment of the present invention can be realized by the data processor performed as computing machine by data processing equipment.Obviously, data processor constitutes the present invention.In addition, program is read out storage medium or memory device (as hard disk and or internal memory) the middle execution by program being installed or copied to data processing equipment by direct by the data processor be usually stored in a storage medium.Therefore, such storage medium also constitutes the present invention.Storage medium can use the recording mode of any type, such as paper storage medium (as paper tape etc.), magnetic storage medium (as floppy disk, hard disk, flash memory etc.), optical storage media (as CD-ROM etc.), magnetic-optical storage medium (as MO etc.) etc.
Therefore the invention also discloses a kind of storage medium, wherein store data processor, this data processor is for performing any one embodiment of said method of the present invention.
In addition, method step of the present invention is except realizing with data processor, can also be realized by hardware, such as, can be realized by logic gate, switch, special IC (ASIC), programmable logic controller (PLC) and embedding microcontroller etc.Therefore this hardware that can realize the method for the invention also can form the present invention.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment made, equivalent replacement, improvement etc., all should be included within the scope of protection of the invention.
Claims (10)
1. a data processing method, is characterized in that, comprising:
Filtration step: the panic buying request receiving user, obtain the class information of this user, be defined as the surplus of the panic buying target that this user gradation correspondence divides, this panic buying request is refused when described surplus is zero, when surplus is non-vanishing, screen according to the panic buying request of predetermined screening probability to this user, screen and follow-uply randomly draw step by entering, otherwise enter follow-up queue step;
Queue step: the inquiry request being received in the user in queuing, judge whether to meet time delay condition, when meeting time delay condition, whether the surplus of the panic buying target that judgement is corresponding with this user gradation is zero, when described surplus is non-vanishing, randomly draws step described in entering;
Randomly draw step: selecting according to the panic buying request of predetermined extraction probability to described user, confirming when choosing to rush to purchase successfully.
2. method according to claim 1, is characterized in that, in described filtration step, when described when surplus is non-vanishing, before screening, comprises further according to the panic buying request of predetermined screening probability to this user:
Determine to enter the follow-up number of users randomly drawing the ad eundem of step, when this number of users is less than the panic buying target dilatation amount corresponding with this user gradation, screen according to the panic buying request of predetermined screening probability to this user; Otherwise enter follow-up queue step.
3. method according to claim 2, is characterized in that,
The described panic buying target dilatation amount corresponding with this user gradation is: the total amount of the panic buying target corresponding with this user gradation is multiplied by the dilation coefficient corresponding with this user gradation;
The described inverse randomly drawed probability and be more than or equal to the dilation coefficient corresponding with this user gradation, the described dilation coefficient corresponding with this user gradation is more than or equal to 1.
4. method according to claim 1, is characterized in that, in described queue step, when described surplus is non-vanishing, before randomly drawing step, comprises further described in entering:
Judge whether the number of times of described user's inquiry request exceedes predetermined inquiry times, if exceeded, confirm to rush to purchase unsuccessfully, otherwise randomly draw step described in entering.
5. method according to claim 1, is characterized in that, the described surplus determining the panic buying target corresponding with this user gradation, specifically comprises:
Distribute according to the total amount of user gradation to panic buying target in advance, the panic buying destination number that each user gradation is corresponding accounts for the designated ratio of this panic buying target total amount; Panic buying destination number corresponding for user gradation corresponding for described panic buying request is deducted in same user gradation to have rushed to purchase and successfully rushes to purchase quantity, obtain the surplus of the panic buying target corresponding with this user gradation.
6. a data processing equipment, is characterized in that, comprising:
Filtering module, for receiving the panic buying request of user, obtain the class information of this user, be defined as the surplus of the panic buying target that this user gradation correspondence divides, refuse this panic buying request when described surplus is zero, when surplus is non-vanishing, screen according to the panic buying request of predetermined screening probability to this user, screen and follow-uply randomly draw module by entering, otherwise enter follow-up queue module;
Queue module, for being received in the inquiry request of the user in queuing, judge whether to meet time delay condition, when meeting time delay condition, whether the surplus of the panic buying target that judgement is corresponding with this user gradation is zero, when described surplus is non-vanishing, described in entering, randomly draw module;
Randomly drawing module, for selecting according to the panic buying request of predetermined extraction probability to described user, confirming when choosing to rush to purchase successfully.
7. device according to claim 6, is characterized in that, described filtering module is further used for:
When described when surplus is non-vanishing, before screening according to the panic buying request of predetermined screening probability to this user, determine further to have entered the follow-up number of users randomly drawing the ad eundem of module, when this number of users is less than the panic buying target dilatation amount corresponding with this user gradation, screen according to the panic buying request of predetermined screening probability to this user; Otherwise enter follow-up queue module.
8. device according to claim 7, is characterized in that,
The described panic buying target dilatation amount corresponding with this user gradation is: the total amount of the panic buying target corresponding with this user gradation is multiplied by the dilation coefficient corresponding with this user gradation;
The described inverse randomly drawed probability and be more than or equal to the dilation coefficient corresponding with this user gradation, the described dilation coefficient corresponding with this user gradation is more than or equal to 1.
9. device according to claim 6, is characterized in that, described queue module is further used for:
When described surplus is non-vanishing, before randomly drawing module described in entering, judge whether the number of times of described user's inquiry request exceedes predetermined inquiry times further, if exceeded, confirm to rush to purchase unsuccessfully, otherwise randomly draw module described in entering.
10. device according to claim 6, it is characterized in that, described filtering module comprises the module of the surplus for determining the panic buying target corresponding with user gradation, this module specifically for: in advance according to user gradation to panic buying target total amount distribute, the panic buying destination number that each user gradation is corresponding accounts for the designated ratio of this panic buying target total amount; Panic buying destination number corresponding for user gradation corresponding for described panic buying request is deducted in same user gradation to have rushed to purchase and successfully rushes to purchase quantity, obtain the surplus of the panic buying target corresponding with this user gradation.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410811762.XA CN104462977B (en) | 2014-12-23 | 2014-12-23 | Data processing method and system |
PCT/CN2015/098045 WO2016101852A1 (en) | 2014-12-23 | 2015-12-21 | Data processing method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410811762.XA CN104462977B (en) | 2014-12-23 | 2014-12-23 | Data processing method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104462977A true CN104462977A (en) | 2015-03-25 |
CN104462977B CN104462977B (en) | 2018-02-16 |
Family
ID=52909002
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410811762.XA Active CN104462977B (en) | 2014-12-23 | 2014-12-23 | Data processing method and system |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN104462977B (en) |
WO (1) | WO2016101852A1 (en) |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105141642A (en) * | 2015-10-23 | 2015-12-09 | 北京京东尚科信息技术有限公司 | Method of preventing illegal user behavior and device |
CN105160572A (en) * | 2015-09-30 | 2015-12-16 | 努比亚技术有限公司 | Device and method for controlling order to generate, and seckilling system |
CN105225145A (en) * | 2015-09-30 | 2016-01-06 | 努比亚技术有限公司 | Data processing method and device |
WO2016101852A1 (en) * | 2014-12-23 | 2016-06-30 | 北京京东尚科信息技术有限公司 | Data processing method and system |
CN106096996A (en) * | 2016-05-31 | 2016-11-09 | 北京奇虎科技有限公司 | The detection method of mobile terminal cheating and related device |
CN106355470A (en) * | 2016-08-30 | 2017-01-25 | 福建新大陆软件工程有限公司 | E-commerce snapping-up method and system |
CN106598881A (en) * | 2016-12-20 | 2017-04-26 | 北京小米移动软件有限公司 | Page processing method and device |
CN106997546A (en) * | 2016-01-26 | 2017-08-01 | ***通信集团安徽有限公司 | A kind of order processing method and device |
CN107230133A (en) * | 2017-05-26 | 2017-10-03 | 努比亚技术有限公司 | A kind of data processing method, equipment and computer-readable storage medium |
CN107273220A (en) * | 2017-05-11 | 2017-10-20 | 广东网金控股股份有限公司 | A kind of electric business platform data processing method, device and user terminal |
CN108512938A (en) * | 2018-04-17 | 2018-09-07 | 阿里巴巴集团控股有限公司 | A kind of processing method of request of data, device and electronic equipment |
CN109451506A (en) * | 2018-11-27 | 2019-03-08 | 中国联合网络通信集团有限公司 | Appraisal procedure, device, terminal and the computer storage medium of LTE dilatation |
CN110175880A (en) * | 2019-04-02 | 2019-08-27 | 阿里巴巴集团控股有限公司 | Commodity purchasing method and device |
CN112085240A (en) * | 2020-09-28 | 2020-12-15 | 中国建设银行股份有限公司 | Method and system for processing transaction data of first-order commodities |
CN112148756A (en) * | 2020-09-24 | 2020-12-29 | 四川长虹电器股份有限公司 | Commodity reservation and first-purchase optimization method |
CN112508641A (en) * | 2020-12-01 | 2021-03-16 | 数字广东网络建设有限公司 | Method and device for distributing articles, computer equipment and storage medium |
CN113596127A (en) * | 2021-07-20 | 2021-11-02 | 中国联合网络通信集团有限公司 | Service providing method and device |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110333951B (en) * | 2019-07-09 | 2023-08-01 | 北京首汽智行科技有限公司 | Commodity purchase request distribution method |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101393630A (en) * | 2007-09-21 | 2009-03-25 | 莱尔富国际股份有限公司 | Sale system and method for commodity of limited amount |
CN102930628A (en) * | 2012-11-13 | 2013-02-13 | 任建军 | Lottery drawing method and system judging winning based on special positions occupied by participants |
CN103136690A (en) * | 2013-02-03 | 2013-06-05 | 张俊良 | Free panic buying marketing mode and trading method thereof |
CN103353951A (en) * | 2012-02-07 | 2013-10-16 | 周双桂 | Data processing and automatic ticketing of online booking |
CN103581271A (en) * | 2012-08-08 | 2014-02-12 | 腾讯科技(深圳)有限公司 | Method, device and system for determining pre-selected user |
CN103745387A (en) * | 2014-01-27 | 2014-04-23 | 胡泽军 | Train ticket network sale method |
CN104184730A (en) * | 2014-08-20 | 2014-12-03 | 小米科技有限责任公司 | Access processing method, device and electronic equipment |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102346891B (en) * | 2010-07-30 | 2016-05-11 | 阿里巴巴集团控股有限公司 | A kind of network trading method and server |
US20140278610A1 (en) * | 2013-03-15 | 2014-09-18 | Live Nation Entertainment, Inc. | Abuse tolerant ticketing system |
CN103679497A (en) * | 2012-09-20 | 2014-03-26 | 阿里巴巴集团控股有限公司 | Trial commodity distributing method and device |
CN104462977B (en) * | 2014-12-23 | 2018-02-16 | 北京京东尚科信息技术有限公司 | Data processing method and system |
-
2014
- 2014-12-23 CN CN201410811762.XA patent/CN104462977B/en active Active
-
2015
- 2015-12-21 WO PCT/CN2015/098045 patent/WO2016101852A1/en active Application Filing
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101393630A (en) * | 2007-09-21 | 2009-03-25 | 莱尔富国际股份有限公司 | Sale system and method for commodity of limited amount |
CN103353951A (en) * | 2012-02-07 | 2013-10-16 | 周双桂 | Data processing and automatic ticketing of online booking |
CN103581271A (en) * | 2012-08-08 | 2014-02-12 | 腾讯科技(深圳)有限公司 | Method, device and system for determining pre-selected user |
CN102930628A (en) * | 2012-11-13 | 2013-02-13 | 任建军 | Lottery drawing method and system judging winning based on special positions occupied by participants |
CN103136690A (en) * | 2013-02-03 | 2013-06-05 | 张俊良 | Free panic buying marketing mode and trading method thereof |
CN103745387A (en) * | 2014-01-27 | 2014-04-23 | 胡泽军 | Train ticket network sale method |
CN104184730A (en) * | 2014-08-20 | 2014-12-03 | 小米科技有限责任公司 | Access processing method, device and electronic equipment |
Cited By (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016101852A1 (en) * | 2014-12-23 | 2016-06-30 | 北京京东尚科信息技术有限公司 | Data processing method and system |
CN105160572A (en) * | 2015-09-30 | 2015-12-16 | 努比亚技术有限公司 | Device and method for controlling order to generate, and seckilling system |
CN105225145A (en) * | 2015-09-30 | 2016-01-06 | 努比亚技术有限公司 | Data processing method and device |
CN105141642B (en) * | 2015-10-23 | 2019-05-03 | 北京京东尚科信息技术有限公司 | A kind of method and device preventing illegal user's behavior |
CN105141642A (en) * | 2015-10-23 | 2015-12-09 | 北京京东尚科信息技术有限公司 | Method of preventing illegal user behavior and device |
CN106997546A (en) * | 2016-01-26 | 2017-08-01 | ***通信集团安徽有限公司 | A kind of order processing method and device |
CN106096996A (en) * | 2016-05-31 | 2016-11-09 | 北京奇虎科技有限公司 | The detection method of mobile terminal cheating and related device |
CN106355470A (en) * | 2016-08-30 | 2017-01-25 | 福建新大陆软件工程有限公司 | E-commerce snapping-up method and system |
CN106598881A (en) * | 2016-12-20 | 2017-04-26 | 北京小米移动软件有限公司 | Page processing method and device |
CN107273220A (en) * | 2017-05-11 | 2017-10-20 | 广东网金控股股份有限公司 | A kind of electric business platform data processing method, device and user terminal |
CN107230133B (en) * | 2017-05-26 | 2020-12-22 | 努比亚技术有限公司 | Data processing method, equipment and computer storage medium |
CN107230133A (en) * | 2017-05-26 | 2017-10-03 | 努比亚技术有限公司 | A kind of data processing method, equipment and computer-readable storage medium |
CN108512938A (en) * | 2018-04-17 | 2018-09-07 | 阿里巴巴集团控股有限公司 | A kind of processing method of request of data, device and electronic equipment |
CN108512938B (en) * | 2018-04-17 | 2021-03-30 | 创新先进技术有限公司 | Data request processing method and device and electronic equipment |
CN109451506A (en) * | 2018-11-27 | 2019-03-08 | 中国联合网络通信集团有限公司 | Appraisal procedure, device, terminal and the computer storage medium of LTE dilatation |
CN110175880A (en) * | 2019-04-02 | 2019-08-27 | 阿里巴巴集团控股有限公司 | Commodity purchasing method and device |
CN110175880B (en) * | 2019-04-02 | 2022-04-19 | 创新先进技术有限公司 | Commodity purchasing method, commodity purchasing device, commodity purchasing equipment and storage medium |
CN112148756A (en) * | 2020-09-24 | 2020-12-29 | 四川长虹电器股份有限公司 | Commodity reservation and first-purchase optimization method |
CN112085240A (en) * | 2020-09-28 | 2020-12-15 | 中国建设银行股份有限公司 | Method and system for processing transaction data of first-order commodities |
CN112508641A (en) * | 2020-12-01 | 2021-03-16 | 数字广东网络建设有限公司 | Method and device for distributing articles, computer equipment and storage medium |
CN113596127A (en) * | 2021-07-20 | 2021-11-02 | 中国联合网络通信集团有限公司 | Service providing method and device |
CN113596127B (en) * | 2021-07-20 | 2022-08-02 | 中国联合网络通信集团有限公司 | Service providing method and device |
Also Published As
Publication number | Publication date |
---|---|
CN104462977B (en) | 2018-02-16 |
WO2016101852A1 (en) | 2016-06-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104462977A (en) | Data processing method and system | |
KR102573433B1 (en) | Platform for trading energy using block chain and method thereof | |
CN109690539A (en) | Self-cleaning token pool | |
CN110019693B (en) | Information recommendation method, server and computer readable medium for intelligent customer service | |
CN107590546A (en) | A kind of hotel information processing system | |
TWI605396B (en) | Return resource processing method and device | |
CN101799901B (en) | Method for rapidly registering account, recharging and landing | |
US11042918B2 (en) | Customer service tool | |
CN107026848A (en) | Business authorization method and device | |
CN104376452A (en) | System and method for managing payment success rate on basis of international card payment channel | |
CN106815725A (en) | A kind of transaction verification method and device | |
CN107451826A (en) | The sales control method and apparatus of electronic passenger ticket | |
CN108512822B (en) | Risk identification method and device for data processing event | |
CN111815364A (en) | Express industry information processing method, device and system | |
CN111652693A (en) | Method and system for owning personal e-commerce APP | |
CN104751358A (en) | Junk trading system and method based on mobile internet | |
CN106600714A (en) | Rail transit ticket vending system and method based on Internet | |
CN108305134A (en) | A kind of safety detection method, equipment and the system of air ticket order | |
CN108257010A (en) | Self-help insurance card system and the underwriting process based on self-help insurance card system | |
US20100312675A1 (en) | Systems and Methods for Reporting Chargebacks | |
TW202025067A (en) | Order checkout device, recording medium and order checkout method capable of simplifying order checkout and improving user convenience | |
CN116188072A (en) | User equity processing system and member equity processing system | |
US20160148323A1 (en) | System and method for crediting users respective of a value-added tax reclaim | |
CN103886496A (en) | Online lending transaction method | |
CN107146109A (en) | Consumption service method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |