现有的网格编程语言与环境可以分为两大类,一类是对现有语言扩充,引入网格特征,一类是使用工作流技术,支持服务定制.论文提出了一种面向服务组合的结构化网格编程语言SGPL,并在此基础上,设计了一个可视化的网格编程环境VGPE.VGPE结合了现行网格编程环境的优点,具有结构化、可定制性和可视化等特点.论文对SGPL的主要语言要素(活动、转移和关联等)和主要结构体(顺序、条件、循环、并行和宏等)进行了定义,论述了SGPL的中间代码生成规则,给出了分支结构和宏结构的解析算法.最后论文在校园网格环境下,实现了SGPL和VGPE,并通过实验验证了SGPL可以一次性定制和组合复杂的或重复的网格服务请求,简化了服务过程,提高了工作效率.
Existing grid programming language and environment can be classified into two categories: one is to extend existing language and introduce grid features; the other is to use workflow technology and support services customization. This paper introduces a structured grid programming language (named as SGPL) to customize and aggregate Grid Services. And based on the SGPL, a visual grid programming environment (VGPE) is established. The VGPE eombines the advantages of existing grid programming environment, for example it bears features of structure, customization and visualization. This article firstly defines the elements (such as activity, transfer and conjunction etc. ) and structures (such as sequence, branch, circle, parallel and macro etc. ) of the SGPL, and then explains the rule of intermediate code generation, and gives parse algorithms of branch structure and macro. Finally ,in the campus grid environment, the SGPL and the VGPE are implemented, and an experiment is done to test the SGPL on the VGPE. The result of the experiment demonstrates that to compose complex or repetitive grid service the SGPL just need one-time customization, it is obvious that the SGPL simplifies service process and improves efficiency.