业务处理方法、业务处理装置、电子设备和存储介质

By comparing the priority levels of business operations in a distributed lock and recording low-priority operations in a delayed queue, and using a delayed processing strategy to handle these operations, the problem of execution order not conforming to business logic caused by concurrency issues is solved, ensuring the normal operation and logical correctness of the business system.

CN116775231BActive Publication Date: 2026-07-17BEIJING WODONG TIANJUN INFORMATION TECH CO LTD +1

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
BEIJING WODONG TIANJUN INFORMATION TECH CO LTD
Filing Date
2022-03-09
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

When concurrency issues arise due to a large volume of business operations, the distributed locks used in related technologies cannot guarantee that the execution order of business operations conforms to the business execution logic.

Method used

After the target thread acquires the distributed lock, it compares the priority level of the business operation with the preset level. Operations with a lower priority level are recorded in the delay queue and processed using a delay processing strategy to ensure that high-priority operations are executed first.

Benefits of technology

It effectively ensures the correctness of business execution logic and the normal operation of business systems, and solves the problem of execution order not conforming to business logic caused by concurrency issues by prioritizing the processing of high-priority operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116775231B_ABST
    Figure CN116775231B_ABST
Patent Text Reader

Abstract

本公开提供了一种业务处理方法,包括:响应于目标线程成功获取分布式锁,获取目标线程中加载的目标业务操作,其中,目标业务操作配置有优先级等级;将目标业务操作的优先级等级与预设等级进行比较;在优先级等级低于预设等级的情况下,使用与分布式锁对应的第一延迟队列记录目标业务操作,得到第二延迟队列;控制目标线程释放分布式锁;以及调用延迟处理策略处理第二延迟队列,以处理目标业务操作。此外,本公开还提供了一种业务处理装置、一种电子设备、一种可读存储介质和一种计算机程序产品。
Need to check novelty before this filing date? Find Prior Art