The present invention provides a high-
concurrency global gateway implementation method and device. After registering the channel corresponding to the thread of the target
system, when the front-
end system initiates a request message, the request message can be obtained based on the activated first channel, and then the corresponding first thread is called to process the request message. After determining the back-
end system, the second channel of the back-
end system can be determined, and the corresponding second thread is called to continue to process the request message, thereby completing the sending of the request message to the back-end
system. After obtaining the response message returned by the back-end
system through the second channel, the second thread can be called to process the response message, the first channel is determined, and the first thread is called to process the response message again, thereby completing the sending of the response message to the front-end system. Based on the present invention, the management of all connections by threads can be established, avoiding excessive multi-threaded development, reducing the overhead caused by thread switching, and improving the business
processing performance of the global gateway.