计算机工程与应用 ›› 2019, Vol. 55 ›› Issue (24): 68-74.DOI: 10.3778/j.issn.1002-8331.1904-0054

• 网络、通信与安全 • 上一篇    下一篇

改进线程池的移动通信数据传输系统优化

宋婷,荀亚玲   

  1. 太原科技大学 计算机科学与技术学院,太原 030024
  • 出版日期:2019-12-15 发布日期:2019-12-11

Optimization of Mobile Communication Data Transmission System Based on Improved Thread Pool

SONG Ting, XUN Yaling   

  1. School of Computer Science and Technology, Taiyuan University of Science and Technology, Taiyuan 030024, China
  • Online:2019-12-15 Published:2019-12-11

摘要: 短信数据的提交、存储、处理、转发是移动通信传输系统的关键步骤。引入线程池概念和队列存储机制,应用到移动通信数据传输系统,并设置阀值点限定短信网关流量,建立基于多线程、分层处理的移动通信数据传输系统架构;在多线程模块提出基于排队原理的请求等待模型,并引入阻塞线程过程,设计线程动态调度算法。以某移动运营商的客户营销服务数据为背景,利用提出的系统架构方法建立短信发送平台,通过实验对比验证了该方法有效地改善了系统性能。

关键词: 移动通信数据, 线程池, 队列, 短信网关, 排队原理, 阻塞线程

Abstract: The submission, storage, processing and forwarding of SMS data is the key of the mobile communication transmission system. This paper introduces thread pool concept and queue storage mechanism, applies to the mobile communication data transmission system, and threshold points are set to limit SMS gateway traffic. A system architecture based on multi-threading and hierarchical processing is established. In the multi-threaded module, the request waiting model of the queuing principle is proposed, and the thread blocking process is introduced. A thread dynamic scheduling algorithm is designed. Based on the customer marketing service data of a mobile operator, the proposed system architecture method is used to establish a short message sending platform. The experimental results show that the method effectively improves the system performance.

Key words: mobile communication data, thread pool, queue, SMS gateway, queuing principle, blocking thread