用户名: 密码: 验证码:
基于智慧气象的数据接口的实现
详细信息    查看全文 | 推荐本文 |
  • 英文篇名:Implementation of Data Interface System Based on Climate Smart
  • 作者:王婉 ; 武鹏 ; 郭学峰 ; 徐鹏
  • 英文作者:Wang Wan;Wu Peng;Guo Xuefeng;Xu Peng;Henan Provincial Meteorological Service Center;Henan Provincial Meteorological Detection Data Center;
  • 关键词:智慧气象 ; 数据接口 ; 数据请求 ; 数据响应
  • 英文关键词:climate smart;;data interface system;;data request;;data response
  • 中文刊名:HNQX
  • 英文刊名:Meteorological and Environmental Sciences
  • 机构:河南省气象服务中心;河南省气象探测数据中心;
  • 出版日期:2018-12-13 15:07
  • 出版单位:气象与环境科学
  • 年:2018
  • 期:v.41;No.185
  • 基金:河南省气象服务数据接口传输规范标准研究项目(20181210081)资助
  • 语种:中文;
  • 页:HNQX201804020
  • 页数:5
  • CN:04
  • ISSN:41-1386/P
  • 分类号:130-134
摘要
物联网、云计算、移动互联、大数据等新一代智能技术的迅猛发展,为智慧气象产品提供了技术支撑。由于气象信息系统数据类型多种多样,且来自多个部门、跨越多个系统平台,数据结构和格式也不相同,因此数据读取与处理是一项异常复杂的工程。为了解决该问题,开发了基于智慧气象的气象服务数据接口。基于智慧气象的数据接口,具有跨平台性、良好的响应速度、通用的数据交换格式,可使各种应用之间相互通信,并能创建新的应用。基于智慧气象的气象服务数据接口为RESTful风格,返回格式为JSON。数据接口的开发采用JAVA语言,基于Spring MVC+Spring Security Oauth2开发框架实现。数据存储采用Oracle数据库,分为冷、热两种数据。客户端对数据接口的访问,采用HTTP GET的方式发出数据请求,访问服务资源地址,获得JSON格式的数据返回结果。为加强数据接口访问的安全性,采用HTTPS POST方式访问授权接口获取访问令牌。基于智慧气象的数据接口,已为微信、微博、手机APP、网站等多个系统及保险公司、市政等多个单位提供数据支撑,且气象服务数据接口系统安全性高,具有较好的用户体验和兼容性。
        The rapid development of new new generation of intelligent technologies such as Internet of things,cloud computing,mobile Internet,big data and intelligence provides technical support for intelligent meteorological products. Because of different types of data from meteorological information system,multiple departments and platforms,data structure and format are different. Therefore,data reading and processing are very complex. In order to solve the problem,the meteorological service data interface system based on climate smart must be developed. The data interface with cross-platform,good responsiveness,and a common data exchange format enables applications to communicate with each other and creates new applications. Based on the design methodology of a meteorological service,the data interface is RESTful and the return format is JSON. The development of the data interface is developed in JAVA language and is based on the Spring MVC + Spring Security Oauth2 development framework. Data storage is using Oracle database,which is divided into cold and hot data. Client data interface sends data request,accesses resource address and gets data in JSON format by HTTP GET. In order to enhance the security of data interface,the HTTPS POST method is used to access the authorization interface to obtain the access token. The data interface based on the intelligent meteorological system provided data support for a lot of systems such as WeChat,micro-blog,mobile APP,website and multiple units such as insurance company and municipal. The weather service data interface system has high security performance and good user experience and compatibility.
引文
[1]张永.气象专家解读智慧气象与大数据[EB/OL].(2018-03-22)[2018-04-04]. http://www. cma. gov. cn/2011wmhd/2011wzbft/2011wftzb/201803/t20180322_464789. html.
    [2]王敬涛,牛彦元,吴鹏,等.智慧气象与它的好搭档[EB/OL].(2018-03-20)[2018-03-22]. http://www. cma. gov. cn/2011xzt/2018zt/20180323/2018032307/201803/t20180320_464539. html.
    [3]袁长焕.如何用好智慧气象这把“金钥匙”[EB/OL].(2016-08-10)[2018-08-10]. http://www. cma. gov. cn/2011xwzx/2011xqxxw/2011xqxyw/201608/t20160810_318955. html.
    [4]伍逸. XML实用技术自学经典[M].北京:清华大学出版社,2016.
    [5]耿祥义,张跃平. XML基础教程[M].北京:清华大学出版社,2012.
    [6]余智超.支持动态更新的XML数据编码模式研究[D].南昌:南昌航空大学,2017.
    [7]张睿.基于XML的电子政务数据交换平台设计[J].安徽冶金科技职业学院学报,2014,24(2):24-26.
    [8]宦国胜. API开发指南[M].北京:水利水电出版社,2012:69-134.
    [9]徐大海.计算机软件数据接口的应用研究[J].中国战略新兴产业,2018(28):110.
    [10]白慧,高辉,刘长征,等. MODES系统对贵州月气温、降水预测初步评估[J].沙漠与绿洲气象,2016,10(5):58-63.
    [11]马浩,樊高峰,李正泉,等.延伸期天气过程预报在线展示系统的设计与实现[J].干旱气象,2015,33(1):167-173.
    [12]张红艳.计算机软件数据接口的应用分析[J].才智,2017(34):240.
    [13]章国材.气象云建设的研究与思考[J].气象与环境科学,2015,38(4):1-11.
    [14]李戈,武威.沙澧河流域致洪预警系统设计与应用[J].气象与环境科学,2018,41(1):138-143.
    [15]宋朝辉. RESTful Web API模式下基于角色的权限管理设计与实现[J].科技创新导报,2017,14(36):136-138.
    [16]Sanjay Patni. RESTful API开发实战[M].北京:清华大学出版社,2018:25-42.
    [17]Lindsay Bassett. JSON必知必会[M].北京:人民邮电出版社,2016.
    [18]金鸣,袁嵩,刘荣.利用JSON实现客户端与服务器端通信[J].电脑编程技巧与维护,2018(4):75-77.
    [19]韩加勉.基于Android和JAVA EE架构的物流系统设计与实现[D].长春:吉林大学,2017.
    [20]赵鹏,骆德汉,梅领亮.一种基于JSON的Android终端远程获取解析数据的方法[J].微型机与应用,2017,36(21):57-60.
    [21]柯秋莉.移动终端APP学习软件的设计与实现[J].智能计算机与应用,2017,7(6):152-154.
    [22]林捷妤.基于安卓系统的APP开发技术研究[J].科技创新与应用,2018(16):149-151.
    [23]丁亦喆,廖楠楠,田津浩.基于Android系统的智能交互APP设计思路研究[J].信息记录材料,2018,19(5):78-79.
    [24]王涛,李强,成晓琴.基于WebGIS的祁县地质灾害预报预警系统研究[J].气象与环境科学,2017,40(1):138-143.
    [25]贺倩.人工智能技术发展研究[J].现代电信科技,2016,46(2):18-21,27.
    [26]林荣惠.气象影视发展中的问题及对策[J].陕西气象,2009(3):38-40.
    [27]何清,李宁,罗文娟,等.大数据下的机器学习算法综述[J].模式识别与人工智能,2014,27(4):327-336.
    [28]丽贝卡·弗格森,肖俊洪.增强学习的可能性与挑战[J].中国远程教育,2016(5):5-13,79.

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700