CN104462977B - Data processing method and system - Google Patents

Data processing method and system Download PDF

Info

Publication number
CN104462977B
CN104462977B CN201410811762.XA CN201410811762A CN104462977B CN 104462977 B CN104462977 B CN 104462977B CN 201410811762 A CN201410811762 A CN 201410811762A CN 104462977 B CN104462977 B CN 104462977B
Authority
CN
China
Prior art keywords
user
panic buying
surplus
target
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.)
Active
Application number
CN201410811762.XA
Other languages
Chinese (zh)
Other versions
CN104462977A (en
Inventor
隋剑锋
高建峰
邹毅
邹开红
王凯
徐涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201410811762.XA priority Critical patent/CN104462977B/en
Publication of CN104462977A publication Critical patent/CN104462977A/en
Priority to PCT/CN2015/098045 priority patent/WO2016101852A1/en
Application granted granted Critical
Publication of CN104462977B publication Critical patent/CN104462977B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/55Detecting local intrusion or implementing counter-measures
    • G06F21/56Computer malware detection or handling, e.g. anti-virus arrangements

Abstract

This application discloses a kind of data processing method and device, including:Filtration step:Receive the panic buying request of user, obtain the class information of the user, it is defined as the surplus of the panic buying target of the corresponding division of the user gradation, refuse panic buying request in the case of being zero in the surplus, in the case where surplus is not zero, screened according to panic buying request of the predetermined screening probability to the user, screening, which passes through to enter, subsequently randomly selects step, otherwise into follow-up queue step;Queue step:Receive the inquiry request of the user in queuing, judge whether to meet time delay condition, whether the surplus that panic buying target corresponding with the user gradation is judged in the case where meeting time delay condition is zero, and in the case where the surplus is not zero, step is randomly selected into described;Randomly select step:Selected according to panic buying request of the predetermined extraction probability to the user, confirm to rush to purchase successfully in the case where choosing.The present invention can reduce the panic buying chance of success of malicious user.

Description

Data processing method and system
Technical field
The application is related to network data processing technique, more particularly to a kind of data processing method and system.
Background technology
At present, with the popularization of network, based on smart machine (such as computer, smart mobile phone, tablet personal computer) and communication The e-commerce system of network and electronic logistic system fast development are got up, and carry out shopping online by internet and sale is also got over More to turn into a kind of trend.E-commerce system is mainly used for carrying out man-machine interaction with user, receives the instruction generation of user A kind of corresponding service request (such as order is exactly service request), the letter of data processing is carried out to corresponding commodity target information Cease processing system.
With the fast development of ecommerce, the competition between e-commerce system each side is also further fierce, all kinds Panic buying activity turn into a kind of conventional promotion method, by selecting to make concessions in buyer less than the commodity of the market price, to make One of to increase the viscosity of old user, while attract the means of new user's addition.
Go on the razzle-dazzle with price less than market price or the factors such as commodity are rarer, more than pass for attracting domestic consumer Note, while many malicious users participate in panic buying activity using machine software, get commodity price markup switch selling.Domestic consumer Panic buying speed is extremely difficult to software speed, therefore interest concessions originally and the activity of buyer, does not only really allow user to receive more tangible benefits, It is also possible to bring sense of defeat to user.
In the prior art, in order to stop that malicious user participates in panic buying activity using modes such as softwares, at present mainly with checking The modes such as code, authorization identifying are verified.
Wherein, existing verification code technology scheme mainly includes:In processing panic buying request (panic buying request and a kind of electronics A kind of service request in business system) during, add the link for verifying code check, user's input validation code, server Identifying code is verified, verifies correct continuation flow below, identifying code is then re-entered in verification failure.
Existing authorization identifying technical scheme mainly includes:Usually user need to apply rushing to purchase qualification before panic buying, rob After purchase activity starts, user participates in panic buying, and server verifies user either with or without qualification or according to user gradation to judge, school Test and successfully continue flow below, verification failure can not then participate in rushing to purchase.
But there is following defect in prior art:
The existing mode for stopping malicious user, the general difficulty only imitated in lifting system software, such as lifting are tested Code difficulty is demonstrate,proved, increases the flow of more human-computer interactions.But present malicious user is commonly used before system is not cracked Semi-automatic software participates in panic buying, software be only responsible for it is conventional access and submit function, it is necessary to be manually entered, then malicious user Using being manually entered, after the completion of being manually entered, software is submitted automatically.The speed of software quickly, compared with normal users, this evil Meaning user has obvious speed advantage.Malicious user is typically rushed to purchase using substantial amounts of registered user simultaneously, the malice of large scale User adds speed advantage, and the chance of success for causing malice to rush to purchase is very high, and corresponding domestic consumer is difficult to rush to purchase successfully.
The content of the invention
In view of this, the main object of the present invention is to provide a kind of data processing method and system, reduces malice panic buying Chance of success.
The technical proposal of the invention is realized in this way:
A kind of data processing method, including:
Filtration step:The panic buying request of user is received, the class information of the user is obtained, it is corresponding to be defined as the user gradation The surplus of the panic buying target of division, refuse panic buying request in the case of being zero in the surplus, be not zero in surplus In the case of, screened according to panic buying request of the predetermined screening probability to the user, screening passes through to enter subsequently takes out at random Step is taken, otherwise into follow-up queue step;
Queue step:The inquiry request of the user in queuing is received, judges whether to meet time delay condition, is meeting to be delayed Whether the surplus that panic buying target corresponding with the user gradation is judged in the case of condition is zero, is not zero in the surplus In the case of, randomly select step into described;
Randomly select step:Selected according to panic buying request of the predetermined extraction probability to the user, what is chosen In the case of confirm to rush to purchase successfully.
Preferably, in the filtration step, described in the case where surplus is not zero, according to predetermined screening probability Before panic buying request to the user is screened, further comprise:It is determined that have been enter into the follow-up ad eundem for randomly selecting step Number of users, the number of users be less than it is corresponding with the user gradation panic buying target dilatation amount in the case of, according to predetermined sieve Panic buying request of the probability to the user is selected to screen;Otherwise follow-up queue step is entered.
Preferably, the panic buying target dilatation amount corresponding with the user gradation is:Panic buying corresponding with the user gradation The total amount of target is multiplied by dilation coefficient corresponding with the user gradation;The probability of randomly selecting is more than or equal to and the user gradation The inverse of corresponding dilation coefficient, the dilation coefficient corresponding with the user gradation are more than or equal to 1.
Preferably, in the queue step, in the case where the surplus is not zero, step is randomly selected into described Before, further comprise:Judge whether the number of user's inquiry request exceedes predetermined inquiry times, if it exceeds then true Recognize panic buying failure, otherwise randomly select step described in entrance.
Preferably, the surplus for determining panic buying target corresponding with the user gradation, is specifically included:Previously according to Family grade is allocated to the total amount for rushing to purchase target, and panic buying destination number accounts for the panic buying target total amount corresponding to each user gradation Designated ratio;Panic buying destination number corresponding to user gradation corresponding to the panic buying request is subtracted in same user gradation Quantity is successfully rushed to purchase in panic buying, obtains the surplus of panic buying target corresponding with the user gradation.
A kind of data processing equipment, including:
Filtering module, the panic buying for receiving user are asked, obtain the class information of the user, be defined as the user gradation The surplus of the panic buying target of corresponding division, refuse panic buying request in the case of being zero in the surplus, in surplus not In the case of being zero, according to predetermined screening probability to the user panic buying request screen, screening pass through enter subsequently with Machine abstraction module, otherwise into follow-up queue module;
Queue module, for receiving the inquiry request of the user in queuing, judge whether to meet time delay condition, meeting Whether the surplus that panic buying target corresponding with the user gradation is judged in the case of time delay condition is zero, in the surplus not In the case of being zero, module is randomly selected into described;
Module is randomly selected, for being selected according to panic buying request of the predetermined extraction probability to the user, is being selected In in the case of confirm to rush to purchase successfully.
Preferably, the filtering module is further used for:Described in the case where surplus is not zero, according to predetermined Before panic buying request of the screening probability to the user is screened, further determine that to have been enter into and subsequently randomly select the equal of module The number of users of level, in the case where the number of users is less than panic buying target dilatation amount corresponding with the user gradation, according to predetermined Panic buying request of the probability to the user is screened to screen;Otherwise follow-up queue module is entered.
Preferably, the panic buying target dilatation amount corresponding with the user gradation is:Panic buying corresponding with the user gradation The total amount of target is multiplied by dilation coefficient corresponding with the user gradation;The probability of randomly selecting is more than or equal to and the user gradation The inverse of corresponding dilation coefficient, the dilation coefficient corresponding with the user gradation are more than or equal to 1.
Preferably, the queue module is further used for:In the case where the surplus is not zero, into described random Before abstraction module, determine whether the number of user's inquiry request exceedes predetermined inquiry times, if it exceeds Then confirm panic buying failure, otherwise randomly select module described in entrance.
Preferably, the filtering module includes the mould for being used to determine the surplus of panic buying target corresponding with user gradation Block, the module are specifically used for:The total amount for rushing to purchase target is allocated previously according to user gradation, corresponding to each user gradation Panic buying destination number accounts for the designated ratio of the panic buying target total amount;By panic buying corresponding to user gradation corresponding to the panic buying request Destination number, which subtracts, has rushed to purchase successfully panic buying quantity in same user gradation, obtain corresponding with the user gradation rushing to purchase target Surplus.
Compared with prior art, the present invention is to user's divided rank, for different user gradations to corresponding panic buying mesh Target quantity is divided, after panic buying request is received, according to the user gradation of panic buying request, it is determined that the panic buying of corresponding division The surplus of target, refuse panic buying request, in the case where surplus is not zero, root in the case of being zero in the surplus Screened according to panic buying request of the predetermined screening probability to the user, screening, which passes through to enter, subsequently randomly selects step, otherwise Into follow-up queue step;So panic buying request cannot rush to purchase the total amount of target to be rushed to purchase, but just for ratio Quantity, malicious user can possess some obvious features, such as rush to purchase often, and IP address changes the feature such as frequent, so Malicious user is divided into junior user by can, and the quantitative proportion that this certain customers can rush to purchase is relatively low, this Sample can has carried out the filtering of first layer to malicious user according to user gradation;If malicious user pretends preferably, camouflage Into higher ranked user, then the present invention can also carry out second layer filtering by the screening probability to user, so again A part of malicious user can be filtered out;Next, the panic buying request for randomly selecting step to entering again is entered according to probability is extracted Row selection, so can filter out a part of malicious user again;For enter queue step panic buying ask, can according to when rand Part is filtered, and the inquiry request that malicious user is continually sent using software can be filtered effectively.By above-mentioned comprehensive The filtration treatment of conjunction, the present invention can effectively filter out the panic buying request that malicious user is sent, and reduce the malice of malicious user The chance of success of panic buying.
Brief description of the drawings
Fig. 1 is a kind of embodiment flow chart 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 that the flow of the more detailed service layer of the further embodiment of data processing method of the present invention is shown It is intended to;
Fig. 4 is a kind of composition schematic diagram of data processing equipment of the present invention.
Embodiment
Below in conjunction with the accompanying drawings and specific embodiment the present invention is further described in more detail.
Fig. 1 is a kind of embodiment flow chart of data processing method of the present invention;Referring to Fig. 1, method master of the invention Including:
Filtration step 101:The panic buying request of user is received, the class information of the user is obtained, is defined as the user gradation The surplus of the panic buying target of corresponding division, refuse panic buying request in the case of being zero in the surplus, in surplus not In the case of being zero, according to predetermined screening probability to the user panic buying request screen, screening pass through enter subsequently with Machine extraction step 103, otherwise into follow-up queue step 102.
In the filtration step 101, the surplus for determining panic buying target corresponding with the user gradation, specific bag Include:The total amount for rushing to purchase target is allocated previously according to user gradation, panic buying destination number accounts for corresponding to each user gradation The designated ratio of the panic buying target total amount;Each user gradation proportion is equal to 1 with value, by corresponding to the panic buying request Panic buying destination number corresponding to user gradation, which subtracts, has rushed to purchase successfully panic buying quantity in same user gradation, obtain and the user The surplus of panic buying target corresponding to grade.
In the present invention, in advance to user's divided rank, the quantity for different user gradations to corresponding panic buying target Divided.Such as the historical behavior data of user can be inquired about, classifying and dividing, institute are carried out to user according to historical behavior data Stating historical behavior data can for example include:The address of accession page, lower unirecord, Payment Records, panic buying number, access some The frequency of the page, IP address, custom etc. being logged in, malicious user can possess some obvious features, such as rush to purchase often, IP address changes the feature such as frequent, can thus be divided into malicious user in junior user.Such as it will can use Family is divided into A, B, C Three Estate from high to low, and the designated ratio of corresponding distribution panic buying target is 50%, 30%, 20%, it is assumed that The total amount for rushing to purchase target is N, then the quantity that A class users can be rushed to purchase is 50%*N, and the quantity that B class users can be rushed to purchase is The quantity that 30%*N, C class user can be rushed to purchase is 20%*N.If C class users have rushed to purchase successfully panic buying quantity K, then after the panic buying for receiving C class users is asked, the surplus of panic buying target is 20%*N-k corresponding to the user gradation.
In current e-commerce system, there are the acquisition system and query interface of user behavior data, the present invention can be with The user behavior data of needs is directly inquired about from the query interface.
Queue step 102:The inquiry request of the user in queuing is received, judges whether to meet time delay condition, is meeting Whether the surplus that panic buying target corresponding with the user gradation is judged in the case of time delay condition is zero, in the surplus not In the case of being zero, step is randomly selected into described.In the case where the surplus is zero, panic buying failure is confirmed.
Randomly select step 103:Selected, chosen according to panic buying request of the predetermined extraction probability to the user In the case of confirm to rush to purchase successfully, otherwise confirm panic buying failure;After rushing to purchase successfully, then need renewal corresponding with the user gradation The surplus of target is rushed to purchase, i.e. current residual amount will correspondingly subtract the panic buying quantity in current panic buying request.
In an advantageous embodiment, in the filtration step 101, described in the case where surplus is not zero, root Before being screened according to panic buying request of the predetermined screening probability to the user, it can further include:
It is determined that having been enter into the number of users of the follow-up ad eundem for randomly selecting step 103, it is less than and the user in the number of users In the case of panic buying target dilatation amount corresponding to grade, sieved according to panic buying request of the predetermined screening probability to the user Choosing, screening, which passes through to enter, subsequently randomly selects step 103, and screening, which can't pass, then enters follow-up queue step 102;In the number of users In the case of panic buying target dilatation amount corresponding more than with the user gradation, into follow-up queue step 102.
The screening probability can be pre-set, such as could be arranged to 50%.
More specifically, the panic buying target dilatation amount corresponding with the user gradation is:It is corresponding with the user gradation The quantity n of panic buying target is multiplied by dilation coefficient r corresponding with the user gradation, i.e. n × r, the n are:The panic buying target it is total Measure N × designated ratio corresponding to the user gradation;The probability of randomly selecting is more than or equal to dilatation corresponding with the user gradation The inverse of coefficient, that is, randomly select probability >=1/r, and the dilation coefficient corresponding with the user gradation is more than or equal to 1, i.e. and r >= 1。
In an advantageous embodiment, in the queue step 102, in the case where the surplus is not zero, enter It is described randomly select step before, further comprise:Judge whether the number of user's inquiry request exceedes predetermined inquiry Number, if it exceeds then confirming panic buying failure, otherwise randomly select step described in entrance.
By above-mentioned processing, the present invention can be to user's divided rank, and is directed to different user gradations to robbing accordingly The quantity of purchase target is divided, after panic buying request is received, according to the user gradation of panic buying request, it is determined that corresponding to division The surplus of target is rushed to purchase, refuses panic buying request in the case of being zero in the surplus, in the situation that surplus is not zero Under, to be screened according to panic buying request of the predetermined screening probability to the user, screening, which passes through to enter, subsequently randomly selects step, Otherwise follow-up queue step is entered;So panic buying request cannot rush to purchase the total amount of target to be rushed to purchase, but just for a ratio The quantity of example, malicious user can possess some obvious features, such as rush to purchase often, and IP address changes the feature such as frequent, Malicious user can be thus divided into junior user, the quantitative proportion that this certain customers can rush to purchase compared with It is low, thus the filtering of first layer can be carried out to malicious user according to user gradation;If malicious user pretends preferably, Disguised oneself as higher ranked user, then the present invention can also carry out second layer filtering by the screening probability to user, this Sample can filter out a part of malicious user again;Next, the panic buying request for randomly selecting step to entering again is general according to extracting Rate is selected, and so can filter out a part of malicious user again;For enter queue step panic buying ask, can according to when Rand part is filtered, and the inquiry request that malicious user is continually sent using software can be filtered effectively.By upper Comprehensive filtration treatment is stated, the present invention can effectively filter out the panic buying request that malicious user is sent, reduce malicious user The chance of success of malice panic buying.
It is above-mentioned it is introduced be the method for the invention several basic embodiments, in a further embodiment, In the data handling procedure, the processing steps such as more abundant verification, inspection can also be included, so can further be increased The probability of malicious user panic buying failure.The further embodiment of the present invention is further described below in conjunction with the accompanying drawings.
Fig. 2 is the schematic flow sheet of the further embodiment of data processing method of the present invention;Fig. 3 is of the present invention The schematic flow sheet of the more detailed service layer of the further embodiment of data processing method.Referring to Fig. 2 and Fig. 3, introduce Classification of the present invention based on user behavior stops that the detailed process of malicious user panic buying is as follows:
S100:Receive the request of inquiry panic buying state.
In practical application, user accesses the page that goes on the razzle-dazzle on foreground, and front page layout can Asynchronous Request inquiry commodity panic buying State or active request inquiry commodity panic buying state, the request of now backstage reception inquiry panic buying state.
The backstage refers to background server or server cluster, the foreground typically refer to user mutual end, specifically It can be realized by special client (Client), server can also be accessed by web browser (Browser) Mode is realized, you can to use browser/server (B/S) structure, client/server (C/S) structure can also be used, but It is the age in network information rapid development, system architecture may also can develop and change, however, be what framework, the present invention Core concept and the functional module of core be identical, the present position for simply performing the module of concrete function is different.
S101:Condition of merchandise is verified, panic buying entry address and status information are returned if verifying successfully.
Wherein specifically include:After background server receives the request of the inquiry panic buying state, this is examined to look into first Asking panic buying status request, whether specification (can preset the specification information of inquiry panic buying state, with specification set in advance Information come check the request whether specification), if lack of standardization, return to abnormal state information;If specification, according to the inquiry The goods number (numbering for rushing to purchase target) rushed to purchase in status request, inquires about local storage unit (such as database, data file Deng), determine whether this panic buying target whether during panic buying;Returned if not starting and do not start state, such as front page layout In panic buying button be " not starting ";If it has ended, done state is then returned to, as the panic buying button in front page layout is " end ";If activity is in progress, and the panic buying target also has volume residual (i.e. also in stockit is available), then comes back for middle shape State, if the panic buying button in front page layout is that " in panic buying ", and can press, and active ingress is returned in the lump, and added Session data (session) based on user, into next step;If activity is in progress, but the panic buying target is not surplus Remainder amount (i.e. out of stock), then come back for 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 checking flow can be used, this is repeated no more herein.
S103:Receive panic buying request.
Server receives panic buying request, and panic buying request is exactly the request that essence enters panic buying.
S104:User gradation is inquired about, rushes to purchase the total amount and surplus (total stock and remaining stock) of target, and entered Enter to randomly select the number of users of step (rushing to purchase step), carry out user's shunting, step S104 can specifically include following Step 41 is to 46:
After server receives the panic buying request of user, following flow is carried out:
41st, check whether the parameter of panic buying request is legal, if non-rule enters error handling procedures, under legal entrance One step.The present invention can pre-set the parameter and standard information of the panic buying request, can be according to the parameter and standard pre-set Check whether the parameter in panic buying request meets standard, it is then legal to meet, otherwise illegal.
42nd, whether server check user logs in, if do not logged in, jumps into login page, has logged on, enters In next step.
43rd, the goods number during server is asked according to panic buying, commodity validity checking is carried out, if not conforming to rule entrance Failure page, otherwise enter in next step.
44th, the goods number during server is asked according to panic buying, inquires about this total volume of commodities and surplus and has been enter into and rob Purchase the number of users of each grade of flow.
45th, the user profile of panic buying request user is initiated in server lookup, according to user profile, inquires about the user of the user Grade, determine to rush to purchase the quantity of target corresponding to the user gradation according to the designated ratio of the user gradation, the panic buying target Quantity is panic buying target total amount N × ratio α corresponding to the user gradation, i.e. α * N, inquires about the number that this panic buying target has been rushed to purchase K is measured, the surplus for obtaining panic buying target corresponding to the user gradation is:α * N-k, the surplus are exactly the residue of the panic buying target Stock, if remaining stock is zero, into failure page, if remaining stock is not zero, enter in next step;
46th, judge whether containing panic buying planned number, that is, to determine to have been enter into the same of follow-up panic buying flow (randomly selecting step) The number of users of grade, if the number of users is more than or equal to panic buying target dilatation amount corresponding with the user gradation, rush to purchase planned number It is full, into queuing flow S106;Otherwise planned number is rushed to purchase less than then in the case where meeting user's classification, into panic buying flow S105.The dilatation amount of the panic buying target is dilation coefficient for α * N*r, the r, r>=1.
S105:Into panic buying flow, into the user of panic buying flow, into subsequent step S109.
S106:Into flow is lined up, into the user for being lined up flow, into subsequent step S107.
S107:The inquiry request of the user in queuing is received, such as the user in queuing, can be shown on foreground Countdown, such as the time of countdown is 10 seconds, countdown terminates just to allow user to send inquiry request.
S108:Judge delay, remaining stock and be lined up user's inquiry times.
Specifically, server is received after being lined up the inquiry request of user, verify and inquire about as follows:
81st, whether the data of revene lookup request are legal, do not conform to rule and enter abnormality processing flow, the abnormality processing stream Journey enters failure page, and legal entrance is in next step;
82nd, whether revene lookup request time difference is more than specified time delay (such as more than 10s), less than the time delay specified then Into abnormality processing flow, otherwise enter in next step;
83rd, the surplus of server lookup panic buying target corresponding with the user gradation is remaining stock, is judged whether also There is remaining stock, enter abnormality processing flow without remaining stock, otherwise enter in next step;
84th, whether user meets inquiry times, such as the inquiry times of acquiescence are 1, judge user's inquiry request Whether number exceedes predetermined inquiry times, if it exceeds then confirming panic buying failure, into abnormality processing flow, otherwise enters and robs Purchase flow S105.
S109:Select to complete order according to random chance.
Selected according to panic buying request of the predetermined extraction probability to the user, panic buying is confirmed in the case where choosing Success.Otherwise panic buying failure is confirmed;After rushing to purchase successfully, then need to update the residue of panic buying target corresponding with the user gradation Amount, i.e. current residual amount will correspondingly subtract the panic buying quantity in current panic buying request.The probability of randomly selecting is more than or equal to Dilation coefficient r corresponding with user gradation inverse.Such as:The quantity of panic buying target is n corresponding to the user gradation, then enters The number of users for entering to rush to purchase the grade of flow is r*n (r>=1) order can be successfully completed by, then randomly choosing n user, be robbed Purchase successfully.
By the processing of the present invention, the Order success rate of malicious user can be effectively reduced.User is classified measure can be with Part off-specification user is filtered out, while randomly selects partly to successfully complete from the user for entering panic buying flow and places an order, is entered One step weakens speed advantage of the malicious user using software panic buying order.
Corresponding with the above method, the invention also discloses a kind of data processing equipment.Fig. 4 is data processing of the present invention A kind of composition schematic diagram of device.Referring to Fig. 4, the data processing equipment includes:
Filtering module 401, the panic buying for receiving user are asked, obtain the class information of the user, be defined as the user The surplus of the panic buying target of the corresponding division of grade, refuses panic buying request, in residue in the case of being zero in the surplus In the case that amount is not zero, screened according to panic buying request of the predetermined screening probability to the user, after screening is by entering It is continuous to randomly select module 403, otherwise into follow-up queue module 402;
Queue module 402, for receiving the inquiry request of the user in queuing, judge whether to meet time delay condition, Whether the surplus for meeting to judge in the case of time delay condition panic buying target corresponding with the user gradation is zero, in the residue In the case that amount is not zero, module 403 is randomly selected into described;
Module 403 is randomly selected, for being selected according to panic buying request of the predetermined extraction probability to the user, Confirm to rush to purchase successfully in the case of choosing.
In an advantageous embodiment, the filtering module 401 is further used for:
Described in the case where surplus is not zero, ask to carry out according to panic buying of the predetermined screening probability to the user Before screening, further determine that the number of users for having been enter into the follow-up ad eundem for randomly selecting module 403, the number of users be less than with In the case of panic buying target dilatation amount corresponding to the user gradation, according to panic buying of the predetermined screening probability to the user ask into Row screening;Otherwise follow-up queue module 402 is entered.
In an advantageous embodiment, the panic buying target dilatation amount corresponding with the user gradation is:With the user etc. The total amount of panic buying target is multiplied by dilation coefficient corresponding with the user gradation corresponding to level;The probability of randomly selecting is more than or equal to The inverse of dilation coefficient corresponding with the user gradation, the dilation coefficient corresponding with the user gradation are more than or equal to 1.
In an advantageous embodiment, the queue module 402 is further used for:In the situation that the surplus is not zero Under, into it is described randomly select module 403 before, determine whether user's inquiry request number whether exceed it is predetermined Inquiry times, if it exceeds then confirming panic buying failure, otherwise randomly select module 403 described in entrance.
In another preferred embodiment, the filtering module 401 includes being used to determine rob corresponding with user gradation The module of the surplus of target is purchased, the module is specifically used for:The total amount for rushing to purchase target is allocated previously according to user gradation, Panic buying destination number accounts for the designated ratio of the panic buying target total amount corresponding to each user gradation;Each user gradation proportion And value be equal to 1, panic buying destination number corresponding to user gradation corresponding to the panic buying request is subtracted in same user gradation Through rushing to purchase successfully panic buying quantity, the surplus of panic buying target corresponding with the user gradation is obtained.
In addition, each functional module in each embodiment of the present invention can be integrated in a processing unit, can also That modules are individually physically present, can also two or more modules it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.The work(of each embodiment Energy module can be located at a terminal or network node, or can also be distributed on multiple terminals or network node.
In addition, each embodiment of the present invention can pass through the data processing by data processing equipment such as computer execution Program is realized.Obviously, data processor constitutes the present invention.In addition, it is generally stored inside the data in a storage medium Processing routine by program by directly reading out storage medium or by installing or copying to data processing equipment by program Performed in storage device (such as hard disk and/or internal memory).Therefore, such storage medium also constitutes the present invention.Storage medium can be with Use any kind of recording mode, such as paper storage medium (such as paper tape), magnetic storage medium (such as floppy disk, hard disk, flash memory Deng), optical storage media (such as CD-ROM), magnetic-optical storage medium (such as MO) etc..
Therefore the invention also discloses a kind of storage medium, wherein data processor is stored with, the data processor For performing any embodiment of the above method of the present invention.
In addition, method and step of the present invention is with data processor except can be realized, can also by hardware Lai Realize, for example, can be by gate, switch, application specific integrated circuit (ASIC), programmable logic controller (PLC) and embedded microcontroller Etc. realizing.Therefore this hardware that can realize the method for the invention can also form the present invention.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention God any modification, equivalent substitution and improvements done etc., should be included within the scope of protection of the invention with principle.

Claims (10)

  1. A kind of 1. data processing method, it is characterised in that including:
    According to the historical behavior data of user to user's divided rank, for different user gradations to corresponding panic buying target Quantity is divided, and the user that will be provided with malicious user feature is divided into junior user;
    Filtration step:The panic buying request of user is received, obtains the class information of the user;Malicious user is entered according to user gradation The filtering of row first layer, including:It is defined as the surplus of the panic buying target of the corresponding division of the user gradation, is in the surplus Refuse panic buying request in the case of zero;Second layer filtering is carried out to user by screening probability, including:It is not zero in surplus In the case of, screened according to panic buying request of the predetermined screening probability to the user, screening passes through to enter subsequently takes out at random Take step, screening not by or have been enter into the number of users of the follow-up ad eundem for randomly selecting step and be more than or equal to and the grade In the case of corresponding panic buying target dilatation amount, into follow-up queue step;
    Queue step:The inquiry request of the user in queuing is received, judges whether to meet time delay condition, is meeting time delay condition In the case of judge it is corresponding with the user gradation rush to purchase target surplus whether be zero, in the feelings that the surplus is not zero Under condition, step is randomly selected into described;
    Randomly select step:Selected according to panic buying request of the predetermined extraction probability to the user, in situation about choosing Lower confirmation is rushed to purchase successfully.
  2. 2. according to the method for claim 1, it is characterised in that in the filtration step, be not zero described in surplus In the case of, before being screened according to panic buying request of the predetermined screening probability to the user, further comprise:
    It is determined that having been enter into the number of users of the follow-up ad eundem for randomly selecting step, it is less than in the number of users corresponding with the user gradation Panic buying target dilatation amount in the case of, according to predetermined screening probability to the user panic buying request screen;Otherwise enter Enter follow-up queue step.
  3. 3. according to the method for claim 2, it is characterised in that
    It is described it is corresponding with the user gradation panic buying target dilatation amount be:The total amount of panic buying target corresponding with the user gradation multiplies With dilation coefficient corresponding with the user gradation;
    The inverse that probability is more than or equal to dilation coefficient corresponding with the user gradation is randomly selected, it is described corresponding with the user gradation Dilation coefficient be more than or equal to 1.
  4. 4. according to the method for claim 1, it is characterised in that in the queue step, be not zero in the surplus In the case of, into it is described randomly select step before, further comprise:
    Judge whether the number of user's inquiry request exceedes predetermined inquiry times, if it exceeds then confirming panic buying failure, otherwise Step is randomly selected into described.
  5. 5. according to the method for claim 1, it is characterised in that the panic buying mesh for being defined as the corresponding division of the user gradation Target surplus, is specifically included:
    The total amount for rushing to purchase target is allocated previously according to user gradation, panic buying destination number accounts for corresponding to each user gradation The designated ratio of the total amount of the panic buying target;Panic buying destination number corresponding to user gradation corresponding to the panic buying request is subtracted With successfully panic buying quantity has been rushed to purchase in user gradation, the surplus of panic buying target corresponding with the user gradation is obtained.
  6. A kind of 6. data processing equipment, it is characterised in that including:
    For the historical behavior data according to user to user's divided rank, for different user gradations to corresponding panic buying mesh Target quantity is divided, and the user that will be provided with malicious user feature is divided into module in junior user;
    Filtering module, the panic buying for receiving user are asked, and obtain the class information of the user;Malice is used according to user gradation Family carries out the filtering of first layer, including:It is defined as the surplus of the panic buying target of the corresponding division of the user gradation, in the residue Amount refuses panic buying request in the case of being zero;Second layer filtering is carried out to user by screening probability, including:In surplus not In the case of being zero, according to predetermined screening probability to the user panic buying request screen, screening pass through enter subsequently with Machine abstraction module, screening not by or have been enter into the follow-up ad eundem for randomly selecting step number of users be more than or equal to and this In the case of panic buying target dilatation amount corresponding to grade, into follow-up queue module;
    Queue module, for receiving the inquiry request of the user in queuing, judge whether to meet time delay condition, meeting to be delayed Whether the surplus that panic buying target corresponding with the user gradation is judged in the case of condition is zero, is not zero in the surplus In the case of, randomly select module into described;
    Module is randomly selected, for being selected according to panic buying request of the predetermined extraction probability to the user, what is chosen In the case of confirm to rush to purchase successfully.
  7. 7. device according to claim 6, it is characterised in that the filtering module is further used for:
    Described in the case where surplus is not zero, screened according to panic buying request of the predetermined screening probability to the user Before, the number of users for having been enter into the follow-up ad eundem for randomly selecting module is further determined that, is less than and the user in the number of users In the case of panic buying target dilatation amount corresponding to grade, sieved according to panic buying request of the predetermined screening probability to the user Choosing;Otherwise follow-up queue module is entered.
  8. 8. device according to claim 7, it is characterised in that
    It is described it is corresponding with the user gradation panic buying target dilatation amount be:The total amount of panic buying target corresponding with the user gradation multiplies With dilation coefficient corresponding with the user gradation;
    The inverse that probability is more than or equal to dilation coefficient corresponding with the user gradation is randomly selected, it is described corresponding with the user gradation Dilation coefficient be more than or equal to 1.
  9. 9. device according to claim 6, it is characterised in that the queue module is further used for:
    In the case where the surplus is not zero, into it is described randomly select module before, determine whether user inquiry please Whether the number asked exceedes predetermined inquiry times, if it exceeds then confirming panic buying failure, otherwise randomly selects mould described in entrance Block.
  10. 10. device according to claim 6, it is characterised in that the filtering module includes being used for determination and user etc. The module of the surplus of panic buying target, the module are specifically used for corresponding to level:Previously according to user gradation to the total of panic buying target Amount is allocated, and panic buying destination number accounts for the designated ratio of the total amount of the panic buying target corresponding to each user gradation;By described in Panic buying destination number corresponding to user gradation corresponding to panic buying request, which subtracts, has rushed to purchase successfully panic buying number in same user gradation Amount, obtain the surplus of panic buying target corresponding with the user gradation.
CN201410811762.XA 2014-12-23 2014-12-23 Data processing method and system Active CN104462977B (en)

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 CN104462977A (en) 2015-03-25
CN104462977B true 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)

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104462977B (en) * 2014-12-23 2018-02-16 北京京东尚科信息技术有限公司 Data processing method and system
CN105225145A (en) * 2015-09-30 2016-01-06 努比亚技术有限公司 Data processing method and device
CN105160572A (en) * 2015-09-30 2015-12-16 努比亚技术有限公司 Device and method for controlling order to generate, and seckilling system
CN105141642B (en) * 2015-10-23 2019-05-03 北京京东尚科信息技术有限公司 A kind of method and device preventing illegal user's behavior
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
CN106598881B (en) * 2016-12-20 2020-10-09 北京小米移动软件有限公司 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
CN108512938B (en) * 2018-04-17 2021-03-30 创新先进技术有限公司 Data request processing method and device and electronic equipment
CN109451506B (en) * 2018-11-27 2022-04-15 中国联合网络通信集团有限公司 LTE capacity expansion evaluation method and device, terminal and computer storage medium
CN110175880B (en) * 2019-04-02 2022-04-19 创新先进技术有限公司 Commodity purchasing method, commodity purchasing device, commodity purchasing equipment and storage medium
CN110333951B (en) * 2019-07-09 2023-08-01 北京首汽智行科技有限公司 Commodity purchase request distribution method
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
CN113596127B (en) * 2021-07-20 2022-08-02 中国联合网络通信集团有限公司 Service providing method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103353951A (en) * 2012-02-07 2013-10-16 周双桂 Data processing and automatic ticketing of online booking
CN104184730A (en) * 2014-08-20 2014-12-03 小米科技有限责任公司 Access processing method, device and electronic equipment

Family Cites Families (9)

* Cited by examiner, † Cited by third party
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
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
CN103581271B (en) * 2012-08-08 2018-09-18 腾讯科技(深圳)有限公司 Determine method and apparatus, the system of pre-selected users
CN103679497A (en) * 2012-09-20 2014-03-26 阿里巴巴集团控股有限公司 Trial commodity distributing method and device
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
CN104462977B (en) * 2014-12-23 2018-02-16 北京京东尚科信息技术有限公司 Data processing method and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103353951A (en) * 2012-02-07 2013-10-16 周双桂 Data processing and automatic ticketing of online booking
CN104184730A (en) * 2014-08-20 2014-12-03 小米科技有限责任公司 Access processing method, device and electronic equipment

Also Published As

Publication number Publication date
WO2016101852A1 (en) 2016-06-30
CN104462977A (en) 2015-03-25

Similar Documents

Publication Publication Date Title
CN104462977B (en) Data processing method and system
US9734659B2 (en) Single platform system for multiple jurisdiction lotteries and social media
US20170323704A1 (en) Systems for multiple legal game providers and point of sale ("POS") locations
WO2019204414A1 (en) System and method for storing third party items at automated locker
CN107292405A (en) Electric appliances service online order platform
JP2019520658A (en) Order information processing method, apparatus and system
US10475290B2 (en) System for multiple jurisdiction lotteries with fraud detection
CN106548395A (en) For the creditum method of house lease, apparatus and system
CN106408367A (en) Order information obtaining method and device
CN107451826A (en) The sales control method and apparatus of electronic passenger ticket
CN104376452A (en) System and method for managing payment success rate on basis of international card payment channel
US9659460B2 (en) Methods for multiple legal game providers and multiple jurisdictions with a single platform
CN107026848A (en) Business authorization method and device
CN106815725A (en) A kind of transaction verification method and device
KR20090035503A (en) System for analyzing using particulars of settlement means
CN109670963A (en) Assets information screening technique, device, equipment and storage medium
CN110555692A (en) virtual resource transfer method, device and storage medium
US20200126353A1 (en) Systems for multiple legal game providers and multiple jurisdictions with asynchronous meta games
CN111652693A (en) Method and system for owning personal e-commerce APP
CN108335191A (en) Account-opening method, financial services system end and the computer storage media of finance account
CN106537434A (en) Proxy payment device and operation method therefor
CN105991610A (en) Method and device for logging into application server
CN106600714A (en) Rail transit ticket vending system and method based on Internet
EP2824624A1 (en) Fraud management system and method
US20220157117A1 (en) Systems for multiple legal game providers and multiple jurisdictions with asynchronous meta games

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