Abstract:This paper designed and implemented a working and research collaboration platform to analyse astronomical spectral based on HTML5 WebSocket message pushing mechanism and Canvas drawing technology. It realized the initiative message push from the server to the client by establishing a TCP connection between the client and the server, so as to replace the old polling mechanism requesting from the client to the server, and reduced the network occupancy rate and data transmission. Users from multiple clients in different regions can communication on line at the same time, discuss and analyse the synchronously loaded celestial spectrum, mark and analyzes relevant spectral characteristics collaboratively. In addition, we made optimization to the transmission way for drawing handwrite and greatly improved the synchronization efficiency of drawing of multiple clients in different regions.