《ServiceArchitectureofGridFaultsDiagnosisExpertSystemBased基于電網(wǎng)故障診斷專家系統(tǒng)的服務(wù)架構(gòu)》由會(huì)員分享,可在線閱讀,更多相關(guān)《ServiceArchitectureofGridFaultsDiagnosisExpertSystemBased基于電網(wǎng)故障診斷專家系統(tǒng)的服務(wù)架構(gòu)(19頁(yè)珍藏版)》請(qǐng)?jiān)谘b配圖網(wǎng)上搜索。
1、Service Architecture of Grid Faults Diagnosis Expert SystemBased on Web Service,Wang Mingzan, Zhang ziye Northeastern University, Shenyang, 110004 China,The Eighth International Conference on Electronic Measurement and Instruments ICEMI2007,Outline,Introduction OGSA ( Open Grid Services Architecture
2、 ) OGSA Based on Web Services Grid Service Layer Base on OGSA Application Grid Nodes of Fault Diagnosis Expert Systems Data Transfer Conclusion,Introduction,With the advance of computer technology, the scale and complexity of modern system is increased dramatically. Once some accidents take place, i
3、t will lead to tremendous loss. The appearance of faults diagnosis and fault-tolerant controlling technology opens a new path for advancing the reliability of complex system. The grid computing technology was firstly used in faults diagnosis expert system in the paper.,OGSA ( Open Grid Services Arch
4、itecture ) OGSA Based on Web Services Grid Service Layer Base on OGSA,Open Grid Services Architecture,OGSA Based on Web Services,User,,,,OGSA Based on Web Services,Then Servlet chooses the appropriate JSP program (Web service layer) and transfers the result, JSP returns the result in the form of HTM
5、L to browser. Client can be the Java application procedure, CORBA customer or the service partner. They separately communicate with the EJB component through the different protocol.,OGSA ( Open Grid Services Architecture ) OGSA Based on Web Services Grid Service Layer Base on OGSA,Open Grid Services
6、 Architecture,Grid Service Layer Base on OGSA,The grid services include procedure execution, data service, and so on. With the appearance of these services, OGSA will turn into useful Service-Oriented Architecture (SOA).,Grid Service Layer Base on OGSA,The strategy of task dividing will affect direc
7、tly the load balance, the communication complexity and the dependence of the tasks (1) Based on the deserializing analysis, develop the public service and the parallel service in server. This step needs to deploy every parallel service to all nodes in the grid. (2) According to the number of paralle
8、l nodes in the grid, call threads in the client, each can visit the parallel service. (3) Monitor the status of these threads, perform fault diagnoses and compile the result.,Grid Service Layer Base on OGSA,DGMA Based on Fault Diagnosis Expert Systems,Grid Service Layer Base on OGSA,In the solution
9、above, the server end in the grid nodes process main service logic, the client end need only start multi-threads to call and monitor the completion condition of service. Therefore, it reduces the clients load and achieves the application deserializing.,Application,Application Grid Nodes of Fault Dia
10、gnosis Expert Systems Data Transfer,Grid Nodes of Fault Diagnosis Expert Systems,The server is composed of two grid nodes. They are grid nodes for spectral analysis and the data trend analysis respectively. Java language is used to write Web Service program, which realizes the grid computation and a
11、ccess process in the clients and the servers. the grid nodes can also analyze the load of current node. So it can schedule the grid-cell resources more reasonably, which is especially important for the application of large-scale grid.,Application,Application Grid Nodes of Fault Diagnosis Expert Syst
12、ems Data Transfer,Data Transfer,The experimental environment of the design is established in LAN. We use 4 PC to construct a grid middleware. In Grid-based Fault Diagnosis Expert System, the data transfer uses the way of GridFTP Then used API function to realize data transfer through Java Cog Kit.,D
13、ata Transfer,(1) Establish a Spec of transmission task, this Spec is similar to RSL; (2) Set the source address and the destination address in transmission, and begin using the third party to transmit; (3) Establish a transmission serve for the data resources of the source address; (4) Establish a
14、transmission service for the data resources of the destination address; (5) Join the source address service and the destination address service to the service, in order to realize data transmission between two services; (6) Submit the duty and realize data transmission.,Data Transfer,The system uses
15、 API provided by Java Cog Kit to carry out service submission. Cog Kit uninterruptedly intercepts execution status of accepting the work node through Status Listener. In Cog Kit, the execution situation of work is SUBMITTED, FAILED and COMPLETED Respectively. In the client-end, we maintain a thread
16、table. It includes thread number, state (0, moving; 1, moving failure; 2, normal terminating),Data Transfer,Through above application, it can reduce the transfer latency brought by the network. Moreover, the jobs are not uniformly allocated through the GFDES interface at the same time. Consequently,
17、 the communication bottleneck is avoided.,Conclusion,When construct GFDES based on the Web Service, the public service and the parallel service can enhance the sharing of application code. It makes the application more flexible through the unified way of the service and the job, and increases the efficiency of several jobs parallel with the aid of the Javas multi-threading.,