1. Technical Field
The present invention relates to a composite push-button circuits, and more particularly to a composite push-button circuit supporting both PREVIOUS PAGE and HOMEPAGE functions.
2. Description of Related Art
In various conventional user interface devices, there are usually both a BACK button for making the screen go back to the previous page and a HOME button for making the screen go back to the homepage (initial screen). When the BACK button is pressed, the user interface goes back to the previous operational stage, and when the HOME button is pressed, the user interface returns to its initial screen.
However, the provision of both the BACK button and the HOME button increases the number of push buttons in the user interface. When operating the user interface, a user has to take time to choose the right button that corresponds to the function he/she wants to activate, and this makes the operation inconvenient. In view of this, the inventor of the present invention proposes the present invention for improving the conventional user interface.
The primary objective of the present invention is to provide a composite push-button circuit supporting both PREVIOUS PAGE and HOMEPAGE functions. The composite push-button circuit integrates the PREVIOUS PAGE and HOMEPAGE functions as operated by separate BACK and HOME buttons in the conventional user interface, so as to reduce the number of push buttons required in the user interface. As a result, a user can use a single button activate both of the functions without taking time to choose different buttons for different functions, thereby making operation more conveniently and efficiently.
For achieving the foregoing objective, the discloses composite push-button circuit supporting both PREVIOUS PAGE and HOMEPAGE functions comprises: a push button; a processor, being electrically connected with the push button and having a timer that times a duration where the push button remains pressed and determines whether the duration reaches a predetermined duration, wherein when the timer determines that the duration reaches the predetermined duration, the processor outputs a first executable command, and when the timer determines that the duration does not reach the predetermined duration, the processor outputs a second executable command; a first function-controlling module, being electrically connected with the processor so as to receive and execute the first executable command of the processor; and a second function-controlling module, being electrically connected with the processor so as to receive and execute the second executable command of the processor.
The discloses composite push-button circuit uses the timer to determine whether the duration where the push button remains pressed reaches the predetermined duration. When the timer determines that the duration reaches the predetermined duration, the processor outputs the first executable command, so the first function-controlling module executes the HOMEPAGE function that makes the user interface returns to its initial stage. When the timer determines that the duration does not reach the predetermined duration, the processor outputs the second executable command, so the second function-controlling module executes the PREVIOUS PAGE function that makes the user interface return to the previous operational stage. The composite push-button circuit integrates the PREVIOUS PAGE and HOMEPAGE functions as operated by separate BACK and HOME buttons in the conventional user interface, so as to reduce the number of push buttons required in the user interface. As a result, a user can use a single button activate both of the functions without taking time to choose different buttons for different functions, thereby making operation more conveniently and efficiently.
The push button 10 may be a physical push button provided in an operation panel 200. However, in other embodiments where the operation panel 200 is in the form of a touch screen, the push button 10 may alternatively be a virtual push button displayed in the touch panel for touch control.
The processor 20 is electrically connected with the push button 10, and has an arithmetic logic function fir executing the commands input from the push button 10. The processor 20 includes a timer 21. The timer 21 times a duration where the push button 10 remains pressed, and determines whether the duration reaches a predetermined duration or not. In the present embodiment, the predetermined duration is set as long as 0.5 second. When the timer 21 determines that the duration where the push button 10 remains pressed reaches the predetermined duration, the processor 20 outputs a first executable command. When the timer 21 determines that the push button 10 the duration where the push button 10 remains pressed does not reach the predetermined duration, the processor 20 outputs a second executable command.
The first function-controlling module 30 is electrically connected with the processor 20, so as to receive and execute the first executable command of the processor 20. In the present embodiment, upon receiving the first executable command of the processor 20, the first function-controlling module 30 executes the HOMEPAGE function that makes the user interface return to its initial stage.
The second function-controlling module 40 is electrically connected with the processor 20, so as to receive and execute the second executable command of the processor 20. In the present embodiment, upon receiving the second executable command of the processor 20, the second function-controlling module 40 executes the PREVIOUS PAGE c function that makes the user interface return to its previous operational stage.
Referring to
At last, the features and expected effects of the present invention are summarized as blow.
The disclosed composite push-button circuit supporting both PREVIOUS PAGE and HOMEPAGE functions uses the processor 20 to determine whether the push button 10 has been pressed for longer than the predetermined duration. When the processor 20 determines that the push button 10 has been pressed for longer than the predetermined duration, the processor 20 makes the first function-controlling module 30 execute the HOMEPAGE function that makes the user interface return to its initial stage. When the processor 20 determines the push button 10 determines that the push button 10 has been pressed for a duration equal to the predetermined duration, the processor 20 makes the second function-controlling module 40 execute the PREVIOUS PAGE function that makes the user interface return to its previous operational stage. The composite push-button circuit thereby integrates the PREVIOUS PAGE and HOMEPAGE functions as operated by separate BACK and HOME buttons in the conventional user interface, so as to reduce the number of push buttons required in the user interface. As a result, a user can use a single button activate both of the functions without taking time to choose different buttons for different functions, thereby making operation more conveniently and efficiently.