1. Technical Field
The present disclosure relates to a technology of telecontrolling and, particularly, to a method and an electronic device capable of telecontrolling television.
2. Description of the Related Art
Users commonly use infrared remote controls to choose and change television (TV) channels. However, the infrared remote control cannot accurately change the TV channels according to a selected program list. Some electronic devices mainly provided users with a number of basic functions, such as reading e-contents and playing music. However no electronic device can be further used as a peripheral of a TV set to control the TV set. If an electronic device can further provide telecontrolling TV functions, it will extend the applications of the electronic device.
Therefore, there is room for improvement within the art.
The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of a method and an electronic device capable of telecontrolling TV. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the several views.
Referring to
The electronic device 10 further includes an infrared transmitting unit 105, a timing unit 106, and a storage 107. The storage 107 stores a channel-infrared code list and a selected program list. The channel-infrared code list defines a congruent relationship between the channels and the infrared codes.
The infrared transmitting unit 103 transmits an infrared remote signal corresponding to an infrared code to a TV set 12.
In another embodiment, after the selections from the users, the electronic device does not immediately change the TV set 12 to the channel providing the selected program, but waits until the system time recorded by the timing unit 104 reaches the starting time of the selected program. When the system time reaches the starting time of the selected program, the processing unit 108 changes the TV set 12 to the channel providing the selected program. In still another embodiment, each time users are able to select a number of programs on the remote control interface. The starting time of those programs are monitored and when the system time reaches the starting time of a selected program, the electronic device 10 changes the TV set 12 to the channel providing the selected program.
In still another embodiment, the processing unit 108 also records the times of a program being selected by the users, if a program has been selected beyond the preset time, the processing unit 108 records the program as a selected program and puts the programs in the selected program list.
In step S50, the wireless communication unit 101 connects to the network 11 and downloads the electronic program list and the corresponding infrared codes from the network 11.
The downloaded electronic program list may be started by users who operate the electronic device 10, for example, the electronic device 10 provides buttons and/or user interface for users to carry out the download. The download may also be started by the processing unit 108, which runs particular software according to preset parameters. The electronic program list lists a number of programs, including information on each of the programs, such as the channel providing the program, the starting time and ending time and program type of the program.
In step S51, the processing unit 108 generates the channel-infrared code list according to the setting congruent relationship between the electronic program list and the plurality of corresponding infrared codes, and stores the channel-infrared code list in the storage 107.
After the electronic program list and the infrared codes have been downloaded, the processing unit 108 classifies the programs and rearranges the programs in the electronic program list according to the channels, starting and ending times, and program types, generates a user interface and displays the rearranged programs on the user interface. With the user interface, the users are able to set a congruent relationship between the channels and the infrared codes. Each of the infrared codes corresponds to a particular channel number users associate the infrared codes with the channels according to the channel numbers of the channels in a TV set 12, which users want the electronic device 10 to control. For example, in the TV set 12, the channel number of “CCTV-1” is 1, the users can associate the infrared code “AA” corresponding to the channel number “1” with “CCTV-1”, so that the electronic device 10 can change the TV set to CCTV-1 by transmitting the infrared code to the TV set 12. The processing unit 108 generates the channel-infrared code list to record the relationship, and stores the channel-infrared code list in the storage 107.
In step S52, the processing unit 108 generates the selected program list according to the programs chosen by user, and stores the selected program list in the storage 107.
For example, upon receiving a command to book programs from a particular button on the electronic device 10, the processing unit 108 generates another user interface to display the rearranged programs. With the user interface, the users are able to book one or more programs recorded on the electronic program list. The processing unit 108 generates the selected program list to record the selected programs, and stores the selected program list in the storage 107.
In step S53, the processing unit 108 determines whether the system time recorded by the timing unit 104 reaches the starting time of the selected program. If yes, the procedure goes to step S54.
In step S54, if the system time reaches the starting time of the selected program, the processing unit 108 obtains the infrared code corresponding to the channel of the selected program from the channel-infrared code list stored in the storage 107.
In step S55, the processing unit 108 transmits the infrared code to the infrared transmitting unit 103 so that the infrared transmitting unit 105 emits infrared remote signals carrying the infrared code to the TV set 12, to change the TV set 12 to the channel providing selected program.
In another embodiment, the user can start the telecontrolling function through a particular button and/or a relevant function menu, and the processing unit 108 controls the display control unit 103 to display a remote control interface on the display screen 104. The remote control interface displays a number of icons, representing selected programs, which is marked by the name of the program. The users select an icon on the remote control interface and the electronic device 10 immediately changes the TV set 12 to the channel providing the selected program, rather than waiting till the system time reaches the starting time of the selected program.
It is understood that the present disclosure may be embodied in other forms without departing from the spirit thereof. Thus, the present examples and embodiments are to be considered in all respects as illustrative and not restrictive, and the disclosure is not to be limited to the details given herein.
Number | Date | Country | Kind |
---|---|---|---|
201010148851.2 | Apr 2010 | CN | national |