Development and application of software for automatic release of earthquake information in Chongqing
-
摘要: 针对重庆市测震台网地震速报与震情信息发布现状,基于VB.net技术设计了重庆市震情信息自动发布软件。该软件实现了与全国地震速报信息共享服务系统(EQIM)的连接,从EQIM系统的Mysql数据库中获取地震数据,根据相应的发布规则,并依托电信运营商短信代理服务器,实现震情信息自动、快速、准确的发布。Abstract: Aiming at the present situation of the earthquake instant message and the release of earthquake information in Chongqing seismic network, a software of automatic release of earthquake information is designed based on VB.net technology. The software connects with EarthQuake Instant Messenge (EQIM) and gets the earthquake quick report data from the Mysql database of EQIM. According to the corresponding release rules, the earthquake information can be released automatically, quickly and accurately, relying on the SMS proxy server of telecom operators.
-
Key words:
- seismic network /
- earthquake information /
- short message /
- automatic release /
- VB.net technology
-
表 1 Catalog表结构
Table 1. Catalog table structure
字段名 类型 NULL KEY Default 备注 Cata_id Varchar (40) PRI 目录编号 Save_time Timestamp (14) YES NULL 接收时间 O_time datetime MUL 0000-00-00 00:00:00 发震时刻 Lat Double (15) 0 纬度 Lon Double (15) 0 经度 Depth Double YES NULL 深度 M Double YES NULL 震级 Location_cname Varchar (128) YES NULL 参考地名 表 2 短信代理服务器SMS_outbox表结构
Table 2. SMS_outbox table structure
COLUMN-NAME 示例 类型 字段长度 NULL KEY 字段说明 EXTCODE 0002 Varchar 1 扩展号码 DESTADDR 13996083271 Varchar 2000 NOT NULL 接受手机MSISDN,多个用“;”分割,
最大不超过50个MESSAGECONTENT test Varchar 400 NOT NULL 短信内容
当MSGFMT为4时,消息内容为十六
进制字符串。发送短信的最大长度为
400个汉字REQDELIVERYREPORT 1 int 4 NOT NULL 是否需要状态报告
0:不需要
1:需要MSGFMT 15 int 4 NOT NULL 消息类型 0-ASCII
4-Binary,8-usc2
15-gb2312,16-gb18030SENDMETHOD ‘’ int 4 NOT NULL 普通短信为1 REQUESTTIME ‘’ datetime NOT NULL 入库时间(短信发送请求时间) APPLICATIONID ‘’ Varchar 16 NOT NULL 业务编号 ECID 12 Varchar 20 EC/SI应用的ID -
[1] 徐胜,王振威,陆锋. 无锡市地震速报信息智能发布系统的研制与应用[J]. 国际地震动态,2014(9):29-34 [2] 夏仕安,戚浩,刘泽明,等. 震情信息发布平台的研制与应用[J]. 地震地磁观测与研究,2013,34(5/6):340-342 [3] 赵国峰,李丽,李永红,等. 12322地震速报短信服务系统设计与实现[J]. 地震研究,2014,37(1):157-162 [4] 罗治国,李少睿,赵韬,等. 陕西省地震信息发布系统的研发[J]. 山西地震,2018(1):43-46 [5] 曾文敬,肖健,赵爱平,等. 江西省地震局地震速报信息发送软件介绍[J]. 高原地震,2013,25(1):46-48 [6] 孙路强,李刚,栗连弟,等. 地震应急信息发送端软件的设计与实现[J]. 防灾科技学院学报,2011,13(3):61-65 [7] 孙路强,刘磊,朱宏,等. 天津市地震局地震事件共享系统的设计与实现[J]. 震灾防御技术,2016,11(1):165-172 [8] 杨陈,黄志斌,高景春,等. 全国地震速报信息共享服务系统[J]. 地震地磁观测与研究,2009,30(5):133-138 [9] 蒋宏毅,杨凡,冯录刚. 基于MAS的地震速报信息短信发布[J]. 地震地磁观测与研究,2015,36(5):113-115 -