1. A method for realizing virtual handwriting input, comprising: obtaining, by an electronic apparatus, position coordinates of a handwriting apparatus in a virtual handwriting area through monitoring in a real-time manner, wherein the virtual handwriting area is an area in which a distance-measuring detector in the electronic apparatus is configured to perform distance measurement; obtaining a track formed by the position coordinates; obtaining a handwriting track of an entire handwriting input process when it is detected that the current handwriting input ends; identifying a character corresponding to the obtained handwriting track; and displaying the identified character.