The invention relates to a
data processing method and
system, and belongs to the technical field of
data processing. The method comprises the steps that an appointment making request is received, and whether the appointment making request succeeds or not is judged according to an appointment making rule; a first
queue and a second
queue are configured in a cache; appointment making information in the successful appointment making request is stored in the first
queue; a
panic buying request is received, and whether a user initiating the
panic buying request successfully makes an appointment or not is judged according to the appointment making information in the first queue; if yes, whether the user successfully implements
panic buying or not is judged; when the user successfully implements
panic buying, the appointment making information, corresponding to the user, in the first queue is pushed into the second queue. Accordingly,
panic buying business logic can be processed in a high
concurrency mode, and the problems of
system response delay and decreased
processing request speed which are caused by multiple times of
purchasing of a same account number can be avoided.