| Network job management system is widely used nowadays, with the purpose of strengthening the batch processing of OS, providing the mechanism of job submitting, scheduling, executing and controlling. Consequently the system resource could be utilized more effectively, the network load could be balanced, and the system performance could be improved. The job management system, which the author participates in and is named as JMS, is based on the control of JobFlow. It is different from the traditional Job Management System whose basic unit is just job As going deep into the research of this Job Management System, there are more and more mutual communications between JobFlow, hence it is seem to be very important to realize the synchronization. In order to solve this problem, Workflow Management Coalition has advanced a criterion for synchronization model. This model prescribes that there should be synchronization point between two JobFlows. Today's Job Management System is not flexible and effectively enough to set and realize synchronization point, aiming for solving this problem, the author has extended a new project. In this new project, the synchronization-mechanism is fulfilled by setting two synchronous jobs freely in JobFlows. On another hand, the author has gone deep into the study of communication mechanism in the JMS system This article reflects the main research result of the authorThe Job Management System which the author took part in is provided with the typical model structure of Client/Server. In order to reduce the weight of dealing with data transmission between client and server, and also to make it convenient in expandability and maintenance to communication interface, JMS is realized by three-layer architecture of Client, Communication Agent and Server. Client supplies complete Graphic User Interface, accomplishes the management of JobFlow and system; Communication agent accomplishes complete communication between client and server by TCP/IP network communication protocol and platform independent data communication protocol; Server supplies full support of all operations in client.For the purpose of the network job management, all models inside server should communicate with each other among different network and different OS. This is realized by stream socket. JMS system provides four socket server ports which correspond to all these models and extend all functions. To realize the synchronization among job flow, the author defined two new types of job:SendEvent Job and RecvEvent Job. They send and receive messages among job flow, and resolve the problems of setting and realizing synchronization points successfully. |