The invention discloses a method of remotely controlling a computer by a smartphone based on a network. A length-to-
width ratio of a touch screen of the smartphone is equal to the length-to-
width ratio of a display screen of the computer, the smartphone is connected with the computer wirelessly through a
wireless AP, a screen instruction is sent to the computer through touching the touch screen ofthe smartphone, the screen instruction comprises a screen coordinate (x, y) of a touch point position, the computer receives the screen instruction through a
wireless network, the received screen coordinate is zoomed according to a ratio of size of the touch screen of the smartphone to the size of the display screen of the computer, the screen coordinate (x, y) of the touch point is converted into an actual physical code coordinate (value-x, value-y) recognizable for the screen of the computer, the converted actual physical code coordinate (value-x, value-y) is respectively compared with a coordinate region corresponding to each
software icon shortcut on the display screen of the computer, and whether the screen instruction is valid is judged automatically, and thus,
remote control for the computer is realized.