201250458 六、發明說明: 【發明所屬之技術領域】 曰右ίΓ是有陳—種電子裝置及其休眠方法,且特別 疋有關於一種可調整休眠時間的電子裝置及其休眠方法。 【先前技術】 隨著科技進步,電子產品的使用曰漸 於世界各_職意識綠,越來越多的電子產 ^ 省二因此如何省電則成為電子產品設計的重要目 7 1來說’在使財完全沒雜作f子裝置的情 子f置在一段時間後會自動進入待機模式、= ==態下來降低電力消耗。但是,許多時候使ί 未乍電子裝置不代表使用者沒有在使用電子產品。缺 =,電子產品在使用者完全沒有操作且經過—段時間後,,、、 ,子^品會如為㈣者沒有在制㈣動進人了待機模 ’、省電模式或休眠狀態,而此待機模式、省電模式或休 眠狀態並非使用者所希望出現的狀況,以致於會降低使用 者使用電子產器的便利性。 【發明内容】 本發明提供一種電子裝置及其休眠方法,可依據電子 4置的當下狀態調整對應的調整休眠時間。 ,本發明提出一種電子裝置,包括狀態改變模組'狀態 判斷模組、操作偵測模組、時間判斷模組及休眠啟動模組二 201250458 ==模_測電子Μ的狀態是否改變,並在電子裝 改變時’依據電子裝置的當下狀態發出狀態信 尋°對應模组減狀態改變模組,以依據狀態信號找 -拉::"Z狀態的休眠時間,並依據休眠時間輸出時間設 出測模組偵測使用者是否操作電子裝置,並 » 从a.夺間重置仏號。時間判斷模組耦接狀態判斷模組 ‘乂,組,用以計數時間。時間判斷模組依據時間 :果二時間重置信號重置時間計數結果。當時間計數 眠時間時,時間判斷模組輸出休眠信號。休眠 ㈣靖模組,當接㈣休眠信號時,使電 子裝置進入休眠狀態。 t使電 否明之—實施例巾’操作制模組依據使用者是 雨s々判斷使用者是否對電子裝置進行操作。 ιϊ本發明之一實施例中,狀態判斷模組透過查找表找 哥對應當下狀態的休眠時間。 争定ίΐΓΓ之—實關巾,休眠啟動漁依據當下狀態 决疋電子裝置進行休眠的部分。 心Ϊ本發明之—實施例中,#下狀_應使用者當下操 作的應用程式或對應電子裝置的輸人信號。 ’、 驟.f亦提出—種電子裝置的休眠方法,包括下列步 …计數時間;侧f子裝置敝態是 置的狀態改變時,依據電子改文在電子裝 眼—2 : 哀置的當下狀態找尋對應的休 並依據休眠時間產生日㈣設定信號,以及重置時 曰。十數結果,當❹者操作電子裝置時,產生時間重置信 201250458 號’以重置時間計數結果;當時間計數結果等於休眠時間 時,使電子裝置進入休眠狀態。 在本發明之一實施例中’使用者操作電子裝置的步驟 包括:使用者輸入指令至電子裝置或改變當下操作的一應 用程式。 在本發明之一實施例中,對應當下狀態的休眠時間為 透過查找表找尋。 在本發明之一實施例中,使電子裝置進入休眠狀態的 步驟包括:依據當下狀態決定電子裝置進行休眠的部分。 基於上述,本發明實施例的電子裝置及其休眠方法, 其依據電子裝置的當下狀態找尋對應的休眠時間,並且在 時間計數結果等於休眠時間時,進電子裝置進入休眠狀 態。藉此,電子裝置可依據當下狀態調整休眠時間,可避 免電子裝置誤以為未被使用而進入休眠狀態。 一為讓本發明之上述特徵和優點能更明顯易懂,下文特 舉實施例,並配合所附圖式作詳細說明如下。 【貫施方式】 ,1為依據本發明一實施例的電子裝置的系統示意 本實施例中,電子裝置⑽包括狀態 門二斷二狀您判斷模組120、操作偵測模組130、時 及休眠啟動模組150 °狀態判斷模組咖 耦接狀態改變模纟且】】〇古 模、組⑽及操作;;:日術麵組⑽輪狀態判斷 、、'拉,,且,休眠啟動模組150耦接時 201250458 間判斷模組14〇。 在本實施例中,狀態改變模組110偵測電子裝置100 的狀態是否改變,並在電子裝置10〇的狀態改變時,依據 電子裂置100的當下狀態發出狀態信號SST。進—步來 說,狀態改變模組110可依據使用者當下操作的應用程式 是否切換來判斷電子裝置100的狀態是否改變,並且依據 使用者當下操作的應用程式判斷當下狀態。或者,狀態改 變模組110可依據電子裝置的輸入信號的來源是否改變來 判斷判斷電子裝置100的狀態是否改變,並且依據輸入信 號的來源來判斷當下狀態。 狀態判斷模組120依據狀態信號SST找尋對應當下狀 態的休眠時間’並依據休眠時間輸出時間設定信號sTS。 其中,狀態判斷模組120可透過一查找表找尋對應當下狀 癌的休眠時間,查找表可參照表一所示。此外,查找表中 每一當下狀態對應的休眠時間可透過一使用者介面進行調 整’並且使用者可依據使用習慣增加額外的當下狀態及其 對應的休眠時間。操作偵測模組Π〇偵測使用者是否操作 電子裝置100 ’並在使用者操作電子裝置1〇〇時,輸出時 間重置信號STR。其中,操作偵測模組13〇可依據使用者 是否輸入指令來判斷使用者是否操作電子裝置110,或者 可依據電子裝置110所接收到的輸入信號是否改變或是否 持續接收到輸入信號來判斷使用者是否操作電子裝置 110。 201250458 表201250458 VI. Description of the Invention: [Technical Fields of the Invention] 曰右Γ is a Chen-type electronic device and its sleep method, and particularly relates to an electronic device capable of adjusting sleep time and a sleep method thereof. [Prior Art] With the advancement of science and technology, the use of electronic products has gradually become more and more green in the world, and more and more electronic products have been produced. Therefore, how to save electricity has become an important item in the design of electronic products. In the case that the lover of the financial device is not miscellaneous, the device f will automatically enter the standby mode and the === state to reduce the power consumption. However, many times the use of electronic devices does not mean that the user is not using electronic products. Lack =, the electronic product is completely inoperative after the user has not operated and after a period of time, ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, This standby mode, power saving mode, or hibernation state is not a condition that the user desires, so that the user's convenience in using the electronic device is reduced. SUMMARY OF THE INVENTION The present invention provides an electronic device and a sleep method thereof, which can adjust a corresponding adjustment sleep time according to a current state of the electronic device 4 . The present invention provides an electronic device, including a state change module, a state determination module, an operation detection module, a time determination module, and a dormant startup module 2, 201250458 == modulo_test electronic Μ state changes, and When the electronic device is changed, the status is searched according to the current state of the electronic device. The module corresponding to the state change module is used to find and pull the sleep state according to the state signal: and the Z state is set according to the sleep time output time. The test module detects whether the user operates the electronic device and » resets the nickname from a. The time judging module is coupled to the state judging module ‘乂, group, for counting time. The time judging module resets the time counting result according to the time: When the time counts the sleep time, the time determination module outputs a sleep signal. Sleep (4) Jing module, when connected to the (four) sleep signal, the electronic device enters the sleep state. t Make it clear that the embodiment of the operating system is based on whether the user is raining or not to determine whether the user is operating the electronic device. In an embodiment of the present invention, the state determination module finds the sleep time of the down state through the lookup table. Striving for the — — 实 实 实 实 实 实 实 实 实 实 实 实 实 实 实 实 实 实 实 实 实 实 实In the embodiment of the present invention, the #下状_ should be the application of the user's current operation or the input signal of the corresponding electronic device. ', ..f also proposed - a method of sleeping electronic devices, including the following steps... counting time; side f sub-device state is set when the state changes, according to electronic text in the electronic eye - 2 : mourning The current state finds the corresponding rest and sets the signal according to the sleep time generation day (4), and resets. The tens of results, when the operator operates the electronic device, generate a time reset letter 201250458' to reset the time count result; when the time count result is equal to the sleep time, the electronic device is put into a sleep state. In one embodiment of the invention, the step of the user operating the electronic device includes the user inputting an instruction to the electronic device or changing an application for the current operation. In one embodiment of the invention, the sleep time for the down state is sought through the lookup table. In an embodiment of the invention, the step of causing the electronic device to enter a sleep state comprises: determining a portion of the electronic device to sleep according to a current state. Based on the above, the electronic device and the sleep method thereof according to the embodiment of the present invention find a corresponding sleep time according to the current state of the electronic device, and when the time count result is equal to the sleep time, the electronic device enters a sleep state. Thereby, the electronic device can adjust the sleep time according to the current state, and can prevent the electronic device from erroneously thinking that it is not used and enters the sleep state. The above features and advantages of the present invention will become more apparent from the description of the appended claims. [System] 1 is a system diagram of an electronic device according to an embodiment of the present invention. In this embodiment, the electronic device (10) includes a state gate, a second determination module 120, an operation detection module 130, and The sleep start module 150 ° state judgment module coffee-and-coupling state change mode and]] ancient model, group (10) and operation;;: day surgery group (10) wheel state judgment, 'pull, and, sleep start mode When the group 150 is coupled, the judgment module 14〇 is determined in 201250458. In this embodiment, the state change module 110 detects whether the state of the electronic device 100 is changed, and when the state of the electronic device 10 is changed, the state signal SST is issued according to the current state of the electronic crack 100. Further, the state change module 110 can determine whether the state of the electronic device 100 is changed according to whether the application currently operated by the user is switched, and determine the current state according to the application currently operated by the user. Alternatively, the state change module 110 can determine whether the state of the electronic device 100 is changed according to whether the source of the input signal of the electronic device changes, and determine the current state according to the source of the input signal. The state judging module 120 finds the sleep time corresponding to the down state according to the state signal SST and outputs the time setting signal sTS according to the sleep time. The state determination module 120 can search for a sleep time for the cancer that should be diagnosed through a lookup table. The lookup table can be referred to Table 1. In addition, the sleep time corresponding to each current state in the lookup table can be adjusted through a user interface' and the user can add an additional current state and its corresponding sleep time according to the usage habit. The operation detecting module detects whether the user operates the electronic device 100' and outputs a time reset signal STR when the user operates the electronic device. The operation detecting module 13 can determine whether the user operates the electronic device 110 according to whether the user inputs an instruction, or can determine whether the input signal received by the electronic device 110 changes or whether the input signal is continuously received. Whether or not the electronic device 110 is operated. Table 201250458
表一 時間判斷模組140用以钟赵卩主p _接收到時間設定錢=間 依據時間,號STS及時間重置信號孤=二 數結果。s _計數結轉於休眠時啊,時 =輸出休眠信號SSL。當休眠啟動模組150接收== b虎SSL時,休眠啟動模組15〇使電子健丨⑻進入休眠 狀怨。或者,休眠啟動模組15〇可使電子裝置1〇〇進行省 電模式或待機狀態,此可依據電路設計或本領域通常知識 都自行更動,本發明實施例不以此為限。並且,休眠啟動 模組150可依據當下狀態決定電子裝置110進行休眠(或 者進入待機模式或省電模式)的部分。 在此以電子裝置100為個人電腦或智慧型手機為例。 電子裝置100可依據使用者的操作的應用程式或介面判斷 201250458 田下狀悲,並且依據當下狀態決定休眠時間的長度。 假設使用者透過播放軟體在看電影時,一般電影的片 長不會超過三小時,並錢用者在看電影㈣候可能不會 輸入任何的控制指令(亦即開始影片播放的三小時内使用 者不會操作電子裝置)。此時’在當下狀態為電影時(對 應表一中當下狀態si),電子裝置100可以設定成三小時 後進行休眠(或者進入待機模式或省電模式),並且可以 整個電子裝置100都進入休眠。 假设使用者透過編輯軟體編輯文件時,由於編輯文件 的大部分時間使用者會輸入指令,因此指令輸入的空隙較 短。此時,在當下狀態為編輯時(對應表一中當下狀態 S2),電子裝置100可以設定成三分鐘後進行休眠(或者 進入待機模式或省電模式),並且可以整個電子裝置1〇〇 都進入休眠。 假設使用者透過網頁瀏覽軟體瀏覽網頁時,由於使用 者需要一些時間來瀏覽網頁的内容,因此指令輸入的空隙 會較長。此時’在當下狀態為瀏覽時(對應表一中當下狀 態S3) ’電子裝置1〇〇可以設定成十分鐘後進行休眠(或 者進入待機模式或省電模式)’並且可以整個電子裝置100 都進入休眠。 假設使用者透過音樂播放軟體聆聽音樂時,由於聆聽 音樂並不需要顯示,因此可讓電子裝置10〇快速進入休眠 以關閉電子裝置的顯示部分。此時,在當下狀態為音樂時 (對應表一中當下狀態S4),電子裝置1〇〇可以設定成3 201250458 分鐘後進行休眠(或者進入待機模式或省電模式),並且 可以使顯示部分進入休眠。 在此以電子裝置1 00為電視為例。電子裝置1 QQ可贫 據輸入说來源判斷當下狀並且依據當下狀‘賤決定休 眠時間的長度。假設輸入訊號來源是高解析度多媒體介面 (HDMI)時,由於HDMI大部分都是接收影音播放^的 k號’亦即表示使用者要觀看電影。此時,在當下狀雖為 電影時(對應表一中當下狀態S1),電子裝置^)〇可=設 疋成二小時後進行休眠(或者進入待機模式或省電模式)。 假設輸入訊號來源是纜線(cable)時,一般纟覽線為傳 送電視訊號,並且大部分的電視節目不會超過兩小時。此 時,在當下狀態為電視時(對應表一中當下狀態S6),電 子裝置100可以設定成二小時後進行休眠(或者進入待機 模式或省電模式)。但是,依據使用場合的不同,休眠時 間亦可對應的作調整,若是電子裝置100應用於展場或賣 場上的話,可以設定賣場營業時間八小時或十小時或是永 不進入休眠狀態(或者待機模式、省電模式),此可依據 使用者的需求而定。 在此以電子裝置1〇〇為行車紀錄器或衛星導航為例。 電子裝置100可依據輸入訊號來源判斷當下狀態,並且依 據當下狀態決定休眠時間的長度,以及依據輸入訊號的相 同與否或是否有輸入訊號判斷電子裝置100是否被操作。 在車輛行進中’導航的位置會不斷的改變(即持續有輸入 訊號,或輸入訊號不同),並且所拍攝到影像亦會不同(亦 201250458 即輸入訊號會不同),此時電子裝置刚會被判斷為被使 用而使時間計數結果會不斷重置,而使電子裝置剛不會 進入休眠狀態(或者待機模式、省電模式)。 假設車輛臨停的時間-般為5分鐘,則在當下狀態為 導航時(對應表了中當下狀態S5) ’電子裝置1〇〇可以設 定成五分鐘後進行休眠(或者it人待機;J:賦或省電模式), 以避免在臨停時電子裝置1GG進人休眠狀態(或者待機模 式、省電模式)。藉此,可以使電子裝置1〇〇在車輛行駛 中不會進行休眠(或者進行待機模式、省電模式)。並且, 若使用者料_電子裝置1GG就下車的話,由於車輛不 再行駛,因此導航的位置會不會改變(亦即無輸入信號或 輸入訊號相同),並且所拍攝到影像相同(亦即輸二訊°號 相同)。此時’電子裝置100會判斷其不被使用,並且於 五分鐘後自動進入休眠狀態(或者待機模式、省電模式): 圖2是依據本發明一實施例的電子裝置的休眠方法的 流程圖。請參照目2 ’在本實施例中’會先計數時間(步 驟S210。接著,偵測電子裝置的狀態是否改變(S22〇)。 在電子裝置的狀態改變時,亦即步驟S220的判斷結果為 “是”,則依據當下狀態找尋對應的休眠時間,並依據休眠 時間產生時間設定信號,以及重置時間計數結果(S23〇)。 接著,回到梦驟S210以繼續時間計數。當步驟S220的判 斷結果為“否’’時,則偵測使用者是否操作電子裝置(步驟 S240)。 當使用者是否操作電子裝置時,亦即步驟S24〇的判 201250458 疋’’,則產生時間重置信號以重置時間計數結果 ♦二‘ S250)。接著,回到步驟S21〇以繼續時間計數。 二驟S240的判斷結果為“否,,時,則判斷時間計數結果是 f於休眠時間(步驟S26G)。當時間計數結果不等於休 民、間時亦即步驟S26〇的判斷結果為“否”,則回到步驟 =10以繼續時間計數;當㈣計數結果等於倾時間時, 2步驟S2 6G的判斷結果為“是,,,則使電子裝置進入休眠 7' 〔、中,上述步驟的順序為用以說明,本發明實施例 =以此為限’並且上述步驟的細節可參照電子裝置1〇〇的 說明,在此則不再贅述。 练上所述,本發明實施例的電子裝置及其休眠方法, 其依據當下狀態找尋對應的休眠_,並且在時間計數结 果等於休眠時間時,進電子裝置進人休眠狀S。藉此,、^ 子裝置可依據當下狀態調整休眠時間,可避免電子舻置嗜 以為未被使用而進入休眠狀態。 雖然本發明已以實施例揭露如上,然其並非用以限定 本發明’任何所屬技術領域中具有通常知識者,在不^離 本發明之精神和範圍内,當可作些許之更動與潤飾,故本 發明之保護範圍當視後附之申請專利範圍所界定者為準。 【圖式簡單說明】 圖 圖1為依據本發明一實施例的電子裝置的系統示音 圖2是依據本發明一實施例的電子裴置的休眠方去的 11 201250458 流程圖。 【主要元件符號說明】 100 :電子裝置 110 :狀態改變模組 120 :狀態判斷模組 130 :操作偵測模組 140 :時間判斷模組 150 :休眠啟動模組 SST :狀態信號 STS :時間設定信號 STR :時間重置信號 SSL :休眠信號 S210 ' S220、S230、S240、S250、S260、S270 :步驟 12Table 1 Time Judgment Module 140 is used to receive the time setting money = time according to time, number STS and time reset signal orphan = binary result. s _ count is carried over to sleep, when = output sleep signal SSL. When the dormant startup module 150 receives == b tiger SSL, the dormant startup module 15 causes the electronic health (8) to enter a dormant state. Alternatively, the dormant activation module 15 can cause the electronic device to perform a power saving mode or a standby state, which can be changed according to the circuit design or the general knowledge in the field, and the embodiment of the present invention is not limited thereto. Moreover, the sleep activation module 150 can determine the portion of the electronic device 110 to sleep (or enter the standby mode or the power saving mode) according to the current state. Here, the electronic device 100 is taken as an example of a personal computer or a smart phone. The electronic device 100 can determine the 201250458 sorrow based on the application or interface of the user's operation, and determine the length of the sleep time according to the current state. Assume that when a user watches a movie by playing a software, the length of a typical movie will not exceed three hours, and the user may not enter any control commands when watching a movie (four) (ie, the user within three hours of starting the video playback) Will not operate the electronic device). At this time, when the current state is a movie (corresponding to the current state si in Table 1), the electronic device 100 can be set to sleep after three hours (or enter the standby mode or the power saving mode), and the entire electronic device 100 can enter the sleep state. . Suppose that when a user edits a file through the editing software, the user inputs a command most of the time, so the gap of the command input is short. At this time, when the current state is editing (corresponding to the current state S2 in Table 1), the electronic device 100 can be set to sleep after three minutes (or enter the standby mode or the power saving mode), and the entire electronic device can be Go to sleep. Assume that when a user browses a webpage through webpage browsing software, since the user needs some time to browse the content of the webpage, the gap of the instruction input is longer. At this time, when the current state is browsing (corresponding to the current state S3 in Table 1), the electronic device 1 can be set to sleep after ten minutes (or enter the standby mode or the power saving mode) and the entire electronic device 100 can be Go to sleep. Assuming that the user listens to music through the music playing software, since the listening music does not need to be displayed, the electronic device 10 can be quickly put to sleep to turn off the display portion of the electronic device. At this time, when the current state is music (corresponding to the current state S4 in Table 1), the electronic device 1 can be set to 3 after 201250458 minutes to sleep (or enter the standby mode or the power saving mode), and the display portion can be made to enter Sleep. Here, the electronic device 100 is taken as an example of a television. The electronic device 1 QQ can be poor. The input source determines the current state and determines the length of the sleep time according to the current state. Assuming that the input signal source is a high-resolution multimedia interface (HDMI), since most of the HDMI is the k-number that receives the video playback ^, it means that the user wants to watch the movie. At this time, when the current appearance is a movie (corresponding to the current state S1 in Table 1), the electronic device can be set to sleep after two hours (or enter the standby mode or the power saving mode). Assuming that the input signal source is a cable, the general cable is a transmission TV signal, and most of the TV programs will not exceed two hours. At this time, when the current state is television (corresponding to the current state S6 in Table 1), the electronic device 100 can be set to sleep after two hours (or enter the standby mode or the power saving mode). However, depending on the occasion of use, the sleep time can also be adjusted accordingly. If the electronic device 100 is used in an exhibition or a store, the store can be set to operate for eight hours or ten hours or never enter a sleep state (or standby). Mode, power saving mode), which can be determined according to the needs of users. Here, the electronic device 1 is used as a driving recorder or satellite navigation as an example. The electronic device 100 can determine the current state according to the input signal source, and determine the length of the sleep time according to the current state, and determine whether the electronic device 100 is operated according to whether the input signal is the same or not. During the vehicle's travel, the position of the navigation will change continuously (that is, the input signal will continue to be received, or the input signal will be different), and the captured image will be different (also the input signal will be different in 201250458). At this time, the electronic device will just be It is judged that it is used so that the time counting result is continuously reset, so that the electronic device just does not enter the sleep state (or the standby mode, the power saving mode). Assume that the time when the vehicle is parked is generally 5 minutes, then when the current state is navigation (corresponding to the current middle state S5), the electronic device 1 can be set to sleep after five minutes (or it is standby; J: Assign or save power mode), to avoid the electronic device 1GG entering the sleep state (or standby mode, power saving mode) at the time of the stop. Thereby, the electronic device 1 can be prevented from going to sleep (or in the standby mode and the power saving mode) while the vehicle is running. Moreover, if the user feeds the electronic device 1GG, since the vehicle is no longer traveling, the navigation position will not change (that is, there is no input signal or the input signal is the same), and the captured image is the same (ie, lost) The second signal is the same). At this time, the electronic device 100 judges that it is not used, and automatically enters a sleep state (or standby mode, power saving mode) after five minutes: FIG. 2 is a flowchart of a sleep method of the electronic device according to an embodiment of the present invention. . Please refer to the item 2 'In this embodiment', the time will be counted first (step S210. Then, it is detected whether the state of the electronic device is changed (S22〇). When the state of the electronic device changes, that is, the judgment result of step S220 is "Yes", the corresponding sleep time is searched according to the current state, and the time setting signal is generated according to the sleep time, and the reset time count result is obtained (S23〇). Next, returning to the dream S210 to continue the time counting. When the step S220 is performed If the determination result is "No", the user is detected whether the electronic device is operated (step S240). When the user operates the electronic device, that is, the step S24 is determined to be 201250458 疋 '', a time reset signal is generated. The result is counted by the reset time ♦ 2 'S250). Then, the process returns to step S21 〇 to continue the time counting. If the result of the determination in step S240 is "NO,", the time count result is judged to be f at the sleep time (step S26G). ). When the time count result is not equal to the rest, the judgment result of step S26 is "NO", then return to step = 10 to continue the time count; when (4) the count result is equal to the tilt time, the judgment of 2 step S2 6G The result is "Yes, then, the electronic device is put into hibernation 7' [, the order of the above steps is for explanation, the embodiment of the present invention = limited thereto" and the details of the above steps can be referred to the electronic device 1 The description of the electronic device and the sleep method thereof according to the embodiment of the present invention are based on the current state to find the corresponding sleep _, and when the time count result is equal to the sleep time, the electronic device Into the sleep state S. Thereby, the device can adjust the sleep time according to the current state, can avoid the electronic device from being used without being used to enter the sleep state. Although the invention has been disclosed by the above embodiment, it is not used In order to limit the invention, it is to be understood by those skilled in the art that the present invention may be modified and modified without departing from the spirit and scope of the invention. The scope of the invention is defined by the scope of the appended claims. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a system diagram of an electronic device according to an embodiment of the invention. FIG. 2 is an illustration of an electronic device according to an embodiment of the invention. 11 201250458 flowchart of the dormant side of the device. [Main component symbol description] 100: electronic device 110: state change module 120: state determination module 130: operation detection module 140: time determination module 150: sleep Startup module SST: status signal STS: time setting signal STR: time reset signal SSL: sleep signal S210 'S220, S230, S240, S250, S260, S270: step 12