上海第二工业大学学报
上海第二工業大學學報
상해제이공업대학학보
Journal of Shanghai Second Polytechnic University
2015年
3期
247-259
,共13页
鲁珺%熊家宝%曾付山%张小贝
魯珺%熊傢寶%曾付山%張小貝
로군%웅가보%증부산%장소패
工具命令语言%百度地图应用程序接口%天气信息服务%公共网关接口
工具命令語言%百度地圖應用程序接口%天氣信息服務%公共網關接口
공구명령어언%백도지도응용정서접구%천기신식복무%공공망관접구
tool command language (TCL)%Baidu Map application program interface (API)%Weather Web Service%common gateway interface (CGI)
目前地图信息的查询与天气预报的实现大多采用.NET开发平台,虽然.NET对微软Windows有出色的支持,但对其他系统下的开发支持还不够.因此,根据工具命令语言(TCL)多平台通用和易于扩展的特点,采用其网络接口开发包、网络协议传输包及套接字替代.NET实现网络服务平台的高效、快速开发,同时使得开发的网络平台可以在Linux、Unix、Windows等系统上运行.为便于用户获取各地的地理和天气信息,采用百度地图应用程序接口(API)和天气信息服务(Weather Web Service)接口,并利用TCL编写的公共网关接口(CGI)对上述两种Web接口的服务进行整理,用户可根据不同的需求,获取相应的信息服务.此外,在Windows下设计开发的TCL及CGI脚本可移植于其他系统,实现跨平台操作.
目前地圖信息的查詢與天氣預報的實現大多採用.NET開髮平檯,雖然.NET對微軟Windows有齣色的支持,但對其他繫統下的開髮支持還不夠.因此,根據工具命令語言(TCL)多平檯通用和易于擴展的特點,採用其網絡接口開髮包、網絡協議傳輸包及套接字替代.NET實現網絡服務平檯的高效、快速開髮,同時使得開髮的網絡平檯可以在Linux、Unix、Windows等繫統上運行.為便于用戶穫取各地的地理和天氣信息,採用百度地圖應用程序接口(API)和天氣信息服務(Weather Web Service)接口,併利用TCL編寫的公共網關接口(CGI)對上述兩種Web接口的服務進行整理,用戶可根據不同的需求,穫取相應的信息服務.此外,在Windows下設計開髮的TCL及CGI腳本可移植于其他繫統,實現跨平檯操作.
목전지도신식적사순여천기예보적실현대다채용.NET개발평태,수연.NET대미연Windows유출색적지지,단대기타계통하적개발지지환불구.인차,근거공구명령어언(TCL)다평태통용화역우확전적특점,채용기망락접구개발포、망락협의전수포급투접자체대.NET실현망락복무평태적고효、쾌속개발,동시사득개발적망락평태가이재Linux、Unix、Windows등계통상운행.위편우용호획취각지적지리화천기신식,채용백도지도응용정서접구(API)화천기신식복무(Weather Web Service)접구,병이용TCL편사적공공망관접구(CGI)대상술량충Web접구적복무진행정리,용호가근거불동적수구,획취상응적신식복무.차외,재Windows하설계개발적TCL급CGI각본가이식우기타계통,실현과평태조작.
The current map information query and weather real time forecast are generally achieved by .NET development platform. Basically, .NET support Microsoft windows system excellently. However, it cannot give other systems the same good support. To try another way, tool command language (TCL) tools can be used in many common platforms and it is easily to be expanded. With the usage of the two above characteristics, the TCL uses network interface package, networking protocol package and socket to realize effective and rapid development of network service platform instead of .NET. Meanwhile, the Web Service Platform designed by TCL can also work in different systems such as Linux, Unix and Windows. To help customers acquire geography's and weather's information all over the world, Baidu Map application program interface (API) and Weather Web Service interfaces are adopted. Moreover, TCL common gateway interface (CGI) is used to reorganize Baidu Map API and Weather Web Service API. According to different requirements, the customers can obtain the corresponding information service. In addition, the TCL and CGI scripts designed for weather forecasting service platform can be transplanted from Windows into other systems, and then the operation of cross platform can be achieved.