A stroke erasing method, comprising: determining an intersecting stroke on an electronic whiteboard that intersects with an erasing region; traversing each of collection points of the intersecting stroke to determine whether a line of connection between each two adjacent ones of the collection points intersects with the erasing region (S 102); determining, in response to the line of connection intersecting with the erasing region, an approximate intersection point between the line of connection and a perimeter of the erasing region by means of midpoint recursion; and splitting the intersecting stroke into segments according to the approximate intersection point, and drawing the segments not erased by the erasing region (S 104); characterized in that: the determining the approximate intersection point between the line of connection and the perimeter of the erasing region by means of midpoint recursion comprises: in response to, of two points corresponding to the line of connection, one point being within the erasing region, and the other point being outside the erasing region, taking a midpoint of the line of connection as the approximate intersection point in response to determining a length of the line of connection to be less than or equal to m, m being less than the width of the erasing region, wherein the width of the erasing region is a length of intersection between a horizontal line where a central point of the erasing region is located and the erasing region; in response to determining the length of the line of connection to be greater than m, splitting the line of connection based on the midpoint of the line of connection to obtain a split line segment, and determining the approximate intersection point between the split line segment and the perimeter of the erasing region by means of midpoint recursion. determining an intersecting stroke on an electronic whiteboard that intersects with an erasing region; traversing each of collection points of the intersecting stroke to determine whether a line of connection between each two adjacent ones of the collection points intersects with the erasing region (S 102); determining, in response to the line of connection intersecting with the erasing region, an approximate intersection point between the line of connection and a perimeter of the erasing region by means of midpoint recursion; and splitting the intersecting stroke into segments according to the approximate intersection point, and drawing the segments not erased by the erasing region (S 104); characterized in that: the determining the approximate intersection point between the line of connection and the perimeter of the erasing region by means of midpoint recursion comprises: in response to, of two points corresponding to the line of connection, one point being within the erasing region, and the other point being outside the erasing region, taking a midpoint of the line of connection as the approximate intersection point in response to determining a length of the line of connection to be less than or equal to m, m being less than the width of the erasing region, wherein the width of the erasing region is a length of intersection between a horizontal line where a central point of the erasing region is located and the erasing region; in response to determining the length of the line of connection to be greater than m, splitting the line of connection based on the midpoint of the line of connection to obtain a split line segment, and determining the approximate intersection point between the split line segment and the perimeter of the erasing region by means of midpoint recursion. in response to, of two points corresponding to the line of connection, one point being within the erasing region, and the other point being outside the erasing region, taking a midpoint of the line of connection as the approximate intersection point in response to determining a length of the line of connection to be less than or equal to m, m being less than the width of the erasing region, wherein the width of the erasing region is a length of intersection between a horizontal line where a central point of the erasing region is located and the erasing region; in response to determining the length of the line of connection to be greater than m, splitting the line of connection based on the midpoint of the line of connection to obtain a split line segment, and determining the approximate intersection point between the split line segment and the perimeter of the erasing region by means of midpoint recursion.