201011593 九、發明說明: ▲ 【發明所屬之技術領域】 - 本發明涉及一種電子裝置及其使用方法,尤其是關於 一種具備感溫功能之電子裝置及其使用方法。 【先前技術】 目前,市面上許多電子裝置,如手機、電腦、個人數 位助理(personal digital assistant,PDA)等,都包括一個 用戶介面,例如,手機包括手機鍵盤及顯示螢幕,電腦包 ❹ 括鍵盤及滑鼠,PDA包括觸摸螢幕等。用戶在使用這些電 子裝置時,透過直接接觸方式,如敲打按鍵、移動滑鼠或 觸碰觸摸螢幕,向電子裝置傳達資訊。 然而,這些電子裝置都存在一個不足之處:其用戶介 面經常因為人或物無意識觸碰而引起不必要反應,尤其以 移動式電子裝置,如手機,最容易發生這種情況。目前之 解決辦法是設置鍵盤鎖控制手機鍵盤,當用戶要使用手機 ©時,按照預先設置解鎖方式解除鎖定狀態,通常用戶必須 在一定時間間隔内按下兩個按鍵。這種解決辦法對於一些 視力不太好、動作比較遲鈍之用戶,例如有老花眼問題之 老人,較為困難。 【發明内容】 鑒於以上内容,有必要提供一種電子裝置及其使用方 法,可避免電子裝置因外界偶然誤碰而作出不必要之反應。 本發明提供一種具備感溫功能之電子裝置。該電子裝 置包括:用戶介面、記憶體及處理器。所述用戶介面包括 7 201011593 一個感溫鍵,该感/jnL鍵包括多顆感溫零件,用於接收觸碰 ‘物之觸碰並偵測觸碰物之溫度。所述記憶體用於儲存預先 .設置之資訊,所述資訊包括觸碰物對感溫鍵之觸碰被視為 有效訊號之條件及有效讯號對應之指令。所述處理器用於 接收感溫零件傳送之資訊,將接收到之資訊與所述記憶體 中儲存之預先設置之條件進行比較,判斷觸碰物對感溫鍵 之觸碰是否為有效訊號’若為有效訊號’則執行有效訊號 對應之指令’作出相應反應。 ❹ 本發明還提供一種具備感溫功能之電子裝置之使用 方法。該方法包括以下步驟:(a)觸碰所述電子裝置之用戶 介面上之一個感溫鍵;(b)判斷該感溫鍵之第一顆感溫零件 是否被觸碰,如果第一顆感溫零件被觸碰,則進入步驟 (c),否.則進入步驟(g) · 5忍定該次觸碰為無效訊號;(c)判 斷第一顆感溫零件偵測之觸碰物之溫度值是否在預設溫度 範圍内,如果在預設溫度範圍内,進入步驟(d),否則進入 步驟(g); (d)判斷下一顆感溫零件是否被觸碰,如果該下一 粵 顆感溫零件被觸碰,則進入步驟〇),否則進入步驟(g); (e) 判斷該下一顆感溫零件偵測之觸碰物之溫度值是否在預設 溫度範圍内,如果在預設溫度範圍内’進入步驟(f) ’否則 進入步驟(g); (f)判斷該下一顆感溫零件是否為該感溫鍵之 最後一顆感溫零件,如果是最後一顆感溫零件’則進入步 驟(h),否則返回步驟(d);及(h)認定該觸碰為有效訊號, 執行對應於有效訊號之指令,作出相應反應。 相較於習知技術,本發明提供之具備感溫功能之電子 8 201011593 裝置及其使用方法,利用一個由多顆感溫零件組成之感溫 • 鍵偵測觸碰物之觸碰是否滿足預先設置之條件,以判斷該 , 觸碰是否為有效訊號,可以避免電子裝置因外界偶然物碰 而作出不必要之反應。 【實施方式】 如圖1所示,係本發明具備感溫功能之電子裝置較佳 實施例之功能模組圖。該電子裝置包括用戶介面10、處理 器20及記憶體30。所述用戶介面10包括感溫鍵11。用戶 ❿ 透過用戶介面10輸入訊號或資訊,處理器20接收輸入之 訊號或資訊,執行記憶體30中儲存之相應指令完成相應操 作。所述感溫鍵11用於偵測觸碰物之溫度,例如人的手指 之溫度。只靠單一溫度資料作為判斷依據,極易造成誤判, 所以於本實施例中,該感溫鍵11由多個感溫零件按照一定 排列順序組成。如圖2所示,多個感溫零件排列成一條直 線。於其他實施例中,多個感溫零件也可排列成一條弧線 或其他任意適合之形狀。 參 所述記憶體30用於儲存預先設置之資訊,包括觸碰 物對感溫鍵11之觸碰被視為有效訊號之條件,以及儲存有 效訊號對應之指令。所述條件包括觸碰物觸碰感溫鍵11 時應該遵循之移動方向,觸碰物在感溫鍵11上移動時經過 相鄰兩顆感溫零件之時間間隔範圍,以及各感溫零件偵測 到之觸碰物之溫度範圍。各感溫零件偵測到之觸碰物之溫 度範圍可以設置成相同,也可以設置成不同。 本發明具備感溫功能之電子裝置工作原理如下:當觸 9 201011593 碰物觸碰感溫鍵η,如按壓或在感溫鍵u上滑動,組成 *感溫鍵11之各感溫零件偵測觸碰物之觸碰動作資訊及觸 .碰物之溫度資訊’並將制到之資訊,包括各感溫零件镇 測到之觸碰物之溫度值及其對應之時間資訊依次傳送至處 理器20,處理器20將接收到之資訊與記憶體3〇中儲存之 預先設置之條件進行比較,透過判斷接收到之資訊是否滿 足所述預先設置之條件,以判斷觸碰物對感溫鍵U之觸碰 _ 是否為有效訊號。如果判斷觸碰物對感溫鍵11之觸碰為有 效訊號’則處理器2〇執行有效訊號對應之指令,電子裝置 作出相應反應。 如圖3所示,係本發明具備感溫功能之電子裝置之一 個具體實施例之示意圖。於本實施例中,該電子裝置為一 個手機’該手機之用戶介面除包括一般手機具備之按鍵、 顯示螢幕及各種介面外,還包括一個感溫鍵11。如圖3所 示’該感溫鍵11可以位於手機上任意合適之位置,設置為 ❿ 長方形、弧形或其他任意適合之形狀。該感溫鍵11可以設 置為加鎖/解鎖鍵、快捷鍵或觸發手機其他功能之任意功能 鍵。圖中所示之箭頭表示用戶意圖啟動感溫鍵11對應之功 能時’手指(或其他身體部位)觸碰感溫鍵11時應該遵循 之移動方向。當觸碰滿足預先設置之條件時,該觸碰被視 為有效訊號,手機作出相應反應,例如鎖鍵盤或解開鍵盤 鎖。 於其他實施例中,該電子裝置可以為電腦,所述感溫 鍵11可以設置於電腦鍵盤之上,也可以設置為滑鼠之上; 201011593 該電子裝置可以為PAD,所述感溫鍵11可以為觸摸屏上 • 顯示之一個圖示。所述感溫鍵11可以應用於任何其他適合 , 之電子裝置之用戶介面之上。 如圖4所示,是本發明具備感溫功能之電子裝置較佳 實施例之應用流程圖。 首先,步驟S100,觸碰物觸碰感溫鍵11。 步驟S102,處理器20判斷組成感溫鍵11之第一顆感 溫零件是否被觸碰物觸碰。處理器20透過是否接收到各顆 ❿ 感溫零件傳送之溫度資訊判斷該顆感溫零件是否被觸碰物 觸碰。如果第一顆感溫零件未被觸碰物觸碰,則進入步驟 S110,處理器20視該次觸碰為無效訊號;如果第一顆感 溫零件被觸碰物觸碰,則進入步驟S104。 步驟S104,處理器20判斷第一顆感溫零件偵測之觸 碰物之溫度值是否在預設溫度範圍内,例如是否在預設之 36.0〜38.0度之内。如果第一顆感溫零件偵測之觸碰物之溫 度值不在預設溫度範圍内,則進入步驟S110。如果第一顆 參 感溫零件偵測之觸碰物之溫度值在預設溫度範圍内,進入 步驟S106,處理器20繼續判斷組成感溫鍵11之下一顆感 溫零件是否被觸碰物觸碰。 在步驟S106,處理器20判斷在預設之時間間隔内下 一顆感溫零件是否被觸碰物觸碰。例如,處理器20判斷在 預設之時間間隔,如3秒内,第二顆感溫零件是否被觸碰 物觸碰。如果在預設之時間間隔内下一顆感溫零件未被觸 碰物觸碰,則進入步驟S110。如果在預設之時間間隔内下 11 201011593 一顆感溫零件被觸碰物觸碰,則進入步驟sl〇8。 • 步驟,處理器2〇判斷該該下一顆,例如第二顆 .感溫零件偵測之觸碰物之溫度值是否在預設溫度範圍内, 例如是否在預設之36.0〜38.0度之内。如果不在預設溫度 範圍内,則進入步驟SU()。如果在預設範圍内,則進入步 驟 S112。 步驟S112,處理器2〇判斷該下一顆,例如第二顆感 狐零件疋否為組成感溫鍵之最後一顆感溫零件。如果該該 參下-顆’例如第二顆感溫零件不是最後一顆感溫零件,則 返回步驟S106,處理器20繼續判斷在預設之時間間隔内, 下一顆,例如第三顆感溫零件是否被觸碰。在步驟S112, 如果處理器20判斷該下一顆感溫零件是最後一顆感溫零 件,則進入步驟S114,處理器20認定該觸碰為有效訊號, 執行對應於有效訊號之指令,作出相應反應。 以上所述僅為本發明之較佳實施例而已,且已達廣泛 ❹之使用功效’凡其他未脫離本發明所揭示之精神下所完成 之均等變化或修飾,均應包含在下述之申請專利範圍内。 【圖式簡單說明】 圖1係本發明具備感溫功能之電子裝置較佳實施例之 功能模組圖。 圖2係組成圖1中感溫鍵之感溫零件排列示意圖。 圖3係本發明具備感溫功能之電子裝置之一個具體實 施例之示意圖。 圖4係本發明具備感溫功能之電子裝置較佳實施例之 12 201011593 應用流程圖。 - 【主要元件符號說明】 用戶介面 10 感溫鍵 11 處理器 20 記憶體 30201011593 IX. INSTRUCTIONS: ▲ Technical Field of the Invention - The present invention relates to an electronic device and a method of using the same, and more particularly to an electronic device having a temperature sensing function and a method of using the same. [Prior Art] At present, many electronic devices on the market, such as mobile phones, computers, personal digital assistants (PDAs), etc., all include a user interface, for example, a mobile phone including a mobile phone keyboard and a display screen, and a computer package including a keyboard. And the mouse, the PDA includes a touch screen and the like. When using these electronic devices, users can communicate information to electronic devices through direct contact, such as tapping a button, moving a mouse, or touching a touch screen. However, these electronic devices have a drawback: their user interface often causes unnecessary reactions due to unintentional touches of people or objects, especially in mobile electronic devices such as mobile phones. The current solution is to set the keyboard lock to control the phone keypad. When the user wants to use the phone, the user can unlock the phone according to the preset unlock mode. Usually, the user must press two buttons at certain time intervals. This kind of solution is difficult for some users who have poor eyesight and slow movements, such as elderly people with presbyopia problems. SUMMARY OF THE INVENTION In view of the above, it is necessary to provide an electronic device and a method of using the same, which can prevent an electronic device from making an unnecessary reaction due to accidental accidental touch. The invention provides an electronic device with a temperature sensing function. The electronic device includes a user interface, a memory, and a processor. The user interface includes 7 201011593 a temperature sensing button, and the sensing/jnL button includes a plurality of temperature sensing components for receiving a touch of the object and detecting the temperature of the touch object. The memory is used for storing pre-set information, including the condition that the touch of the touch object is regarded as a valid signal and the corresponding signal corresponding to the valid signal. The processor is configured to receive information transmitted by the temperature sensitive component, compare the received information with a preset condition stored in the memory, and determine whether the touch of the touch object is a valid signal. For the valid signal 'the instruction to execute the valid signal' respond accordingly. ❹ The present invention also provides a method of using an electronic device having a temperature sensing function. The method comprises the steps of: (a) touching a temperature sensing button on a user interface of the electronic device; (b) determining whether the first temperature sensing component of the temperature sensing key is touched, if the first feeling If the warm part is touched, go to step (c), otherwise, go to step (g) · 5 tolerate the touch as invalid signal; (c) judge the touch of the first temperature sensitive part Whether the temperature value is within the preset temperature range, if it is within the preset temperature range, enter step (d), otherwise enter step (g); (d) determine whether the next temperature sensing part is touched, if the next If the temperature sensing part of Guangdong is touched, go to step 〇), otherwise go to step (g); (e) Determine whether the temperature value of the touch object detected by the next temperature sensing part is within the preset temperature range. If it enters step (f) in the preset temperature range, otherwise enter step (g); (f) determine whether the next temperature sensing component is the last temperature sensing component of the temperature sensing key, if it is the last one The temperature sensing part enters step (h), otherwise returns to step (d); and (h) determines that the touch is a valid signal, and the execution corresponds to The effect instruction signal, to respond accordingly. Compared with the prior art, the present invention provides an electronic 8 201011593 device with a temperature sensing function and a method for using the same, and uses a temperature sensitive key composed of a plurality of temperature sensing components to detect whether the touch of the touch object satisfies the advance. The conditions are set to determine whether the touch is a valid signal, and the electronic device can be prevented from reacting unnecessarily due to accidental touch. [Embodiment] FIG. 1 is a functional block diagram of a preferred embodiment of an electronic device having a temperature sensing function according to the present invention. The electronic device includes a user interface 10, a processor 20, and a memory 30. The user interface 10 includes a temperature sensitive key 11. The user 输入 receives the signal or information through the user interface 10, and the processor 20 receives the input signal or information, and executes the corresponding instruction stored in the memory 30 to complete the corresponding operation. The temperature sensitive key 11 is used to detect the temperature of the touch object, such as the temperature of a person's finger. Only by using a single temperature data as a basis for judging, it is easy to cause misjudgment. Therefore, in the present embodiment, the temperature sensing key 11 is composed of a plurality of temperature sensing parts in a certain order. As shown in Figure 2, multiple temperature sensing components are arranged in a straight line. In other embodiments, the plurality of temperature sensing components may also be arranged in an arc or any other suitable shape. The memory 30 is used to store pre-set information, including the condition that the touch of the touch sensitive key 11 is regarded as a valid signal, and the instruction corresponding to the valid signal is stored. The condition includes a moving direction that the touch object should follow when the touch sensitive key 11 is touched, and a time interval range between two adjacent temperature sensing parts when the touch object moves on the temperature sensitive key 11, and each temperature sensing part is detected. The temperature range of the touch object measured. The temperature range of the touched objects detected by each temperature sensing component can be set to be the same or different. The working principle of the electronic device with temperature sensing function is as follows: when touching 9 201011593, the touch object touches the temperature sensitive key η, such as pressing or sliding on the temperature sensing key u, forming the temperature sensing component of the * temperature sensing key 11 The contact information of the touch object and the temperature information of the touch object are transmitted to the processor, and the temperature information of the touched object and the corresponding time information are sequentially transmitted to the processor. 20, the processor 20 compares the received information with the pre-set conditions stored in the memory 3, and determines whether the received information satisfies the pre-set condition to determine the touch object to the temperature sensitive key U. Touch _ is a valid signal. If it is judged that the touch of the touch object to the temperature sensitive key 11 is a valid signal ', the processor 2 executes an instruction corresponding to the valid signal, and the electronic device responds accordingly. As shown in Fig. 3, it is a schematic diagram of one embodiment of an electronic device having a temperature sensing function according to the present invention. In this embodiment, the electronic device is a mobile phone. The user interface of the mobile phone includes a temperature sensitive button 11 in addition to the buttons, the display screen and various interfaces provided by the general mobile phone. As shown in Fig. 3, the temperature sensitive key 11 can be located at any suitable position on the mobile phone, and is set to 长方形 rectangular, curved or any other suitable shape. The temperature sensitive key 11 can be set as a lock/unlock key, a shortcut key or any function key that triggers other functions of the mobile phone. The arrows shown in the figure indicate the direction of movement that the finger (or other body part) should follow when touching the temperature sensitive key 11 when the user intends to activate the function corresponding to the temperature sensitive key 11. When the touch meets the pre-set conditions, the touch is regarded as a valid signal, and the mobile phone responds accordingly, such as locking the keyboard or unlocking the keyboard lock. In other embodiments, the electronic device can be a computer, and the temperature sensing button 11 can be disposed on the computer keyboard or can be set on the mouse; 201011593 The electronic device can be a PAD, and the temperature sensing button 11 It can be an icon on the touch screen. The temperature sensitive key 11 can be applied to any other suitable user interface of the electronic device. As shown in Fig. 4, it is an application flow chart of a preferred embodiment of the electronic device having the temperature sensing function of the present invention. First, in step S100, the touch object touches the temperature sensitive key 11. In step S102, the processor 20 determines whether the first temperature sensing component constituting the temperature sensing key 11 is touched by the touch object. The processor 20 determines whether the temperature sensing component is touched by the touch object by receiving temperature information transmitted by each of the 感 temperature sensing components. If the first temperature sensing component is not touched by the touch object, the process proceeds to step S110, the processor 20 regards the touch as an invalid signal; if the first temperature sensitive component is touched by the touch object, the process proceeds to step S104. . In step S104, the processor 20 determines whether the temperature value of the touch object detected by the first temperature sensing component is within a preset temperature range, for example, within a preset range of 36.0 to 38.0 degrees. If the temperature value of the touched object detected by the first temperature sensing part is not within the preset temperature range, then the process proceeds to step S110. If the temperature value of the touch object detected by the first sensing temperature component is within the preset temperature range, the process proceeds to step S106, and the processor 20 continues to determine whether a temperature sensing component under the temperature sensing key 11 is touched. Touch. At step S106, the processor 20 determines whether the next temperature sensing component is touched by the touch object during the preset time interval. For example, processor 20 determines whether the second temperature sensitive component is touched by the toucher at a predetermined time interval, such as within 3 seconds. If the next temperature sensitive part is not touched by the touch object within the preset time interval, the process proceeds to step S110. If a temperature sensitive part is touched by the touch object at the preset time interval 11 201011593, proceed to step sl8. • In step, the processor 2 determines whether the next one, for example, the temperature of the touch object detected by the second temperature sensing component is within a preset temperature range, for example, whether it is preset at 36.0 to 38.0 degrees. Inside. If it is not within the preset temperature range, proceed to step SU(). If it is within the preset range, it proceeds to step S112. In step S112, the processor 2 determines whether the next one, for example, the second fox component, is the last temperature sensing component constituting the temperature sensitive key. If the sub-component, for example, the second temperature sensing component is not the last temperature sensing component, then returning to step S106, the processor 20 continues to determine that the next one, for example, the third sensation, is within a preset time interval. Whether the warm part is touched. In step S112, if the processor 20 determines that the next temperature sensing component is the last temperature sensing component, proceeding to step S114, the processor 20 determines that the touch is a valid signal, and executes an instruction corresponding to the valid signal to make a corresponding reaction. The above is only the preferred embodiment of the present invention, and has been used in a wide range of applications. Any other equivalent changes or modifications that are not departing from the spirit of the present invention should be included in the following patent application. Within the scope. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a functional block diagram of a preferred embodiment of an electronic device having a temperature sensing function according to the present invention. 2 is a schematic view showing the arrangement of temperature sensing components constituting the temperature sensing key in FIG. Fig. 3 is a schematic view showing a specific embodiment of an electronic device having a temperature sensing function according to the present invention. 4 is a flow chart of an application of the preferred embodiment of the electronic device with temperature sensing function according to the present invention. - [Main component symbol description] User interface 10 Temperature sensor 11 Processor 20 Memory 30