Message sending implementation method based on asynchronous thread pool
A technology of message sending and asynchronous thread, which is applied in inter-program communication, multi-program device, program control design, etc. It can solve the problems of difficult control of network transmission, waste of resources in repeated construction, and affect the quality of main message, so as to reduce queue blocking The probability of ensuring real-time and accuracy, and the effect of portability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0023] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments, so that those skilled in the art can better understand the present invention and implement it, but the examples given are not intended to limit the present invention.
[0024] The present invention provides a method for implementing message sending based on asynchronous thread pool: after the message arrives at the message entrance and is filtered by an interceptor, the message is partitioned by using the factory mode, and the asynchronous thread pool is started for the partitioned message to call different sending platforms via the message queue to send the message .
[0025] At present, the main messages are mainly divided into in-site messages, short messages and emails. When the message arrives at the message entrance, it will first pass through the interceptor, and then use the factory pattern (Factory Pattern) to distinguish the message. Aft...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


