Abstract:
Aiming at the low processing efficiency of abnormal transactions caused by massive distributed transactions in high-concurrency scenarios of the Chinese Railway Ticketing and Reservation System (CRTRS), this paper proposed a distributed transaction management architecture based on a ticket state machine for CRTRS. The proposed architecture consists of a ticket state machine and a distributed transaction manager. The ticket state machine provides data support for the configurable management of business processes and full-link traceability of transaction states. Relying on asynchronous invocation, automatic inspection, and transaction state persistence mechanisms, the distributed transaction manager improves the processing efficiency of abnormal transactions. The paper conducted verification experiments to evaluate the performance of the proposed architecture. Experimental results show that the architecture achieves higher processing efficiency for abnormal distributed transactions than the original architecture and supports full-link traceability of transaction states. It demonstrates the effectiveness of the proposed architecture in improving abnormal transaction processing efficiency and ensuring data consistency.