| The purpose of Job Management is that strengthen the batch processing of operating system, provide the mechanism of submitting, schedule, execute and controll jobs, and hence take more effective use of the resources in the system, implement load balance, improve the performance of the whole system. The author has joined in the Software Engineering Center of NPU from November 2003, participating in the server design and development of a international cooperatingproject------Job Management System. On the basis of practice, the author has had adeep understanding on the architecture and realization methods of the Job Management System.The Job Management System is provided with the typical model structure of C/S, and it is realized by three-layer architecture of Client, Communication Agent and Server. Client supplies complete Graphic User Interface, accomplishing the management of JobNetwork and system; Communication agent accomplishes communication between client and server by TCP/IP network communication protocol and platform independent data communication protocol; Server supplies full support of JobNetwork, The superstratum are the JobNetwork Definition Subsystem and JnwEngine, which are responsible for the definition and execution of JobNetwork; the understratum is the Network Queue System, which realized the schedule and execution of job, thus all kinds of sources in computer network system can be utilized in order to improve execution efficiency and reduce job cost.This thesis mainly introduces the implementation and realization key technology of Job Management System based on JobFlow, and emphasizes researching on the definition method, controlling and execution of JobFlow. The mainly research results include: It fully analyzes the architecture of Job Management System, and every composing portion in frame structure is described in detail. And from the view of JobFlow, three-layer architecture model of Job Management System Server was provided. And analyzed the architecture of communication agent, improved the mechanism of submitting job network automatically. I also studied the algorithm and implements of scheduling jobs especially requests. Based on the discussion and analysis of the factors that influence the load balance, I designed the weighted proportional job scheduling algorithm, and implemented the mechanism of load balance in JMS, it canchoose different scheduling algorithm flexibly by changing the property of pipe queue. Probed the technologies of the Synchronization within multi-process. And based on the experience of testing in client/server system, brought forward the function of test case design. |