The invention relates to the technical field of electronic whiteboards, in particular to a dynamic drawing and caching method for large-screen equipment of an electronic
whiteboard, which comprises the following steps of: dividing a temporary drawing layer and a caching layer in a memory space according to the resolution ratio and the use condition of a writing area, monitoring the memory occupation in real time, and dynamically adjusting the memory space based on the occupation rate and the memory pressure. And the temporary drawing layer receives user
handwriting data, feeds back the user
handwriting data in real time, and performs real-time rendering and display after capturing the user
handwriting data. And based on the hand raising state of the user, the cache layer receives and empties the data of the temporary drawing layer, so that memory allocation
equalization is realized, and the space
occupancy rate and the display
delay are reduced. The handwriting data of the cache layer generates a
data set, and the memory space is dynamically adjusted in combination with the memory pressure information, so that the response speed and the memory use efficiency are improved. By drawing scenes in a classified manner, performing task distinguishing based on a
classification result, judging accidental demands and conventional demands, removing
overpressure timestamps of the accidental demands, optimizing a memory adjustment strategy, and ensuring
system stability and high efficiency.