CN101599012A - A kind of graphical development method that is used for grid computing - Google Patents

A kind of graphical development method that is used for grid computing Download PDF

Info

Publication number
CN101599012A
CN101599012A CNA2009100321302A CN200910032130A CN101599012A CN 101599012 A CN101599012 A CN 101599012A CN A2009100321302 A CNA2009100321302 A CN A2009100321302A CN 200910032130 A CN200910032130 A CN 200910032130A CN 101599012 A CN101599012 A CN 101599012A
Authority
CN
China
Prior art keywords
work flow
grid work
user
grid
resource
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CNA2009100321302A
Other languages
Chinese (zh)
Inventor
王汝传
谢韵
任勋益
季一木
蒋凌云
付雄
邓松
易侃
杨明慧
邓勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing Post and Telecommunication University
Nanjing University of Posts and Telecommunications
Original Assignee
Nanjing Post and Telecommunication University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanjing Post and Telecommunication University filed Critical Nanjing Post and Telecommunication University
Priority to CNA2009100321302A priority Critical patent/CN101599012A/en
Publication of CN101599012A publication Critical patent/CN101599012A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Stored Programmes (AREA)

Abstract

The graphical development method that is used for grid computing is a kind of grid work flow development approach based on figure, and the purpose of this method is to simplify the loaded down with trivial details property of present various workflow development, and the business demand layer is separated with the business realizing layer.And the exploitation of the grid work flow mode with the web page is represented, and embodied the grid work flow dynamic characters by the Flex technology.We represent layer with business and separate with the realization layer of business in the process of grid work flow design, business represents layer and showed the gridding resource classified information of reading in addition and the grid work flow model information that represent simultaneously by graphic interface from resources bank.

Description

A kind of graphical development method that is used for grid computing
Technical field
The present invention is a kind of novel grid work flow development approach, and has provided the framework of Application and Development on the basis of grid platform.Be mainly used in the quick exploitation that realizes grid work flow, realize the automatic generation of grid work flow, obtain having the grid work flow flow process of adaptivity.Solved fundamentally that the grid work flow visualized operation is poor, shortcoming such as combination relevance difference between the service.
Background technology
Gridding technique is a kind of emerging technology that occurs along with the development of Web technology, and it has adapted to the characteristics of Internet preferably, can fully realize resource share and task between cooperation finish.At present, many computational resources are arranged in the grid environment, how to make full use of these resources, need to make up the computing basic facility of grid on the one hand, the grid application that also needs simultaneously exploitation support platform by idle.Although workflow alliance (WFMC) has formulated corresponding work streaming system model, the exploitation of grid work flow still tempo of development, development difficulty and visual on exist the big shortcoming of religion.
Grid work flow is the application of workflow technology under grid environment.Workflow technology plays an increasingly important role gradually from occurring till now.Workflow can provide operation flow modeling, management and control function for enterprise uses, and can be applied to fields such as the integrated and credit financing business of one-stop office, the flow process in the ecommerce in the E-Government, becomes recent growth field faster.Because the increase day by day of the scale of grid, the complexity day by day of network is so just had higher requirement to the exploitation of grid work flow.Based on the gordian technique of the development approach of the grid work flow of model comprise that foundation, the work process flow of the foundation of model (Resource Model), graphical display systems generate automatically, gridding resource binding etc. automatically.And automatic generation of graphical demonstration and flow process is to influence one of widely used key factor of grid work flow development technique, and therefore the graphical development method of studying under the grid computing platform is significant.
The pattern development process of grid computing platform mainly comprises four aspects: the automatic binding of the coupling of foundation (2) model of (1) grid resource model and automatic generation (4) gridding resource of mapping (3) flow process.Foundation to first aspect grid resource model has at present had Study on forming and design, can carry out Classification Management to the various resources under the grid environment by existing grid resource instrument.But next 3 are not well used in existing grid work flow performance history.At present, the notion that in the grid work flow exploitation that has existed, has all lacked model, and the user must carry out detailed definition to flow process when grid work flow is developed, this just requires the user to grid environment being familiar with very, thereby makes the exploitation of grid work flow have certain threshold.
Summary of the invention
Technical matters: the purpose of this invention is to provide a kind of graphical development method that is used for grid computing, solve the inefficiencies and the complexity problem of work process flow exploitation in the grid computing, different with the development approach of using in the past, this method is a kind of by setting up the method that generates code with the corresponding figure of model, and the method that the application of the invention proposes can reach the purpose of a grid work flow flow process of quick generation.
Technical scheme: method of the present invention is that the workflow figure melts forwarding method, by using the graphical development technology to propose in conjunction with the foundation of grid resource model, its target is by carry out the coupling and the mapping of the resource model of grid according to user's requirement, carry out the automatic generation of flow process code and the automatic binding of gridding resource subsequently, thereby finish an executable grid work flow.
This method is used to develop grid work flow, and its development procedure is specific as follows:
1) foundation of grid work flow model:
The user creates the grid work of oneself in two ways, makes up the grid work flow model according to user's demand:
A) existing grid work flow model: the user can select the grid work flow model that existed, makes up grid work flow and use on existing grid work flow model;
B) User Defined grid work flow model: the user can define the grid work flow model of a blank, designs this model then voluntarily, sets up the frame system of model;
2) utilize pel to represent the classification of gridding resource:
After the user has designed the grid work flow model, need be on the grid work flow model flow process of planning grid workflow and the gridding resource that uses;
2a) gridding resource: the pairing pel of user by selecting resource carries out the grid work flow design, and in flow scheme design, what the user selected is resource classification and some requirements to resource;
2b) grid work flow flow process: the operation that the user selects suitable mesh services that each gridding resource is connected, the mesh services that the user selects here can search directly that mesh services registration center selectes or flow process write undertaken by mesh services registration center after finishing selected automatically;
3) send grid work stream architecture information to adapter:
After the user has finished the essential information definition of grid work flow, adapter carries out adaptive according to the defined grid work flow flow process of user to grid resource model, thereby obtain the corresponding information of gridding resource, the application framework of generating mesh resource in grid work flow;
4) in work process flow, select gridding resource:
The gridding resource of selecting when the flow scheme design according to the user and above the gridding resource framework that generates, add gridding resource automatically in the grid work flow flow process;
5) in work process flow, add mesh services:
According to the defined mesh services type of grid user, from the UDDI of mesh services registration center, search corresponding mesh services each gridding resource in the gridding resource framework is linked.Corresponding mesh services should satisfy the requirement of user performance, and selects the optimal service of the most suitable flow process performance according to certain algorithm;
6) execution of grid work flow and monitoring:
Grid work flow is carried out engine execution user and is defined the grid work flow flow process of finishing, at first finish the initialization of execution by searching the grid work flow framework, the resource model that produces by adapter carries out the use registration of gridding resource then, by the mesh services of being bound in the flow process each resource is called at last, and finished the execution of whole work process flow; In the process of carrying out, the state of gridding resource and the state of mesh services are all embodied on the grid work flow monitoring interface;
7) release of the preservation of grid work flow model and resource:
After grid work flow is complete, selects whether to re-execute, preserve execution result, preserve the grid work flow model manipulation that the user designs by the user; Finish the flow process of grid work flow the user after, resource discharges automatically, comprises the resource that discharges binding, the information such as middle execution result that discharge flow process; If the defined grid work flow model of user is not present in the grid work flow model bank, then this model is added.
Beneficial effect: the inventive method has proposed the new method of grid computing platform grid work flow development and Design, be mainly used in the grid work flow flow process exploitation The Visual Implementation problem that solves, the method that the application of the invention proposes can be avoided by the complicacy of grid work flow flow process exploitation, closure, the dirigibility that can improve method for designing, can effectively reach quick exploitation and carry out the purpose of a grid work flow.Graphical development method and platform tool thereof have following advantage:
1) pattern exhibiting intuitively
Utilize the incorporate development approach of artwork, used various gridding resources in the show grid workflow intuitively, and the subordinate relation between definite each gridding resource, the executing state of mesh services etc., utilize the pattern exhibiting of Flex exploitation can on any platform, show and deployment, carry out the operation of professional platform independence
2) the exploitation complicacy reduces
Artwork incorporate development approach has realized professional the separating of layer and logical layer that represent, realized the loose coupling between at all levels, adopted patterned modeling method for grid work flow, reduced the complexity of exploitation, and finish with model relation is hinted obliquely at by Model Matching and service, make the flow process developer not need the detailed problem of too much understanding bottom.
3) represent layer and the separating of logical layer;
Loose coupling between at all levels has increased the dirigibility of grid work flow exploitation greatly, and the change of bottom model can not cause very big influence to the grid work flow on upper strata.
4) execution of workflow is integrated with monitoring;
The incorporate development approach of artwork can represent the characteristic of grid fully, the dynamic of grid particularly, in the integrated development approach of artwork, grid user can be seen the executing state and the execution result of each node intuitively, and control the state of each grid node at any time, realized the integrated of the execution of grid work flow and monitoring.
5) the quick issue of support grid application;
Adopt the graphical displaying of Flex, can make in grid environment, issuing that grid work flow is more prone to, what the Flex technology still adopted is the structural system of B/S, has adopted the MVC three-decker in design, makes the user can carry out visit cross-platform, cross-region at any time.
Description of drawings
Fig. 1: grid work flow development platform structure system,
Fig. 2: grid work flow development process design.
Embodiment
One, architecture
Fig. 1 has provided the design architecture of the workflow development platform of grid environment, and it comprises following functional part: graphical user interface, model adapter, gridding resource registration center, flow process automatic generator, grid resource model.
Below we provide the main explanation of various piece:
Graphical user interface: excellent user interface is the very important aspect that exploitation meets the software of user's request, and final user's experience can be provided greatly by the quality and quantity that increases graphical user interface.Our graphical user interface will be developed based on the Flex technology, its base page is Flash, graphic interface based on the Flex technology can better embody the grid dynamic characters, and can support writing of page code based on the pel of Flex technology, make that like this statement ability of the page is more abundant.
Model adapter: model adapter is the encapsulation that the client is used, and the user can select the resource needed model before the definition flow process, carry out the exploitation of work process flow on the resource model of selecting; When the user did not know own resource needed model classification, the user only need design the grid work flow of oneself and use, and model adapter can be selected suitable grid resource model according to the designed work process flow of user automatically.And when user-selected resource model and designed flow process did not meet, model adapter can be dished out unusually, revises reference for the user.
Gridding resource registration center: gridding resource registration center provides interface to call for the flow process automatic generator.The task of gridding resource registration center is the resource in the grid environment is classified and preserved its metadata and historical information.When the each calling interface request of flow process automatic generator gridding resource registration center provided service, the gridding resource center offered the only service of flow process automatic generator according to certain algorithm, makes the QOS of grid work flow can reach optimization.
The flow process automatic generator: the flow process automatic generator carries out the robotization generation of work process flow according to user-selected resource type and needed model.The flow process automatic generator at first produces suitable workflow according to Work flow model and carries out framework, searches gridding resource registration center to filling in the framework according to user-selected resource type then, thereby forms an executable grid work flow.
Two, grid platform workflow figure melts realization and the application scheme of sending out
The grid work flow pattern development can be divided into three steps, at first the flow process of grid work flow is designed by the user, by the model of selecting grid work flow and the layout that the pairing pel of gridding resource is finished flow process, secondly finish the model mapping by model adapter, finish the mapping of gridding resource by user-selected grid work flow model, thereby finish the registration of gridding resource in workflow, finish the operation that gridding resource and grid work flow are bundled at last, thereby generate executable grid work flow flow file.In this development plan, the user only need be configured flow logic, and the ins and outs that relate to are then finished by the grid work flow development platform, thereby operation layer is separated with the realization layer, makes that the grid work flow development platform is loose coupling.The step of grid work flow exploitation is as shown in Figure 2. and concrete development process is as follows:
1, utilize Flex pattern exhibiting technology to represent the grid work flow flow process
Coming that by the Flex technology flow process of grid work flow is carried out formalization represents.Obtain the basic service flow process of grid work flow, comprising representing and the grid work flow execution sequence of resource.
The groundwork flow process:
1) grid work flow graphic exhibition, grid work flow graphic exhibition can make the user pay close attention to the function of flow process, rather than concrete realization.
Step1: Tomcat is installed, Tomcat is configured, Flex grid work flow pattern development platform is installed in the lib storehouse that Flex is installed in the Tomcat Runtime Library;
Step2: open Flex graphic exhibition platform interface, a newly-built grid work flow engineering, this project has comprised some basic frameworks of grid work flow;
Step3: the user selects the Work flow model of required foundation on platform, if the needed grid work flow model of user is arranged in the ready-made Work flow model storehouse, then the user directly selects this model; If no, then the user selects self-defined grid work flow model;
Step4: the user carries out the design of gridding resource and mesh services on selected grid work flow model platform, utilize the drag and drop of pel to finish the configuration of flow process, in this step, the user only need define the classification of resource needed, need not concrete service be provided with;
Step5: the graphic exhibition platform simultaneously carries out syntax check according to corresponding rule to the designed flow process of user, does not allow user's modification if meet then point out faults;
Step6: the graphic exhibition platform is finished a workflow according to the framework of defined flow process of user and selection and is described the XML file, this document offers the grid work flow engine, in this document, defined the user and defined needed gridding resource in grid work flow model and the flow process.
2, the automatic binding of model mapping and resource
Mapping Subsystem has mainly been finished the operation that flow process that the user is defined and Work flow model shine upon, by obtaining the designed flow process of user, carry out the automatic adapter of model according to the characteristics of flow process, thereby the flow process that the user is designed is automatic and the grid work flow model mates, simultaneously according to user-selected gridding resource type, search gridding resource registration center, find that only gridding resource carries out service binding in the similar resource, automatically that the user is the designed flow process of such processing mode is mapped in the environment of grid, finish the work process flow under the grid environment, realized the automatic generation of grid work flow.
The groundwork flow process:
Step1: the XML document that loads the workflow description that defines in the graphical interfaces;
Step2:, then make up new grid work stream architecture automatically according to the defined procedure information of user if user's selection is self-defining grid work flow model;
Step3:, select suitable gridding resource framework to be filled in the grid work flow framework by the grid adapter according to user's grid work flow model framework;
Step4: check and related between model and the user-selected resource class promptly flow process to be carried out lexical analysis, if make a mistake then submit user's processing of making amendment to;
Step5: search gridding resource registration center according to the selected on stream resource type of user, select optimized gridding resource.
Step6: the optimized gridding resource that will inquire carries out grid work flow flow process framework fills, and generates executable grid work flow flow process, realizes the automatic binding of gridding resource and flow process.
3, the execution of grid work flow and monitoring
Step1: the workflow XML document that reads the concrete gridding resource of binding;
Step2: at graphic exhibition layer analyzing XML file, and use pel to show the flow process, and show the execution relation between the gridding resource;
Step3: each pel is carried out initialization, be tied to each real gridding resource, and the dynamic of gridding resource is embodied on pel;
Step4: each step to grid work flow is carried out the corresponding information of all extracting, and shows on the page simultaneously, and according to certain rule the information of gridding resource registration center is upgraded.
The concrete step of implementing is as follows:
Step1: start Tomcat, the user opens the grid work flow design platform;
Step2: the user selects suitable grid work flow model on platform, if the needed grid work flow model of user is arranged, then the user selects this model to create;
Step3: if there is not the needed model of user, then the user creates the grid work flow model of a new blank, and the user defines this model voluntarily;
Step4: open the resource classification tabulation on the model of being set up, the user selects the resource needed pel, and it is dragged on the grid work flow design platform;
Step5: define the association between each resource, select suitable mesh services, carry out the association between each resource;
Step6: carry out initialized syntax check according to the flow process that user definition is good, if mistake then return modification;
Step7: the flow process that user definition is good passes to adapter, and it is adaptive that adapter carries out model according to the defined information of user, and the generating mesh workflow framework;
Step8: the model according to adapter produces, carry out the morphology inspection with user-selected gridding resource and mesh services, if against regulation then return modification;
Step9: search gridding resource registration center,, select optimized service according to optimized Algorithm according to the type of user-selected gridding resource
Step10: the filling of grid work flow model framework is carried out in the service that will choose, thereby produces concrete executable grid work flow;
Step11: flow process is carried out, and the state of involved gridding resource is monitored in to flow process when carrying out;
Step12: each step of flow process is obtained relevant information in execution and monitoring interface, show, and the data of gridding resource registration center are upgraded;
Step13: after flow performing finished, the result who returns execution gave the user, and confirms whether to preserve the defined grid work flow model of user by the user;
Step14: if the user preserve the grid work flow model of design voluntarily, then in model bank, add the description of this model, if do not add, then discharge resource.

Claims (1)

1. a graphical development method that is used for grid computing is characterized in that this method is used to develop grid work flow, and its development procedure is specific as follows:
8) foundation of grid work flow model:
The user creates the grid work of oneself in two ways, makes up the grid work flow model according to user's demand:
A) existing grid work flow model: the user can select the grid work flow model that existed, makes up grid work flow and use on existing grid work flow model;
B) User Defined grid work flow model: the user can define the grid work flow model of a blank, designs this model then voluntarily, sets up the frame system of model;
9) utilize pel to represent the classification of gridding resource:
After the user has designed the grid work flow model, need be on the grid work flow model flow process of planning grid workflow and the gridding resource that uses;
2a) gridding resource: the pairing pel of user by selecting resource carries out the grid work flow design, and in flow scheme design, what the user selected is resource classification and some requirements to resource;
2b) grid work flow flow process: the operation that the user selects suitable mesh services that each gridding resource is connected, the mesh services that the user selects here can search directly that mesh services registration center selectes or flow process write undertaken by mesh services registration center after finishing selected automatically;
10) send grid work stream architecture information to adapter:
After the user has finished the essential information definition of grid work flow, adapter carries out adaptive according to the defined grid work flow flow process of user to grid resource model, thereby obtain the corresponding information of gridding resource, the application framework of generating mesh resource in grid work flow;
11) in work process flow, select gridding resource:
The gridding resource of selecting when the flow scheme design according to the user and above the gridding resource framework that generates, add gridding resource automatically in the grid work flow flow process;
12) in work process flow, add mesh services:
According to the defined mesh services type of grid user, from the UDDI of mesh services registration center, search corresponding mesh services each gridding resource in the gridding resource framework is linked.Corresponding mesh services should satisfy the requirement of user performance, and selects the optimal service of the most suitable flow process performance according to certain algorithm;
13) execution of grid work flow and monitoring:
Grid work flow is carried out engine execution user and is defined the grid work flow flow process of finishing, at first finish the initialization of execution by searching the grid work flow framework, the resource model that produces by adapter carries out the use registration of gridding resource then, by the mesh services of being bound in the flow process each resource is called at last, and finished the execution of whole work process flow; In the process of carrying out, the state of gridding resource and the state of mesh services are all embodied on the grid work flow monitoring interface;
14) release of the preservation of grid work flow model and resource:
After grid work flow is complete, selects whether to re-execute, preserve execution result, preserve the grid work flow model manipulation that the user designs by the user; Finish the flow process of grid work flow the user after, resource discharges automatically, comprises the resource that discharges binding, the information such as middle execution result that discharge flow process; If the defined grid work flow model of user is not present in the grid work flow model bank, then this model is added.
CNA2009100321302A 2009-07-01 2009-07-01 A kind of graphical development method that is used for grid computing Pending CN101599012A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2009100321302A CN101599012A (en) 2009-07-01 2009-07-01 A kind of graphical development method that is used for grid computing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2009100321302A CN101599012A (en) 2009-07-01 2009-07-01 A kind of graphical development method that is used for grid computing

Publications (1)

Publication Number Publication Date
CN101599012A true CN101599012A (en) 2009-12-09

Family

ID=41420467

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2009100321302A Pending CN101599012A (en) 2009-07-01 2009-07-01 A kind of graphical development method that is used for grid computing

Country Status (1)

Country Link
CN (1) CN101599012A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102196000A (en) * 2010-03-11 2011-09-21 新奥特(北京)视频技术有限公司 Browser/server (B/S)-structure-based service flow visualization method and system
CN102486730A (en) * 2010-12-06 2012-06-06 上海协讯软件有限公司 Workflow realization method and workflow system capable of customizing flow in user-defined manner
CN102654833A (en) * 2012-02-01 2012-09-05 中兴通讯(香港)有限公司 Mobile phone application development method and system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102196000A (en) * 2010-03-11 2011-09-21 新奥特(北京)视频技术有限公司 Browser/server (B/S)-structure-based service flow visualization method and system
CN102196000B (en) * 2010-03-11 2015-08-19 新奥特(北京)视频技术有限公司 A kind of operation flow method for visualizing based on B/S structure and system
CN102486730A (en) * 2010-12-06 2012-06-06 上海协讯软件有限公司 Workflow realization method and workflow system capable of customizing flow in user-defined manner
CN102654833A (en) * 2012-02-01 2012-09-05 中兴通讯(香港)有限公司 Mobile phone application development method and system

Similar Documents

Publication Publication Date Title
CN107533453B (en) System and method for generating data visualization applications
CN102346797B (en) Three-dimensional design method and system for nuclear powder support hanger
CN102193781B (en) Integrated design application
CN104537069B (en) A kind of document configuration and application system and its method
CN101820428B (en) Composite service optimizing method and device based on protocol composition mechanism
CN102609517B (en) Method and system for online vector map comprehensive services
KR20140121145A (en) BIM based Integrated Management System for Constrcution Data
CN101388904B (en) GIS service aggregating method, device and system
CN102508639B (en) Distributed parallel processing method based on satellite remote sensing data characteristics
CN106022007A (en) Cloud platform system and method oriented to biological omics big data calculation
CN103617066A (en) Workflow engine and implementation method thereof
CN102375734B (en) Application product development system, method and device and operation system, method and device
CN101946258A (en) Model based deployment of computer based business process on dedicated hardware
CN1936943A (en) Method and system for dynamically configuring a role-based collaborative space
CN101946260A (en) Modelling computer based business process for customisation and delivery
CN103377168A (en) Providing of open data protocol service at top part of general interaction layer
CN101946257A (en) Modelling computer based business process and simulating operation
CN103984818A (en) AUV (autonomous underwater vehicle) design flow visualization modeling method based on Flex technology
CN102024204A (en) Constructing method of reliability design analysis service system of service oriented architecture
Hamdaqa et al. Stratus ML: A layered cloud modeling framework
CN102662656A (en) Plug-in method and system for program structure
CN111104103A (en) Visualization method and system for software editing microservice
CN103226472A (en) Method for realizing service management software development
CN102375743A (en) SOA(Service-Oriented Architecture) system development method based on model and template
US20150310390A1 (en) Aggregation and workflow engines for managing project information

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20091209