The invention provides a method and a
system for interaction between different
operating system platform whiteboards. According to the method and the
system, in the process of data and instruction interaction,
JSON is adopted to serialize interaction data and code an instruction, and then, the serialized interaction data and the coded instruction are sent to other
operating system platform whiteboards. After the serialized interaction data and the coded instruction are received, first, the coded instruction is decoded to acquire an operation object, then, the operation object is de-serialized and reduced to a
whiteboard object, and finally, specified operation is performed on the
whiteboard object to realize synchronous operation on different
operating system platforms. In the whole process,
JSON serialization / de-
serialization is adopted,
JSON, a lightweight
data exchange language, is text-based and is easy for people to read, the
system is easily compatible with other equipment, and the
scalability of different operating system platform whiteboards is enhanced. In addition, after JSON
serialization, transmission data reduces the amount of interaction data, the requirement of data interaction on bandwidth is reduced, and real-time interaction and synchronization of different operating system platform whiteboards can be achieved.