The present invention relates to a method for storing control signals and an electronic device using the method, and more particularly to a method for storing control signals according to a result of a comparison program.
In the conventional art, when users employ computers to view programs from audio and video devices, it needs to connect signal lines of the audio and video devices with the computers, and further it also needs to employ corresponding remote controllers cooperated with the audio and video devices to perform related operations. Since the audio and video devices used by the users may comprise various kinds, the cooperated remote controllers are also different with different manufacturers and models, thus it will perplex the users in operation. Therefore, when the computers cooperate with the audio and video devices in current, the computer will provide the IR learning function mechanism such that the computers may record waves sent out from the various remote controllers, and simulate control signals sent out from the remote controllers to send out another control signals according to the emitting waves of the remote controllers controlling the audio and video devices. Therefore, the users can employ user interfaces of the computers to directly process the audio and video devices without additional remote controllers to control the audio and video devices.
Since idle times of the user are not always cooperated with play times of the audio and video programs, the terminal device such as the computer is developed to learn the method for sending the control signals from the remote controller 13. The method firstly uses the computer to learn the control signals sent from the remote controller 13, and then uses the computer to send out simulative control signals to the audio and video device. Therefore, the user can use the computer to control the audio and video device without using the remote controller 13.
Generally, for allowing the computer to obtain formats of the control signals sent from the function keys when the remote controller controls the audio and video device, the computer cooperates with the transceiver (the transceiver may be built-in or externally attached), and then the terminal device can be used for receiving the control signals corresponding to the function keys of the remote controller through the transceiver and the application software (step S13). Then the user can employ the application software of the computer to control the transceiver, such that the terminal device directly sends out the control signals to the audio and video device through the transceiver (step S15). The audio and video device receives the control signals sent from the computer which simulates the remote controller, to start performing the general audio and video play function, and transmits the audio and video programs to the terminal device through a corresponding audio and video signal line to be displayed (step S17). In other words, it is the terminal device for actually controlling the audio and video device to perform the audio and video playing function, instead of the remote controller.
It should be noted that, the IR learning method as shown in
Although the learning function of the software improves the problems of the remote controller with different kinds and scheduled controlling the audio and video device, the key learning function provided by the software is deficient because the current operation of the software learning the functions of the remote controller is inconvenient for the user employing the terminal device to record the control signals corresponding to the keys of the remote controller.
At present, the flow of the software learning the remote controller, mainly comprises a semi-automatic learning mode provided by the Hauppauge software, and a full-automatic learning mode of the Media Center Edition (MCE) provided by the Microsoft. The two learning modes for the functions of the remote controller, and the disadvantages thereof, are described as follows.
The semi-automatic learning mode comprises the steps of: displaying the software on an operation interface firstly, prompting the software which of the keys of the remote controller should be inputted, then pressing a corresponding key of the remote controller by the user. In other words, the user must firstly click a key of the software, then press the corresponding key of the remote controller to learn, over and over again. Therefore, the learning mode is considerably complex.
On the other hand, the full-automatic learning mode comprises the steps of: predefining a whole key learning flow, displaying key learning prompts which should be learned in sequence by the predefined key learning flow, and step by step performing the key learning operations according to the key learning prompts displayed by the software. The disadvantage of the key learning mode is that the user must press the keys of the remote controller according to the steps predesigned by the software, thus the user is passive to cooperate and is inconvenient during the whole key learning period.
For example, the current full-automatic learning mode must switch a next page to continuously learn a next function option after inputting a key every time. If the user occasionally wants to modify a first function option when the user inputs a tenth key, the user must step by step return to the first function option from a ninth function option, an eighth function option, . . . After the user modifies the first function option, the user must repeat to perform the key function design from a second function option, etc. Therefore, the IR learning mode must go back and forth to perform the unnecessary operations, thus it is very inconvenient.
From the above it can be seen that, although the present learning modes of the software learning the function keys of the remote controller can use the computer to control the audio and video device instead of the remote controller, the conventional modes are considerably limited and are inconvenient. The present invention is used to improve the above disadvantages.
The present invention provides a method for storing control signals adapted into an electronic device and configured for receiving and storing control signals sent from a remote controller. The method comprises: using the electronic device to receive a first control signal sent from the remote controller by pressing a first key of the remote controller; performing a comparison program between the first control signal and a query record comprising a plurality of function options and a plurality of corresponding control signals; dynamically displaying a function option of the function options and a corresponding modification prompt according to a result of the comparison program; and updating and storing a control signal corresponding to the function option of the query record.
Preferably, the step of using the electronic device to receive the first control signal sent from the remote controller by pressing the first key of the remote controller, comprises: pressing the first key according to a pending input function option by a user; and using the electronic device to receive the first control signal corresponding to the first key which is sent from the remote controller.
Preferably, the function options of the query record are divided into a plurality of pre-stored function options and a plurality of pending-input function options.
Preferably, the step of dynamically displaying the function option of the function options and the corresponding modification prompt according to the result of the comparison program, comprises: displaying a pending-input function option and a modification prompt clashed with a pre-stored function option corresponding to the first control signal of the query record, if the result is a repeated result; and displaying a modification prompt for storing the first control signal as the pending-input function option.
Preferably, the step of displaying the pending-input function option and the modification prompt clashed with the pre-stored function option corresponding to the first control signal of the query record if the result is the repeated result, comprises: displaying the repeated result through a prompt information; and optionally modifying a control signal corresponding to the pre-stored function option or a control signal corresponding to the pending-input function option according to the prompt information by the user.
Preferably, the step of updating and storing the control signal corresponding to the function option of the query record, comprises: receiving a second control signal sent from the remote controller by pressing a second key of the remote controller; and updating the control signal corresponding to the pre-stored function option as the second control signal, or storing the second control signal as the control signal corresponding to the pending-input function option, according to a judgment for the prompt information by the user.
Preferably, the repeated result is that the query record has stored a corresponding relation between the first control signal and the pre-stored function option.
The present invention also provides a computer-program product comprising a software program stored therein. The software program is performed to perform an operation for storing a control signal by an electronic device having a control unit. The operation for storing the control signal comprises: using the electronic device to receive a first control signal sent from a remote controller by pressing a first key of the remote controller; performing a comparison program between the first control signal and a query record comprising a plurality of function options and a plurality of corresponding control signals; dynamically displaying a function option of the function options and a corresponding modification prompt according to a result of the comparison program; and updating and storing a control signal corresponding to the function option of the query record.
The present invention also provide an electronic device connected to a remote controller through signals and having a function of storing control signals sent from the remote controller. The electronic device comprises a transceiver, connected to the remote controller through the signals, and configured for receiving a first control signal sent from the remote controller by pressing a first key of the remote controller; and a control unit, electrically connected to the transceiver, and configured for performing a comparison program between the first control signal and a query record comprising a plurality of function options and a plurality of corresponding control signals, and updating and storing a control signal corresponding to a function option of the function options of the query record, after dynamically displaying the function option of the function options and a corresponding modification prompt according to a result of the comparison program.
Preferably, the electronic device further comprises a display unit, electrically connected to the control unit, and cooperated with the control unit to dynamically display the function option and the corresponding modification prompt.
Preferably, the electronic device further comprises a memory unit, electrically connected to the control unit, and configured for updating and storing the query record according to the comparison program performed by the control unit.
Preferably, the memory unit employs a lookup table mode or a linking list mode for storing a corresponding relation between the plurality of function options and the plurality of control signals of the query record.
Preferably, the step of the control unit dynamically displaying the function option of the function options and the corresponding modification prompt according to the result of the comparison program, comprises: displaying a pending-input function option and a modification prompt clashed with a pre-stored function option corresponding to the first control signal of the query record if the result is a repeated result; and displaying a corresponding modification prompt for storing the first control signal as the pending-input function option if the result is an updated result.
Preferably, if the result is the repeated result, the control unit performs following steps: displaying the repeated result through a prompt information; and optionally modifying a control signal corresponding to the pre-stored function option or a control signal corresponding to the pending-input function option according to the prompt information by the user.
Preferably, the step of the control unit updating and storing the control signal corresponding to the function option of the query record, comprises: receiving a second control signal sent from the remote controller by pressing a second key of the remote controller; and updating the control signal corresponding to the pre-stored function option as the second control signal, or storing the second control signal as the control signal corresponding to the pending-input function option according to a judgment for the prompt information by the user.
Preferably, the repeated result is that the query record has stored a corresponding relation between the first control signal and the pre-stored function option.
The above objects and advantages of the present invention will become more readily apparent to those ordinarily skilled in the art after reviewing the following detailed description and accompanying drawings, in which:
The present invention will now be described more specifically with reference to the following embodiments. It is to be noted that the following descriptions of preferred embodiments of this invention are presented herein for purpose of illustration and description only. It is not intended to be exhaustive or to be limited to the precise form disclosed.
For the semi-automatic key learning mode or the full-automatic key learning mode, the conventional remote controller key learning modes still has many disadvantage, and the above key learning are not intuitional and inconvenient in operation. The present invention is used to improve the conventional key learning modes of the computer terminal, and to provide a facile remote controller key learning mode.
An electronic device 21 of the present invention is connected to a remote controller 23 through signals. The electronic device 21 is configured for providing a function for storing control signals sent from the remote controller 23, such that the user can then directly use the electronic device 21 to control an audio and video device 22 without the remote controller 23 which is inconvenient in use.
From
The electronic device 21 of the present invention mainly employs the control unit 211 electrically connected to the transceiver 213, to perform a remote controller key learning function. After the transceiver 213 receives the control signals corresponding to the keys of the remote controller 23, the control unit 211 will perform a judging operation needed by the key learning mode.
The electronic device 21 further optionally comprises a display unit 215 and a memory unit 217 except for the transceiver 213 and the control unit 211, and the control unit 211 is electrically connected between them. The display unit 215 is cooperated with the control unit 211 to dynamically display a function option and a modification prompt in relation to a corresponding control signal. The memory unit 217 is configured for storing a query record of a corresponding relation between the function option and the control signal, which is cooperated with a comparison program of the control unit 211 to update and store the query record according to a result of the comparison program.
When the control unit 211 performs the remote controller key learning function, it firstly performs a comparison program between a first control signal and a query record comprising a plurality of function options and a plurality of corresponding control signals, and updates and stores a control signal corresponding to a function option of the query record after dynamically displaying the function option of these function options and a corresponding modification prompt.
In addition, the electronic device 21 is a device with receiving and learning functions, and is not limited in its shape. In actual application, the electronic device 21 may be a computer with a built-in receiving function, or a computer externally connected to a TV card or an image pick-up card, or a computer with a transceiver electrically connected to a USB terminal, or a small and independent embedded product.
For the external operation flow among the audio and video device 22, the remote controller 23 and the electronic device 21, the present invention is similar with the conventional key learning flow, and it will not describe the external signal exchanging method herein. In other words, the main principle of the present invention is modifying the detailed flow of the application program of the computer recording the keys of the remote controller and the formats of the control signals sent therefrom, that is, the present invention mainly improves the details of the step S13 of the conventional control methods.
Although
If the comparison program generates a repeated result, it represents the query record has stored at least one pre-stored function option, which has been defined to correspond to the first control signal (step S3321a). Thus it will display a pending-input function option and a modification prompt clashed with the pre-stored function option of the query record corresponding to the first control signal (step S3321b).
On the other hand, if the result generated by the comparison program is an update result, it will display a modification prompt for storing the first control signal as the corresponding pending-input function option (step S3322). If the result generated by the comparison program is the update result, the application program performs a step S34 to update and store a corresponding relation between the object-design option and the first control signal in the query record. That is, the first control signal is stored as the control signal corresponding to the object-design option.
A prompt information is firstly used to display that the control signal has been iteratively set previously, and the repeated result is represented through the prompt information (step S3341). The user judges the subsequent process according to a need for the key function design after the user watches the dynamical prompt information displayed on the display screen (step S3342). The following control flow may be divided into three modes according to different flow judging results.
A first mode is that the user wants to use the present input design. That is, the first control signal is stored as the control signal corresponding to the object-design option in the query record. Therefore, the application software needs to update the first control signal corresponding to the original pre-stored function option is the function option of the query record. The second mode is that the user regards the operation of pressing the first key as a wrong operation. At the moment, the user may need to repeat to press another function key function (second key) of the remote controller, and store a second control signal corresponding to the second key as the control signal corresponding to the object-design option of the query record. A third mode is that the user thinks the clashed pre-stored function option of the function options and the present object-design function option should both correspond to a same function key (the first key) of the remote controller. Therefore, it will directly update the control signal corresponding to the object-design option in the query record, and update the attribute of the object-design option as the kind of the pre-stored function option from the kind of the pending-input function option.
For clearly understanding the operations corresponding to the above three different judging modes, further detailed description is provided in the following as shown in
In the first mode, the user thinks the previous operation for the pre-stored function option is wrong, and decides to correct the control signal corresponding to the pre-stored function option stored in the query record. That is, it updates the control signal corresponding to the pre-stored function option as the first control signal, and further input the second control signal as the control signal corresponding to the pending-input function option. The present flow comprises the following steps.
The user optionally modifies the control signal corresponding to the clashed pre-stored function option (step S3343). The remote controller sends out the second control signal by the user pressing the second key (step S3346). The electronic device correspondingly receives the second control signal (step S3347). Finally, the electronic device updates the control signal corresponding to the clashed pre-stored function option of the query record as the second control signal (step S3348a), and stores the first control signal as the control signal corresponding to the pending-input function option (step S3348b).
The process mode of the second mode represents the operation of the user pressing the first key is a wrong operation, it needs the user to further press the second key, and stores the second control signal sent from the remote controller by pressing the second key as the control signal corresponding to the pending-input function option. The present flow of the second mode comprises the following steps.
It modifies the control signal corresponding to object-design option included in the pending-input function option (step S3344). Then the user presses the second key of the remote controller, such that the remote controller sends out the second control signal correspondingly (step 3346). The electronic device receives the second control signal corresponding to the second key (step S3347). It represents the user does not want to modify the control signal corresponding to the pre-stored function option of the query record, and stores the second control signal as the control signal corresponding to the object-design option of the pending-input function option when updating the query record stored in the memory unit (step S3349).
For the third mode, it represents the user wants to correspond a same function key of the remote controller to a plurality of function options. Thus the clashed function option of the pre-stored function option and the present selected object-design option both correspond to the first control signal, it will store the control signal corresponding to the object-design option of the query record as the first control signal (step S3345).
The user also may employ a mouse to click the function options displayed on the display screen. Not only the pending-input function option which is not designed to corresponding to a key, but also the pre-stored function option which has been designed, can employ the method of the present invention to dynamically modify, thus it can improve the problems of the conventional art, that it is complex for modifying the control signal corresponding to the pre-stored function option of the query record.
The present invention provides the query record, which is used for dynamically determining whether the function design is clashed when the user inputs the option of the remote controller. When determining the function design is clashed, it can make the user instantly notice the design is clashed, and provide a comparison result by a dynamically information. Therefore, it will omit the complex steps of the key function learning mode, and not repeat to design the function keys without wrong designs during the design process. Therefore, it is intuitive when the user employs the application program to perform the key learning function, and greatly decreases the error of repeating to input the same control signal.
In an image for displaying the remote controller key learning fairy of
As shown in
In
In
In
Although the above operation employs the computer to perform the key learning method, the present invention also can employ other electronic device instead of the computer to perform the software with the key learning function in actual application. In other words, the present invention can be applied into any computer-program product which stores the software program. When the software program is performed, the electronic device having the control unit can perform the method for storing the control signal.
Similar with the method applied into the computer, the method for storing the control signal applied into other computer-program product with the electronic device comprises: using the electronic device to receive a first control signal sent from the remote controller by pressing a first key of the remote controller; performing a comparison program between the first control signal and a query record comprising a plurality of function options and a plurality of corresponding control signal; dynamically displaying a function option of the function options and a corresponding modification prompt according to a result of the comparison program; and updating and storing a control signal corresponding to the function option of the query record.
The user firstly confirms whether starting the key learning fairy to enter the key learning flow (step S501). If yes, all of the function options are displayed on the computer screen (step S502), and if no, it ends the related function key design flow.
After displaying all of the function options, the user can determine whether entering the prompt learning mode according to the actual need (step S503). The prompt learning mode is that the software of the computer actively shows the pending-design function option of the function options in sequence dynamically. That is, the computer selects a next function option which should be learned.
If the user selects not to enter the prompt learning mode, it represents the user wants to design and select the function options according to a preferred sequence thereof. Therefore, the user can employ the input device such as the mouse or the keyboard, etc., to optionally select anyone of the undersigned function options of the function options displayed on the screen (step S504).
On the other hand, if the user selects to enter the prompt learning mode, the learning flow provided by the computer starts according to a predefined design flow, which may be decided by attributes of a key group. For example, when designing number keys, it will provide function options of the number keys in sequence, which are designed by the user respectively. When performing the step, the function options designed by the computer, can be reversed whitely or twinkled to emphasize the object-design option on the display image of the computer.
Of course, the method for entering the prompt learning mode does not need the specific operations to be switched. For example, the system may be predefined to employ the prompt learning mode, but if the user automatically select other function options in the image, it represents the user wants to design the selected function option. The present invention is not limited in the constant learning mode.
No matter what of the learning modes, once selecting a next function option which should be designed, the user then selects and presses the key (the first key) of the remote controller, and the computer receives the first control signal sent from the remote controller corresponding to the first key thereof (step S506).
There are problems of receiving the control signal because of the receiving angle, etc., when transmitting the control signal, therefore it may first confirm whether the control signal is entire (step S507), and prompt the user to perform the input operation for the function option again when the received control signal cannot be identified (step S508).
Once the control signal inputted by the remote controller is successfully received, the application program of the computer will compare the inputted first control signal with the previous query record, to judge whether the key pressed by the user is the function key which has been designed. That is, it is whether the repeated store takes place (step S509). If not building the query record, that is, the user performs the key function design corresponding to the first function options, it needs not to enter the comparison program
When the result of the comparison program is not, it represents the function key indeed corresponds to a pending-input function option which has not designed as a corresponding control signal. Therefore, it can increase a corresponding function in the query record (step S510).
On the other hand, if the result of the comparison program shows that it has stored a pre-stored function option corresponding to the control signal sent from a same function key, the key learning software displays a prompt information on a display image, to notice the user that the first control signal has been designed and it takes place a condition that the object-design option is clashed with the pre-stored function option (step S511).
If the application program detects the function key inputted by the user is clashed with the previous query record by the comparison program, it will provide a function of modifying the query record, such that the user can determine whether modifying the pre-stored function option according to the actual need of the user (step S512), or updating in the query record after modifying the input (step S514).
According to the judgment of the user, the following flow may be divided into three modes, which comprises a sub-flow I of modifying the control signal corresponding to the pre-stored function option by the user, which is shown in a step S513; a sub-flow II of modifying the design of the object-design option since the user thinks the input key is wrong, which is shown in a step S515; and a sub-flow III of defining the functions are pooled, which is shown in a step S516 to provide a storing design.
For further describing the above judgment flow, the following will employ an embodiment to auxiliarily describe the principle of the present invention. In the key learning process, when detecting the current input key function is iterative (clashed) with the previously input key function when comparing the record of the key function, there may be three different possibilities.
A first possibility (the sub-flow I) is that the key previously pressed by the user is wrong, and the current input option is a correct function key. For example, when the display image displays the number key 3, the user mistakes to input the number key 6 of the remote controller. Therefore, when the display image displays the input of the number key 6, if the user presses the number key 6 of the remote controller at this time, the application program correspondingly displays a signal that the key is clashed because the program has stored the wave corresponding to the number key 6. In the condition, the user may modify the control signal corresponding to the previous number key 3 by displaying the image.
A second possibility (the sub-flow II) is that the key previously pressed by the user is correct, and the current input function key is wrong. For example, when the previous display image displays the number key 3, the user correspondingly input the number key 3 of the remote controller. However, when the display image displays the input of the number key 6, if the user presses the number key 3 of the remote controller, the application program correspondingly displays the prompt information that the key is clashed because the query record has recorded the wave of the number key 3 corresponds to the function option 3. In the condition, the user may modify the function option of the current control signal by displaying the image.
A third possibility (the sub-flow III) is that the key of the remote controller corresponds to the function options of the computer iteratively. For example, the channel-switching key may represent switching in sequence or switching form-feed because of the different modes. When the computer provides the function options, the function options will not one-to-one correspond to the function keys of the remote controller. The amount of the function options provided by the computer may be larger than that of the function keys of the remote controller, thus a plurality of function options may simultaneously correspond to a same function key of the remote controller.
When the application program achieves the query record, it may use different data structures to achieve a method for storing the query record according to a preference of the user or an actual need in use. For example, it may use a lookup table to build the query record, or use a linking list to build the query record without influencing the use of the query record.
The user inputs the first control signal according to the i-th function option prompted by the image, and the control unit compares the contents from the function option 1 to the function option i-1 of the memory unit. The function options which do not input the corresponding control signals may be arranged at a lower-half part of the query table.
No matter what of the data structure for storing the query record, the query record comprises the corresponding relationship between the function options and the control signals, such that the application program can perform the comparison program according to the query record. Any possible format for storing the data may be used.
The present invention also can provide a mode of the user selecting the corresponding input except for using the application software to provide the pending-input function option in sequence for prompting the user to input. Similarly, for the mode of pressing the key of the remote controller after selecting the function option, the present invention also provides the comparison function for the query record, to prevent the user from the mistaken operation by an instant confirming mode.
In summary, the present invention employs the dynamically comparison for the query record to improve the problem of the conventional art and make the whole learning flow more humanization. While the invention has been described in terms of what is presently considered to be the most practical and preferred embodiments, it is to be understood that the invention needs not be limited to the disclosed embodiment. On the contrary, it is intended to cover various modifications and similar arrangements included within the spirit and scope of the appended claims which are to be accorded with the broadest interpretation so as to encompass all such modifications and similar structures.
Number | Date | Country | Kind |
---|---|---|---|
099117663 | Jun 2010 | TW | national |