A method for controlling image-forming devices by a mobile phone, comprising: acquiring currently-available wireless networks, including detecting, by a wireless communication module in the mobile phone, the currently-available wireless networks, and acquiring, by the wireless communication module, broadcast information transmitted by each currently-available network; searching image-forming devices through the wireless networks and establishing a list of the image-forming devices, including: when one of the wireless networks is not provided by one of the image-forming devices, connecting to that wireless network, and acquiring a first device identifier (201, 203) of the image-forming device connected to that wireless network from that network, and adding the first device identifier to the list of the image-forming devices; according to the list of the image-forming devices, selecting a target image-forming device (A1, A2, A3, A4); and connecting to a wireless network (AP1, AP2, AP3) corresponding to the target image-forming device and establishing a communication with the target image-forming device, thereby controlling the target image-forming device to execute an image-forming task; characterized in that the step of acquiring the currently-available wireless networks is performed by acquiring broadcast information transmitted by respective wireless access points of the currently-available wireless networks; and the step of searching the image-forming devices through the currently-available wireless networks and establishing the list of the image-forming devices includes: when one of the wireless networks is provided by an image-forming device, acquiring a first network identifier including a first device identifier of the image-forming device from that wireless network, and adding the first network identifier and the first device identifier acquired to the list of the image-forming devices. acquiring currently-available wireless networks, including detecting, by a wireless communication module in the mobile phone, the currently-available wireless networks, and acquiring, by the wireless communication module, broadcast information transmitted by each currently-available network; searching image-forming devices through the wireless networks and establishing a list of the image-forming devices, including: when one of the wireless networks is not provided by one of the image-forming devices, connecting to that wireless network, and acquiring a first device identifier (201, 203) of the image-forming device connected to that wireless network from that network, and adding the first device identifier to the list of the image-forming devices; according to the list of the image-forming devices, selecting a target image-forming device (A1, A2, A3, A4); and connecting to a wireless network (AP1, AP2, AP3) corresponding to the target image-forming device and establishing a communication with the target image-forming device, thereby controlling the target image-forming device to execute an image-forming task; characterized in that the step of acquiring the currently-available wireless networks is performed by acquiring broadcast information transmitted by respective wireless access points of the currently-available wireless networks; and the step of searching the image-forming devices through the currently-available wireless networks and establishing the list of the image-forming devices includes: when one of the wireless networks is provided by an image-forming device, acquiring a first network identifier including a first device identifier of the image-forming device from that wireless network, and adding the first network identifier and the first device identifier acquired to the list of the image-forming devices.