200916989 九、發明說明: 【發明所屬之技術領域】 本發明涉及-種電子裝置及方法,特別涉及—種具有 關閉鬧鐘功能的電子裝置及其鬧鐘的關閉方法。 【先前技術】 目前,各種電子設備大都提供鬧鐘功能,用戶可預先 設定-鬧鐘時間,當到達狀的時間鬧鐘響起,此時,用 戶-般只需按下電子設備的任#按鍵或某—固定按鍵即可 關閉鬧鐘’此操作在用戶在未睁開眼睛或是大腦並未完全 清醒的狀態下便可以完成。但這樣可能會導致用戶甚至都 不知道自己曾關閉過鬧鐘,而繼續熟睡過去。 即使現有技術增加了間隔一段時間後再次啟動鬧鐘的 功能,,但是這樣會造成用戶心理上的放料暢,而且用戶 在非常疲制情況下,仍然可以在大腦不太清S!時就按下 按鍵關閉鬧鐘,鬧鐘仍不能達到應有的喚醒用戶的作用。 【發明内容】 有鑒於此,本發明提供一種具有鬧鐘功能的電子裝 f方法’以解決财技術中電子裝置的鬧鐘功 喚醒用戶的問題。 ’ 所述具有祕魏的電子裝置包括—存儲單元;一車 =:一音頻輪出單元;—顯示單元。其令該輸入單; :接收用戶的輸入操作’該存儲單元存儲有多個音頻相 二:頻:的相關資訊。該裝置還包括一音頻播放模組,用 4到達1料_隨_取並通過該音㈣出單元播 200916989 放-音頻槽;—提問選項產生料 提問選項,其令至少一提n、s馆;^用於產生預定數目個 的相關資訊,·及一選項包含有當前所播放音頻播 選擇的提問、H 於_用戶料輸入單元 訊。A用广、疋L含有當前所播放音頻檔的相關資 成。*用戶所的提問選 關貝 資訊時,“_放音頻標的相關 的幹入^ 在㈣—預定日相縣接收到用戶 的輸入㈣時,該音頻播放模組停止播放音頻槽。 所述關閉鬧鐘的方法用於一具鬧鐘功能的電子裝置, =電=置^括一存儲單元存儲音頻播及音頻槽的相關資 °輪人早70用於接㈣戶的輪人操作。其中該方法包 括步驟:在到達一預定時間時,讀取並播放一音頻幹.產 生預定數目個提問選項’其中至少一提問選項包含當前所 播放曰頻槽相關貧訊’並顯示所產生的提問選項;判斷用 二輸入操作:選擇的提問選項為當前所播放音頻播的相關 貧讯或輸入單元在一預定時間段未接收到用戶的輸入操作 時;停止播放音頻檔。 相較現有技術,該具有鬧鐘功能的電子裝置及方法需 要用戶在根據電子裝置所播放的音頻内容選擇與該音頻相 關的資訊後,才可關閉鬧鐘,因要選擇正確的相關資訊需 要一段思維過程,可使用戶大腦清醒,如此可有效嗔醒用 戶。 【實施方式】 請參照圖1’是本發明具有鬧鐘功能的電子裝置的硬 體架構圖。該電子裝置1可為手機、mp3播放器等具有音 200916989 ,毅㈣鐘功能的電子裝置。該電子裝置工包括一時鐘 :二:音二輸出單元3、一顯示單元4、-存儲單元5、 時二 微處理單元7。該時鐘單元2用於產生 = 元6用於接收用戶的輪八操作,該輸 早兀6通㊉為鍵盤,可包括數宝处 ^ 單元5存儲音頻槽及音頻標的相關資卞子母鍵等。該存儲 音頻槽除了音师料外,還包括—音;=_格式的 該-中記錄有演唱者、歌曲名稱在 音頻標相關的-此資訊。如圖2^一所f專輯名稱等與該 所記錄的相關資;為二?^ 請繼續錢K i,賴處理單元7包括—鬧鐘管理模 二二Γ音頻播放模組72、—提問選項產生模組73、」 斷柄、,且74、一計數模組%及-設置模組76。 該鬧鐘管理模組71在到達—預定時間時啟動該電子 =鬧鐘模式。在進入鬧鐘模式後,該音頻播放模 出;^存儲單元5中隨機讀取—音簡,並㈣ 出早兀3播放該音頻檔。 貝彻 ,提問選項產生模組73產生預定數目個提問選項,該 ^由音㈣的相關資訊組成’且提問選 他提=包::與當前所播放音頻檔對應的相關資訊’其 取。σ^Χ、可從非當前播放音頻檔的相關資訊中隨機選 隨機選項產生模組73還將所產生的㈣選項按照 、方式顯示於該顯示單元4以供用戶選擇。例 200916989 如’所述預定數目為四,即需要產生四個提問選項,當前 播放音頻檔為檔A,則該提問選項產生模組73先選取一音 頻槽A的相關資訊如A1,然後再從除音頻槽a以外其: 音頻槽的«資訊中隨機選取三個㈣請訊如B2、〇、 C2,將所選取的四個相關資訊M、B2、c3、按照隨機 方式排序後顯示於顯示單元4(如圖3所示),並在每個提 5選項前顯示-標識,用戶可通過操作輸人單元6中與該 標識對應的按鍵以選擇回答的提問選項。各提問選項前= 應的標識可不採用傳統的順序標號方式(例如四個提問選 項刀別用1、2、3、4作為標識),而可隨機從輸人單元6 所包含的鍵號中選取’例如圖3所示的四個標識分別為9、 5、2、4,如此可增加用戶在執行選擇操作時的難度。 所述判斷模組74根據用戶通過輸入單元6進^ 刼作,判斷用戶所選擇的提問選項是 立艇只疋古包含有當前所播放 =植的相關貧訊。當用戶所選擇的提問選項為當前所播 放曰頻棺的相關資訊時,即用戶選擇正確時, 7中5將選擇正確的:欠數增加—次。在本發明第Γ實施= I ’當正相讀料到—敎絲時, 產生模塊73將再次產生並通過該顯一 頁 個接m 早疋4輸出預定數目 少一 ^ ^ ^難生_定數目倾_項中包含至 產生提問選項的相關資訊,用戶再次通㈡次已用做 選擇。當用戶選擇正確的次數達到該預定次數時%C 官理模組71關閉鬧鐘模式。 、I鬧鐘 200916989 在本發明第二實施方式中,當用戶選擇正 達到該預定次數時,該音_放模組7 數未 放音頻標外的另—音頻槽 ^取除當前播 該提問選錢域組放, =個提,此次所產生的預定數目個::: -;:::;: ==:_鐘模式’控制該音二 預定設置模組Μ設置所述預定次數。如果 理軸關閉鬧鐘模式。L擇正碟時’該鬧鐘管 未包的ί!施方式中’如果用戶選擇的提問選項並 未包3有當闕播放音頻的相關資訊 ==斷模組74通過顯示單元4顯示== =過曰頻輸出單元3輪出一聲音資訊以提示用戶選擇錯 且該提問選項產生模组73可改變先前產生提問選項的 並輸出至顯示單元4,或該提問選項產生模組乃 、’生亚通過該顯示單元4輸出預定數目個提問選項 、供用戶再-人選擇’此次生成的提問選項中包含至少一各 =播放音頻播的相關資訊,但不包含前次已用做產生^ 問^項的相關資訊。另外,如果在進入鬧鐘模式後,用戶 在本發明電子裝置周圍’則若在—預定時間段内輸入 早兀未接收到任何選擇操作,該鬧鐘管理模組η將關閉鬧 200916989 鐘。 圖4是本發明货 . 圖。該方法包括㈣實施方式下關賴鐘的方法流程 預定時間時’該鬧鐘管理模組71啟動該電子 裝置鬧鐘模式(步驟随)。 # 播放72從存儲單元5巾隨機讀取-音頻 画頻輪出單元3播放該音漏(步驟S102)。 提問;項產生預定數目個提問選項,該 .,括吾則所播放音頻檔的相關資訊,將所 產生的提問選項按照隨機料的^赫於賴示單元 亚母個提問選項前顯示一標識(步驟S103)。 sio^。7!"^70 6判斷是否接收利戶的選擇操作(步驟 S105.否目,丨力步驟S1〇4的判斷結果為否,則流程轉至步驟 ’否則流程轉至步驟S106。 =間段(步驟叫如果步驟 至步驟SU0 程轉至步驟麵;否則流程轉 :斷模組74判斷用戶所選擇的提問 驟幻1否,職程轉至步驟㈣7,·否則流程轉至步 提問選韻生模組73產生財數目個 項中包含至少—當前所播放音心 、。“包3前次已用做產生提問選項的相關資訊,將 11 200916989 .=二_::照隨機排序的方式顯示於該顯示單元 . =:步驟_7的後續步驟為步'_。 , 該汁數杈組75將選擇正確BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic device and method, and more particularly to an electronic device having a function of turning off an alarm clock and a method for turning off an alarm clock thereof. [Prior Art] At present, most electronic devices provide an alarm clock function, and the user can preset the alarm time. When the time arrives, the alarm sounds. At this time, the user only needs to press any #button or some fixed of the electronic device. Turn off the alarm by pressing the button 'This operation can be done without the user opening his eyes or the brain is not fully awake. However, this may cause the user to not even know that they have turned off the alarm clock and continue to sleep. Even if the prior art adds the function of starting the alarm again after a period of time, this will cause the user to release the psychologically, and the user can still press the brain when the brain is not clear when it is very tired. Press the button to turn off the alarm, and the alarm still cannot achieve the function of waking up the user. SUMMARY OF THE INVENTION In view of this, the present invention provides an electronic device with an alarm clock function to solve the problem that the alarm device of the electronic device wakes up the user. The electronic device having the secret Wei includes a storage unit; a vehicle =: an audio wheeling unit; and a display unit. It causes the input list; : receives the user's input operation'. The storage unit stores a plurality of audio phase two: frequency: related information. The device further includes an audio playing module, which uses 4 to reach 1 material _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ; ^ is used to generate a predetermined number of related information, and an option includes a question of the currently played audio play selection, and H is a user input unit message. A uses wide and 疋L to contain the relevant resources of the currently played audio file. * When the user asks for the question, "_ put the audio tag related to the input ^ (4) - when the user receives the user's input (4), the audio player module stops playing the audio slot. The method is used for an electronic device with an alarm clock function, ====================================================================================== : When a predetermined time is reached, an audio dry is read and played. A predetermined number of question options are generated, wherein at least one of the question options includes the currently played 曰 frequency slot related poor message and the generated question option is displayed; Input operation: The selected question option is that the relevant poor or input unit of the currently played audio broadcast does not receive the user's input operation for a predetermined period of time; the audio file is stopped to be played. Compared with the prior art, the alarm-enabled electronic device The device and method require the user to select the information related to the audio according to the audio content played by the electronic device, so that the alarm can be turned off, because the correct selection is required. The information needs a process of thinking, so that the user's brain can be awake, so that the user can be effectively awake. [Embodiment] Please refer to FIG. 1 ' is a hardware structure diagram of an electronic device with an alarm clock function according to the present invention. A mobile phone, an mp3 player, or the like has an audio device of 200916989 and a four-clock function. The electronic device includes a clock: two: a sound two output unit 3, a display unit 4, a storage unit 5, and a second micro processing unit 7. The clock unit 2 is configured to generate = element 6 for receiving the user's wheel eight operation, the input port 6 is ten for the keyboard, and may include the number of treasures. The unit 5 stores the audio slot and the associated tag of the audio tag. In addition to the sounder's material, the storage audio slot includes a tone; the format of the =_ is recorded in the singer, and the song name is associated with the audio label. This information is as shown in Figure 2^. Related to the record; for the second? Please continue the money K i, the processing unit 7 includes - the alarm management module 22 audio playback module 72, the question option generation module 73, "break handle," 74, a counting module % and - settings Module 76. The alarm management module 71 activates the electronic=alarm mode when it reaches a predetermined time. After entering the alarm mode, the audio play is simulated; ^ is randomly read in the storage unit 5 - the sound is simplified, and (4) the audio file is played early. Becher, the question option generation module 73 generates a predetermined number of question options, which consists of the related information of the sound (4) and asks the question to select the package: the relevant information corresponding to the currently played audio file. The random selection generating module 73 may also display the generated (four) option in the display unit 4 for selection by the user. For example, if the predetermined number is four, that is, four question options need to be generated, and the currently played audio file is file A, the question option generation module 73 first selects an audio slot A related information such as A1, and then In addition to the audio slot a: In the audio slot, the data is randomly selected from three (four), such as B2, 〇, C2, and the selected four related information M, B2, c3 are sorted in a random manner and displayed on the display unit. 4 (as shown in FIG. 3), and displaying the - identification before each of the 5 options, the user can select the answering question option by operating the button corresponding to the identifier in the input unit 6. Before each question option = the identifier of the application may be omitted from the traditional sequential labeling method (for example, four question option cutters are identified by 1, 2, 3, 4), and may be randomly selected from the key numbers included in the input unit 6 For example, the four identifiers shown in FIG. 3 are 9, 5, 2, and 4, respectively, so that the difficulty of the user in performing the selection operation can be increased. The judging module 74 determines, according to the user's input through the input unit 6, that the question option selected by the user is that the submarine only contains the related information of the currently played. When the question option selected by the user is the relevant information of the currently played frequency, that is, when the user selects the correct one, 7 of 5 will select the correct one: the number of underpayments is increased. In the third implementation of the present invention = I 'when the positive phase is read to the crepe, the generation module 73 will be generated again and output through the display page, and the output number is less than 4, and the predetermined number is less than one ^ ^ ^ The number of items contains the relevant information to the question asking option, and the user has used the second (second) times to make a selection. The %C official module 71 turns off the alarm mode when the user selects the correct number of times to reach the predetermined number of times. I, an alarm clock 200916989 In the second embodiment of the present invention, when the user selects that the predetermined number of times is reached, the number of the sound-discharge module 7 is not put out of the audio-monitoring unit, and the audio slot is removed. The domain group puts, = mentions, the predetermined number of occurrences this time::: -;:::;: ==:_clock mode' controls the tone two predetermined setting module Μ sets the predetermined number of times. If the axis is turned off, the alarm mode is turned off. When the L is selected, the alarm clock is not included in the mode. If the user selects the question option, the message 3 does not have the relevant information when the audio is played. == The break module 74 is displayed by the display unit 4 == = The over-frequency output unit 3 rotates a sound message to prompt the user to select the wrong and the question option generation module 73 can change the previously generated question option and output it to the display unit 4, or the question option generation module is, A predetermined number of questioning options are outputted by the display unit 4, and the user selects the 'question option generated this time to include at least one related information of each playing audio broadcast, but does not include the previous used to generate the ^^ Information about the item. In addition, if, after entering the alarm mode, the user is around the electronic device of the present invention, if the input is not received within a predetermined period of time, the alarm management module η will turn off the 200916989 clock. Figure 4 is a diagram of the invention. The method includes (4) a method flow of the clock in the implementation mode. The alarm management module 71 activates the electronic device alarm mode (steps). #Play 72 Randomly reads from the storage unit 5 - Audio The audio wheeling unit 3 plays the sound leak (step S102). Question; the item generates a predetermined number of question options, and the information about the audio file played by the user is displayed, and the generated question option is displayed in front of the question option of the random material. Step S103). Sio^. 7!"^70 6 judge whether or not to accept the selection operation of the household (step S105. No, if the determination result of the step S1〇4 is NO, the flow goes to the step 'Other flow goes to step S106. (The step is called if the step to step SU0 goes to the step surface; otherwise, the process turns: the break module 74 judges that the user selected the question jumps 1 no, the career goes to step (4) 7, or the flow goes to the step question selection rhyme The module 73 generates at least a number of items including the currently played center of sound. "Package 3 has been used as the relevant information for generating the question option, and 11 200916989 .=two _:: is displayed in a random order. The display unit. =: The next step of step _7 is step '_., the juice number 75 group 75 will be selected correctly
Sl〇8)〇 作旳-人數增加一次(步驟 判斷用戶選#1確料數衫相 Sl09)〇W|^|^Q1rifWjL, 貝疋-人數(步驟 果/驟S1G9的判斷結果為否 ;否則流程轉至步驟su〇。 U王轉至步驟 該鬧鐘管理模組71關 n , 9 ^ , _鬧知松式(步驟S110)。 圖5疋本發明第二實 圖。該方法包括步驟: ' ;下關閉鬧鐘的方法流程 在到達一預定時間時,該鬧鐘 裝置1的鬧鐘模式(步驟S2〇1)。、,、且Μ啟動該電子 該音頻播放模組72從存 標,並控制該音頻輸出單元3播放該音頻中^^取^頻 該提問選項產生模组73產生預(步驟S2〇2)。 提問選項至少包括—I目個提問選項,該 產生的提問選項按照隨田、_貝訊,將所 4,並在每個提問選項前:排序:方式顯示於該顯示單元 於A… ^員則顯不—標識(步驟S203)。 輸入早几6判斷是否接 S204)。如杲乎睞e〇n/l 尸的、擇刼作(步驟 力驟S204的判斷結果為 咖,·否則流程轉至步驟纖。 I私轉至步驟 5205^,是否到達—預定時間段(步驟S205)。如果牛驟 幻〇5的判斷結果為否 如果步驟 至步驟S210。 、〃鄉S204 ;否則流程轉 12 200916989 判斷模組74判斷用戶所選擇的提問選項是否包含當 前所播放音頻檔的相關資訊(步驟S206)。如果步驟S206 的判斷結果為否,則流程轉至步驟S207 ;否則流程轉至步 驟 S208 。 音頻播放模組72將停止播放當前所播放的音頻檔,從 存儲單元5中隨機讀取除當前播放音頻檔外的另一音頻檔 並通過該音頻輸出單元3輸出(步驟S207)。步驟S207的 後續步驟為S203。 該計數模組75將選擇正確的次數增加一次(步驟 5208) 。 判斷用戶選擇正確的次數是否達到預定次數(步驟 5209) 。如果步驟S209的判斷結果為否,則流程轉至步驟 S207;否則流程轉至步驟S210。 該鬧鐘管理模組71關閉鬧鐘模式(步驟S210)。 第二實施方式中與第一實施方式中鬧鐘使用方法流程 的不同之處在於:在第一實施方式中,當用戶所選擇的提 問選項不為與當前所播放音頻檔對應的相關資訊以及用戶 選擇正確的次數未達到預定次數時,音頻播放模組72仍將 繼續播放當前所播放的音頻檔,在步驟S107中提問選項產 生模組73產生當前播放音頻檔的相關資訊提問選項;而在 第二實施方式中,當用戶所選擇的提問選項不為當前所播 放音頻檔的相關資訊以及用戶選擇正確的次數未達到預定 次數時,在步驟S207中,音頻播放模組72將停止播放當 前所播放的音頻檔,從存儲單元5中隨機讀取除當前播放 13 200916989 曰頻槽外的另—音頻槽並通過該音頻輪 【圖式簡單說明】 出單元3輪出 圖1疋本發明具有鬧鐘功能的電子裝置 的硬體架構 ㈡乃^日哪貝汛不意圖;圖3是本發明音頻槽提問選項選擇立. 圖4是本發明第一杏 不'思圖, 只a方式鬧鐘使用 圖5是本發明第二實施肖方法的流程圖; 【主要元件符號說明】 ^ $、錢用方法的流程圖。 電子裝置 時鐘單元 1 音頻輸出單元 2 顯示單元 3 存儲單元 4 輪入單元 5 微處理單元 6 鬧鐘管理模組 7 音頻播放模組 71 提問選項產生模組 12 判斷模組 73 計數模組 74 設置模組 75 76 14Sl〇8)〇作〇-The number of people increases once (the step judges that the user chooses #1 to determine the number of shirts Sl09) 〇W|^|^Q1rifWjL, Bessie-number (the result of step/S1G9 is no; otherwise The flow goes to step su. U Wang goes to step The alarm management module 71 turns off n , 9 ^ , _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ The method of turning off the alarm clock is when the predetermined time is reached, the alarm mode of the alarm device 1 (step S2〇1), and the electronic audio module 72 is activated from the memory and the audio is controlled. The output unit 3 plays the audio frequency, and the question option generation module 73 generates a pre-step (step S2〇2). The question option includes at least an I-question question option, and the generated question option is in accordance with the field, _bei Message, will be 4, and before each question option: Sort: mode is displayed in the display unit in A... ^ member is not - identification (step S203). Enter the early 6 to determine whether to connect S204). If you prefer e〇n/l corpse, choose the result (step S204 judges the result as coffee, otherwise the process goes to step fiber. I privately to step 5205^, whether to arrive - predetermined time period (step S205). If the judgment result of the bullish 〇5 is no, if the step is to step S210. 〃乡 S204; otherwise, the flow turns 12 200916989 The judgment module 74 determines whether the question option selected by the user includes the current audio file being played. Information (step S206). If the result of the determination in step S206 is no, the flow goes to step S207; otherwise, the flow goes to step S208. The audio play module 72 will stop playing the currently played audio file, randomly from the storage unit 5. Reading another audio file other than the currently played audio file and outputting through the audio output unit 3 (step S207). The subsequent step of step S207 is S203. The counting module 75 increments the selection of the correct number of times (step 5208) Determining whether the user selects the correct number of times to reach the predetermined number of times (step 5209). If the result of the determination in step S209 is no, the flow proceeds to step S207; otherwise, the flow proceeds to step S2. 10. The alarm management module 71 turns off the alarm mode (step S210). The second embodiment is different from the flow of the alarm usage method in the first embodiment in that, in the first embodiment, when the user selects the question If the option is not related to the currently played audio file and the user selects the correct number of times less than the predetermined number of times, the audio play module 72 will continue to play the currently played audio file, and the option generation module is queried in step S107. 73: generating a related information question option of the currently played audio file; and in the second embodiment, when the question option selected by the user is not the relevant information of the currently played audio file and the user selects the correct number of times does not reach the predetermined number of times, In step S207, the audio play module 72 will stop playing the currently played audio file, and randomly read from the storage unit 5 another audio slot other than the currently played 13 200916989 frequency slot and pass the audio wheel. Description] Outlet unit 3 rounds out Figure 1 The hardware architecture of the electronic device with alarm clock function of the present invention (2) is ^日哪贝汛Figure 3 is a schematic diagram of the audio slot questioning option of the present invention. Figure 4 is a first apricot diagram of the present invention, only a mode alarm clock is used. Figure 5 is a flow chart of the second embodiment of the present invention; Description] ^ $, flow chart of money method. Electronic device clock unit 1 audio output unit 2 display unit 3 storage unit 4 wheeling unit 5 micro processing unit 6 alarm clock management module 7 audio player module 71 question option generation module 12 Judging Module 73 Counting Module 74 Setting Module 75 76 14