摘要
气象部门采用传统的FTP数据文件推送方式存在着几个不足:问题之一就是难以实现实时快速将数据中心的有关数据文件传送到所需要的相关下级业务部门;问题之二是难以根据数据文件自身具有的重要性实时进行传送;问题之三是难以满足用户需要的采用定制来实时推送相应的数据文件。基于多线程的应用,以Socket为推送技术,实现对多类数据源进行实时快速的多目的传送,结合数据库技术实现了使用者对数据文件的查询、统计和实时管理等操作。测试结果表明:在满足用户的功能需求的同时,系统能有效解决以上存在的不足,并且实现了对数据的后期管理,对日志的查询筛选等数据管理功能。
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.
出处
《南昌大学学报(工科版)》
CAS
2013年第4期392-398,共7页
Journal of Nanchang University(Engineering & Technology)
基金
江西省科技计划支撑资助项目(20112BBG70087)