首页 | 官方网站   微博 | 高级检索  
     

基于多线程的文件推送系统的设计与实现
引用本文:张珊珊,邱桃荣,张虹,白小明.基于多线程的文件推送系统的设计与实现[J].南昌大学学报(工科版),2013(4):392-398.
作者姓名:张珊珊  邱桃荣  张虹  白小明
作者单位:南昌大学信息工程学院,江西南昌330031
基金项目:江西省科技计划支撑资助项目(20112BBG70087).
摘    要:气象部门采用传统的FTP数据文件推送方式存在着几个不足:问题之一就是难以实现实时快速将数据中心的有关数据文件传送到所需要的相关下级业务部门;问题之二是难以根据数据文件自身具有的重要性实时进行传送;问题之三是难以满足用户需要的采用定制来实时推送相应的数据文件。基于多线程的应用,以Socket为推送技术,实现对多类数据源进行实时决速的多目的传送,结合数据库技术实现了使用者对数据文件的查询、统计和实时管理等操作。测试结果表明:在满足用户的功能需求的同时,系统能有效解决以上存在的不足,并且实现了对数据的后期管理,对日志的查询筛选等数据管理功能。

关 键 词:多线程  数据文件  推送系统  Socket  气象数据  文件传输协议

Design and implementation of file transmission system based on multi-threading
ZHANG Shanshan,QIU Taorong,ZHANG Hong,BAI Xiaoming.Design and implementation of file transmission system based on multi-threading[J].Journal of Nanchang University(Engineering & Technology Edition),2013(4):392-398.
Authors:ZHANG Shanshan  QIU Taorong  ZHANG Hong  BAI Xiaoming
Affiliation:( School of Information Engineering, Nanchang University, Nanchang 330031, China)
Abstract:The traditional way of the FTP to transmit documents adopted by the meteorological departments has several disadvantages. One of the main problems is difficult to achieve data transferring from data center fast and in real-time to the relevant sub-department that need it. The second main problem is difficult to transfer these files ac- cording to their importance. The third main problem is difficult to meet the needs of users with customized to push the corresponding data file in real-time. This paper is based on multi-threading, taking Socket technology as the cen- ter of transferring technology, developing this system combined with database, achieving the real-time multicast com- munication to a specific data source. At the same time, achieving the operations for user to querying, counting, man- aging the data files in real-time and so on. The test results showed, to come true the user' s needs at the same this system could solve three disadvantages of the transmission by the way of FTP, and achieving the functions of man- agement of data, screening and querying for the log and so on.
Keywords:multi-threading  data files  transmission system  Socket  meteorological data  file transfer protocol
本文献已被 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号