Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention clearer; To combine the accompanying drawing in the embodiment of the invention below; Technical scheme in the embodiment of the invention is carried out clear, intactly description; Obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
Like Fig. 1 or shown in Figure 2, a kind of mobile phone with timing function comprises CPU control chip 1, memory module 2 and loud speaker 6 and timing device; Said memory module 2 all is connected with said CPU control chip 1 circuitry phase with loud speaker 6, and said timing device is connected with said CPU control chip 1 circuitry phase.Said timing device is used for carrying out timing according to the time T of setting; When timing reaches the time T of setting; Said timing device sends interrupt signal to said CPU control chip 1; Said CPU control chip 1 is controlled said loud speaker 6 work according to this interrupt signal, thereby reminds the user to reach setting-up time.Like this, this mobile phone has just had timing function, is convenient to the user and uses timing function whenever and wherever possible, for the user provides great facility, prevents that the user is owing to the time of missing causes damage.
Said timing device comprises time set module 4 and Timing Processing module 3, and said time set module 4 all is connected with said CPU control chip 1 circuitry phase with Timing Processing module 3.Said time set module 4 is used for the user and imports setting-up time T, and the information of this time T is sent to said CPU control chip 1, sends to said memory module 2 after the setting-up time T of 1 pair of user's input of said CPU control chip handles and preserves; Said Timing Processing module 3 is used for reading the setting-up time T of memory module 2 preservations and monitors present timing whether reach said setting-up time T; When reaching setting-up time T like present timing; Send interrupt signal to said CPU control chip 1; Said CPU control chip 1 gets into interruption after receiving said interrupt signal, thereby controls said loud speaker 6 work.
Said timing device also comprises regularly display module 5, and said timing display module 5 is connected with said CPU control chip 1 circuitry phase.Said timing display module 5 is used for display setting time and timing situation, is convenient to user's operation and grasps the timing situation.
Said time set module 4 comprises input control chip 42 and input final controlling element 41; The input of said input control chip 42 is connected with said input final controlling element 41 circuitry phases, and the output of said input control chip 42 is connected with said CPU control chip 1 circuitry phase.The input final controlling element 41 that is provided in the present embodiment is touch controlled key, and said input control chip 42 is the touch controlled key control chip.Said touch controlled key is a covering insulating material and processing outside metallic conductor (for example copper), is used for inducing the different signals of telecommunication and sending to said touch controlled key control chip according to user's different touch track; Said touch controlled key control chip produces the Different control instruction according to its signal of telecommunication that receives.As when the user touches said touch controlled key clockwise; Said touch controlled key is exported first signal of telecommunication, and said touch controlled key control chip sends first instruction that the user controls the value that increases said setting-up time T according to said first signal of telecommunication to said CPU control chip 1; When the user touched said touch controlled key counterclockwise, said touch controlled key was exported second signal of telecommunication, and said touch controlled key control chip sends second instruction that user's control reduces the value of said setting-up time T according to said second signal of telecommunication to said CPU control chip 1; As when the said touch controlled key of the random touch of user; Said touch controlled key is exported the 3rd signal of telecommunication; Said touch controlled key control chip is not exported any instruction according to the 3rd signal of telecommunication, and like this, the user can increase the value of setting-up time T through the said touch controlled key of clockwise touch; Reduce the value of setting-up time T through the said touch controlled key of counterclockwise touch, thereby realize utilizing the touch touch controlled key that setting-up time T is set.
As shown in Figure 3, said touch controlled key (Touch Switch) is an annular, is arranged on the housing of said mobile phone.The touch controlled key (Touch Switch) of annular is convenient to the user along time T clockwise or that rotation touch input is counterclockwise set.
It will be understood by those skilled in the art that said input final controlling element 41 can also according to circumstances be designed to touch-screen, roller, directionkeys or other buttons.Like this, touch-screen capable of using, roller, directionkeys or other are pressed key assignments timing T.
Another embodiment of the present invention, said time set module 4 is a thermoelectric sensing device, comprises thermocouple and thermoelectric control chip, the input of said thermoelectric control chip is connected with the output of said thermocouple; The output of said thermoelectric control chip is connected with said CPU control chip 1 circuitry phase.Said thermocouple is used for the operation and the output signal of telecommunication according to the induction user; Said thermoelectric control chip produces the Different control instruction according to its signal of telecommunication that receives.Point the induction end that continues the said thermocouple of contact like the user; The temperature sensor of said thermocouple can continue to increase in the scope of user's body temperature; Said thermocouple is exported the 3rd signal of telecommunication according to the temperature sensor that continues to increase, and said thermoelectric control chip sends the 3rd instruction that the user controls the value that increases said setting-up time T according to the 3rd signal of telecommunication to said CPU control chip 1; Leave the induction end of said thermocouple like user's finger; The temperature sensor of said thermocouple can continue to reduce in the scope of user's body temperature; Said thermocouple is exported the 4th signal of telecommunication according to the temperature sensor that continues to reduce, and said thermoelectric control chip sends the 4th instruction that user's control reduces the value of said setting-up time T according to the 4th signal of telecommunication to said CPU control chip 1; Thereby realize utilizing thermoelectric sensing device that setting-up time T is set.
Said timing display module 5 comprises light-emitting diode 51 (LED, Light Emitting Diode), and said Light-Emitting Diode is connected with said CPU control chip 1 circuitry phase.Like this, said CPU control chip 1 can be controlled said light-emitting diode 51 according to the time T that the user sets and shows.Be used for just can learning setting-up time T through observing Light-Emitting Diode.
As shown in Figure 1, said CPU control chip 1 is provided with universal input/output interface (GPIO, General Purpose Input Output), and said each light-emitting diode 51 is connected with a said universal input/output interface.Like this, available said CPU control chip 1 directly control Light-Emitting Diode shows, realizes that cost is lower.
As shown in Figure 2; Said timing display module 5 also comprises LED control chip 52; Said CPU control chip 1 is provided with serial line interface (I2C; Inter-Integrated Circuit), the input of said LED control chip 52 is connected with said serial line interface and output is connected with said light-emitting diode 51.Like this, not only saved the universal input/output interface (GPIO, General Purpose Input Output) of said CPU control chip 1, for the expansion design of mobile phone facilitates.Simultaneously, such implementation does not receive the restriction of quantity of the universal input/output interface (GPIO, General Purpose Input Output) of said CPU control chip 1, the more Light-Emitting Diode of may command.
As shown in Figure 3, the quantity of said Light-Emitting Diode is 60.Each light-emitting diode 51 expression 1 minute, the scope of said setting-up time T is less than 60 minutes.Said CPU control chip 1 is according to the state of 60 Light-Emitting Diodes of setting-up time T control.Time T as setting is 45 minutes, and then controlling 45 Light-Emitting Diodes is operating state (lighting), and wherein 15 Light-Emitting Diodes are non operating state (extinguishing).The user can judge the time T of current setting according to the quantity of the Light-Emitting Diode of operating state.The quantity that it will be understood by those skilled in the art that said light-emitting diode 51 also can be 120, like this, representes 1 minute like each Light-Emitting Diode, and then the scope of setting-up time T is less than 120 minutes.The corresponding relation that it will be understood by those skilled in the art that said Light-Emitting Diode and said time can be set according to user's demand.
As shown in Figure 3, said Light-Emitting Diode is along the periphery circular array of said touch controlled key (Touch Switch).Said like this Light-Emitting Diode and said touch controlled key (Touch Switch) are all arranged ringwise, and not only profile is more attractive in appearance, also can make demonstration and input operation consistent, have strengthened ease for use.
Further, the Light-Emitting Diode that is in same state is for be provided with continuously.Said 60 Light-Emitting Diodes can be set at the first to the 60 Light-Emitting Diode along clockwise direction successively, and according to the time T of setting, control is lighted since first Light-Emitting Diode successively.For example, it is in running order to control 1 15 Light-Emitting Diode successively; Control the 46 to the 60 Light-Emitting Diode and be in non operating state.
Another embodiment of the present invention; Said timing display module 5 also can adopt LCD to show that module or LED show module, like this, and display screen display setting time capable of using or present timing; Save cost and save the space, applicable to the bigger bar phone of spatial constraints.Utilize scheme that Light-Emitting Diode shows applicable to renovating or cover-slide-type handset with above-mentioned.
Said Timing Processing module 3 comprises clock unit 31, register 32 sum counters 33, and said clock unit 31, register 32 sum counters 33 all are connected with said CPU control chip 1 circuitry phase.Said clock unit 31 is used for per minute and sends interrupt signal to said CPU control chip 1, and the said counter 33 of control added 1 after said CPU control chip 1 was received said interrupt signal; Like this, the value of said counter 33 is exactly clocking value T1; Said CPU control chip 1 reads in the said memory module 2 the setting-up time T that preserves, and calculates residue clocking value T2 and sends to said register 32 preservations according to the time T of said clocking value and setting.Said cpu controller is controlled said timing display module 5 according to said residue clocking value T2 and is shown, present embodiment is consistent for control Light-Emitting Diode in running order quantity and said residue clocking value T2.So just can be implemented in Light-Emitting Diode per minute described in the process of timing by counterclockwise extinguishing one in order, the user can learn residue clocking value T2 through in running order Light-Emitting Diode, also has promptly how long timing finishes.
Said mobile phone with timing function also is provided with the start key that is used to start timing function, and said start key is connected with said CPU control chip 1 circuitry phase.The user only need push this button like this, gets final product a key and starts timing function, beginning setting-up time and timing.
What should explain at last is: above embodiment is only in order to explaining technical scheme of the present invention, but not to its restriction; Although with reference to previous embodiment the present invention has been carried out detailed explanation, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these are revised or replacement, do not make the spirit and the scope of the essence disengaging various embodiments of the present invention technical scheme of relevant art scheme.