Batch task processing method and device

CN114398165BActive Publication Date: 2024-12-24AGRICULTURAL BANK OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210074133.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-21
Publication Date
2024-12-24
Estimated Expiration
2042-01-21

Smart Images

  • Figure CN114398165B_ABST
    Figure CN114398165B_ABST
Patent Text Reader

Abstract

The present application discloses a batch task processing method, in which optimistic locking can be used to process tasks in a first batch task set. Using optimistic locking to process tasks in the first batch task set can ensure high concurrency of online tasks. Then, the optimistic locking is used again to process tasks in a second batch task set, and the tasks in the second batch task set are tasks that failed to be processed in the first batch task set. Pessimistic locking is used to process tasks that failed to be processed in the second batch task set, thereby ensuring successful execution of batch tasks and ensuring the stability of batch tasks. It can be seen that the present solution can meet the high concurrency processing requirements of the online mode and ensure the stability of the batch mode.
Need to check novelty before this filing date? Find Prior Art