Message queue-based asynchronous billing method, system and device
By using an asynchronous accounting method based on message queues, the accounting and bookkeeping processes are decoupled. By utilizing idempotency checks and dead-letter queues to handle exceptions, efficient accounting processing is achieved, solving the performance bottlenecks and latency issues in existing technologies and improving the system's concurrency and data consistency.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- HEBEI HAPPY CONSUMPTION FINANCE CO LTD
- Filing Date
- 2026-04-17
- Publication Date
- 2026-07-17
AI Technical Summary
In existing enterprise accounting systems, the strong coupling between accounting and bookkeeping in synchronous call mode leads to performance bottlenecks, while the bookkeeping delay in scheduled task mode is severe, making it impossible to achieve real-time response and data consistency.
An asynchronous accounting method based on message queues is adopted. The accounting service generates messages and sends them to the message middleware. The accounting service listens to the queue and performs idempotency verification and accounting processing. ACK confirmation mechanism and dead letter queue are used to handle exceptions, thereby achieving decoupling and fault tolerance between accounting and accounting.
It solves the performance bottleneck in synchronous call mode and the latency problem in scheduled task mode, achieving efficient accounting response time and data consistency, improving the system's concurrent processing capability and reducing duplicate and missed accounting rates.
Smart Images

Figure CN122415244A_ABST