基于FTP协议的地震应急产品共享系统的设计与实现

福建省地震局,福州350003

FTP;地震应急产品;ArcPy;jinja2模板引擎;共享服务器

Design and Implementation of Earthquake Emergency Product Sharing System Based on FTP Protocol
ZHENG Yun,WANG Qingping,ZHENG Chao,LIN Yanzhao,XIAO Jian,ZHANG Shujun

Fujian Earthquake Agency , Fuzhou 350003, China

FTP;Earthquake emergency products;ArcPy;Jinja2 template engine;Shared Server

DOI: 10.13512/j.hndz.2023.02.08

备注

为提升地震应急产品的共享时效性,设计了一套基于FTP协议的地震应急产品共享系统。系统通过移动互联网与地震速报系统之间保持长连接,利用MQTT协议实时接收地震速报信息,根据地震烈度衰减模型生成地震影响场,运用ArcPy站点包自动产出应急专题图,然后通过调用jinja2模板引擎生成震区基本情况报告,最后利用FTP协议将产出的地震应急产品自动传输至局共享服务器。地震应急产品共享系统已向福建省地震局相关人员提供服务,并在数次台湾地震中取得良好效果。
In order to improve the sharing timeliness of earthquake emergency product,an earthquake emergency product sharing system based on FTP protocol is designed in this paper. The system maintains a long connection with the earthquake quick report system through the mobile Internet, receives the earthquake quick report information in real time by using the MQTT protocol,generates the seismic influence field according to the seismic intensity attenuation model,automatically outputs the emergency thematic map by using ArcPy site package,and then generates the basic situation report of the earthquake area by calling Jinja2 template engine. Finally, the earthquake emergency products are automatically transferred to the local shared server by using FTP protocol. The earthquake emergency product sharing system has provided service to the relevant personnel of Fujian Earthquake Agency and achieved good results in several Taiwan earthquakes.
·