The invention provides an invoicing data asynchronous concurrent
processing method and
system based on a
message queue, and the method comprises the steps: receiving invoicing application data of a business
system through a tax platform, carrying out the basic format
verification of the invoicing application data, asynchronously pulling an invoicing application message from a
message queue through a consumption cluster composed of one or more message consumers, and transmitting the invoicing application message to a
server; judging whether all the preset service rules are met or not; if all the preset business rules pass the
verification, pushing the verified invoicing application data to a tax center, and initiating an automatic invoicing request; generating a final result of invoicing
processing; and persistently storing a final result of invoicing
processing in a
database or a
distributed cache, and feeding back the final result to a
service system through an asynchronous notification mechanism. Complete decoupling of requests and processing is realized, the
throughput and
concurrency capability of the
system are effectively improved, the stability and
fault tolerance of the system are enhanced, the
maintainability and flexibility are improved, the
impact on a downstream system is reduced, and elastic expansion and automatic operation and maintenance are supported.