| The research and design of the Virtual Laboratory of control system based onB/S mode, research and design involves the main content includes: the virtuallaboratory system, the experimental equipment remote control, networkcommunication and serial communication. To provide a platform for networkedexperiment set experiment, experiment teaching, experiment teaching for teachersand students learning together. Teachers can according to the syllabus, set up theexperiment, then the students can access the site through the network, and directmanipulation experiment in the browser, not subject to time and geographicalconstraints.This paper presents the laboratory resources solution, using B/S mode of remotecontrol laboratory equipment. The thesis introduces the C/S model and B/S modelcomparison, draw a control layer scheme of adding B/S mode, which can reduce theburden of Web server, and can effectively control the experimental equipmentsystem. Multi user communication mode is adopted between the server and the client,in order to achieve this goal, in the server set up Scoket server, create an array ofTerm objects to store the client request, and then process the request. Serialcommunication mode is adopted between the Web server and experimentalequipment, in order to improve the response speed of the experimental device, addan interrupt program. Through the above design, increased the responsiveness ofexperiment equipment for the client, improves the usage system. |