摘要
介绍一种能直接从网页获取地震目录的应用软件,实现对任意地震信息网站上的任意地震目录自动下载。该软件向HTTP服务器发送请求获取服务器传回包含数据的网页源文件,最后提取源文件的目录信息,并进行数据格式转换。核心功能主要是实现原来人工操作搜索地震目录, 并对接收来的文件进行分析,分离其中的数据部分,以达到自动下载和整理地震目录的目的。
In this paper, we introduce application software, which can download earthquake catalogue. It can download any earthquake catalogue from any relevant earthquake websites. It can acquire source code of the web pages that contain the data by sending HTTP request to HTTP server and finally analyzes the efficient information in the source code and exchange the format of the data. The essential functions of this software are imitating the manually searching process of earthquake catalogue, analyzing the source code of the webpage and extracting the useful data in order to automatically download and deal with earthquake catalogue.
出处
《地震地磁观测与研究》
2005年第6期105-110,共6页
Seismological and Geomagnetic Observation and Research
关键词
地震目录
设计方法
模拟请求
earthquake catalogue, methods of designing, imitate request