CN101909082A - Model-driven grid portal configuration system and method - Google Patents

Model-driven grid portal configuration system and method Download PDF

Info

Publication number
CN101909082A
CN101909082A CN2010102401484A CN201010240148A CN101909082A CN 101909082 A CN101909082 A CN 101909082A CN 2010102401484 A CN2010102401484 A CN 2010102401484A CN 201010240148 A CN201010240148 A CN 201010240148A CN 101909082 A CN101909082 A CN 101909082A
Authority
CN
China
Prior art keywords
plug
file
mesh services
service
information
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.)
Granted
Application number
CN2010102401484A
Other languages
Chinese (zh)
Other versions
CN101909082B (en
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.)
China Academy of Launch Vehicle Technology CALT
Original Assignee
China Academy of Launch Vehicle Technology CALT
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 China Academy of Launch Vehicle Technology CALT filed Critical China Academy of Launch Vehicle Technology CALT
Priority to CN 201010240148 priority Critical patent/CN101909082B/en
Publication of CN101909082A publication Critical patent/CN101909082A/en
Application granted granted Critical
Publication of CN101909082B publication Critical patent/CN101909082B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to model-driven grid portal configuration system and method. The system comprises a plug-in object, a host frame, a WEB application server and a browser, wherein the plug-in object comprises a plurality of grid services; the display modes of all the grid services are described by an appearance definition file; the attributes, the form information and the running logics of all the grid services are described by an XML (Extensive Makeup Language) file; the execution process of all the grid services are described by a script file; the appearance definition file, the XML file and the script file form a grid service model; and the host frame can call the plug-in object, the plug-in object can realize a service logic thereof on the host frame, and the host frame and the plug-in object communicate on the basis of a common communication contract. A plug-in and the host frame are connected during running, not compiling. The method can effectively reduce a coupling degree between a functional object provided by a portal and an object management logic, can be reused, has flexibility and can ensure the optimal configuration of the grid portal system.

Description

A kind of grid portal configuration-system and collocation method based on model-driven
Technical field
The present invention relates to a kind of collocation method of grid portal, belong to technical field of the computer network.
Background technology
Grid is the emerging technology that makes up on the internet.The virtual test grid is integrated into a virtual supercomputer with the various heterogeneous resources (comprising computational resource, storage resources, data resource, information resources, device resource etc.) that distribute in the experimental enviroment, be implemented in shared resource and collaborative work between a plurality of Virtual Organization of dynamic change, and provide accordant interface and service to the user, need to be used to the virtual test of high-performance calculation ability.Gridding resource in grid application and service are presented to the terminal use in the mode of api interface or command line interface usually, this needs the user that the grid environment of complexity is had to be familiar with clearly and to dispose, and this can cause unprofessional user to be difficult to grasp the using method of grid system.Therefore, grid portal arises at the historic moment, and is intended to make things convenient for the mutual of user and mesh services and gridding resource.Grid portal is with visiting customizable, the personalized WEB interface of mesh services and resource, is to make the wieldy approach of senior problem solving method for what final grid user provided.Grid portal can be seen as a series of WEB application server, and its effect shows as: for mesh services and gridding resource information gathering provide safe environment, and provide instrument make the user can the Application Grid service and gridding resource finish oneself task; For the user provides a grid software and hardware resources view and utilizes the computing capability of grid fast; The exploitation that guarantees the user comprises key issues such as operation submission, safety certification, information monitoring.The meaning of grid portal is that it has hidden complexity and the detail that grid computing realizes to grid user, makes the user can use gridding resource pellucidly, for user's work and life provides most convenient and support the most efficiently.
Enter the entrance of grid system as the user, the quality of grid portal software design directly has influence on the availability of grid system, and it also is one of key factor that improves the grid system service efficiency.In view of its importance, many projects of studying at the grid portal technology are specially arranged at present.The GPDK of Lao Lunsi Berkeley government test chamber exploitation provides the middleware software bag of exploitation grid portal, can not support general grid computing script, only supports the Globus service Java interface that Java CoG provides.GPDK is encapsulated in the calling interface of mesh services in action page (Action Page) and the display page (View Page), realizes with the JSP form, need develop this two pages specially at each mesh services, lacks flexibility.Thereafter, the GridSphere door framework of GridLab exploitation divides the function in the gate system for 6 Porlet based on the Portal technological development, can not dispose separately mesh services, does not have the notion of plug-in object.Computer Simulation, " based on the grid portal configuration-system of model-driven " adopts the MDA method to make up the grid portal system architecture in 2006 the 23rd volumes, realize " make up portal page model and finish grid portal on a plurality of different Portal platforms ", only pay close attention to the variation of grid portal on display layer, do not have relatedly with mesh services, do not consider calling and problem such as storage of mesh services yet.Computer integrated manufacturing system, 2006 the 12nd volumes, the door core of " based on the finite element Application Grid door research of Microsoft.Net " is made up of portal engine, affairs logic and performance logic three parts.The affairs logic is carried out the funcall in the door, and presentation logic is responsible for the function executing result is converted into the html page, information such as can't reflect attribute, the classification of mesh services in the door and call.Computer engineering and design, 2006 the 27th volumes, " based on grid portal design and the realization of JSF " utilized the JSF technology to enrich the expressive ability of grid portal, but its model is corresponding with the binding of WEB page marks, can only the demonstration of mesh services be configured, mesh services itself can not be disposed, compiling at runtime can not be realized.
Summary of the invention
Technology of the present invention is dealt with problems and is: overcome the deficiencies in the prior art, a kind of grid portal configuration-system and method based on the XML language is provided, this method can be carried out dynamic interface configurations to grid portal, and the demonstration of auto-associating mesh services, realization and storage.
The technical solution of system of the present invention is: a kind of grid portal configuration-system based on model-driven comprises plug-in object, host frame, WEB application server and browser;
Plug-in object comprises a plurality of mesh services, describes the display mode of all mesh services with skin definition file, with attribute, form information and the operation logic of all mesh services of xml file description, describes the implementation of all mesh services with script file; Above-mentioned skin definition file, xml file and script file three have formed the mesh services model;
Host frame, when the grid portal configuration-system moves, be connected with plug-in object, resolve skin definition file and xml file in the plug-in object, with the mesh services functional interpretation that comprises in the plug-in object is to be presented in the browser for the function pages of user's reading, use; When the user calls mesh services by browser, accepting the mesh services of calling of WEB application server submission instructs, according to the positional information of plug-in object and the plug-in object stored information that parses, on the computer of appointment, create the working directory of this mesh services correspondence, in working directory, call the script file of plug-in object, and the information that will call success or not returns to the WEB application server; Accept the instruction of obtaining the mesh services execution result that the WEB application server is submitted to, list the destination file tabulation under the mesh services working directory, and list information is returned to the WEB application server;
The WEB application server receives the request of browser, receiving when calling mesh services or obtaining the instruction of mesh services execution result, is transmitted to host frame, and the result that host frame is returned is passed to browser;
Browser, the user called or obtained the result to mesh services request is accepted at browser display grid portal interface, sends command adapted thereto to the WEB application server, and obtains the result that the WEB application server returns, and it is showed the user.
Main information comprises in the described xml file:
Plug-in unit essential information, label are plugin, and the attribute of support is id and authority;
Plug-in unit stored information, label are storage, and the attribute of support is server and time;
Mesh services essential information, label are service, and the attribute of support is ID and name;
Mesh services form information, label comprise info and option;
Mesh services action message, label are action, and the attribute of support comprises id, label, shfile and result; Answer execution script after this mesh services of shfile attribute flags is triggered, quote the input item of appointment in the option label in the script with parametric form.
Described host frame comprises demonstration servlet, calls service servlet, checks service result servlet and four parts of plugin information structure; Show servlet, call service servlet, check that service result servlet is responsible for three operations of mesh services respectively: the show grid service page, call single mesh services and check the state of single mesh services, the plugin information structure is the data storage organization that host frame makes up when operation, has stored the information of the plug-in object after resolving.
Described demonstration servlet workflow is as follows:
The first step is obtained the plug-in unit idsplay order from the WEB application server;
In second step, the logical definition file of use DOM resolver resolves plug-in object is resolved plugin label, storage label, service label, option label and action label;
The 3rd step, check and whether stored the plugin information structure, if, then forwarded for the 5th step to, if not, then forwarded for the 4th step to;
In the 4th step, plug-in unit essential information, stored information, mesh services essential information, mesh services form information and mesh services action message that second step was parsed are stored to the plugin information structure;
The 5th step according to the plugin information structure, was converted into the page control element with the mesh services form information of plug-in object, merged into new html file with the skin definition file of plug-in object, was sent to the WEB application server.
It is as follows to call service servlet workflow:
The first step is obtained from the WEB application server and to be called the form data that service order and user insert;
Second goes on foot, and obtains form information, plug-in object stored information and the mesh services action message of corresponding with service from the plugin information structure;
In the 3rd step,, form data is inserted the correspondence position of script file, invoke script file according to the mesh services action message;
In the 4th step, if script file runs succeeded, then changeed for the 5th step, otherwise send error message to the WEB application server;
The 5th step generated Service Instance id, and service name of being inserted by the user in the Service Instance id and the first step and the concrete working directory of service that generates according to the plug-in object stored information are stored in the plugin information structure;
In the 6th step, return Service Instance id and give the WEB application server.
Check that service result servlet workflow is as follows:
The first step is obtained from the WEB application server and to be checked object command and Service Instance id number;
In second step,, from the plugin information structure, obtain the working directory of service according to Service Instance id;
The 3rd step is from the working directory tabulation of obtaining output file of service;
In the 4th step, the list information of generation output file returns to the WEB application server.
The technical solution of the inventive method is: a kind of grid portal collocation method based on model-driven, and step is as follows:
(1) determines the bibliographic structure of the plug-in object used in the door
In the configuration of grid portal, the All Files of plug-in object all is placed in the file directory with the plug-in object name nominating, wherein skin definition file is placed in the WEBAPP catalogue under this document catalogue, the xml file is placed in the root, and script file is placed in the bin catalogue under this document catalogue;
(2) define the skin definition file of each plug-in unit
Skin definition file comprises html file and css file; In the html file, demarcate the xml file that plug-in object is used, in the css file, demarcate the parameter value that plug-in object needs when showing;
(3) define the xml file of each plug-in object
The xml file is determined essential information, the stored information of plug-in object, and the essential information of the mesh services that comprises in this plug-in object, form information and action message;
(4) the execution script of definition plug-in object
According to the purposes of service, create the execution script of each mesh services in the plug-in object; Wherein carrying out the parameter of using in the script need be corresponding with the parameter name of appointment in the option label in the xml file;
(5) file directory that will deposit plug-in object is copied to the assigned catalogue of host frame, moves above-mentioned door configuration-system, finishes the grid portal configuration.
The present invention compared with prior art beneficial effect is:
(1) extendible architecture
Gate system is divided into host frame and plug-in object, can add new plug-in object at any time, perhaps delete unwanted plug-in object, when the additions and deletions plug-in object, do not need to recompilate or revise the host frame of gate system, can tackle extensive, diverse grid application demand.
Connect when (2) moving
In the grid portal system, when being connected between plug-in unit and the host frame occurs in operation rather than during compiling.Compare with traditional grid portal system, this mode can reduce degree of coupling between functional object that door provides and the Object Management group logic effectively, and is easily multiplexing, possesses flexibility, can make the grid portal system configuration reach optimum.
(3) comprise a plurality of mesh services models in plug-in object of the present invention.This mode is in the large-scale grid portal of exploitation system, same class mesh services can be merged into a plug-in unit, for these mesh services regulation with a kind of outward appearance look ﹠ feel, same memory space and with a kind of certification level, reduce the exploitation amount of same class mesh services, also reduced the complexity of mesh services security configuration.
(4) the mesh services exploitation is professional
For single grid computing service provides independent performance, realization and controlling mechanism, mesh services developer only need finish the establishment and the displaying of the professional content relevant with the grid computing service, and need not to be concerned about the integration problem of mesh services and whole system.
(5) the storage transparency
Move mesh services the user, the user does not need to specify the concrete execution catalogue of mesh services and the concrete deposit position of output file, only need when filling in form information, specify the title of mesh services example, host frame can be deposited the data file that produces when calling mesh services automatically for the user creates special-purpose working directory.This mode makes host frame can unify the configuration store position, the memory location that to expend the bigger mesh services of disk space is dispensed on the bigger computer of disk space, and the mesh services memory location that scale is less is dispensed on the less computer of disk space, plans and use the existing memory resource better.
(6) be simple and easy to use
Employing is based on the access mode of WEB, and the user does not need the download client program in use, does not also need to install any other system mend.
Description of drawings
Fig. 1 is a system configuration schematic diagram of the present invention;
Fig. 2 is a plug-in object schematic diagram of the present invention;
Fig. 3 is a host frame schematic diagram of the present invention;
Fig. 4 shows the servlet workflow diagram for the present invention;
Fig. 5 calls service servlet workflow diagram for the present invention;
Fig. 6 checks service result servlet workflow diagram for the present invention.
Embodiment
The virtual test grid portal shows as a big gate system with WEB form performance with host frame and plug-in unit unification, for grid user provides the basic service of system and the grid computing service of a plurality of kinds.
As shown in Figure 1, system of the present invention is divided into plug-in object, host frame, Servlet controller and website render files four parts based on plug-in part technology.Wherein, Servlet controller and website render files are respectively by WEB server and browser administration.The WEB server is selected Tomcat in the present invention, and browser is selected IE 6.0, is matured product, does not generally give unnecessary details.Host frame can be called plug-in object, and plug-in object can realize the service logic of oneself on host frame, and the two is mutual based on a kind of public communication contract.When being connected between plug-in unit and the host frame occurs in operation rather than during compiling.This mode can reduce degree of coupling between functional object that door provides and the Object Management group logic effectively, and is easily multiplexing, possesses flexibility, can make the grid portal system configuration reach optimum.Introduce the implementation procedure of plug-in object and host frame below in detail.
One, plug-in object
The realization schematic diagram of plug-in object as shown in Figure 2.
In the process of design plug-in unit, logical layer is put forward as sublayer independent in the layer plug.When carrying out system development, can with each function package in single feature card, help the de between the systemic-function more, a plurality of modules also can be carried out concurrent development and then be improved development efficiency simultaneously.
The definition of plug-in object comprises plug-in unit skin definition file, logical definition file (being the xml file) and script file.Provide the example of these defined files below.
Plug-in unit skin definition file---index.html and layout.mda.xsl:
<HTML>
<HEAD>
<META?http-equiv=″refresh″content=″0;URL=demo.xml″/>
</HEAD>
</HTML>
<?xml?version=″1.0″?>
<xsl:stylesheet?version=″1.0″
xmlns:xsl=″http://www.w3.org/1999/XSL/Transform″
xmlns:hg=″http://www.hypergrid.com/2000/HyperGrid″>
<xsl:variable?name=″img_path″>img</xsl:variable>
<xsl:variable?name=″main_color″>#006699</xsl:variable>
<xsl:variable?name=″bold_color″>#36cafa</xsl:variable>
<xsl:variable?name=″border_color″>#FFCC33</xsl:variable>
<xsl:variable?name=″navigation_bg_color″>#B2D1E0</xsl:variable>
<xsl:variable?name=″bold_color2″>#42c6e7</xsl:variable>
<xsl:variable?name=″main_color2″>#d2e7ec</xsl:variable>
<xsl:include?href=″../common_layout.xsl″/>
<xsl:variable?name=″file_actions″>1</xsl:variable>
<xsl:variable?name=″streaming_download″>1</xsl:variable>
</xsl:stylesheet>
Logical definition file---demo.xml:
<?xml?version=″1.0″?>
<?xml-stylesheet?href=″layout.mda.xsl″type=″text/xsl″?>
<hg:plugin?id=″mda.demo″authority=″${HG_DEFAULT_AUTHORITY}″xmlns:hg=″http://www.hypergrid.com/2000/HyperGrid″>
<hg:storage?server=″${HG_SPOOLER_DIR}″ttl=″10d″>
<hg:service?id=″nastran″>
<hg:name>NASTRAN</hg:name>
<!--Version>1.0<Nersion-->
<hg:info>Welcome?to?Nastran</hg:info>
<hg:option?id=″PROJECT″label=″Project:″type=″list″>
<hg:embed?uri=″//mda.demo/list.projects″/>
</hg:option>
<hg:option?id=″CPUTIME″label=″CPU?time:″type=″text″extra=″minutes″>30</hg:option>
<hg:option?id=″MEMORY″label=″RAM?memory:″type=″text″extra=″MB″>100</hg:option>
<hg:option?id=″SCRATCH″label=″Scratch?area?size:″type=″text″extra=″GB″>5</hg:option>
<hg:option?id=″MEMSCRATCH″label=″SMEM?parameter:″type=″text″extra=″Mb″/>
<hg:option?id=″VERSION″label=″Version:″type=″list″>
<hg:option?label=″70.5″>70.5</hg:option>
<hg:option?label=″70.7″>70.7</hg:option>
</hg:option>
<hg:option?id=″QUEUE″label=″Computing?queue:″type=″list″>
<hg:embed?uri=″//mda.demo/list.queues″/>
</hg:option>
<hg:optionid=″ACUSTICA″label=″Acμstic?job:″type=″list″>
<hg:option?label=″NO″>no</hg:option>
<hg:option?label=″YES″>yes</hg:option>
</hg:option>
<hg:option?id=″CONVERTITORE″label=″Hypermesh?converter:″type=″list″>
<hg:option?id=″″/>
<hg:option?label=″Convert.f11?file″>f11</hg:option>
<hg:option?label=″Convert.pch?file″>pch</hg:option>
</hg:option>
<hg:option?id=″INPUT″label=″lnput?file?1:″type=″rfb″base=″$HOME″/>
<hg:option?id=″INPUT2″label=″lnput?file?2:″type=″rfb″base=″$HOME″/>
<hg:option?id=″LIBRARY″label=″lnclude?library:″type=″list″>
<hg:option?label=″[No?library]″></hg:option>
<hg:ambed?uri=″//mda.demo/list.nastran.lib″/>
</hg:option>
<hg:option?id=″MAILU″label=″Mail?address″type=″text″/>
<hg:action?id=″submit″label=″Submit?job″result=″text/html″shfile=″$EF_ROOT/plugins/demo/mda/bin/demo.xml.sh?nastran″></hg:action>
</hg:service>
</hg:storage>
</hg:plugin>
Script file---demo.xml.sh:
#!/bin/sh
BASE=$HOME/.mdadb/nastran_lib
PROJECTS=`dirname?$0`/project
PROJECT_IDS=`dirname?$0`/projid
NASTRAN_ROOT=$HG_ROOT/plugins/demo/mda
NASTRAN_PREFS_PATH=$?NASTRAN_ROOT/prefs
export?NASTRAN_ROOT
fake_computing(){
HG_SPOOLER_NAME=″$1?simulation″
export?HG_SPOOLER_NAME
HG_COMMAND=″$MDA_ROOT/bin/fake_app$1″;export?HG_COMMAND
HG_JOB_NAME=″$1?simulation″;export?HG_JOB_NAME
${HG_ROOT}/plugins/demo/bin/job.submit
}
case″$1″in
nastran)fake_computing?$1;;
)echo″Unknown?service″;;
Esac
Wherein, the main information in the plug-in unit logical definition file is elaborated:
● plug-in unit essential information, label are plugin, and the attribute of support is id and authority;
● plug-in unit stored information, label are storage, and the attribute of support is server and time;
● mesh services essential information, label are service, and the attribute of support is ID and name;
● mesh services form information, label comprise info and option,
The lnfo label can be introduced the html code, is mainly used in the text introduction of mesh services.The option label is represented the input item on the agent list list, and its attribute comprises id, label, target and type.The type of type attribute representation list input item comprises text input item, list control, drop down list control, check box and radio button.
● mesh services action message, label are action, and the attribute of support comprises id, label, shfile and result.
After being triggered, this mesh services of shfile attribute flags answers execution script.Quote the input item of appointment in the option label in the script with parametric form.
(2) host frame
The realization schematic diagram of host frame as shown in Figure 3.
The effect of host frame is to resolve a plurality of different plug-in units with certain standard, with the input and output of plug-in unit encapsulation and standardization, and be can be for the function pages of user's reading, use with the functional interpretation of plug-in unit.The instruction of mesh services is called in acceptance, calls the service specified execute file according to plug-in card configuration.The instruction of mesh services execution result is obtained in acceptance, lists the listed files under the service assigned catalogue.
Host frame comprises demonstration servlet, calls service servlet, checks service result servlet and four parts of plugin information structure.
The plugin information structure is a common data structures, has write down the logical definition of each plug-in unit, comprises MapStorage, Map Plugins, Map Services, Arraylist Options, HashMap Actions.
The schematic diagram that shows servlet as shown in Figure 4, implementation procedure is as follows:
The first step is obtained the plug-in unit idsplay order from the WEB application server;
In second step, the logical definition file of use DOM resolver resolves plug-in object is resolved plugin label, storage label, service label, options label and action label;
The 3rd step, check and whether stored the plugin information structure, if, then forwarded for the 5th step to, if not, then forwarded for the 4th step to;
In the 4th step, plug-in unit essential information, stored information, mesh services essential information, mesh services form information and mesh services action message that second step was parsed are stored to the plugin information structure;
The 5th step according to the plugin information structure, was converted into the page control element with the mesh services form information of plug-in object, merged into new html file with the skin definition file of plug-in object, was sent to the WEB application server.
Call the service servlet schematic diagram as shown in Figure 5, implementation procedure is as follows:
The first step is obtained from the WEB application server and to be called the form data that service order and user insert;
Second goes on foot, and obtains form information, plug-in object stored information and the mesh services action message of corresponding with service from the plugin information structure;
In the 3rd step,, form data is inserted the correspondence position of script file, invoke script file according to the mesh services action message;
In the 4th step, if script file runs succeeded, then changeed for the 5th step, otherwise send error message to the WEB application server;
The 5th step generated Service Instance id, and service name of being inserted by the user in the Service Instance id and the first step and the concrete working directory of service that generates according to the plug-in object stored information are stored in the plugin information structure;
In the 6th step, return Service Instance id and give the WEB application server.
The schematic diagram of checking service result servlet as shown in Figure 6, implementation procedure is as follows:
The first step is obtained from the WEB application server and to be checked object command and Service Instance id number;
In second step,, from the plugin information structure, obtain the working directory of service according to Service Instance id;
The 3rd step is from the working directory tabulation of obtaining output file of service;
In the 4th step, the list information of generation output file returns to the WEB application server.
Provide the example of a configuration grid portal below.In the grid portal prototype system, the interface of door disposes by template.Key step has following 5 steps:
(1) determines the bibliographic structure of the plug-in object used in the door.
In the configuration of grid portal, the All Files of plug-in object all is placed in the file directory with the plug-in object name nominating, wherein skin definition file is placed in the WEBAPP catalogue under this document catalogue, the xml file is placed in the root, and script file is placed in the bin catalogue under this document catalogue.
(2) define the skin definition file of each plug-in unit
Skin definition file comprises html file and css file.In the html file, demarcate the xml file that plug-in object is used.In the css file, demarcate the parameter value that plug-in object needs when showing, for example page color, font, literal size, tabulation mode etc.
(3) define the xml file of each plug-in object
The xml file is determined essential information, the stored information of plug-in object, and the essential information of the mesh services that comprises in this plug-in object, form information and action message.
(4) the execution script of definition plug-in object
According to the purposes of service, create the execution script of each mesh services in the plug-in object.Wherein carrying out the parameter of using in the script need be corresponding with the parameter name of appointment in the options label in the xml file.
(5) file directory that will deposit plug-in object is copied to the assigned catalogue of host frame, and the described door configuration-system of operation claim 1 is finished the grid portal configuration.
The unspecified part of the present invention belongs to general knowledge as well known to those skilled in the art.

Claims (7)

1. the grid portal configuration-system based on model-driven is characterized in that: comprise plug-in object, host frame, WEB application server and browser;
Plug-in object comprises a plurality of mesh services, describes the display mode of all mesh services with skin definition file, with attribute, form information and the operation logic of all mesh services of xml file description, describes the implementation of all mesh services with script file; Above-mentioned skin definition file, xml file and script file three have formed the mesh services model;
Host frame, when the grid portal configuration-system moves, be connected with plug-in object, resolve skin definition file and xml file in the plug-in object, with the mesh services functional interpretation that comprises in the plug-in object is to be presented in the browser for the function pages of user's reading, use; When the user calls mesh services by browser, accepting the mesh services of calling of WEB application server submission instructs, according to the positional information of plug-in object and the plug-in object stored information that parses, on the computer of appointment, create the working directory of this mesh services correspondence, in working directory, call the script file of plug-in object, and the information that will call success or not returns to the WEB application server; Accept the instruction of obtaining the mesh services execution result that the WEB application server is submitted to, list the destination file tabulation under the mesh services working directory, and list information is returned to the WEB application server;
The WEB application server receives the request of browser, receiving when calling mesh services or obtaining the instruction of mesh services execution result, is transmitted to host frame, and the result that host frame is returned is passed to browser;
Browser, the user called or obtained the result to mesh services request is accepted at browser display grid portal interface, sends command adapted thereto to the WEB application server, and obtains the result that the WEB application server returns, and it is showed the user.
2. a kind of grid portal configuration-system based on model-driven according to claim 1 is characterized in that: main information comprises in the described xml file:
Plug-in unit essential information, label are plugin, and the attribute of support is id and authority;
Plug-in unit stored information, label are storage, and the attribute of support is server and time;
Mesh services essential information, label are service, and the attribute of support is ID and name;
Mesh services form information, label comprise info and option;
Mesh services action message, label are action, and the attribute of support comprises id, label, shfile and result; Answer execution script after this mesh services of shfile attribute flags is triggered, quote the input item of appointment in the option label in the script with parametric form.
3. a kind of grid portal configuration-system based on model-driven according to claim 1 is characterized in that: described host frame comprises demonstration servlet, calls service servlet, checks service result servlet and four parts of plugin information structure; Show servlet, call service servlet, check that service result servlet is responsible for three operations of mesh services respectively: the show grid service page, call single mesh services and check the state of single mesh services, the plugin information structure is the data storage organization that host frame makes up when operation, has stored the information of the plug-in object after resolving.
4. a kind of grid portal configuration-system based on model-driven according to claim 3 is characterized in that described demonstration servlet workflow is as follows:
The first step is obtained the plug-in unit idsplay order from the WEB application server;
In second step, the logical definition file of use DOM resolver resolves plug-in object is resolved plugin label, storage label, service label, option label and action label;
The 3rd step, check and whether stored the plugin information structure, if, then forwarded for the 5th step to, if not, then forwarded for the 4th step to;
In the 4th step, plug-in unit essential information, stored information, mesh services essential information, mesh services form information and mesh services action message that second step was parsed are stored to the plugin information structure;
The 5th step according to the plugin information structure, was converted into the page control element with the mesh services form information of plug-in object, merged into new html file with the skin definition file of plug-in object, was sent to the WEB application server.
5. a kind of grid portal configuration-system based on model-driven according to claim 3 is characterized in that described to call service servlet workflow as follows:
The first step is obtained from the WEB application server and to be called the form data that service order and user insert;
Second goes on foot, and obtains form information, plug-in object stored information and the mesh services action message of corresponding with service from the plugin information structure;
In the 3rd step,, form data is inserted the correspondence position of script file, invoke script file according to the mesh services action message;
In the 4th step, if script file runs succeeded, then changeed for the 5th step, otherwise send error message to the WEB application server;
The 5th step generated Service Instance id, and service name of being inserted by the user in the Service Instance id and the first step and the concrete working directory of service that generates according to the plug-in object stored information are stored in the plugin information structure;
In the 6th step, return Service Instance id and give the WEB application server.
6. a kind of grid portal configuration-system based on model-driven according to claim 3 is characterized in that describedly checking that service result servlet workflow is as follows:
The first step is obtained from the WEB application server and to be checked object command and Service Instance id number;
In second step,, from the plugin information structure, obtain the working directory of service according to Service Instance id;
The 3rd step is from the working directory tabulation of obtaining output file of service;
In the 4th step, the list information of generation output file returns to the WEB application server.
7. grid portal collocation method based on model-driven is characterized in that step is as follows:
(1) determines the bibliographic structure of the plug-in object used in the door
In the configuration of grid portal, the All Files of plug-in object all is placed in the file directory with the plug-in object name nominating, wherein skin definition file is placed in the WEBAPP catalogue under this document catalogue, the xml file is placed in the root, and script file is placed in the bin catalogue under this document catalogue;
(2) define the skin definition file of each plug-in unit
Skin definition file comprises html file and css file; In the html file, demarcate the xml file that plug-in object is used, in the css file, demarcate the parameter value that plug-in object needs when showing;
(3) define the xml file of each plug-in object
The xml file is determined essential information, the stored information of plug-in object, and the essential information of the mesh services that comprises in this plug-in object, form information and action message;
(4) the execution script of definition plug-in object
According to the purposes of service, create the execution script of each mesh services in the plug-in object; Wherein carrying out the parameter of using in the script need be corresponding with the parameter name of appointment in the option label in the xml file;
(5) file directory that will deposit plug-in object is copied to the assigned catalogue of host frame, and the described door configuration-system of operation claim 1 is finished the grid portal configuration.
CN 201010240148 2010-07-29 2010-07-29 Model-driven grid portal configuration system and method Active CN101909082B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010240148 CN101909082B (en) 2010-07-29 2010-07-29 Model-driven grid portal configuration system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010240148 CN101909082B (en) 2010-07-29 2010-07-29 Model-driven grid portal configuration system and method

Publications (2)

Publication Number Publication Date
CN101909082A true CN101909082A (en) 2010-12-08
CN101909082B CN101909082B (en) 2013-03-13

Family

ID=43264399

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010240148 Active CN101909082B (en) 2010-07-29 2010-07-29 Model-driven grid portal configuration system and method

Country Status (1)

Country Link
CN (1) CN101909082B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102147726A (en) * 2011-04-01 2011-08-10 烽火通信科技股份有限公司 Script-based method for implementing service configuration
CN102880664A (en) * 2012-08-31 2013-01-16 华为软件技术有限公司 Page editing method, device and system
CN103577182A (en) * 2012-08-10 2014-02-12 资拓宏宇国际股份有限公司 User input picture generating system and method thereof
CN103761103A (en) * 2014-01-26 2014-04-30 曙光云计算技术有限公司 Method and system for defining and instantiating cloud computing platform service
CN103782271A (en) * 2011-06-10 2014-05-07 萨热姆通信宽带简易股份有限公司 Method for developing a web portal, method for implementing same, and corresponding computer program product
CN104954462A (en) * 2015-06-12 2015-09-30 福建新大陆通信科技股份有限公司 High-concurrency extensible smart home communication method and high-concurrency extensible smart home communication system
CN106406834A (en) * 2015-07-30 2017-02-15 中兴通讯股份有限公司 Method, device and system for managing application system
CN106557395A (en) * 2015-09-25 2017-04-05 云智慧(北京)科技有限公司 Application performance monitoring management method, system and application method of system
CN106569869A (en) * 2016-11-14 2017-04-19 平安科技(深圳)有限公司 Plug-in packaging method and device
CN108319479A (en) * 2018-01-29 2018-07-24 蒋成 A kind of BIM extension Enhancement Methods and system based on B/S information systems
CN109960540A (en) * 2019-03-06 2019-07-02 上海连尚网络科技有限公司 Small routine triggering method, computer equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1496589A1 (en) * 2003-07-11 2005-01-12 Siemens Aktiengesellschaft Apparatus and method for protection of an electrical machine
CN1713196A (en) * 2005-07-14 2005-12-28 上海交通大学 Product ordering system based on automatic design grid
CN101042648A (en) * 2007-04-20 2007-09-26 北京航空航天大学 Plug-in component, system and method for providing unionize interface for multicell application
CN101442560A (en) * 2008-12-10 2009-05-27 南京邮电大学 Method for playing and enquiring mobile communication terminal image and sound based on mobile grid

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1496589A1 (en) * 2003-07-11 2005-01-12 Siemens Aktiengesellschaft Apparatus and method for protection of an electrical machine
CN1713196A (en) * 2005-07-14 2005-12-28 上海交通大学 Product ordering system based on automatic design grid
CN101042648A (en) * 2007-04-20 2007-09-26 北京航空航天大学 Plug-in component, system and method for providing unionize interface for multicell application
CN101442560A (en) * 2008-12-10 2009-05-27 南京邮电大学 Method for playing and enquiring mobile communication terminal image and sound based on mobile grid

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102147726B (en) * 2011-04-01 2013-09-04 烽火通信科技股份有限公司 Script-based method for implementing service configuration
CN102147726A (en) * 2011-04-01 2011-08-10 烽火通信科技股份有限公司 Script-based method for implementing service configuration
CN103782271A (en) * 2011-06-10 2014-05-07 萨热姆通信宽带简易股份有限公司 Method for developing a web portal, method for implementing same, and corresponding computer program product
CN103782271B (en) * 2011-06-10 2017-11-10 萨热姆通信宽带简易股份有限公司 For the method for developing and realizing portal website and corresponding computer program product
CN103577182A (en) * 2012-08-10 2014-02-12 资拓宏宇国际股份有限公司 User input picture generating system and method thereof
CN102880664A (en) * 2012-08-31 2013-01-16 华为软件技术有限公司 Page editing method, device and system
CN102880664B (en) * 2012-08-31 2015-05-13 华为软件技术有限公司 Page editing method, device and system
CN103761103A (en) * 2014-01-26 2014-04-30 曙光云计算技术有限公司 Method and system for defining and instantiating cloud computing platform service
CN104954462A (en) * 2015-06-12 2015-09-30 福建新大陆通信科技股份有限公司 High-concurrency extensible smart home communication method and high-concurrency extensible smart home communication system
CN106406834A (en) * 2015-07-30 2017-02-15 中兴通讯股份有限公司 Method, device and system for managing application system
CN106557395B (en) * 2015-09-25 2021-05-11 云智慧(北京)科技有限公司 Application performance monitoring management method, system and application method of system
CN106557395A (en) * 2015-09-25 2017-04-05 云智慧(北京)科技有限公司 Application performance monitoring management method, system and application method of system
CN106569869A (en) * 2016-11-14 2017-04-19 平安科技(深圳)有限公司 Plug-in packaging method and device
CN106569869B (en) * 2016-11-14 2019-04-19 平安科技(深圳)有限公司 Plug-in unit packaging method and device
US10387169B2 (en) 2016-11-14 2019-08-20 Ping An Technology (Shenzhen) Co., Ltd. Plug-in packaging method, device, terminal and storage media
TWI679578B (en) * 2016-11-14 2019-12-11 大陸商平安科技(深圳)有限公司 Plug-in packaging method, device, terminal and storage media
WO2018086268A1 (en) * 2016-11-14 2018-05-17 平安科技(深圳)有限公司 Packaging method, device, and terminal employing plugin format, and storage medium
CN108319479A (en) * 2018-01-29 2018-07-24 蒋成 A kind of BIM extension Enhancement Methods and system based on B/S information systems
CN108319479B (en) * 2018-01-29 2019-03-05 蒋成 A kind of BIM extension Enhancement Method and system based on B/S information system
CN109960540A (en) * 2019-03-06 2019-07-02 上海连尚网络科技有限公司 Small routine triggering method, computer equipment and storage medium

Also Published As

Publication number Publication date
CN101909082B (en) 2013-03-13

Similar Documents

Publication Publication Date Title
CN101909082B (en) Model-driven grid portal configuration system and method
US10592319B2 (en) API notebook tool
US7721254B2 (en) Programming interface for a computer platform
JP2010528344A (en) Method and system for creating server-based web applications for IT
CN103383645A (en) Code generation method and system
US20120166977A1 (en) User programming access to data model in user interface design
Thakkar et al. Next. js
Sun et al. The exploration and practice of mvvm pattern on android platform
Cimino et al. An efficient model-based methodology for developing device-independent mobile applications
MacDonald et al. Pro Asp. net 2.0 in C# 2005
Chaganti Google Web Toolkit GWT Java AJAX Programming
CN112732254B (en) Webpage development method, webpage development device, computer equipment and storage medium
CN112632436A (en) Webpage display method and device, electronic equipment and storage medium
Trivedi User interface implementation of environmental data integration system with React
Gupta Accelerated GWT: Building Enterprise Google Web Toolkit Applications
CN117573127B (en) Page building method and device, electronic equipment and medium
Song et al. The design and implementation of code generation based on J2EE in the development of JBPM workflow system
Chernomordov et al. Development of the Module «Version the Visually Impaired» for the Websites of Organizations
Stenroos Headless WordPress development with React using Gatsby. js
Northwood et al. Front End
Díaz et al. From page-centric to portlet-centric Web development: Easing the transition using MDD
Hertel Aspects of AJAX
CN118656110A (en) Page configuration method and device
Linaje et al. Domain-specific model for designing rich internet application user interfaces
MacDonald et al. Pro Asp. Net 3.5 in VB 2008: Includes Silverlight 2

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant