CN100478883C - Plug-in component, system and method for providing unionize interface for multicell application - Google Patents

Plug-in component, system and method for providing unionize interface for multicell application Download PDF

Info

Publication number
CN100478883C
CN100478883C CNB2007100985836A CN200710098583A CN100478883C CN 100478883 C CN100478883 C CN 100478883C CN B2007100985836 A CNB2007100985836 A CN B2007100985836A CN 200710098583 A CN200710098583 A CN 200710098583A CN 100478883 C CN100478883 C CN 100478883C
Authority
CN
China
Prior art keywords
user interface
job
module
input user
output
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.)
Expired - Fee Related
Application number
CNB2007100985836A
Other languages
Chinese (zh)
Other versions
CN101042648A (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.)
Beihang University
Original Assignee
Beihang 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 Beihang University filed Critical Beihang University
Priority to CNB2007100985836A priority Critical patent/CN100478883C/en
Publication of CN101042648A publication Critical patent/CN101042648A/en
Application granted granted Critical
Publication of CN100478883C publication Critical patent/CN100478883C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Stored Programmes (AREA)

Abstract

This invention provides one plug part for multiple-grid application, which comprises operation unit for operation description file mode, U1 unit for description file mode and the output U1 unit for U1 description file mode, the operation unit is connected to the U1 unit and output U1. Based on above part, this invention provides one multi-grid application for integral interface. This invention seals the operation description and interface for multiple customer ends.

Description

The system and method at unified interface is provided for many grid application
Technical field
The present invention relates to a kind ofly, the method at unified interface especially is provided for operation submission and operation inquiry for many grid application provide the system and method at unified interface.
Background technology
Along with computing technique, the continuous development of network technology and application especially in recent years, computation schema also changes constantly taking place, develop to client/server (Client/Server) pattern that with component technology and distribute objects technology is representative from early stage single main frame, main frame/terminal pattern, progressively formed client/network (Client/Ne twork) computation schema of service-centric again.Grid computing (GridComputing) is the client/network calculations pattern of a quasi-representative, its objective is and make all kinds of isomeries that are distributed on the network, autonomous resource carry out integrated, the shared and collaborative work of ability as required, form dynamic Virtual Organization, trusted resource tissue, the management and use in autonomous territory are striden in realization, improve the comprehensive utilization ratio of resource, satisfy effectively towards the complicated applications of internet demand, and finally realize the resource sharing of cross-domain application and integrated large-scale calculations ability and mass data processing.The final purpose of grid is to provide more resources, function and interactivity for scientific and technical personnel and domestic consumer.For further grid and user's distance, reduce the threshold that the user uses grid, need the access way of good client as gridding resource, farthest be the details of user's hide grid resource.Therefore, a major issue that becomes the grid application research field alternately of the ways of presentation of grid application and user and grid system.
Utilizing the computing node on the grid to carry out operation, is a typical scene of grid application.Under this scene, face following problem aspect representing in application:
(1) unify the description problem: multifarious grid application need represent operation input and output user interface (User Interface with a kind of uniform way, be called for short UI), the job description of different application need illustrate the demand of operation to resource with a kind of unified descriptive language;
(2) user capture problem: at first, the user can visit and use gridding resource in the mode of oneself being accustomed at any time and any place; Secondly, at present a lot of grid systems are all taked the mode of doing things in his own way, exploitation client separately, this has not only brought the duplication of labour, and each grid system can't unify visit, and these grids see it is grid internally, but sees from the outside and can be described as data silo group one by one;
(3) user uses problem: reduce the user learning cost, user interface is friendly naturally.
Represent a layer angle from grid, in the prior art, grid portal framework GridSphere provides a grid portal Development Framework, but using, each all need one of stand-alone development based on hyper text markup language/java server end page face (Hypertext Markup Language/Java Server Pages, abbreviation HTML/JSP) man-machine interface, extensibility and reusability are not high; The unified interface of computational resource (Uniform Interface to Computing Resource, be called for short UNICORE) client/grid programmed environment (Grid Programming Environment, abbreviation GPE) provides a flexible user-friendly client framework, concrete agreement and language that the hide grid technology is used, can give different grid middlewares by submit job, but the UNICORE framework is open inadequately, and client is too complicated huge, is unfavorable for quick development and application.
From the UI technical standpoint, in the prior art, but the expanded application SGML of Microsoft (ExtensibleApplication Markup Language is called for short XAML) adopts extend markup language (ExtensibleMarkup Language is called for short XML) to express UI.During operation, the XAML file is opened by running environment, plays up the interface with the interface assembly of Windows, and when incident took place, the button.onrelease of invoke user oneself (.NET program) possessed the support (operating system is built-in) of platform bottom.But have following defective for grid application represents: definition is complicated, is not suitable for describing the simple relatively grid application UI in interface; With the BOTTOM LAYER ENVIRONMENT tight coupling, be unfavorable for that play up and message trigger at the realization interface in isomerous environment.
In addition, be described below related notion and main standard.
(1) grid application: usually, grid application refers to the problem solving system of constructing based on grid.In general, the user can carry out a plurality of grid application tasks (GridApplication Task) by a grid application, has comprised application tasks such as gene comparison, gene order splicing and predictive genes in using as the grid biological computation.An application task has clear and definite demand, input, output and execution sequence.In five layers of hourglass model, this is the notion of an application layer.
(2) operation: the user is called a user job to the once execution of using task.Similar with the notion of process in the operating system, the operation in the grid is the reflection of user task in grid system.When the resource-constrained of grid, a plurality of operations are with the contention gridding resource.In five layers of hourglass model, this also is the notion of an application layer.
(3) descriptive language (Job Submission Description Language is submitted in operation to, be called for short JSDL): the JSDL standard is that general in the world grid work is submitted language to, and it produces in order to solve the problem that the job description mode is different between the different grid systems.Follow unified JSDL job description standard between each grid system, can be so that the mutual compatibility between the grid system improves.JSDL uses contents such as description, operation resource requirement description and the description of operation input-output file under having defined the description of operation essential information, operation.
Summary of the invention
In order to solve the unified description problem of grid application, the job description of package application and interface description, the invention provides a kind of system that unified interface is provided for many grid application, comprise that the input UI parsing that is used to resolve described input UI description document template and generate input UI presents module and parameter acquisition module, described parameter acquisition module presents module with described input UI parsing and is connected, also being included as many grid application provides the plug-in unit at unified interface, described plug-in unit comprises the operation unit that is used to provide the task description file template, the output UI unit that is used to provide the input UI unit of input UI description document template and is used to provide output UI description document template, described operation unit is connected with described output UI unit with described input UI unit respectively;
Also comprise editor module that is used for the editing operating description document and the submission module that is used for the submit job description document, described editor module is connected with described operation unit with described parameter acquisition module, described submission module respectively;
Comprise that also the output UI parsing that is used to resolve described output UI description document template and generate output UI presents module, is connected with described parameter acquisition module with described output U I unit;
Also comprise the statistics management module that is used for assignment statistics information, be connected with database;
It is a kind of for many grid application provide the method at unified interface that the present invention also provides, and comprising:
Resolve input UI description document template, generate input UI;
According to the job parameter that described input UI collects, resolve the task description file template, generate task description file;
Submit described task description file to;
Also comprise, obtain job identification (Identification is called for short ID), and described operation ID and described job parameter are sent to database.
It is a kind of for many grid application provide the method at unified interface that the present invention also provides, and comprising:
ID obtains job information to data base querying according to operation;
Resolve input UI description document template according to described job information, generate input UI, and resolve output UI template file according to described job information and describe, generate output UI;
Also comprise according to the job status information that receives and upgrade described job information.
The present invention can be carried out the job description and the unified encapsulation of interface description of grid application by multiple client deployment, has realized the design philosophy of " primary development, many places are disposed and carried out ", has good extendability; Simultaneously in client, mutual by with grid middleware realized operation is submitted to and the support of inquiry, makes the user can use gridding resource easily and effectively.
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Description of drawings
Fig. 1 is the structural representation of the preferred embodiment of a kind of plug-in unit that unified interface is provided for many grid application provided by the present invention.
Fig. 2 is the structural representation of the preferred embodiment of a kind of system that unified interface is provided for many grid application provided by the present invention.
Fig. 3 is the process flow diagram of the preferred embodiment one of a kind of method that unified interface is provided for many grid application provided by the present invention.
Fig. 4 is the process flow diagram of the preferred embodiment two of a kind of method that unified interface is provided for many grid application provided by the present invention.
Embodiment
At first introduce extendible grid application SGML (Extensible GridApplication Markup Language is called for short XGAML), XGAML is a kind of language with XML formal definition grid application UI.Based on analysis, choose and support the highest UI element of the following frequency of occurrences existing typical grid application.Input UI element: text, text box, combobox, upload file, output UI element: text, file chaining, picture link, file content.The XGAML syntactic description UI element and attribute thereof, attribute is represented as the daughter element of this element.
Input UI element content model is as follows:
Text element (label): daughter element value represents content of text;
Text box element (text): daughter element name, value represent text box title, textual value respectively;
Combobox element (select): daughter element name, option represent combobox title, selective value respectively, and selective value can have a plurality of;
Upload file element (file): daughter element name represents upload file frame title.
Output UI element content model is as follows:
Text element (label): daughter element value represents content of text;
File chaining element (filehref): daughter element address, text represent file address, displaying contents respectively;
Picture linking element (imagehref): daughter element address, height, width represent picture address respectively, show height, display width;
File content element (filecontent): daughter element address represents the file address.
Grid application UI is described in the client and is explained execution, follows following processing rule:
The undefined element of root element (input or output) is the UI element;
The daughter element of UI element has been described its attribute, obtains attribute by the daughter element of resolving the UI element, and the attribute of every kind of UI element definition as mentioned above;
The order of UI element definition is that it is played up the order that presents, and the UI element will be played up one by one according to describing the order that defines in the document.
In the preferred embodiment of a kind of plug-in unit that unified interface is provided for many grid application provided by the present invention, referring to Fig. 1, comprise the operation unit that is used to provide the task description file template, the output UI unit that is used to provide the input UI unit of input UI description document template and is used to provide output UI description document template, described operation unit is connected with described output UI unit with described input UI unit respectively.In actual applications, described plug-in unit is applicable to multiple grid application.In addition, described three description document templates all embody with the form of XML document, provide the definition of three description document templates below.
The task description file template: the operation of adopting international standards submits to descriptive language JSDL definition application job to describe.The reason that is called the task description file template herein is: job description can be divided into and use relevant portion and with concrete operation relevant portion, the former can determine at described plug-in unit generation phase, and the latter can only obtain when operation is submitted in operation to, as needs job parameter that the user imports etc.In the task description file template,, fill and determine numerical value with the application relevant portion; With concrete operation relevant portion, fill variable name, when operation, be replaced by variate-value, these variablees define in input UI description document template.
Input UI description document template: adopt XGAML, support four kinds of input UI elements that the frequency of occurrences is the highest in typical grid application: text, text box, combobox and upload file.Input UI description document template will meet the expandable mark language mode (XML Schema) of XGAML.
Output UI description document template: adopt XGAML to describe, support four kinds of output UI elements that the frequency of occurrences is the highest in typical grid application: text, file chaining, picture link and file content.Output UI description document template will meet the XML Schema of XGAML.
In addition, the incidence relation between above-mentioned three description document templates is embodied in: 1. the variable of quoting in the task description file template need define in input UI description document template to some extent; 2. the input file in the task description file template will conform to the definition in the input UI description document template; 3. the output file in the task description file template will conform to the definition in the output UI description document template.
By realizing above-mentioned operation unit, input UI unit and output UI unit, generating one can be by multiple client deployment, and the plug-in unit that represents of the realization grid application of resolved execution.
Based on a kind of plug-in unit that unified interface is provided for many grid application that the invention described above provided, in the preferred embodiment of a kind of system that unified interface is provided for many grid application provided by the present invention, referring to Fig. 2, comprise that the input UI parsing that is used to resolve described input UI description document template and generate input UI presents module and parameter acquisition module, described parameter acquisition module presents module with described input UI parsing and is connected, it is characterized in that, also comprise described plug-in unit, be used to provide the task description file template, input UI description document template and output UI description document template, and described input UI unit presents module with described input UI parsing and is connected.
Alternatively, in order to realize submission to operation, described system also comprises the editor module that is used for the editing operating description document and is used for the submission module of submit job description document that described editor module is connected with described operation unit with described parameter acquisition module, described submission module respectively.
Alternatively, in order to realize the inquiry to operation, described system comprises that also the output UI parsing that is used to resolve described output UI description document template and generate output UI presents module, is connected with described parameter acquisition module with described output UI unit.
Alternatively, for job information is added up, described system also comprises the statistics management module that is used for assignment statistics information, is connected with database.
Based on a kind of system that unified interface is provided for many grid application that the invention described above provided, in the preferred embodiment one of a kind of method that unified interface is provided for many grid application provided by the present invention, referring to Fig. 3, comprising: resolve input UI description document template, generate input UI; The job parameter that collects according to described input UI, alternatively, if collect upload file, then described upload file is sent to file transfer protocol (FTP) (File Transfer Protocol, be called for short FTP) server, resolve the task description file template, generate task description file; Submit described task description file to.
In actual applications, usually task description file is submitted to node server (NodeServer).Wherein, node server is the basic running environment of mesh services, to the heterogeneous resource service encapsulation of bottom, for the operation of mesh services provides basic support, make that whole grid system can be basic component with the service, and the communication protocol of the standard of employing is finished between system component mutual.Scheduler (Scheduler) is responsible for job assignment is gone to carry out to computing node, and it operates in the node server as a service.
Alternatively, after according to input UI input job parameter, the all right selection scheduling strategy of user, specifically there are random schedule, CPU ability priority scheduling, storer (Memory) ability priority scheduling, scheduling recently and user to specify strategies such as scheduling, the all right default setting of scheduling strategy, scheduler carries out job scheduling according to selected/acquiescence scheduling strategy.
Alternatively,, also comprise after the described task description file of described submission, obtain operation ID, and described operation ID and described job parameter are sent to database for job information is stored and managed.In the practical application, receive task description file after, if dispatch successfully, scheduler is put into scheduling queue with operation, this moment job state for waiting for scheduling, return the unique identification of operation ID, otherwise return error message as operation.Described system sends to database with described operation ID and described job parameter after receiving the operation ID that scheduler returns, and the data that database storing receives are that the management and the statistics of operation inquiry and job information provides support.
Based on a kind of system that unified interface is provided for many grid application that the invention described above provided, in the preferred embodiment two of a kind of method that unified interface is provided for many grid application provided by the present invention, referring to Fig. 4, comprising: ID obtains job information to data base querying according to operation; Resolve input UI description document template according to described job information, generate input UI, and resolve output UI template file according to described job information and describe, generate output UI.In the practical application, summary info and details that can inquiry job.The operation summary info comprises job title, state, submission time, deadline; Job Details comprises the input UI and the output UI of operation ID, title, the owner, affiliated Apply Names, state, submission time, deadline, scheduling unit, scheduling strategy, XM, operation.After having only operation to finish smoothly, output UI just can present, otherwise shows the operation well afoot or information such as make mistakes according to job state.
When the job state that inquires for just between schedule periods, can also be in the cancellation operation of described system.
Alternatively, for to realizing the real-time update of job information, can also upgrade described job information according to the job status information that receives.In the practical application, adopt subscription informing mechanism to realize the feedback constantly of job information, be specially: the subscribing interface of described system call scheduler, described subscribing interface is transmitted operation ID and job information feedback capture address of service; In the job run process, when job state changes at every turn, be job state by wait for scheduling become dispatch, ready, carry out, finish smoothly or when making a mistake, scheduler will call the job information feedback capture service that operates in the node server (specifying uniform resource address during subscription).This job information feedback capture service providing method is come the job information in the new database more, comprises job state, deadline, scheduling unit and XM.When so just having guaranteed that job state changes at every turn, all can be from the notice of scheduler, thus realize the renewal constantly of job information.
By above preferred embodiment, make it possible to carry out submission, inquiry and three kinds of operations of cancellation of operation in client.Operation is submitted to, with clear and definite operation execution parameter of cause user and configuration, finally generates the JSDL description document, distributes operation to go to carry out to certain computing node by scheduler; Operation inquiry is used for checking the essential information of operation and input, output UI; Job delete is used for cancelling the operation of having submitted to.
It should be noted that at last, above preferred embodiment is only unrestricted in order to technical scheme of the present invention to be described, although the present invention is had been described in detail with reference to preferred embodiment, those of ordinary skill in the art is to be understood that, can make amendment or be equal to replacement technical scheme of the present invention, and not break away from the spirit and scope of technical solution of the present invention.

Claims (3)

1, a kind of system that unified interface is provided for many grid application, comprise that the input user interface parsing that is used to resolve described input user interface description document template and generate input user interface presents module and parameter acquisition module, described parameter acquisition module presents module with described input user interface parsing and is connected, it is characterized in that, also being included as many grid application provides the plug-in unit at unified interface, described plug-in unit comprises the operation unit that is used to provide the task description file template, be used to provide the input user interface unit and the output user interface elements that is used to provide output user interface description file template of input user interface description document template, described operation unit is connected with described output user interface elements with described input user interface unit respectively;
Also comprise editor module that is used for the editing operating description document and the submission module that is used for the submit job description document, described editor module is connected with described operation unit with described parameter acquisition module, described submission module respectively;
Also comprise being used to resolve described output user interface description file template and generating the output user interface parsing of exporting user interface present module, be connected with described parameter acquisition module with described output user interface elements;
Also comprise the statistics management module that is used for assignment statistics information, be connected with database.
2, a kind ofly it is characterized in that, comprising for many grid application provide the method at unified interface:
Resolve input user interface description document template, generate input user interface;
According to the job parameter that described input user interface collects, resolve the task description file template, generate task description file;
Submit described task description file to;
Obtain job identification, and described job identification and described job parameter are sent to database.
3, a kind ofly it is characterized in that, comprising for many grid application provide the method at unified interface:
Obtain job information according to job identification to data base querying;
Resolve input user interface description document template according to described job information, generate input user interface, and resolve output user interface templates file description, generate the output user interface according to described job information;
Upgrade described job information according to the job status information that receives.
CNB2007100985836A 2007-04-20 2007-04-20 Plug-in component, system and method for providing unionize interface for multicell application Expired - Fee Related CN100478883C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2007100985836A CN100478883C (en) 2007-04-20 2007-04-20 Plug-in component, system and method for providing unionize interface for multicell application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2007100985836A CN100478883C (en) 2007-04-20 2007-04-20 Plug-in component, system and method for providing unionize interface for multicell application

Publications (2)

Publication Number Publication Date
CN101042648A CN101042648A (en) 2007-09-26
CN100478883C true CN100478883C (en) 2009-04-15

Family

ID=38808185

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2007100985836A Expired - Fee Related CN100478883C (en) 2007-04-20 2007-04-20 Plug-in component, system and method for providing unionize interface for multicell application

Country Status (1)

Country Link
CN (1) CN100478883C (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101876895A (en) * 2009-04-28 2010-11-03 中国科学院计算技术研究所 Package integrated method of application software under grid computing environment
CN102207857B (en) * 2010-03-29 2014-08-27 日电(中国)有限公司 Method, device and system for identifying graphical user interface (GUI) element
CN101909082B (en) * 2010-07-29 2013-03-13 中国运载火箭技术研究院 Model-driven grid portal configuration system and method
CN104166590A (en) * 2013-05-20 2014-11-26 阿里巴巴集团控股有限公司 Task scheduling method and system
CN103823682B (en) * 2014-02-26 2017-08-08 广州视源电子科技股份有限公司 A kind of dynamic UI controls generation method and device
CN103838625B (en) * 2014-02-27 2017-05-17 中国工商银行股份有限公司 Data interaction method and system
CN106156339B (en) * 2016-07-12 2019-08-16 泰康保险集团股份有限公司 The access method of declaration form management system, apparatus and system
CN106844040B (en) * 2016-12-20 2020-08-28 北京并行科技股份有限公司 Job submitting method, system and server

Also Published As

Publication number Publication date
CN101042648A (en) 2007-09-26

Similar Documents

Publication Publication Date Title
CN100478883C (en) Plug-in component, system and method for providing unionize interface for multicell application
CN108809972B (en) Internet of things comprehensive experiment and application development platform based on open source ecosystem
WO2023071075A1 (en) Method and system for constructing machine learning model automated production line
Chu et al. The design and implementation of a declarative sensor network system
CN107959718A (en) The micro services framework of enterprise-level application software under a kind of cloud computing environment
De Farias et al. COMFIT: A development environment for the Internet of Things
US20020026447A1 (en) System for designing and performing web application
Leitão et al. Specification of the PERFoRM architecture for the seamless production system reconfiguration
CN104156313A (en) Method for automatically generating Web service testing case
CN110007924A (en) The automated construction method and system of YANG model configuration interface
CN105320504A (en) Visual software modeling method for constructing software view on basis of software meta view
CN101185303A (en) System and method for creating a mapping document for binding messages between an application and an associated backend server
CN103390018A (en) Web service data modeling and searching method based on SDD (service data description)
CN112130812B (en) Analysis model construction method and system based on data stream mixed arrangement
Prinz et al. A novel I4. 0-enabled engineering method and its evaluation
CN114254606A (en) Microservice framework model
CN102214103A (en) Method and system for establishing and performing task program based on functional unit
CN103870280B (en) Webpage seamless combining processing method based on FLEX and JSP
US10706225B2 (en) Form management system and method
Liu et al. Engineering information service infrastructure for ubiquitous computing
D'Agostino et al. Lessons learned implementing a science gateway for hydro‐meteorological research
D'Ambrogio et al. A MDA-based approach for the development of DEVS/SOA simulations
CN104484230B (en) More satellite data central task stream dispatching algorithms based on nearly data calculating principle
Deng et al. Evolution in model-driven software product-line architectures
JP2006309697A (en) Computer system, program for computer system, and program generating application program based on spreadsheet program among the programs

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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090415

Termination date: 20130420