CN103294874B - For Web service method for packing and the system of Electromagnetic Simulation computing system FEKO - Google Patents

For Web service method for packing and the system of Electromagnetic Simulation computing system FEKO Download PDF

Info

Publication number
CN103294874B
CN103294874B CN201310263787.6A CN201310263787A CN103294874B CN 103294874 B CN103294874 B CN 103294874B CN 201310263787 A CN201310263787 A CN 201310263787A CN 103294874 B CN103294874 B CN 103294874B
Authority
CN
China
Prior art keywords
web service
task
feko
computing system
electromagnetic simulation
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.)
Active
Application number
CN201310263787.6A
Other languages
Chinese (zh)
Other versions
CN103294874A (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.)
Zhongke Shuguang International Information Industry Co ltd
Original Assignee
Dawning Information Industry Beijing Co Ltd
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 Dawning Information Industry Beijing Co Ltd filed Critical Dawning Information Industry Beijing Co Ltd
Priority to CN201310263787.6A priority Critical patent/CN103294874B/en
Publication of CN103294874A publication Critical patent/CN103294874A/en
Application granted granted Critical
Publication of CN103294874B publication Critical patent/CN103294874B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

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

Abstract

The invention discloses a kind of Web service method for packing for Electromagnetic Simulation computing system FEKO, comprising: receive the information relevant to task by Web service interface; Extract useful information and generate job script file by script generator according to the received information relevant to task; And, generated job script file is submitted to calculating group system, so that calling described Electromagnetic Simulation computing system FEKO according to described job script file, described calculating group system carries out corresponding operation. Correspondingly, also provide a kind of Web service package system for Electromagnetic Simulation computing system FEKO. Adopt the present invention, can reduce the difficulty of job invocation and increase work efficiency.

Description

For Web service method for packing and the system of Electromagnetic Simulation computing system FEKO
Technical field
The present invention relates to field of computer technology, more specifically, relate to a kind of for Electromagnetic Simulation calculating systemWeb service method for packing and the Web service package system of system FEKO.
Background technology
FEKO is a emulation tool for 3D structure electromagnetic field analysis, its moment method based on famous(MoM) Maxwell equation group is solved, realized very comprehensively MoM code, canSolve the problem of any structure type, be subject to a lot of users' favor. Meanwhile, it can be for particular problem,When ensureing precision, obtain splendid efficiency.
In traditional HPCC environment, user will move FEKO calculation procedure to be needed conventionallyUse remote command line mode, under terminal environments, carry out operation one by one. Utilize FEKO computing systemCarry out Electromagnetic Simulation and need following link:
Be ready to calculate executable file, the input file etc. of FEKO program indispensability. These files are commonThe overall situation that need to be placed on cluster is shared in storage, also may be placed in the working directory of user's appointment. WithFamily is used the instruments such as FTP, SFTP to upload these files to cluster, and according to specific situation, user also canInput file etc. is carried out to edit-modify or pretreatment.
Specify the complete order of calculation procedure, determine the process number that this program of operation needs, and at whichOn node, move required execution parameter.
After program has been moved, post processing result, checks result of calculation, or uses the literary compositions such as FTP, SFTPPart delivery means is downloaded destination file to subscriber's local.
But, in practice, when user submits FEKO calculation task on HPCC,The interface that need to provide by job scheduling software, then write a job scheduling script, in script, indicateThe information such as computational resource, job title needing, then submits parallel computation task to by this script, byJob scheduling software carrys out monitoring management task, comprises Resources allocation, initiation working procedure etc.
There is following defect in the method for traditional this operation FEKO calculation procedure:
(1) not easy to operate, use difficulty large. Want to complete smoothly the calculation task of FEKO program, useFamily often needs to be familiar with very much professional computer literacy and the instrument of a lot of meters, as basic in (SuSE) Linux OSThe use of operation, Shell script, conventional text editing and character handling implement, MPI environment,Use of job scheduling software etc.
(2) execution efficiency is low. Want to submit to smoothly the calculation task of a FEKO program, need to carry outMultiple flow processs, need to carry out complicated loaded down with trivial details operation in command line environment, thereby cause parallel computation taskSubmission is wasted time and energy, inefficiency.
(3) error probability is large. For most of domestic consumer, carry out complicated numerous in command line environmentTrivial operation, occurs that human operational error's probability is very large. Particularly for the unfamiliar user of operating process,All easily encounter problems at the links of carrying out.
(4) security risk is high. Traditional method of operating need to be to the capable terminal access of domestic consumer's open command, for the keeper of HPCC, there is peace to the capable terminal of domestic consumer's open command in authorityThe risk of full property. User's maloperation may affect the stable operation of system, hacker also likely take advantage of void andEnter.
For the problem in correlation technique, effective solution is not yet proposed at present.
Summary of the invention
For the problem in correlation technique, the present invention proposes a kind of user of reduction to Electromagnetic Simulation computing systemThe Web method for packing of FEKO submit job and Web package system.
Technical scheme of the present invention is achieved in that
On the one hand, provide a kind of encapsulation of the Web service for Electromagnetic Simulation computing system FEKOMethod, comprising:
Receive the information relevant to task by Web service interface;
Extract useful information and generate by script generator according to the received information relevant to taskJob script file;
Generated job script file is submitted to calculating group system;
Described calculating group system is called described Electromagnetic Simulation computing system according to described job script fileFEKO carries out corresponding operation.
In optional embodiment, in the step that receives the information relevant to task by Web service interfaceBefore, described Web method for packing also comprises: obtain corresponding application according to the application request receivingConfiguration file; And, according to described application configuration file and described Electromagnetic Simulation computing system FEKORuuning situation generate corresponding Web service interface.
In optional embodiment, the described information relevant to task comprises one of following or any combination:The catalogue of path, described Electromagnetic Simulation computing system FEKO place, required input file, fill order,The core cpu number of required computing node, each computing node and memory size and execute the taskComputing time.
In optional embodiment, carried by script generator according to the received information relevant to taskBefore getting useful information and generating job script, described Web method for packing also comprises: detect described withWhether the information that task is relevant is legal, detects when being, carries out according to received relevant to taskInformation extract useful information and generate the step of job script by script generator; Detect when no, rawBecome illegal information and be presented on described Web service interface.
In optional embodiment, generated job script is submitted to described Electromagnetic Simulation computing systemFEKO system, to carry out operation, comprising: by generated job script file submit job scheduling teamIn row, dispatch to carry out operation by job scheduling system.
In optional embodiment, receive by Web service application interface the information relevant to task itBefore, detect the queuing message of described calculating group system, comprising: queue name, can use total check figure,Operation number in queue and available computing node number.
In optional embodiment, before receiving the information relevant to task by Web service interface,Detect user's Disk Quotas and charging amount.
A kind of encapsulation of the Web service for Electromagnetic Simulation computing system FEKO is provided on the other handSystem, comprising:
Web application module, for receiving the information relevant to task by Web service interface;
Script generation module, for according to the received information extraction useful information relevant to taskAnd generate job script file;
Module is submitted in operation to, for generated job script file is submitted to calculating group system;So that described calculating group system is called described Electromagnetic Simulation computing system according to described job script fileFEKO carries out corresponding operation.
In optional embodiment, described Web application module comprises: Command Line Parsing module, and for basisThe application request receiving is obtained corresponding application configuration file; And Web service interface generates mouldPiece, for according to the operation of described application configuration file and described Electromagnetic Simulation computing system FEKOSituation generates corresponding Web service interface.
In optional embodiment, described Web service package system also comprises detection module, for detection ofWhether the described information relevant to task is legal, detects when being, and described script generation module is according to instituteThe information extraction useful information relevant to task receiving also generates job script file; Detect when no,Generate illegal information and be presented on described Web service interface.
Brief description of the drawings
Fig. 1 illustrates the Web clothes for Electromagnetic Simulation computing system FEKO according to an embodiment of the inventionThe flow chart of business method for packing.
Fig. 2 illustrates the Web for Electromagnetic Simulation computing system FEKO according to another embodiment of the present inventionThe schematic block diagram of service encapsulates system.
Detailed description of the invention
Below in conjunction with accompanying drawing, the embodiment of the present invention is further described.
Fig. 1 is that the Web for Electromagnetic Simulation computing system FEKO takes according to an embodiment of the inventionThe flow chart of business method for packing. As shown in Figure 1, this Web service method for packing comprises:
S101, receives the information relevant to task by Web service interface.
Alternatively, before step S101, this Web service method for packing can also comprise according to connecingThe application request of receiving is obtained corresponding application configuration file; According to described application configuration file and instituteThe ruuning situation of stating Electromagnetic Simulation computing system FEKO generates corresponding Web service interface.
In embodiments of the present invention, for each application of Electromagnetic Simulation computing system FEKO, all canThere is a corresponding application configuration file. This application configuration file comprises: the corresponding page is everyInitial value, Command Line Parsing can enter according to calculating the ruuning situation of group system and the actual conditions of applicationRow Command Line Parsing, generates the corresponding page, the namely corresponding Web service interface of applying.
Alternatively, the information relevant to task can comprise: at described Electromagnetic Simulation computing system FEKOThe catalogue of path, place, required input file and fill order.
Alternatively, before step S101, simultaneously or afterwards can also be by described Web service circleFace receives the computational resource information relevant to the operation that will carry out, and described computational resource information comprises: CPUCore number, memory size and computing time.
Whether alternatively, user can also be by Web service interface, select to use virtual network to calculateMachine (VirtualNetworkComputing, VNC) function or CheckPoint function (be breakpoint againComputing function). Alternatively, user can also be submitted to and be calculated in group system by Web service interfaceNode, single node core number, network speed agreement, fill order, application required input file etc.
S102, extracts useful information according to the received information relevant to task by script generatorAnd generate job script file.
S103, submits to calculating group system by generated job script file, so that described calculatingGroup system is called described Electromagnetic Simulation computing system FEKO according to described job script file and is carried outCorresponding operation.
In optional embodiment, described Web method for packing also comprised before step S102: detectWhether the described information relevant to task is legal, detects when being execution step S103; Detect when no,Generate illegal information and be presented on described Web service interface.
In optional embodiment, calculate group system and comprise job scheduling system, step S103 comprises:Generated job script file is submitted in the job scheduling queue of calculating group system, adjusted by operationDegree system is dispatched to call described Electromagnetic Simulation computing system FEKO and is carried out corresponding workIndustry.
In optional embodiment, before step S101, Web method for packing also comprises: described in detectionCalculate the queuing message of group system, comprising: queue name, can use the operation in total check figure, queueNumber and available computing node number.
In optional embodiment, before receiving the information relevant to task by Web service interface,Detect user's Disk Quotas and charging amount.
Fig. 2 is the Web service for Electromagnetic Simulation computing system FEKO according to the embodiment of the present inventionThe schematic block diagram of package system. As schematically shown in Figure 2, this Web service package system comprises: Web shouldBy module 10, for receiving the information relevant to task by Web service interface; Script generation module20, for according to the received information extraction useful information relevant to task and generate job scriptFile; And module 30 is submitted in operation to, for generated job script file is submitted to calculatingGroup system; So that it is imitative that described calculating group system is called described electromagnetism according to described job script fileTrue computing system FEKO carries out corresponding operation.
In optional embodiment, the described information relevant to task comprises one of following or any combination:The catalogue of path, described Electromagnetic Simulation computing system FEKO place, required input file, fill order,The core cpu number of required computing node, each computing node and memory size and execute the taskComputing time.
In optional embodiment, described Web application module comprises: Command Line Parsing module, and for basisThe application request receiving is obtained corresponding application configuration file; And Web service interface generates mouldPiece, for according to the operation of described application configuration file and described Electromagnetic Simulation computing system FEKOSituation generates corresponding Web service interface.
In optional embodiment, described Web service package system also comprises detection module, for detection ofWhether the described information relevant to task is legal, detects when being, and described script generation module is according to instituteThe information extraction useful information relevant to task receiving also generates job script file; Detect when no,Generate illegal information and be presented on described Web service interface.
In optional embodiment, operation submits to module that generated job script file is submitted to and calculated collectionGroup's system comprises: generated job script file is submitted to the job scheduling queue of calculating group systemIn, carry out job scheduling to call described Electromagnetic Simulation computing system FEKO by job scheduling systemCarry out corresponding operation.
In optional embodiment, described detection module is also for receiving at Web service application interface and appointingBefore the relevant information of being engaged in, detect the queuing message of described calculating group system, comprising: queue name,Can use operation number and available computing node number in total check figure, queue.
In optional embodiment, described Web service package system also comprises amount computing module, forBefore receiving the information relevant to task by Web service interface, the Disk Quotas that detects user withCharging amount, so that Web service package system is determined according to user's Disk Quotas and charging amount isThe no operation for this user provides Web packing service. Further, according to user's Disk Quotas alsoCan be the corresponding resource of this user assignment for calculating group system.
The present invention encapsulates by Web, submits to flow process hidden the operation of Electromagnetic Simulation computing system FEKOEnsconce bottom, offer the Web page of a simple, intuitive of user, user only needs the Web pageUpper execution shirtsleeve operation just can realize data file preparation, computational resource application, operation submission, knotThe a whole set of flow processs such as fruit checks. Encapsulate by Web, can greatly reduce user's use threshold, improveService efficiency, reduces error probability.
Its beneficial effect can be embodied in the following aspects:
(1) reduce and use difficulty. User no longer needs to be grasped (SuSE) Linux OS basic operation, ShellThe calling of script, conventional text editing and character handling implement, MPI environment, job schedulingKnowledge and instrument that software etc. and its specialty background are irrelevant, just can easily complete Electromagnetic Simulation computing systemThe work such as preparation, execution of FEKO calculation task, greatly reduces use threshold.
(2) increase work efficiency. The order line operation Hide All of very complicated is at bottom, at bottomAutomatic batch is carried out, and can save a large amount of manual operation time, improves service efficiency.
(3) success rate of raising job invocation. In the embodiment of the present invention, can be to user at Web circleParameter and data that face is submitted to are carried out various validity checkings. Such as, check that the calculating of user's application providesWhether source exceedes its authority, and whether the parameter of user's input is legal, and whether user's input file formCorrect etc., if the mistake of judging can provide corresponding prompting at Web interface. By these legitimaciesInspection can improve the success rate that parallel task is submitted to greatly.
(4) can realize like a cork sophisticated functions. Some of Electromagnetic Simulation computing system FEKO operation againMix or Premium Features, such as the selection of computing network, start cpu process binding etc., if by lifeMake line mode need to specify complicated parameter, complex operation, uses difficulty larger. Carry out Web encapsulationAfter, user only need to just can realize these functions by some Option Boxs on interface.
(5) safety in utilization of raising HPCC system. By the job invocation of domestic consumerOperation is encapsulated in after Web, and what user carried out is all enclosed operation, has avoided to a great extent shadowAcoustic system is stablized or safe user's illegal operation.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, not all at thisWithin bright spirit and principle, any amendment of doing, be equal to replacement, improvement etc., all should be included in thisWithin bright protection domain.

Claims (8)

1. for a Web service method for packing of Electromagnetic Simulation computing system FEKO, comprising:
Receive the information relevant to task by Web service interface;
Extract useful information and generate by script generator according to the received information relevant to taskJob script file; And,
Generated job script file is submitted to calculating group system, so that described calculating cluster systemSystem calls described Electromagnetic Simulation computing system FEKO according to described job script file and carries out accordinglyOperation;
Wherein, before receiving the step of the information relevant to task by Web service interface, described inWeb method for packing also comprises:
Obtain corresponding application configuration file according to the application request receiving;
According to the ruuning situation of described application configuration file and described Electromagnetic Simulation computing system FEKOGenerate corresponding Web service interface.
2. Web service method for packing according to claim 1, is characterized in that, described with appointThe relevant information of being engaged in comprises one of following or any combination:
Path, described Electromagnetic Simulation computing system FEKO place, the catalogue of required input file, execution
The core cpu number of order, required computing node, each computing node and memory size andThe computing time of executing the task.
3. Web service method for packing according to claim 2, is characterized in that, according to connectThe information relevant to task of receiving by script generator extract useful information and generate job script itBefore, described Web method for packing also comprises:
Whether legally detect the described information relevant to task, detect when being, execution according to receiveTo the information relevant to task extract useful information and generate the step of job script by script generatorSuddenly;
Detect when no, generate illegal information and be presented on described Web service interface.
4. Web service method for packing according to claim 1, is characterized in that, by generateJob script file submit to calculating group system so that described calculating group system is according to described workIndustry script file calls described Electromagnetic Simulation computing system FEKO and carries out corresponding operation, comprising:
Generated job script file is submitted in the job scheduling queue of calculating group system, by doingIndustry dispatching patcher is carried out job scheduling and is carried out phase to call described Electromagnetic Simulation computing system FEKOThe operation of answering.
5. Web service method for packing according to claim 4, is characterized in that, is passing throughBefore Web service application interface receives the information relevant to task, detect described calculating group systemQueuing message, comprising: queue name, can use operation number in total check figure, queue and available calculating jointCount.
6. Web service method for packing according to claim 1, is characterized in that, is passing throughBefore Web service interface receives the information relevant to task, detect user's Disk Quotas and charging volumeDegree.
7. for a Web service package system of Electromagnetic Simulation computing system FEKO, comprising:
Web application module, for receiving the information relevant to task by Web service interface;
Script generation module, for according to the received information extraction useful information relevant to taskAnd generate job script file;
Module is submitted in operation to, for generated job script file is submitted to calculating group system;So that described calculating group system is called described Electromagnetic Simulation computing system according to described job script fileFEKO carries out corresponding operation;
Wherein, described Web application module comprises:
Command Line Parsing module, for obtaining corresponding application configuration file according to the application request receiving;
Web service interface generation module, for imitative according to described application configuration file and described electromagnetismThe ruuning situation of true computing system FEKO generates corresponding Web service interface.
8. Web service package system according to claim 7, is characterized in that, described WebWhether service encapsulates system also comprises detection module, legal for detection of the described information relevant to task,Detect when being, described script generation module has according to the received information extraction relevant to taskBy information and generate job script file; Detect when no, generate illegal information and be presented at instituteState on Web service interface.
CN201310263787.6A 2013-06-27 2013-06-27 For Web service method for packing and the system of Electromagnetic Simulation computing system FEKO Active CN103294874B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310263787.6A CN103294874B (en) 2013-06-27 2013-06-27 For Web service method for packing and the system of Electromagnetic Simulation computing system FEKO

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310263787.6A CN103294874B (en) 2013-06-27 2013-06-27 For Web service method for packing and the system of Electromagnetic Simulation computing system FEKO

Publications (2)

Publication Number Publication Date
CN103294874A CN103294874A (en) 2013-09-11
CN103294874B true CN103294874B (en) 2016-05-11

Family

ID=49095731

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310263787.6A Active CN103294874B (en) 2013-06-27 2013-06-27 For Web service method for packing and the system of Electromagnetic Simulation computing system FEKO

Country Status (1)

Country Link
CN (1) CN103294874B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107656741B (en) * 2016-07-25 2020-07-28 中国科学院计算机网络信息中心 Method and system for using application package in high-performance computing environment
CN110781007B (en) * 2019-10-31 2023-12-26 广州市网星信息技术有限公司 Task processing method, device, server, client, system and storage medium
CN112181445B (en) * 2020-08-28 2024-08-06 深圳市华讯方舟光电技术有限公司 Method, terminal and storage medium for improving operation efficiency of electromagnetic simulation software

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103093058A (en) * 2013-02-05 2013-05-08 中国电子科技集团公司电子科学研究院 Service-oriented distributed simulation system and realizing method thereof

Also Published As

Publication number Publication date
CN103294874A (en) 2013-09-11

Similar Documents

Publication Publication Date Title
CN103294485B (en) Web service method for packing and system for ABINIT concurrent computational system
US8903702B2 (en) Generating specifications for expression language expressions and tag libraries
CN103135979A (en) Method, device and system for generating terminal applications
CN103618699B (en) A kind of method and device of invocation component
CN109388667A (en) Modularization big data processing method, system and computer readable storage medium
CN103294481A (en) Processing method used for CST (computer simulation technology) computing program
CN109951553B (en) Data processing method, system, electronic device and computer readable storage medium
CN103309676B (en) Web service method for packing and system for marine numerical simulation ROMS
CN110795181A (en) Application program interface display method and device based on skip protocol and electronic equipment
CN103294482B (en) Web service method for packing and system for PWscf concurrent computational system
CN103294874B (en) For Web service method for packing and the system of Electromagnetic Simulation computing system FEKO
CN103294484A (en) Processing method used for FLUENT computing program
CN117271122A (en) Task processing method, device, equipment and storage medium based on separation of CPU and GPU
CN103543986B (en) The implementation method and device of the calculating task of CFX
CN103257883A (en) Web based wireless sensing network remote stimulation system
CN103530091B (en) The implementation method of the calculating task of CPMD and device
CN103310002A (en) Web service encapsulation method and system for weather forecasting calculating system mesoscale model 5 (MM5)
US9537931B2 (en) Dynamic object oriented remote instantiation
Caglar et al. Model-driven performance estimation, deployment, and resource management for cloud-hosted services
CN105808354A (en) Method for establishing temporary Hadoop environment by utilizing WLAN (Wireless Local Area Network)
US20220122038A1 (en) Process Version Control for Business Process Management
CN103544015A (en) Method and device for achieving VASP calculation tasks
CN113590217A (en) Function management method and device based on engine, electronic equipment and storage medium
CN103294483A (en) Processing method used for GROMACS computing program
Martínez et al. Implementing crossplatform distributed algorithms using standard web technologies

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220726

Address after: 100089 building 36, courtyard 8, Dongbeiwang West Road, Haidian District, Beijing

Patentee after: Dawning Information Industry (Beijing) Co.,Ltd.

Patentee after: DAWNING INFORMATION INDUSTRY Co.,Ltd.

Address before: 100193 No. 36 Building, No. 8 Hospital, Wangxi Road, Haidian District, Beijing

Patentee before: Dawning Information Industry (Beijing) Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240408

Address after: 266100 room 211, area a, software park, 169 Songling Road, Laoshan District, Qingdao City, Shandong Province

Patentee after: Zhongke Shuguang International Information Industry Co.,Ltd.

Country or region after: China

Address before: 100089 building 36, courtyard 8, Dongbeiwang West Road, Haidian District, Beijing

Patentee before: Dawning Information Industry (Beijing) Co.,Ltd.

Country or region before: China

Patentee before: DAWNING INFORMATION INDUSTRY Co.,Ltd.