200843543 九、發明說明: 【發明所屬之技術領域】 本發明涉及一種電子設備及關閉該電子設備的方法 尤其涉及一種音頻設備及自動關閉該音頻設備的 【先前技術】 / 常用音頻設備中’播放裝置提供音源,並藉由耳機或 者曰箱轉換為用戶可以識別的聲音播放出來。通常 播放裝置或者耳機上的電源開關來開啟及 ί1 ^’用戶不論是藉由播放裝置還是耳機 都而手動操縱電源開關來實現關閉音頻設備。 然而’由於生活節奏的加快及工作的緊張,用戶在藉 =音頻設備播放的音樂來緩解疲勞時,往往會因為入睡^ 心圯關閉音頻設備。在用戶入睡後,立 放狀態。如此不僅浪費h而日Α日心備仍鋒持播 康。 曰〜警用戶的睡眠及健 Ψ %上已經出現了 A二 又何_閉的音頻設備。用 戶设定該種音頻設備的關閉日丰如 用J關閉日可刻。當時間到達 刻時,該種音頻設備自動關 ^ 在用,音頻設備报可能 睡很久,因尚未到達預定的問閂卩士 互隹用戶已I入 能 、的關閉守刻而仍然維持播放狀 怨,不夠人性化。 卜qIπ 有必要提供一 種人性化的可自動關閉的音 【發明内容】 有鑒於此 頻設備。 6 200843543 .備的=裝:有㈣提供-種人性化的可自動關閉音頻設 設備=編㈣—種鐵物】自動關閉音頻 =音頻設備’包括㈣裝置及耳機,料機包括位 感—’雜置感測m於感測 出對應的感測信號;該播放裝置包括〜\的位置父化亚輸 模組、存儲模組、位置處理槿細#快稹、、且播放 模組為該音頻設備供電、放^該電源管理 ㈣廿益“ 插放模組播放該存儲模組中音 頻祂亚猎由該耳機將聲音輸出至用戶,· 收該位置咸洌哭耠屮μ οχ置处理杈組接 出該耳機並«該感測信號計算 化量押制节…原〜里 根據該耳機的位置變 設備=电源管理模組使該電源管理模組停止為該音頻 種播放裹置,其包括電源管理模組、播放模徂、疒 儲杈組、位置處理模 :文“存 播放裝置供雷.访接t ★ 亥電源管理模組為該 由耳機將聲音輪出至^組播放5亥存儲模組中音頻播並藉 出的位置❹丨" 位置處理模組接收該耳機輸 置變化量模=該感測信號計算出該耳機的位 源管理模組使R料機的位置變化量控制該電 -種控制;^源管理模組停止為該播放裝置供電。 其包括如下步:法,用於實現音頻設備的自動關閉功能, 產生感測信號; 200843543 判斷是否❹卜個預定處理週期; 個該預定處理週期,則根據該感測 出3亥預疋處理週期内該耳機的位置變化量; 判_该耳機的位置變化景θ 置變化量; 直又化里疋否小於或者等於該預定位 若该耳機的位置變介| ^化里小於或料於該預定位置變化 里則停止為该音頻設備供電。 偌沾i述:自動關閉的音頻設備及控制自動關閉該音頻設 、法耩由該位置感測器感測該耳機的位置變化,該位 根:該位置感測器的感測信號計算出該耳機的 ,化置。在用戶進入睡眠狀態後,該控制模組可根據 "耳機的位置變化量自動關閉該音頻設備,從而減少電能 的消耗,減小對用戶睡眠和健康的影響。又由於該控制模 ,根據該耳機的位置變化量對該音頻設備實施自動關閉控 4。所以該音頻設備及其控制方法更人性化。 【實施方式】 如圖1所示,一較佳實施方式的音頻設備4〇〇包括播 放衣置200及與播放裝置2〇〇相連的耳機1〇〇。播放裝置 2〇〇提供音源’並藉由耳機1〇〇轉換為用戶可以識別的聲音 播放出來。 耳機100包括位置感測器110,位置感測器11〇用於感 測耳機100的位置變化。當耳機1〇〇的位置發生變化時, 位置感測器110根據耳機100位置的變化量輸出對應的感 測信號。 200843543 “播放裝置200包括音頻介面21〇、播放模組22〇、存儲 模組230、位置處理模組24〇、控制模組25〇、計時哭%〇、 系統提示模、组270、電源管理模組28〇和用戶界面細 j模組220播放存儲模組23〇中存放的音頻檔並藉由音頻 ”面210輸出至耳機100,耳機1〇〇輸出聲音至用戶。、 置残:ί = = 240與位置感測器110相連,其接收位 m™,丨/當計時器260言十時的處理 間隔日守間達到一個預定虛搜 诚w , 疋處理週期時’位置處理模組240根 據該感測信號計算出該預定處 化量。通常,用戶在進入睡眠二Γ:機100的位置變 恰間段内不會做大幅改變, 在某们 機 Μη 相應音頻設備400的耳 機100的位置也不會做大幅 段内耳機_的位置變化旦Μ此了心某預定時間 用戶3丕、隹入奸 里作為判斷使用音頻設備400的 疋 眠狀態的依據。存儲模組230中還在於 預定位置變化量,該預定位置變化量中:存放- 狀態的臨界值。當耳機1〇〇的位置變化 ^入睡眠 預定位置變化量時,判斷里小於或者等於該 控制模組250與位置相^戶/進入睡眠狀態。 處理模組⑽輪出二=240相連,其接收位置 化量,並比較該位¥辟各Μ ^内耳冑100的位置變 要^ 位置交化置與該預定位置變仆旦斗外2 置受化量小於或者#於該_位 =。右該位 睡眠狀態,控制模袓?504 匕里,則用戶已進入 系統提示模电270二:提示模組270工作。 用戶若目前不需要義;控制模組250相連,其用於提示 不而要關_須在預定回應時間⑽出回應, 200843543 否則音頻設備400將自動關閉 斷用戶是否在預定回應時間内作出回::::來判 統提示模組㈣進二it部位置變化等。系 設備_的自動關閉功能更人性化。睡眠狀態,使音頻 <電源管理模組與控制模組25m目連,其 :的各部件供電。當用戶未在預定回應時間内二 應系統組謂所發“提示時 關閉指令至電源管理模組·。電源管理模= 頻設::〇供電’從而實現音頻設備儀的自動關閉功能曰。 另卜控制模組250還與位置感測器11〇相連。 设備_可以設定自動關閉功能的預定啟動時間。;、 :260計算的音頻設備_連續工作的時間超過預;啟J ^時’控制模組250啟動音頻設備彻的自動關閉功能, 同吟啟動位置感測器110和位置處理模組24〇。 用戶界面290與控制模組250相連,用戶藉由用戶界 面、謂與控制模組250交互。控制模組25()根據用户的請 求進订程式調用並完成用戶的需求。請結合參閱圖2,用戶 界面290上設有多個供用戶選擇的圖示。其中當用戶選擇 自動關閉功能設定圖標291時,用戶可以藉由控制模組25〇 調用相應的程式來啟動或關閉音頻設備4〇〇的自動關閉功 能以及調節自動關閉功能的參數值。該等參數值包括今 定處理週期、該預定位置變化量、該預定回應時間和該預 200843543 定啟動時間。 如圖3所示,其為用戶選擇用 功能設定圖示%Ί & $ 1 上自動關閉 中自動動關閉功能設定視窗挪。其 Υ目勁關閉功能藉由設置的選 、 動音頻設備40。的自動關閉功能進閉,如需啟 的時間間隔,該時間間隔-般V :動關閉功能 間隔為30分铲箱—杳田 至60刀釦,默認時間 感測哭11〇戶Γ心 期為位置處理模組240對位置 期兔;斤輪出的感測信號進行處理的週期,一" 期為3至7分鐘,骅切箱—杏 叙遺週 預疋處理週期為5分鐘。預定位置 狀態的臨界值,二 *米,默二:二:位置:化量為… 算出的耳機⑽的位置變化量 二二:拉組250計 化量,則表示用戶已進入睡眠;:=,定位置變 設備400中季统提干槿…:、予頁疋回應時間為音頻 门庙 如杈 70發出系統提示時,用卢祚屮 ’::間界限。若用戶未在該預定回應時間 在進p 、、G心知’默S忍預定回應時間為60秒鐘。 在進仃元上述設定後,若點擊確 存儲在存儲模組230中,音頻#備4::上述W數值 能的同時啟動該等設定,音4 胃才1功 作。ml 疋曰頻3又備_將按照該等設定工 ”、占擊返回,音頻設備令該等參數的值為默認參 11 200843543 數值。 位置感測為110可以採用二轴加速度感測器,亦可以 採用三軸加速度感測器。如圖4所示,位置感測器11〇採 用二軸加速度感測器lu,當耳機100的位置發生變化時, 三軸加速度感測器111感測耳機位置變化所對應的三個轴 上的加速度並輸出該等加速度。 位置處理模組240接收位置感測器11〇輸出的三個轴 上的加速度。當計時器計時的處理間隔時間達到一個 預定處,期時’位置處理模組24〇根據該三個軸上的加 ,度=异出該預定處理週期内耳機1〇〇在三個軸上的位移 •交化里,亚根據該三個軸上的位置變化量計算出耳機工㈨ 在一個預定處理週期内距離變化量。 控制模組250與位置處理模組240相連,其根據位置 處理才旲組240輸出的距離變化量對音頻設備4〇〇實施自動 關閉控制。其中控制模組25〇對音頻設備4〇〇的控制過程 、及該㈣過程中其他各模組完成的玉作如前所述,此處不 再贅述。 上述音頻設備400藉由位置感測器11〇感測耳機ι〇〇 的=置變化,位置處理模組24〇根據位置感測器加的感 ,信號計算出耳機咖的位置變化量。在用戶進人睡眠狀 悲後,控制模組250可根據耳機1〇〇的位置變化量控制音 頻設備400使其自動關閉,從而減少電能的消耗,以、: 用戶睡眠和健康的影響。又由於控制模組25〇根據耳機工⑻ 的位置變化量對音頻設備400實施自動關閉控制。所以可 12 200843543 自動關閉的音頻設備400更人性化。 如圖5所不,控制自動關閉音頻設備4〇〇的方法步驟 如下·流程開始,進入步驟S8〇1,音頻設備4〇〇開始工作, 計時器260初始化為零。 步驟S803,計時器260開始計時。 步驟S 8 0 5,音頻設備4 〇 〇的連續工作時間是 過啟動音頻設備_自動關閉功能的預定啟動時間二 頻設備的連續卫作時間未超過預定啟動時間 二 步驟S8Q5;若音賴備·的連續工料 時間,則進入步驟S807。 頂疋啟動 步驟S 8 0 7 ^控制模έ且2 5 (Ί 念* fr 让利犋、、且々ϋ啟動音頻設備4〇〇 閉功能’啟動位置感測器⑽和位置處理模組勝^ :且250將按照自動啟動關閉功能設定視窗292中 : 數對音頻設備400實施自動關閉控制。 、> 步驟S809,位置感測器11〇產 應的感測信號。 i生耳機_位置變化對 步驟S8U,判斷處理間隔時間是否達到—個預定 :期,若處理間隔時間未達到一個預定、; 步驟咖若處理間隔時間達到洞則返回 入步驟S813。 頂疋處理週期’則進 置感測器11 〇輸 定處理週期内耳 出 機 步驟S813,位置處理模組24〇接收位 的感測k號並根據該感測信號計算出預 100位置的變化量。 步驟S815, 比較耳機100的位置 變化量是否 小於或者 13 200843543 • 2於預定位置變化量。若該位置變化量大於預定位置變化 、J表示用戶尚未進入睡眠狀態,返回步驟S811。 步驟S815中,若該位置變化量小於或者等於預定位置 變化量取則表示用戶已經進入睡眠狀態,進入步驟、S817。 —步騄S817,系統提示模組27〇發出系統提示,提示用200843543 IX. Description of the Invention: The present invention relates to an electronic device and a method of turning off the same, and more particularly to an audio device and a method for automatically turning off the audio device. [Prior Art] / Common Audio Device The sound source is provided and converted to a user-recognizable sound by headphones or a box. Usually, the power switch on the playback device or the earphone is turned on and the user turns on the audio device manually by manually operating the power switch by the playback device or the earphone. However, due to the accelerated pace of life and the tight work, users often use the music played by audio equipment to relieve fatigue, and often turn off the audio equipment because of falling asleep. After the user falls asleep, the status is maintained. This is not only a waste of h, but also the day after tomorrow.曰~The sleep and health of the police user has already appeared on the A2 and _ closed audio devices. The user can set the off time of the audio device to be turned off. When the time arrives, the audio device is automatically turned off, and the audio device may sleep for a long time, because the user has not yet reached the predetermined question, and the user has been able to keep the player swearing. Not human enough. It is necessary to provide a user-friendly auto-shutdown sound. [Inventive content] In view of this frequency device. 6 200843543 . Ready = Packing: Yes (4) Provide - Humanized auto-off audio device = Edit (4) - Kind of iron] Automatically turn off audio = Audio equipment 'Includes (4) Devices and headphones, material includes sense of position - ' The miscellaneous sensing m senses the corresponding sensing signal; the playback device includes a location of the parental sub-transmission module, a storage module, a location processing module, and a playback module for the audio The device is powered, puts the power management (4) Benefits “The plug-in module plays the audio in the storage module. The audio is output to the user by the earphone, and the location is salty, crying, and χ Receiving the earphone and «the sensing signal is calculated and the amount is controlled... the original device is changed according to the position of the earphone = the power management module stops the power management module from being played for the audio type, which includes the power supply Management module, play module, storage group, position processing mode: "Save the playback device for mine. Access t ★ Hai power management module for the sound from the headset to the group to play 5 Hai storage mode The location in the group where the audio is broadcast and loaned ❹丨" The processing module receives the headphone input change amount mode=the sensing signal calculates the bit source management module of the earphone to control the position change amount of the R material machine to control the electric type control; the source management module stops for the playing The device is powered. The method includes the following steps: a method for realizing an automatic shutdown function of an audio device, generating a sensing signal; 200843543 determining whether to perform a predetermined processing cycle; and the predetermined processing cycle, according to the sensing, a 3H pre-processing cycle The position change amount of the earphone; the position change θ of the earphone is changed; the straightness is less than or equal to the predetermined position, if the position of the earphone is changed, the correction is less than or expected The positional change stops powering the audio device.偌 i: The automatically turned off audio device and control automatically turn off the audio device, the position sensor senses the position change of the earphone, the bit root: the position sensor sense signal calculates the Headphones, set. After the user enters the sleep state, the control module can automatically turn off the audio device according to the position change of the earphone, thereby reducing power consumption and reducing the impact on the user's sleep and health. Further, due to the control mode, the audio device is automatically turned off according to the position change amount of the earphone. Therefore, the audio device and its control method are more user-friendly. [Embodiment] As shown in Fig. 1, an audio device 4 of a preferred embodiment includes a play set 200 and an earphone 1 connected to the playback device 2A. The playback device 2 provides a sound source ’ and is converted to a sound identifiable by the user by the earphone 1 播放. The earphone 100 includes a position sensor 110 for sensing a change in position of the earphone 100. When the position of the headphone 1 发生 changes, the position sensor 110 outputs a corresponding sensing signal according to the amount of change in the position of the headphone 100. 200843543 "Playback device 200 includes audio interface 21", playback module 22", storage module 230, position processing module 24", control module 25", timing crying %, system prompt mode, group 270, power management mode The group 28〇 and the user interface fine j module 220 play the audio file stored in the storage module 23〇 and output to the earphone 100 through the audio “face 210”, and the earphone 1〇〇 outputs the sound to the user. , Trapping: ί = = 240 is connected to the position sensor 110, which receives the bit mTM, 丨 / when the timer 260 says ten o'clock, the processing interval reaches a predetermined virtual search, when the processing cycle is ' The position processing module 240 calculates the predetermined amount of treatment according to the sensing signal. Generally, the user does not make a big change in the position where the user enters the sleep state: the position of the machine 100 is changed, and the position of the earphone 100 of the corresponding audio device 400 is not changed in the position of the headphone 100 of the corresponding audio device 400. Once the user has taken a predetermined time, the user is smashed into the traitor as a basis for judging the sleep state of the audio device 400. The storage module 230 is further characterized by a predetermined position change amount, which is a storage-state threshold value. When the position of the earphone 1 is changed to the sleep predetermined position change amount, the judgment is less than or equal to the control module 250 and the position/household/sleep state. The processing module (10) rotates two=240 connections, and receives the positionalization amount, and compares the position of the position Μ 内 内 内 内 内 内 内 内 内 内 ^ ^ ^ ^ 位置 位置 位置 位置 位置 位置 位置 位置 位置 位置 位置 位置The amount is less than or # is the _ bit =. Right this bit sleep state, control mode? In 504 用户, the user has entered the system prompt mode 270 2: prompt module 270 works. If the user does not currently need the meaning; the control module 250 is connected, it is used to prompt not to be closed _ must respond at the scheduled response time (10), 200843543 Otherwise the audio device 400 will automatically shut down whether the user returns within the predetermined response time: ::: to judge the module (four) into the second position change. The automatic shutdown function of the device_ is more user-friendly. In the sleep state, the audio < power management module is connected to the control module 25m, and the components of the power supply are supplied. When the user does not respond within the predetermined response time, the system group should send the “Shutdown command to the power management module when prompted. • Power management mode = Frequency setting: 〇 Power supply” to realize the automatic shutdown function of the audio device. The control module 250 is also connected to the position sensor 11A. The device_ can set the predetermined startup time of the automatic shutdown function.; , : 260 the calculated audio device _ continuous operation time exceeds the pre-; The module 250 activates the automatic auto-shutdown function of the audio device, and simultaneously activates the position sensor 110 and the position processing module 24. The user interface 290 is connected to the control module 250, and the user interface, the user interface, and the control module 250 The control module 25() calls the program according to the user's request and completes the user's request. Referring to FIG. 2, the user interface 290 is provided with a plurality of icons for the user to select. When the icon 291 is set, the user can activate or deactivate the automatic shutdown function of the audio device 4以及 and adjust the automatic shutdown function by calling the corresponding program by the control module 25〇. The parameter values include a current processing period, the predetermined position change amount, the predetermined response time, and the pre-200843543 start time. As shown in FIG. 3, it is a user setting function setting icon %Ί & $ 1 On the auto-off, the auto-off function setting window is moved. The power-off function is turned on and off by the auto-shutdown function of the selected audio and video device 40. If the time interval is required, the time interval is normal. : The dynamic closing function interval is 30 points of the shovel box - Putian to 60 knife knives, the default time sensing crying 11 Γ Γ Γ 为 位置 位置 位置 位置 位置 位置 位置 位置 位置 位置 位置 位置 位置 位置 位置 位置 位置 位置 位置 位置 位置 位置 位置 位置 位置 位置The period, one " period is 3 to 7 minutes, the cutting box-Xingxu week's pre-processing period is 5 minutes. The critical value of the predetermined position state, two * meters, two: two: position: the amount of ... The calculated position change amount of the earphone (10) is two or two: the pull group 250 metering amount indicates that the user has gone to sleep; :=, the position change device 400 is in the seasons...:, the page response time is the audio door When the temple prompts 70 to issue a system prompt, Lu Hao ':: between the boundaries. If the user does not enter the p in the scheduled response time, G knows that the default response time is 60 seconds. After entering the above settings, if the click is stored in the storage mode In group 230, audio #备4:: The above W value can start the settings at the same time, the sound 4 stomach only 1 function. ml 疋曰 frequency 3 and _ will be in accordance with the setting work, the counter return, audio The device has the value of these parameters as the default value of 11 200843543. The position sensing 110 can be a two-axis acceleration sensor or a three-axis acceleration sensor. As shown in FIG. 4, the position sensor 11A uses a two-axis acceleration sensor lu. When the position of the earphone 100 changes, the triaxial acceleration sensor 111 senses the three axes corresponding to the change of the headphone position. Acceleration and output of these accelerations. The position processing module 240 receives the accelerations on the three axes output by the position sensor 11A. When the processing interval time of the timer reaches a predetermined position, the position processing module 24 〇 according to the addition on the three axes, the degree = the out of the predetermined processing period, the earphone 1 is on three axes. In the displacement/intersection, the sub-machine determines the distance change of the earphone (n) in a predetermined processing period based on the amount of position change on the three axes. The control module 250 is coupled to the position processing module 240, which performs automatic shutdown control of the audio device 4 based on the amount of change in distance output by the location processing group 240. The control process of the control module 25〇 for the audio device 4〇〇 and the jade for the other modules in the (4) process are as described above, and will not be described here. The audio device 400 senses the change of the headphone ι〇〇 by the position sensor 11〇, and the position processing module 24 calculates the position change amount of the earphone coffee according to the sense of the position sensor. After the user enters a sleep state, the control module 250 can control the audio device 400 to automatically turn off according to the position change amount of the earphone 1 , thereby reducing the consumption of electric energy, and the influence of the user's sleep and health. Further, since the control module 25 is configured to perform automatic shutdown control on the audio device 400 in accordance with the amount of change in the position of the earphone (8). So 12 200843543 The automatically turned off audio device 400 is more user-friendly. As shown in Fig. 5, the method of controlling the automatic shutdown of the audio device 4 is as follows: The flow starts, the process proceeds to step S8〇1, the audio device 4 starts working, and the timer 260 is initialized to zero. In step S803, the timer 260 starts counting. Step S 8 0 5, the continuous working time of the audio device 4 是 is the predetermined startup time of the automatic device _ automatic shutdown function. The continuous servation time of the second-frequency device does not exceed the predetermined startup time. Step S8Q5; If the continuous material time is reached, the process proceeds to step S807. Top 疋 Startup step S 8 0 7 ^ Control mode and 2 5 (Ί * * fr let 犋,, and 々ϋ start audio device 4 功能 function 'start position sensor (10) and position processing module wins ^: And 250 will be in accordance with the auto-start shutdown function setting window 292: the pair of audio devices 400 implement automatic shutdown control., > Step S809, the position sensor 11 produces a sensing signal. i raw headphones _ position change step S8U, determining whether the processing interval time reaches - a predetermined period: if the processing interval time does not reach a predetermined time; if the processing interval reaches the hole, the processing returns to step S813. The top processing period is followed by the input sensor 11 In step S813, the position processing module 24 receives the sensing k number of the bit and calculates the amount of change of the pre-100 position according to the sensing signal. Step S815, comparing whether the position change amount of the earphone 100 is compared Less than or 13 200843543 • 2 The amount of change in the predetermined position. If the position change amount is greater than the predetermined position change, J indicates that the user has not entered the sleep state, return to step S811. In step S815, The position change amount is less than or equal to the predetermined position. The change amount indicates that the user has entered the sleep state, and the process proceeds to step S817. - Step S817, the system prompts the module 27 to issue a system prompt, prompting
戶右目雨不需要關閉需在預定回應時間内作出回應 將音頻設備400將自動關閉。 〜 J f 二騄S819,判斷用戶是否在預定回應時間内作出回 應。若用戶在預定回應時間内用戶作出回應,則確定用戶 尚未進入睡眠狀態,返回步驟S811。 步騄S819中,若用戶未在預定回應時間内作出回應, 則確定用戶已經進入睡眠狀態,進入步驟。 步驟S821,控制模、板25〇發出關閉音頻設備_的_ 制指令至電源管理模組280。 二 步驟S823,電源管理模組28〇停止為音頻設備彻供 (電’實現音頻設備400的自動關閉功能,流程結束。’、 上述控制自動關閉音頻設備4〇〇的方法藉由位置感測 “1〇感測耳機的位置變化,位置處理模組根據 2置感測器110的感測信號計算出耳機100的位置變化 ^在用戶進入睡眠狀態後’控制模組25〇可根據耳機· 的位置變化量控制音頻設備4〇〇使其自動關閉,從而減少 電能的消耗,減小對用戶睡眠和健康的影響。又由於控制 ,組請根據耳機_的位置變化量對音頻設備實施 自動關閉控制,所以該控制方法更人性化。 、 14 200843543 【圖式簡單說明】 圖1為第一較佳實 151 2 API Ί π 、 式9頻§又備的結構示意圖。 圖為圖1所示音頻設備的用戶界面。 二=圖ΐ所示音頻設備的自動關閉功能設定視窗。 二:弟一較佳實施方式音頻設備的結構示音、圖。 ^關閉曰頻設備自動關閉的方法流程圖 【主要兀件符號說明】 \ 音頻設備 400 位置感測器 110 播放裝置 200 播放模組 220 值置處理模組 240 計時器 260 電源管理模組 280 自動關閉 功能設定圖標 291 步驟 Τ S801-S823 耳機 100 三軸加速度感測器 音頻介面 111 210 存儲模組 230 控制模組 250 系統提示模組 270 用戶界面 自動關閉 290 功能設定窗口 292 15The right eye does not need to be shut down and needs to respond within the scheduled response time. The audio device 400 will automatically turn off. ~ J f 二騄S819, to determine whether the user responded within the scheduled response time. If the user responds within the predetermined response time, it is determined that the user has not entered the sleep state, and returns to step S811. In step S819, if the user does not respond within the predetermined response time, it is determined that the user has entered the sleep state and proceeds to the step. In step S821, the control module and the board 25 issue a command to turn off the audio device_ to the power management module 280. In step S823, the power management module 28 stops supplying the audio device (electrical 'automatically turns off the audio device 400, and the process ends.') The above method automatically turns off the audio device 4 by position sensing. 1〇 sensing the position change of the earphone, the position processing module calculates the position change of the earphone 100 according to the sensing signal of the 2 sensor 110. After the user enters the sleep state, the control module 25 can be based on the position of the earphone. The amount of change controls the audio device 4 to automatically turn it off, thereby reducing power consumption and reducing the impact on the user's sleep and health. And because of the control, the group performs automatic shutdown control on the audio device according to the position change of the headset_ Therefore, the control method is more user-friendly. 14 200843543 [Simplified description of the drawing] FIG. 1 is a schematic diagram of the first preferred embodiment 151 2 API Ί π, and the ninth frequency is prepared. The figure shows the audio device shown in FIG. User interface. 2=Automatically close the function setting window of the audio device shown in Fig. 2. Second, the structure of the audio device is shown in the preferred embodiment. Flow chart of the method of closing [Main device symbol description] \ Audio device 400 Position sensor 110 Playback device 200 Playback module 220 Value processing module 240 Timer 260 Power management module 280 Automatically close function setting icon 291 Τ S801-S823 Headphone 100 Triaxial Acceleration Sensor Audio Interface 111 210 Storage Module 230 Control Module 250 System Prompt Module 270 User Interface Auto Close 290 Function Settings Window 292 15