A method for updating a software program installed in a television set using a mobile electronic device, the method comprising the steps of: timing, by the television set, a time period during which the television set is not connected to the Internet, wherein, in the event that the television set becomes online, the timing is stopped, and restarts to time the time period from zero when the television set becomes offline again; when the time period is longer than a predetermined threshold, displaying, by the television set, a barcode that encodes device information associated with the television set, the device information including at least a version number of the software program installed in the television set; scanning, by the mobile electronic device, the barcode displayed on the television set; decoding, by the mobile electronic device, the barcode so as to obtain the device information encoded in the barcode; communicating, by the mobile electronic device, with an update server so as to determine, according to the version number of the software program, whether update data for a new version of the software program is available in the update server; when it is determined that the update data is available, downloading, by the mobile electronic device, the update data from the update server via the Internet; establishing, by the mobile electronic device, wireless communication with the television set for data transmission; transmitting, by the mobile electronic device, the update data to the television set through the wireless communication; and updating, by the television set, the software program installed therein to the new version using the update data received from the mobile electronic device. timing, by the television set, a time period during which the television set is not connected to the Internet, wherein, in the event that the television set becomes online, the timing is stopped, and restarts to time the time period from zero when the television set becomes offline again; when the time period is longer than a predetermined threshold, displaying, by the television set, a barcode that encodes device information associated with the television set, the device information including at least a version number of the software program installed in the television set; scanning, by the mobile electronic device, the barcode displayed on the television set; decoding, by the mobile electronic device, the barcode so as to obtain the device information encoded in the barcode; communicating, by the mobile electronic device, with an update server so as to determine, according to the version number of the software program, whether update data for a new version of the software program is available in the update server; when it is determined that the update data is available, downloading, by the mobile electronic device, the update data from the update server via the Internet; establishing, by the mobile electronic device, wireless communication with the television set for data transmission; transmitting, by the mobile electronic device, the update data to the television set through the wireless communication; and updating, by the television set, the software program installed therein to the new version using the update data received from the mobile electronic device.