北京奥运气象服务产品制作系统设计与实现
Design and Implementation of Beijing Olympic Meteorology Forecasting Product Service System
-
摘要: 介绍了专用于2008年北京奥运会、残奥会气象保障任务的奥运气象信息服务系统(OMIS)的核心分系统之一——“北京奥运气象服务产品制作系统”的设计思路与实现技术。该系统根据北京奥运气象服务的开放性、稳定性、灵活性等高标准要求,首次在奥运气象服务中引入TeX技术,并结合产品模版以及关系数据库等技术策略,构建一套稳定、灵活、针对性强的奥运气象服务产品生成的解决方案。该系统使用C++ STL开发,适用于Linux,Windows平台,能快速实现数十种气象服务预报产品的制作,并可根据奥运会、残奥会需求的变化灵活修改以生成新的服务产品。该系统作为中国气象局北京奥运服务中心的“奥运气象信息服务系统”的关键部分,在北京奥运会、残奥会期间运行稳定,前后共产生数万个气象服务产品,圆满完成北京奥运气象服务保障任务。Abstract: To meet weather service requirements of 2008 Beijing Olympic Games and Paralympic Games, a software system named OMIS is developed and deployed in Beijing Olympic Meteorological Service Centre (BOMSC), which takes responsibility for producing and sending various types of meteorological forecasting service products on time to the relevant departments of the Olympic Games. The technological framework for this meteorology forecasting service product is described in detail, including the application of TeX, relational database, and template. The subsystem implemented in this model is developed as the core of OMIS and plays a key role in many events such as the stage of preparation, rehearsal, and held for Olympic Games. To generate multiple sets of weather service products, OMIS must meet at least three strict requirements: High stability, automation and flexibility. Additionally, there are strict requirements in respect of intellectual property rights for the Olympic weather support system, particularly focusing on the copyright issues. Due to these demands and limitations, it's analyzed on how to select documents generating technical strategy. Comparisons of technological framework for generating documents between TeX with Microsoft Word are elaborated in various aspects such as opening, stability, flexibility and extensibility. Therefore, an effective framework integrated with TeX language, relational database, templates technology strategy and forecasting service product are designed. The model covers the whole process from data receiving, decoding, storing, querying, to product generating and distributing. Among technologies in this model, utilizing TeX under Linux is to meet the needs of stability and security; the MySQL database ensures the openness, storage, and automated processes; templates strategy under TeX template language is to supply documents generated by a dynamic configuration process in response to frequent changes in the document style. It is the first time to introduce TeX technology into the application of the entire weather service for Olympic Games. Besides these techniques, the core of this platform is coded in C++ with standard template library (STL), which can simplify the future migration to other operating systems, such as Linux and Windows. As a result, the OMIS shows high stability and good usability during the meteorology service in Beijing Olympic Games and Paralympic Games.
-
Key words:
- TeX;
- Beijing Olympic Meteorology Service;
- forecasting products;
- template
-
表 1 基于TeX与Word两种技术框架对比分析
Table 1 Comparison for two different kinds of framework based on TeX and Word
-
[1] 叶殿秀, 陈峪, 张强, 等.北京奥运期间极端天气气候事件背景分析.气象, 2004, 30(8):31-35. http://www.cnki.com.cn/Article/CJFDTOTAL-QXXX200408007.htm [2] 李庆祥, 朱燕君, 熊安元.北京等6城市奥运期间不利天气的概率统计.应用气象学报, 2006, 17(增刊):42-47. http://www.cnki.com.cn/Article/CJFDTOTAL-YYQX2006S1005.htm [3] 杨元琴, 王继志, 侯青, 等.北京夏季空气质量的气象指数预报.应用气象学报, 2009, 20(6):649-655. http://qikan.camscma.cn/jams/ch/reader/view_abstract.aspx?file_no=20090601&flag=1 [4] 张德山, 丁德平, 穆启占, 等.北京奥运交通路段精细预报.应用气象学报, 2009, 20(3):380-384. http://qikan.camscma.cn/jams/ch/reader/view_abstract.aspx?file_no=20090316&flag=1 [5] 卢娟, 唐亚平, 孙丽, 等.2008年北京奥运会沈阳极端天气事件气候背景分析.气象与环境学报, 2006, 22(5):10-13. http://www.cnki.com.cn/Article/CJFDTOTAL-LNQX200605002.htm [6] Donald E Knuth.The TeXbook (Computers & Typesetting).Reading, Massachusetts:Addision-Wesley, 1984. [7] Frank Mittelbaeh, Michel Gooasens, Johannes Braams, et al.LaTeX Companion, Second Edition (Tools and Techniques for Computer Typesetting).Boston, Massachusetts:AddisonWesley Pearson Education, 2004. [8] Leslie Lamport.LATEX:A Document Preparation System, Second Edition, Reading, MA:Addison-Wesley Publishing Company, 1994. [9] Helmut Kopka, Patrick Daly.A Guide to LATEX, Fourth Edition, Reading, MA:Addison-Wesley Publishing Company, 2004. [10] Adobe Systems Incorporated.PDF Reference:Adobe Portable Document Format Version 1.4.New York:Addison-Wesley, 2001. [11] Tobias Oetiker, Hubert Part1, Irene Hyna, et al.The Not So Short Introduction to LaTeX2e (lshort), http://www.ctan.org/tex-arehive/info/lshort/english/lshort.pdf.2004. [12] Keith Reekdahl.Using Imported Graphics in LATEX and pdfLATEX, http://mirror, pacific, net.au/CTAN/info/epslatex/english/epslatex.pdf.2006. [13] Michel Goossens, Sebastian Rahtz, Frank Mittelbach.LaTeX Web Companion, Integrating TeX, HTML, and XML Reading, Massachusetts:addison-wesley, 1999. [14] Michel Goossens, Sebastian Rahtz, Frank Mittelbach, The LATEX Graphics Companion, Reading, MA:Addison-Wesley Publishing Company, 1997. [15] 范斯瓦尼.MysQL完全手册.徐小青, 路晓村, 译.北京:电子工业出版社, 2004. [16] 金旭军, 苗晓辉.MySQL:创建用户接口.北京:人民邮电出版社, 2008. [17] Stanley B Lippman, Barbara E Moo, Josee Lajoie.C++Primer, Fourth Edition, New York:Addison-Wesley Professional, 2005. [18] Nicolai M Josuttis.The C++Standard Library:A Tutorial and Reference (Hardcover), New York:Addison-Wesley Professional, 1999. [19] Scott Meyers.Scott Meyers Effective STL.New York:Addison-Wesley Professional, 2001.