I 201224879 • · , 1 W /^/ΔΧ/Γ/Λ 六、發明說明: 【發明所屬之技術領域】 本發明是有關於一種軟體鍵盤(Software Input Panel ’ SIP)的應用,且特別是有關於一種提供軟體鍵盤的 手持電子裝置及其控制方法。 【先前技術】 隨著觸控感應技術的蓬勃發展,越來越多的電子裝置 _ 開始採用觸控式螢幕來取代傳統螢幕與實體鍵盤,進而同 時做為顯示晝面以及讓使用者輸入訊息的介面。依據此種 觸控感應技術’ 一種軟體鍵盤(Software Input Panel,SIP) 的技術’便是為了讓使用者能直接透過觸控式螢幕將文字 或符號輸入至電子裝置而發展者。 然而’不同於實體鍵盤的是,當使用者按壓軟體鍵盤 上的按鍵時’指尖的觸感比較無法感受到按鍵的回饋,故 使用者難以得知是否有正確地碰觸到按鍵。再者,以講求 φ 輕、薄、紐、小的手持電子裝置而言,其所配備的觸控螢 幕的尺寸通常會受到限制,致導軟體鍵盤更難以被操作。 換言之’由於設置在手持電子裝置上的觸控螢幕已經很小 了 ’而其軟體鍵盤的顯示晝面會顯得更小’且軟體鍵盤上 &虛擬按鍵更是小到無法讓使用者正確地觸碰。此種情況 下,不僅難以辨識虛擬按鍵上的字元圖樣,若考慮虛擬按 鍵的觸感比較無法讓使用者感受到按鍵的回饋的問題,更 是會造成使用者在輸人字元上料方便。因此 ,如何提高 手持電子裝置之字元輪入的方便性,乃業界所致力之課題 201224879 1 w / υζυΓΛ 之〇 【發明内容】 本發明係有關於一種手持電子裝置及其控制方法,能 提高提高字元圖樣的辨識度,增加手持電子裝置的使用方 便性,並使手持電子裝置提供更為簡便與有效率的字元輸 入方式。 根據本發明之一方面,提出一種手持電子裝置之控制 方法之流程圖。此方法包括多個步驟。控制手持電子裝置 之一觸控螢幕以顯示一軟體鍵盤,軟體鍵盤至少具有一虛 擬按鍵,虛擬按鍵對應至輸入法中的多個字元,此些字元 的圖樣適於以第一格式或第二格式而顯示於虛擬按鍵 上。將此些字元之第一字元的圖樣以第一格式顯示於虛擬 按鍵上。將此些字元之第二字元的圖樣以第二格式顯示於 虛擬按鍵上。第一字元於虛擬按鍵被按觸時輸出。回應於 切換信號,將第一字元的圖樣由第一格式切換至第二格式 而顯示於虛擬按鍵上,並將第二字元的圖樣由第二格式切 換至第一格式而顯示於虛擬按鍵上。 根據本發明之另一方面,提出一種手持電子裝置,包 括一觸控螢幕、一控制單元、及一切換單元。觸控螢幕用 以顯示一軟體鍵盤。軟體鍵盤至少具有一虛擬按鍵。虛擬 按鍵對應至一輸入法中的複數個字元。此些字元的圖樣適 於以一第一格式或一第二格式而顯示於虛擬按鍵上。控制 單元用以將此些字元之一第一字元的圖樣以第一格式顯 示於虛擬按鍵上,並將此些字元之一第二字元的圖樣以第 201224879 · - 1 w /,uzura 二格式顯示於虛擬按鍵上。第一字元係於虛擬按鍵被按觸 時輸出。切換單元用以提供一切換信號使控制單元將第一 字元的圖樣由第-格式切換至第二格式而顯示於虛擬按 鍵上’並將第二字元的圖樣由第二格式切換至第一格式而 顯示於虛擬按鍵上。 為了對本發明之上述及其他方面有更佳的瞭解,下文 特舉較佳實施例,並配合所附圖式,作詳細說明如下。 【實施方式] ^ '系提出貫施例進行詳細說明,實施例僅用以作為 祀》說明’並不會限縮本發明欲保護之範圍。此外,實施 之圖式係省略不必要之元件,以清楚顯示本發明之技 子^參Γ第1圖,其繪示依照本發明—實施例之手持電 驟s'lioV^f之流程圖。此方法包括多個步驟。於步I 201224879 • · , 1 W /^/ΔΧ/Γ/Λ VI. Description of the Invention: [Technical Field] The present invention relates to the application of a Software Keyboard (SIP), and in particular A handheld electronic device providing a software keyboard and a control method thereof. [Prior Art] With the rapid development of touch sensing technology, more and more electronic devices have begun to use touch screens to replace traditional screens and physical keyboards, and at the same time serve as a display screen and allow users to input messages. interface. According to this touch sensing technology, a technology of a software input panel (SIP) is developed for the user to directly input characters or symbols into an electronic device through a touch screen. However, unlike the physical keyboard, when the user presses the button on the software keyboard, the touch of the fingertip is less able to feel the feedback of the button, so it is difficult for the user to know whether the button is correctly touched. Furthermore, in the case of handheld electronic devices that are φ light, thin, neon, and small, the size of the touch screen that is provided is often limited, and the software keyboard is more difficult to operate. In other words, 'because the touch screen set on the handheld electronic device is already small', the display surface of the software keyboard will appear smaller' and the virtual keyboard & virtual button is too small to allow the user to touch correctly. bump. In this case, it is not only difficult to recognize the character pattern on the virtual button. If the touch of the virtual button is not compared, the user can not feel the feedback of the button, and the user is more convenient to input the character. . Therefore, how to improve the convenience of the character wheeling of the handheld electronic device is a subject of the industry 201224879 1 w / υζυΓΛ 〇 [Abstract] The present invention relates to a handheld electronic device and a control method thereof, which can improve and improve The recognition of the character pattern increases the ease of use of the handheld electronic device and enables the handheld electronic device to provide a simpler and more efficient character input method. According to an aspect of the invention, a flow chart of a method of controlling a handheld electronic device is presented. This method involves multiple steps. Controlling one of the touch screens of the handheld electronic device to display a software keyboard, the software keyboard having at least one virtual button, the virtual button corresponding to a plurality of characters in the input method, the patterns of the characters being adapted to be in the first format or The second format is displayed on the virtual button. The pattern of the first character of these characters is displayed on the virtual button in the first format. The pattern of the second character of these characters is displayed on the virtual button in a second format. The first character is output when the virtual button is touched. In response to the switching signal, the pattern of the first character is switched from the first format to the second format and displayed on the virtual button, and the pattern of the second character is switched from the second format to the first format and displayed on the virtual button on. According to another aspect of the present invention, a handheld electronic device is provided, including a touch screen, a control unit, and a switching unit. The touch screen is used to display a software keyboard. The software keyboard has at least one virtual button. The virtual button corresponds to a plurality of characters in an input method. The pattern of the characters is adapted to be displayed on the virtual button in a first format or a second format. The control unit is configured to display the pattern of the first character of one of the characters in the first format on the virtual button, and design the pattern of the second character of the characters to be 201224879 · - 1 w /, The uzura two format is displayed on the virtual button. The first character is output when the virtual button is touched. The switching unit is configured to provide a switching signal for the control unit to switch the pattern of the first character from the first format to the second format to be displayed on the virtual key and to switch the pattern of the second character from the second format to the first format The format is displayed on the virtual button. In order to better understand the above and other aspects of the present invention, the preferred embodiments are described below, and in the accompanying drawings. [Embodiment] ^ The detailed description of the embodiments is given, and the examples are only used as a description of the present invention and do not limit the scope of the invention to be protected. In addition, the drawings are omitted to omit unnecessary elements to clearly illustrate the technique of the present invention. FIG. 1 is a flow chart showing a hand-held circuit s'lioV^f in accordance with the present invention. This method involves multiple steps. Yubu
體鍵盤^4此手持電子裝置之—觸控螢幕顯示一軟 體鍵盤,軟體输 輸入法中的^ 虛擬按鍵,虛擬按鍵對應至 第二格式㈣此些字㈣圖樣適於以第—格式或 字元之一第’、於虛擬按鍵上。於步驟S12()中,將此些 上,並將此=元的圖樣=第一格式顯示於虛擬按鍵 虛擬按鍵上,2之—第二字元的圖樣以第二格式顯示於 驟S130中,。字疋係於虛擬按鍵被按觸時輸出。於步 -格式切換^應於—切換信號,將第—字元的圖樣由第 元的圖樣㈣ 式而顯示於虛擬按鍵上,並將第二字 一格式切換至第—格式而顯示於虛擬按鍵 201224879 j w /\j^.\jr/\ , i 上。 依據本發明上述實施例所提出的手持電子裝置之控 制方法,可針對字元的圖樣進行格式切換並顯示於虛擬按 鍵上,如此,能提高字元圖樣的辨識度,而具有增加使用 方便性的優點。茲以應用此控制方法之一手持電子裝置進 一步說明如下。 請參照第2圖,其繪示依照本發明一實施例之手持電 子裝置之一例之方塊圖。並請同時參照第3A及3B圖,其 分別繪示乃第2圖之手持電子裝置之一例之正視圖及一側 視圖。此手持電子裝置200包括一觸控螢幕210、一控制 單元220、及一切換單元230。各單元之間的作動關係如 下。 觸控螢幕210用以顯示一軟體鍵盤SIP。此軟體鍵盤 SIP至少具有一虛擬按鍵,此虛擬按鍵例如是第3A圖所示 之例中軟體鍵盤SIP上12個虛擬按鍵之其中之一,然具 有12個虛擬按鍵的軟體鍵盤SIP僅用以說明本發明之 用,而本發明並不限於此。茲以虛擬按鍵KP為例做說明。 此虛擬按鍵KP對應至一輸入法中的多個字元,例如是英 文輸入法中的四個字元「2」、「a」、「b」、「c」。此些字元的 圖樣「2」、「a」、「b」、「c」適於以第一格式或第二格式而 顯不於虛擬按鍵上 控制單元220控制觸控螢幕210,從此些字元「2」、 「a」、「b」、「c」中一第一字元的圖樣以第一格式顯示於虛 擬按鍵KP上,並將此些字元之一第二字元的圖樣以第二 格式顯示於虛擬按鍵KP上。舉例來說,如第3A圖所示, 201224879 , · . 1 n ^ 第一字兀為字元「2」,而其圖樣係以第一格式顯示於虛擬 按鍵KP上。而第二字元例如為字元「a」、「b」、「c」中之 一者,其係以第二格式顯示於虛擬按鍵κρ上。此時字元 「2」會在虛擬按鍵ΚΡ被按觸時被產生並顯示於觸控螢幕 210 上。 由於於虛擬按鍵ΚΡ上’字元「2」的格式可不同於 字元「a」、「b」、「c」的顯示格式,故本實施例能增加字元 圖樣的辨識度而提高使用者方便。舉例來說,如第3A圖 φ 所示,字元「2」的圖樣可顯示於虛擬按鍵KP之第一顯示 區域DR1中,而其他字元「a」、「b」、rc」的圖樣則可顯 示於虛擬按鍵KP之第二顯示區域DP2中。或者,如第3A 圖所示,於虛擬按鍵KP上,字元「2」的字型大小可大於 字元ra」、「b」、「c」的字型大小。或者,亦可讓字元「2」 的字型或顏色不同於其他字元「a」、「b」、「c」,或針對字 元「2」來加以標示使其可被明顯地與其他字元ra」、「b」、 「c」區別。換言之,本實施例中,虛擬按鍵上的此些字 φ 元係以不同格式來顯示,如不同位置、不同大小、或不同 顏色,或可其他可使字元能被清楚辨識的作法來實現。如 此’本實施例之手持電子裝置200能讓使用者辨識出目前 虛擬按鍵KP在被按碰會產生的字元為何者,而提高使用 方便性。 切換單元230用以提供一切換信號SGL使控制單元 220切換第一字元「2」的圖樣為此些字元ra」、「b」、r(^ 中一第二字元的圖樣。請參照第3C及3D圖,其分別繪示 第3A圖之手持電子裝置於接收切換信號後所提供之軟體 201224879Body keyboard ^4 The handheld electronic device - the touch screen displays a software keyboard, the virtual button in the software input method, the virtual button corresponds to the second format (4) the words (4) the pattern is suitable for the first format or character One of the ', on the virtual button. In step S12 (), the above is displayed, and the pattern of the = element = first format is displayed on the virtual button virtual button, and the pattern of 2 - the second character is displayed in the second format in step S130. . The word is output when the virtual button is touched. In step-format switching ^ should be - switch signal, the pattern of the first character is displayed on the virtual button by the pattern (4) of the element, and the second word format is switched to the first format and displayed on the virtual button 201224879 jw /\j^.\jr/\ , i on. According to the control method of the handheld electronic device proposed in the above embodiment of the present invention, the format of the character pattern can be switched and displayed on the virtual button, so that the recognition degree of the character pattern can be improved, and the convenience of use is increased. advantage. Further description of the handheld electronic device using one of the control methods is as follows. Referring to FIG. 2, a block diagram of an example of a handheld electronic device in accordance with an embodiment of the present invention is shown. Please also refer to Figures 3A and 3B, which are respectively a front view and a side view of an example of the handheld electronic device of Figure 2. The handheld electronic device 200 includes a touch screen 210, a control unit 220, and a switching unit 230. The interaction between the units is as follows. The touch screen 210 is used to display a software keyboard SIP. The software keyboard SIP has at least one virtual button. The virtual button is, for example, one of 12 virtual buttons on the software keyboard SIP in the example shown in FIG. 3A. However, the software keyboard SIP with 12 virtual buttons is only for explanation. The invention is used, and the invention is not limited thereto. The virtual button KP is taken as an example for illustration. The virtual button KP corresponds to a plurality of characters in an input method, for example, four characters "2", "a", "b", and "c" in the English input method. The patterns "2", "a", "b", and "c" of the characters are adapted to be displayed on the virtual button in the first format or the second format. The control unit 220 controls the touch screen 210 from these words. The pattern of a first character in the elements "2", "a", "b", "c" is displayed on the virtual button KP in a first format, and the pattern of the second character of one of the characters is The second format is displayed on the virtual button KP. For example, as shown in Fig. 3A, 201224879, . . . 1 n ^ The first character is the character "2", and the pattern is displayed on the virtual button KP in the first format. The second character is, for example, one of the characters "a", "b", and "c", which is displayed on the virtual key κρ in the second format. At this time, the character "2" is generated and displayed on the touch screen 210 when the virtual button 按 is touched. Since the format of the 'character "2" on the virtual button can be different from the display format of the characters "a", "b", and "c", the present embodiment can increase the recognition of the character pattern and improve the user. Convenience. For example, as shown in FIG. 3A, φ, the pattern of the character "2" can be displayed in the first display area DR1 of the virtual button KP, and the patterns of other characters "a", "b", and rc" are It can be displayed in the second display area DP2 of the virtual button KP. Alternatively, as shown in Fig. 3A, on the virtual button KP, the font size of the character "2" may be larger than the font size of the characters ra", "b", and "c". Or, you can make the font or color of the character "2" different from the other characters "a", "b", "c", or the character "2" so that it can be clearly marked with other characters. The characters ra", "b", and "c" are different. In other words, in this embodiment, the words φ elements on the virtual keys are displayed in different formats, such as different positions, different sizes, or different colors, or may be implemented in other ways that the characters can be clearly recognized. Thus, the handheld electronic device 200 of the present embodiment can make the user recognize the character of the current virtual button KP which is generated by being pressed, thereby improving the convenience of use. The switching unit 230 is configured to provide a switching signal SGL to cause the control unit 220 to switch the pattern of the first character "2" to the pattern of the first character of the characters ra", "b", r (^. Please refer to 3C and 3D, respectively, showing the software provided by the handheld electronic device of FIG. 3A after receiving the switching signal 201224879
]W7020FA]W7020FA
I I 鍵盤之一例之示意圖。當切換單元230被觸發而產生切換 信號SGL時,回應於此切換信號SGL,控制單元21〇針 對此輸入法將虛擬按鍵KP中的第一字元「2」的圖樣切換 為第二字元「a」的圖樣,如第3C圖所示,而其他虛擬按 鍵的切換方式亦類似。此時,若使用者按觸虛擬鍵盤κρ, 則手持電子裝置200會產生第二字元「a」。或者,若切換 單元230又被觸發,則第二字元「a」的圖樣會改變為第 三字元「b」的圖樣,如第3D圖所示,以此類推。如此, 當使用者想要輸入虛擬按鍵KP上的其他字元時,可觸發 切換單元230來產生切換信號SGL ’以從虛擬按鍵κρ所 對應的此些字元「2」、「a」、「b」、「c」中找到一個所需字 元來進行輸入。 當切換第一字元「2」的圖樣為此些字元「2」、「a」、 「b」、「c」中一第二字元的圖樣時,例如是切換成第二字 元「a」時,切換單元230用以顯示第二字元「a」的圖樣 於虛擬按鍵KP之第一顯示區域DPI中,並顯示第一字元 「2」的圖樣於虛擬按鍵KP之第二顯示區域DP2中。換 言之,虛擬按鍵KP中之此些字元的位置會隨著切換信號 SGL而改變,而使受觸碰時會被產生的一個字元的圖樣顯 示明顯的區域上,以供使用者檢閱與使用。 於一實施例中,切換單元230可為設置於手持電子裝 置200之侧邊上的一音量控制器232。如第3A圖所示之 例中’音量控制器232包含一上音量鍵232a、及一下音量 鍵232b。各音量鍵232a及232b可用來產生切換信號SGL 而切換虛擬按鍵KP所對應的此些字元「2」、「a」、「b」、「c」。 201224879 i w /μζυκΑ t 此兩音量鍵232a及232b可設計而使此些字元「2」、「a」、 「b」、「c」的切換方向有所不同。舉例來說,上音量鍵232a 可設計為讓此些字元「2」、「a」、「b」、「c」以順時針的方 向進行切換,即依序從「2」、「a」、「b」、「c」選擇一個來 顯示;而下音量鍵232a可設計為讓此些字元「2」、「a」、 「b」、「c」以逆時針的方向進行切換,即依序從「c」、「b」、 「a」、「2」選擇一個來顯示。然本發明亦不限於此,字元 的切換順序應可依不同需求而予以設計。 • 請參照第4A及4B圖,其分別繪示乃第2圖之手持 電子裝置之另一例之正視圖及一側視圖。於此例中,音量 控制器230包含一轉盤232c。此轉盤232c亦可用來產生 切換信號SGL而切換虛擬按鍵KP所對應的此些字元 「2」、「a」、「b」、「c」°依據轉盤232c的旋轉方向,亦可 使此些字元「2」、「a」、「b」、「c」的切換方向有所不同。 上述係以手持電子裝置200之音量控制器232來實現可提 供切換信號SGL的切換單元230 ’然本發明亦不限於此。 • 切換單元230亦可為具有通常知識者所知悉之手持電子裝 置200上的即有的實體按鍵或虛擬按鍵、或可為另行增設 的按鍵或介面。 相較於傳統之一多重按鍵(multi_tap)的作法,若手持 電子裝置只提供如第3A圖所示的軟體鍵盤,而使用者想 輸入字元「a」時,則使用者需對虛擬按鍵κρ觸碰兩次來 完成輸入。然而’此種作法會因虛擬按鍵的觸感比較無法 讓使用者感受到按鍵的回饋,而會有操作不便的問題。於 本實施例中,若使用者想輸入字元「a」,則可藉由切換單 201224879 元230來切換虛擬按鍵KP的字元為第3A圖的字元「a」, 再觸碰虛擬按鍵KP來產生此字元。如此,便能夠讓使用 者方便地以切換單元230來切換所需字元’而提高使用方 便性。再者,於上述之音量控制器232的實施例中,設置 於手持電子裝置200側邊的音量控制器232可讓使用者以 一隻手來進行切換字元,而以另一隻手來進入觸碰輸入。 如此,便能大大地提高使用者輸入字元的效率與方便性。 此外,如第3A圖所示,軟體鍵盤SIp另具有一輸入 法切換按鍵TKP。此輸入法切換按鍵TKP用以於受觸碰 時使軟體鍵盤SIP從目前的輸入法切換至另一輸入法,從 而改變虛擬按鍵所所對應之字元。舉例來說,輸入法切換 按鍵TKP能用來使軟體鍵盤SIP從英文輸入法切換至中文 輸入法。如此,對於虛擬按鍵SIP2而言,其所對應的字 元例如變成注音符號的字元。 請參照第5圖’其繪示依照本發明一實施例之手持電 子裝置之控制方法之詳細流程圖。於進入本控制方法之 前’可建立一預設資料表,此資料表紀錄每個虛擬按鍵所 對應之多個字元,而此些字元中有一個是預設為輸出字 元’用以於對應的虛擬按鍵受觸碰時輸出。於步驟S510 中,當軟體鍵盤被啟動後,由手持電子裝置建立一個暫存 資料表。暫存資料表係藉由存取預設資料表而得。於步驟 S520中’手持電子裴置可將預設資料表寫入記憶體中之暫 存資料表’並依據暫存資料表中每個虛擬按鍵與對應字元 的關聯資訊’來顯示軟體鍵盤。接著,於步驟S530中, 手持電子裝置判斷輸入訊號為虛擬按鍵的觸控訊號或切 201224879 , 1 w /jjzyrn. _ 換單元的切換訊號。若輸入訊號為虛擬按鍵上的觸控訊 號,則進入步驟S540,依據暫存資料表輸出受按觸之虛擬 按鍵上之預設輸出字元。若輸入訊號為切換單元的切換訊 號,則進入步驟S550,變更暫存資料表中所預設的輸出字 元。之後,進入步驟S560,依據變更後之暫存資料表顯示 軟體鍵盤。 於本發明實施例所提出之手持電子裝置及其控制方 法中,針對字元的圖樣進行格式切換並顯示於虛擬按鍵 φ 上,而使其中一個受觸碰時會被產生的字元明顯地顯示出 來。如此,如此,能提高字元圖樣的辨識度,從而提高手 持電子裝置的字元輸入的方便性。 綜上所述,雖然本發明已以較佳實施例揭露如上,然 其並非用以限定本發明。本發明所屬技術領域中具有通常 知識者,在不脫離本發明之精神和範圍内,當可作各種之 更動與潤飾。因此,本發明之保護範圍當視後附之申請專 利範圍所界定者為準。 • 【圖式簡單說明】 第1圖繪示依照本發明一實施例之手持電子裝置之 控制方法之流程圖。。 第2圖繪示依照本發明一實施例之手持電子裝置之 一例之方塊圖。 第3A及3B圖分別繪示乃第2圖之手持電子裝置之 一例之正視圖及一側視圖。 第3C及3D圖分別繪示第3A圖之手持電子裝置於接 收切換信號後所提供之軟體鍵盤之一例之示意圖。 I > 201224879 第4A及4B圖,其分別繪示乃第2圖之手持電子裝 置之另一例之正視圖及一侧視圖。 第5圖繪示依照本發明一實施例之手持電子裝置之 控制方法之詳細流程圖。 【主要元件符號說明】 200 :手持電子裝置 210 :觸控螢幕 220 :控制單元 230 :切換單元 232 :音量控制器 232a :上音量鍵 232b :下音量鍵 232c :轉盤 DR1、DR2 :顯示區域 KP .虛擬按鍵 SIP :軟體鍵盤 SGL :切換信號 S110〜S130、S510〜S560 :流程步驟 TKP :輸入法切換按鍵 12A schematic diagram of an example of an I I keyboard. When the switching unit 230 is triggered to generate the switching signal SGL, in response to the switching signal SGL, the control unit 21 switches the pattern of the first character "2" in the virtual button KP to the second character for the input method. The pattern of a" is shown in Figure 3C, and the switching modes of other virtual buttons are similar. At this time, if the user presses the virtual keyboard κρ, the handheld electronic device 200 generates the second character "a". Alternatively, if the switching unit 230 is triggered again, the pattern of the second character "a" is changed to the pattern of the third character "b", as shown in Fig. 3D, and so on. In this way, when the user wants to input other characters on the virtual button KP, the switching unit 230 can be triggered to generate the switching signal SGL 'to the characters "2", "a", and " corresponding to the virtual button κρ". Find a desired character in b" and "c" for input. When switching the pattern of the first character "2" to the pattern of a second character in the characters "2", "a", "b", "c", for example, switching to the second character " a", the switching unit 230 is configured to display the pattern of the second character "a" in the first display area DPI of the virtual button KP, and display the pattern of the first character "2" on the second display of the virtual button KP In the area DP2. In other words, the position of the characters in the virtual button KP changes with the switching signal SGL, so that the pattern of one character that is generated when touched is displayed on a clear area for the user to review and use. . In an embodiment, the switching unit 230 can be a volume controller 232 disposed on a side of the handheld electronic device 200. In the example shown in Fig. 3A, the volume control unit 232 includes an upper volume key 232a and a lower volume key 232b. Each of the volume keys 232a and 232b can be used to generate the switching signal SGL and switch the characters "2", "a", "b", and "c" corresponding to the virtual button KP. 201224879 i w /μζυκΑ t The two volume keys 232a and 232b can be designed to change the switching directions of these characters "2", "a", "b", and "c". For example, the up volume button 232a can be designed to switch the characters "2", "a", "b", and "c" in a clockwise direction, that is, sequentially from "2", "a" , "b", "c" select one to display; and the down volume key 232a can be designed to switch the characters "2", "a", "b", "c" counterclockwise, ie Select one of "c", "b", "a", and "2" to display it. However, the present invention is not limited thereto, and the switching order of characters should be designed according to different needs. • Referring to Figures 4A and 4B, respectively, a front view and a side view of another example of the handheld electronic device of Figure 2 are shown. In this example, the volume control 230 includes a turntable 232c. The turntable 232c can also be used to generate the switching signal SGL and switch the characters "2", "a", "b", "c" corresponding to the virtual button KP according to the rotation direction of the turntable 232c. The switching directions of the characters "2", "a", "b", and "c" are different. The above is implemented by the volume controller 232 of the handheld electronic device 200 to implement the switching unit 230 that can provide the switching signal SGL. However, the present invention is not limited thereto. • The switching unit 230 can also be a physical button or virtual button that is present on the handheld electronic device 200 known to those skilled in the art, or can be a separate button or interface. Compared with the conventional multi-tap method, if the handheld electronic device only provides the software keyboard as shown in FIG. 3A, and the user wants to input the character "a", the user needs to use the virtual button. Κρ touch twice to complete the input. However, this kind of practice may make the user feel the feedback of the button due to the touch of the virtual button, and there is a problem of inconvenience in operation. In this embodiment, if the user wants to input the character "a", the character of the virtual button KP can be switched to the character "a" of the 3A picture by switching the single 201224879 element 230, and then the virtual button is touched. KP to generate this character. In this way, the user can conveniently switch the required characters by the switching unit 230 to improve the usability. Moreover, in the embodiment of the volume controller 232 described above, the volume controller 232 disposed on the side of the handheld electronic device 200 allows the user to switch characters with one hand and enter with the other hand. Touch the input. In this way, the efficiency and convenience of the user input characters can be greatly improved. Further, as shown in Fig. 3A, the software keyboard SIp further has an input method switching button TKP. The input method switching button TKP is used to switch the software keyboard SIP from the current input method to another input method when touched, thereby changing the character corresponding to the virtual button. For example, the input method switching button TKP can be used to switch the software keyboard SIP from the English input method to the Chinese input method. Thus, for the virtual key SIP2, the corresponding character is, for example, a character of the phonetic symbol. Referring to FIG. 5, a detailed flowchart of a method for controlling a handheld electronic device according to an embodiment of the present invention is shown. Before entering the control method, a preset data table can be created, which records a plurality of characters corresponding to each virtual button, and one of the characters is preset as an output character 'for The corresponding virtual button is output when it is touched. In step S510, when the software keyboard is activated, a temporary data table is created by the handheld electronic device. The temporary data sheet is obtained by accessing the preset data sheet. In step S520, the handheld electronic device can write the preset data table into the temporary data table in the memory and display the software keyboard according to the associated information of each virtual key and the corresponding character in the temporary data table. Next, in step S530, the handheld electronic device determines whether the input signal is a touch signal of the virtual button or switches the switching signal of the 201224879, 1 w /jjzyrn. _ unit. If the input signal is the touch signal on the virtual button, the process proceeds to step S540, and the preset output character on the touched virtual button is output according to the temporary data table. If the input signal is the switching signal of the switching unit, the process proceeds to step S550 to change the output character preset in the temporary storage data table. Thereafter, the process proceeds to step S560, and the software keyboard is displayed according to the changed temporary storage data table. In the handheld electronic device and the control method thereof according to the embodiment of the present invention, the format of the character is switched and displayed on the virtual button φ, so that the character that is generated when one of the characters is touched is clearly displayed. come out. Thus, the degree of recognition of the character pattern can be improved, thereby improving the convenience of the character input of the handheld electronic device. In the above, the present invention has been disclosed in the above preferred embodiments, but it is not intended to limit the present invention. Those skilled in the art can make various changes and modifications without departing from the spirit and scope of the invention. Therefore, the scope of the invention is defined by the scope of the appended claims. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a flow chart showing a control method of a handheld electronic device according to an embodiment of the present invention. . 2 is a block diagram showing an example of a handheld electronic device in accordance with an embodiment of the present invention. 3A and 3B are respectively a front view and a side view showing an example of the handheld electronic device of Fig. 2. The 3C and 3D diagrams respectively show an example of a software keyboard provided by the handheld electronic device of FIG. 3A after receiving the switching signal. I > 201224879 Figures 4A and 4B are respectively a front view and a side view of another example of the handheld electronic device of Figure 2. FIG. 5 is a detailed flow chart showing a control method of a handheld electronic device according to an embodiment of the invention. [Main component symbol description] 200: Handheld electronic device 210: Touch screen 220: Control unit 230: Switching unit 232: Volume controller 232a: Up volume key 232b: Down volume key 232c: Turntable DR1, DR2: Display area KP. Virtual button SIP: software keyboard SGL: switching signals S110~S130, S510~S560: flow step TKP: input method switching button 12