201209635 六、發明說明: 【發明所屬之技術領域】 [0001] 本發明涉及一種電子裝置及控制其用戶介面的方法。 【先前技_術·】 [0002] 在電子裝置傳統的用戶介面系統中,為了執行一個程式 或服務,需要一層一層的點擊功能表中的子目錄,即需 要很多次的點擊動作,這樣比較浪費時間,也不能直接 瀏覽功能表中的子目錄,很容易造成由於不清楚需要執 行的程式在哪個功能表的哪個子目錄而進行更多此類的 點擊動作。且由於這樣造成的多次點擊動作對電子裝置 的觸摸屏也有一定的傷害,操作起來也不方便。 【發明内容】 [0003] 鑒於以上内容,有必要提供一種電子裝置及控制其用戶 介面的方法,利用方向感測器監測電子裝置的角度變化 值及轉動方向,來相應的控制包括三維功能表或三維子 功能表的用戶介面進行移動。 [0004] 一種電子裝置,該電子裝置包括顯示螢幕、用戶介面以 及方向感測器,所述的電子裝置還包括:顯示模組,用 於在顯示螢幕上顯示用戶介面;設置模組,用於預設電 子裝置各角度變化值所對應的用戶介面的移動速度,及 根據電子裝置的轉動方向設定用戶介面的移動方向,該 角度變化值及轉動方向是以一個預設基準位置進行監測 及設置的;獲取模組,用於即時從方向感測器獲取電子 裝置在所述預設基準位置的角度變化值及轉動方向;確 認模組,用於確定用戶介面在所獲取的角度變化值及電 099128395 表單編號A0101 第4頁/共25頁 0992049875-0 201209635 子装置的轉動方向所對應的移動速度以及移動方向;控 制模組’用於根據所確定的用戶介面的移動速度以及移 動方向’控制用戶介面以所確定的移動速度向所確定的 移動方向移動。 [0005] Ο 一種控制電子裝置的用戶介面的方法,應用在電子裝置 中’該電子裝置包括顯示螢幕、用戶介面以及方向感測 器,該方法包括步驟:在顯示螢幕上顯示用戶介面;預 設電子裝置各角度變化值所對應的用戶介面的移動速度 ’及根據電子裝置的轉動方向設定用戶介面的移動方向 ,該角度變化值及轉動方向是以一値預通墓準位置進行 監測及設置的;即時從方向感測器獲取,電^•裝置在所述 預設基準位置的角度變化值及轉動方向確走用戶介面 在所獲取的角度變化值及電子裝置的轉動方向所對應的 用戶介面的移動速度以及移動方向;控制用戶介面以所 破定的移動速度向所確定的移動方向移動f [0006] Ο 相較於習知技術,本發明提供的電子裝置及控制其用戶 介面的方法,透過三維的顯示方式來顯示用戶介面上的 功能表以及子功能表等,讓用戶更加方便地瀏覽各功能 表或子功能表,另外透過方向感測器監測該電子裝置的 角度變化值及轉動方向來控制該用戶介面的進行相應的 移動,使用戶不用多次點擊,方便用戶操作。 【實施方式】 [0007] 如圖1所示,是本發明電子裝置的較佳實施例的系統架構 圖。所述的電子裝置1包括顯示螢幕10、方向感測器20以 及用戶介面3 0。 099128395 表單編號A0101 第5頁/共25頁 0992049875-0 201209635 [0008] [0009] [0010] 所述的顯示螢幕10用於顯示所述的用戶介面30。 所述的方向感測器2 0用於監測電子裝置1的轉動方向及角 度變化值。所述的方向感測器20可以是加速計、Gyro- cope ( 螺儀)等監測電子裝置1的轉動方向及角度變 化值的任意適用的裝置。該方向感測H2G監測的電子裝 置1的轉動方向及角度變化值是以電子裝置1垂直放置時 的角度為基準來監測的。 所述的用戶介面3〇中包括具有多個並列顯示的三維功能 表(或者列表),且各三維功能表中的子功能表也以三 維層疊的方式顯示在該用戶介面3〇上。所述的用戶介面 30疋二維用戶介面,支援三維顯示。在本較佳實施例中 ,僅以功能表進行舉例說明。此外,當各個子功能表還 包括夕個内容(ltem)時,所述的用戶介面3〇還包括多 個並列顯示的三維子功能表,且各子功能表的内容也是 二維層疊的顯示方式。方谭用戶可以更加方便的預覽功 ::: .十.. ..: ., 月b表、預覽功能表中的子功能表以及子功能表中的内容 等。其如圖2 (吞)所示,該用戶介面30中有3個功能表: 多媒體、音樂以及通話記錄。其中音樂功能表的子功能 表播放列表1以及播放列表2、多媒體功能表的子功能表 視頻與圖片,以及通話記錄功能表的子功能表通話時間 與最近通話都以三維層疊的方式顯示。如果當音樂功能 表被啟動時,其子功能表播放列表1以及播放列表2也並 列顯示’且該播放列表1與播放列表2争的内容也以三維 層叠的方式顯示。當該用戶介面30在顯示螢幕1〇上顯示 時,其主要顯示一個三維功能表,相鄰的並列三維功能 099128395 表單編號A0101 第6頁/共25頁 0992049875-0 201209635 表β分顯不’如圖2 (b)所示。應說明的是’實際應用 中並不局限於圖2所示的三維層疊的顯示方式。 [0011] ο [0012] ❹ 如圖3所示,是電子裝置較佳實施例的空間坐標系的示意 圖電子裝置1所在的空間坐標系設定如下:電子裝置1 處於三維空間坐標系0XYZ+,其中xoz平面即為電子裝置 1的顯示螢幕1〇所在的平面,顯示螢幕ίο面向用戶。以電 子裝置1的顯示螢幕10的右下角作為坐標原點〇;以電子 裝置1的顯示螢幕Μ所在平面的水平方向為X轴,水平向 右為0Χ正方向,水平向左為ox負方向。以電子裝置1顯示 螢幕10所在平面的垂直方向為ζ軸,以垂直向上為ΟΖ正方 向,垂直向下為〇Ζ負方向與電子裝置$癍示螢幕所在 平面垂直的方向為γ軸,以靠/近用戶的方向為〇γ正方向, 以遠離用戶的方向為0Υ負方向。在本較佳實施例中,所 述的電子裝置1的預設基準位置如圖3所示。 在電子裝置1以原點0為支點在YQZ平面轉動時,所述的方 向感測器2 0所監測的角度變化值包括監測電子裝置丨與〇 γ 負方向的角度變化值(夾角以及在電子裝置以原點〇 為支點在Χ0Ζ平面轉動時,電子裝置1與02正方向的角度 變化值。所述的電子裝置丨與(^負方向的角度變化值,是 電子裝置1的顯示螢幕10的平面與ΟΥ負方向的夾角;所述 的電子裝置1與ΟΖ正方向的角度變化值,是電子裝置1的 右侧面所在的平面與ΟΖ正方向的夾角。例如,當電子裝 置1在預設基準位置時,如圖3所示,所述的方向感測器 20所監測到電子裝置丨與阶負方向的夾角為9〇度,與〇ζ 正方向的夾角為0度。 099128395 表單編號Α0101 第7頁/共25頁 0992049875-0 201209635 [0013] 所述的電子裝置1還包括控制單元40。如圖4所示,是本 發明的控制單元較佳實施例的功能模組圖。所述的控制 單元40包括顯示模組402、設置模組404、獲取模組406 、確認模組408以及控制模組410。 [00H]所述的顯示模組402用於在顯示螢幕10上顯示包括多個並 列顯示的三維功能表的用戶介面30,在該用戶介面3〇中 各三維功能表中的子功能表以三維層疊的方式顯示,且 在該顯示螢幕10上主要顯示一個三維功能表,相鄰的並 列二維功能表部分顯示。應說明的是,所述的顯示模組 402還用於當某個包括多個三維手功能表的三維功能表被 啟動(選取)時,在顯示螢幕10上並列顯示該三維功能 表的多個三維子功能表,且各三維子功能表中的内容以 三維層疊的方式顯示。 [0015] 所述的設置模組404用於預設該電子裝置的各角度變化值 所對應的用戶介面的移動速度。所述的移動速度可採用 像素值來表示’如每秒用戶介面3〇移動1〇pixei (像素 )。若角度變化值甩ω表示,單位為度,則可以根據用 戶的喜好設定在角度變化值為〇〜1〇度範圍内,用戶介面 的移動速度為零;在角度變化值為1〇〜45度範圍内,用戶 介面的移動速度為每秒移動l〇pixel ;在角度變化值為 45〜90度範圍内,用戶介面的移動速度為每秒移動 2〇pixel 。 [0016] 所述的設置模組404還用於根據電子裝置在預設基準位置 的轉動方向設定用戶介面的移動方向。當電子裝置1在 Y〇Z平面從基準位置面向用戶逆時針轉動時,設置模組 099128395 第8頁/共25頁 表單編號Α0101 201209635 404設定用戶介面30的移動方向為向下;當電子裝置1在 YOZ平面從基準位置遠離用戶順時針轉動時,設置模組 404設定用戶介面30的移動方向為向上;當所述的電子裝 置1在XOZ平面從基準位置向右轉動時,所述設置模組404 設定用戶介面30的移動方向為向右;當所述的電子裝置1 在XOZ平面從基準位置向左轉動時,所述設置模組404設 定用戶介面30的移動方向為向左。 [0017] 所述的獲取模組406用於即時從方向感測器20獲取電子裝 置1的角度變化值及該電子裝置1的轉動方向。所述方向 感測器20所監測到的電子裝置1的角度變化值及轉動方向 是以預設基準植置進行監測的。 [0018] 所述的確認模組408用於根據所設定的各角度變化值所對 應的用戶介面30的移動速度及根據電子裝置1在基準位置 的轉動方向,確定用戶介面30在所獲取钓角度變化值及 電子裝置的轉動方向所對4竣移_速度以及移動方向。 t # | .¾ \ : - ':: f' !. :S 所述用戶介面的移動方向包括向左移動、向右移動、向 上移動以及向下移動。 [0019] 如圖5所示,是本發明電子裝置角度變化值的顯示示意圖 ❹ ❹ 。如圖5 (a)所示’是電子裝置1在YOZ平面以原點0為支 點前後轉動時相對基準位置的Y軸的角度變化值示意圖。 電子裝置1垂直放置’其顯示螢幕10面向用戶。所述的電 子裝置1從基準位置以逆時針方向往Y軸的正方向轉動時 ,即面向用戶逆時針轉動時,所述的確認模組408確定電 子裝置1與基準位置的Y軸的角度變化值0 2的值在10度到 90度的範圍内,所述的控制模組410均控制用戶介面向下 表單編號A0101 099128395 0992049875-0 第9頁/共25頁 201209635 移動,使用戶可以查看三維功能表的上一個三維子功能 表,或三維子功能表的上一個内容。當所述的電子裝置1 從基準位置以順時針方向往γ軸的負方向轉動時,即遠離 用戶順時針轉動時,所述的確認模組408確定電子裝置1 與Y軸的角度變化值Θ1的值在10度到90度的範圍内,所 述的控制模組410均控制用戶介面30向上移動,使用戶可 以查看三維功能表中的下一個三維子功能表,或三維子 功能表中的下一個内容。如圖5 (b)所示,是電子裝置1 在XOZ平面以原點0為支點左右轉動時相對基準位置的Z軸 的角度變化值的示意圖。其中電子裝置1垂直放置,其顯 示螢幕10面向用戶。所述的電子裝置1從基準位置以順時 針方向往X轴正方向轉動時,即電子裝置1向右轉動時, 所述的確認模組408確定電子裝置1與基準位置的Z軸的角 度變化值04的值在10度到90度的範圍内,所述的控制模 組410均控制用戶介面30向右移動,使用戶可以查看當前 三維功能表或三維子功能表相鄰的左邊的三維功能表或 三維子功能表。所述的電子裝置1從基準位置以逆時針方 向往X軸負方向轉動時,即電子裝置1向左轉動時,所述 的確認模組408確定電子裝置1與基準位置的Z軸的角度變 化值0 3的值在10度到90度的範圍内,所述的控制模組 410均控制用戶介面30向左轉動,使用戶可以查看當前三 維功能表或三維子功能表相鄰的右邊的三維功能表或三 維子功能表。 [0020] 應說明的是,當確定與預設基準位置的Y軸與Z軸都有角 度變化值時,以較大的角度變化值來確定移動速度以及 099128395 表單編號A0101 第10頁/共25頁 0992049875-0 201209635 移動方向。例如’當電子裝置1與預設基準位置的γ輛的 夾角為⑽度,而與預設基準位置的Ζ轴的夾角為5度時, 則不考慮與預設基準位置的Z軸的夾角,而是以與預設基 準位置的Y軸的夾㈣度來確定移動速度以及移動方向。 [0021] [0022] Ο [0023] ❹ 所述的控制模組4_用於根據所確定的移動速度以及移 動方向’㈣用戶介面·所較的移動速度向所確定 的移動方向移動。 當有多個任務(或服務)被執行時,所述的顯示模組4〇2 還用於將多個被執行的任務所在的三維子功能表或三維 丨.. ,:::: ..... 功能表並列顯示在顯示螢幕1〇上。 此外,本發明還提供多種功能。所述的用戶介面3〇上還 包括各功能表、子功能表或内容分別展開排列的顯示方 式(相當於二維顯示)^所述的設置模組4〇4還用於設置 轉換顯示模式的指令。所述的顯示模組4 〇 2當接收到所設 置的轉換顯示模式的指令時,將包括三維功能表的用戶 介面與對應的包括二維功能表的用戶介面進行轉換並顯 示在顯示螢幕1〇上。例如,若當前在顯示螢幕1〇上主要 顯不的是某個三維功能表,當接收到轉換顯示模式的指 ·?寺所述的顯示模組402在顯示螢幕1〇上顯示該三維功 能表對應的展開排列的子功能表。若此時又接收到轉換 顯不模式的指令時,所述的顯示模組4〇2在顯示螢幕1〇上 顯示當前的三維功能表。 同時’為了使本發明更加完善,所述的設置模組404可以 設置預設手勢,例如向右滑動、向左滑動、向上滑動以 099128395 表單編號A0101 第11頁/共25頁 0992049875-0 [0024] 201209635 及向下π動的姿勢,所述的獲取模組406配合顯示螢幕1〇 即%接收用戶的操作手勢。所述的控繼組4iQ根據所獲 取的操作手勢與職手勢,控制用戶介Φ30向相同方向 移動。 [0025] [0026] 女圖6所示,疋本發明控制用戶介面方法的較佳實施例的 流程圖。步驟S10,所述的顯示模組402在顯示螢幕1〇上 顯示包括多個並列顯示的三維功能表的用戶介面30,該 用戶介面3G中各三維功能表中的子功能表 以三維層疊的 方式顯示,且在該顯示螢幕上主要顯示一個功能表, 相鄰的並列功能表部分顯示。應說明的是,所述的顯示 模、、且402還用於當某個包括多個子功能表的功能表被啟動 (選取)時,在顯示螢幕1〇上並列顯示的三維子功能表 ’且各三維子功能表中的内容以三維層疊的方式顯示。 需要說明的是,當有多個任務(或服務)被執行時,所 述的顯示模組402將多個被執行的任務所在的三維子功能 表或三維功能表並列顯示在顧示螢幕1 〇上:。 …...:..... -·201209635 VI. Description of the Invention: [Technical Field of the Invention] [0001] The present invention relates to an electronic device and a method of controlling a user interface thereof. [Previous technology_术·] [0002] In the traditional user interface system of an electronic device, in order to execute a program or service, a sub-directory in the function table is required to be layer by layer, that is, many times of click actions are required, which is wasteful. Time, you can't directly browse the subdirectories in the function table, it is easy to make more such click actions because you don't know which subdirectory of the function table the program you need to execute. Moreover, the multiple click action caused by this has a certain damage to the touch screen of the electronic device, and the operation is not convenient. SUMMARY OF THE INVENTION [0003] In view of the above, it is necessary to provide an electronic device and a method for controlling the user interface thereof, and the direction sensor is used to monitor the angle change value and the rotation direction of the electronic device, and the corresponding control includes a three-dimensional function table or The user interface of the 3D submenu is moved. [0004] An electronic device includes a display screen, a user interface, and a direction sensor, the electronic device further includes: a display module for displaying a user interface on the display screen; and a setting module for Presetting the moving speed of the user interface corresponding to each angle change value of the electronic device, and setting the moving direction of the user interface according to the rotating direction of the electronic device, wherein the angle change value and the rotating direction are monitored and set by a preset reference position. Obtaining a module for acquiring an angle change value and a rotation direction of the electronic device at the preset reference position from the direction sensor; the confirmation module is configured to determine a value change of the user interface at the obtained angle and the electric 099128395 Form No. A0101 Page 4 / Total 25 Page 0992049875-0 201209635 The moving speed and moving direction corresponding to the direction of rotation of the sub-device; the control module 'is used to control the user interface according to the determined moving speed and moving direction of the user interface' Moving in the determined moving direction at the determined moving speed. [0005] A method of controlling a user interface of an electronic device, the electronic device comprising a display screen, a user interface, and a direction sensor, the method comprising the steps of: displaying a user interface on the display screen; The movement speed of the user interface corresponding to each angle change value of the electronic device and the movement direction of the user interface according to the rotation direction of the electronic device, the angle change value and the rotation direction are monitored and set by a pre-passing tomb position. Immediately obtained from the direction sensor, the angle change value and the rotation direction of the device at the preset reference position are determined by the user interface corresponding to the user interface in the obtained angle change value and the rotation direction of the electronic device. Moving speed and moving direction; controlling the user interface to move toward the determined moving direction at the determined moving speed. [0006] Compared with the prior art, the present invention provides an electronic device and a method for controlling the user interface thereof. 3D display mode to display the function table and sub-function table on the user interface, etc. Easily browse each menu or submenu, further monitoring of the electronic device changes the angle value and direction of rotation direction of the transmission sensor controlling the movement of the user interface corresponding to the user without multiple clicks, user-friendly operation. [Embodiment] FIG. 1 is a system architecture diagram of a preferred embodiment of an electronic device of the present invention. The electronic device 1 includes a display screen 10, a direction sensor 20, and a user interface 30. 099128395 Form No. A0101 Page 5 of 25 0992049875-0 201209635 [0009] [0010] The display screen 10 is used to display the user interface 30. The direction sensor 20 is used to monitor the rotation direction and the angle change value of the electronic device 1. The direction sensor 20 may be any suitable device for monitoring the rotation direction and the angle change value of the electronic device 1 such as an accelerometer or a Gyro-cope. The direction of rotation and the angle change value of the electronic device 1 for sensing the H2G in the direction are monitored based on the angle at which the electronic device 1 is vertically placed. The user interface 3 includes a three-dimensional function table (or list) having a plurality of parallel displays, and the sub-function tables in each three-dimensional function table are also displayed on the user interface 3 in a three-dimensional stacked manner. The user interface 30 疋 two-dimensional user interface supports three-dimensional display. In the preferred embodiment, only the function table is used for illustration. In addition, when each sub-function table further includes a lemma, the user interface 3 〇 further includes a plurality of three-dimensional sub-function tables displayed in parallel, and the content of each sub-function table is also a two-dimensional stacked display manner. . Fang Tan users can more easily preview the work ::: .10.. ..: ., the month b table, the sub-function table in the preview function table, and the contents of the sub-function table. As shown in Figure 2 (swallow), there are three function tables in the user interface 30: multimedia, music, and call history. Among them, the sub-function list of the music function table, the playlist 1 and the playlist 2, the sub-function table of the multimedia function table, the video and the picture, and the sub-menu of the call log function table, the talk time and the most recent call are displayed in a three-dimensional stack. If the music menu is activated, its sub-menu playlist 1 and playlist 2 are also displayed in parallel' and the content of the playlist 1 and the playlist 2 is also displayed in a three-dimensional stacked manner. When the user interface 30 is displayed on the display screen 1, it mainly displays a three-dimensional function table, and adjacent parallel three-dimensional functions 099128395 Form No. A0101 Page 6 / Total 25 Page 0992049875-0 201209635 Table β is not displayed Figure 2 (b). It should be noted that the actual application is not limited to the three-dimensional stacked display mode shown in Fig. 2. [0012] FIG. 3 is a schematic diagram showing the spatial coordinate system of the preferred embodiment of the electronic device. The spatial coordinate system of the electronic device 1 is set as follows: the electronic device 1 is in the three-dimensional space coordinate system 0XYZ+, where xoz The plane is the plane on which the display screen 1 of the electronic device 1 is located, and the display screen ίο is facing the user. The lower right corner of the display screen 10 of the electronic device 1 is used as the coordinate origin 〇; the horizontal direction of the plane on which the screen Μ of the electronic device 1 is displayed is the X axis, the horizontal right is 0 Χ positive direction, and the horizontal left is ox negative direction. The vertical direction of the plane where the screen 10 is displayed by the electronic device 1 is the ζ axis, and the vertical direction is the ΟΖ direction, and the vertical direction is the 〇Ζ axis, and the direction perpendicular to the plane of the electronic device 癍 is the γ axis. / The direction of the near user is 正 γ positive direction, and the direction away from the user is 0 Υ negative direction. In the preferred embodiment, the preset reference position of the electronic device 1 is as shown in FIG. When the electronic device 1 rotates in the YQZ plane with the origin 0 as a fulcrum, the angle change value monitored by the direction sensor 20 includes an angle change value (an angle and an electron in the negative direction of the monitoring electronic device 丨 and 〇γ). The angle change value of the positive direction of the electronic device 1 and 02 when the device rotates on the Χ0Ζ plane with the origin point 〇 as the fulcrum. The angle change value of the electronic device 丨 and (the negative direction is the display screen 10 of the electronic device 1 The angle between the plane and the negative direction; the angle change value of the electronic device 1 and the positive direction is the angle between the plane where the right side of the electronic device 1 is located and the direction of the positive direction. For example, when the electronic device 1 is preset In the reference position, as shown in FIG. 3, the direction sensor 20 detects that the angle between the electronic device and the step direction is 9 degrees, and the angle with the positive direction is 0 degrees. 099128395 Form number Α 0101 The electronic device 1 further includes a control unit 40. As shown in Fig. 4, it is a functional module diagram of a preferred embodiment of the control unit of the present invention. Control unit 40 includes The display module 402, the setting module 404, the obtaining module 406, the confirming module 408, and the control module 410. [00H] The display module 402 is configured to display three-dimensionally displayed three-dimensional display on the display screen 10. The user interface 30 of the function table is displayed in a three-dimensional stacked manner in the three-dimensional function table of the user interface, and a three-dimensional function table is mainly displayed on the display screen 10, and the adjacent parallel two-dimensional function table The function table is displayed. It should be noted that the display module 402 is further configured to display the three-dimensional display on the display screen 10 when a three-dimensional function table including a plurality of three-dimensional hand function tables is activated (selected). A plurality of three-dimensional sub-function tables of the function table, and the contents of each of the three-dimensional sub-function tables are displayed in a three-dimensional stacked manner. [0015] The setting module 404 is configured to preset the angle change values of the electronic device. The moving speed of the user interface. The moving speed can be represented by a pixel value. For example, the user interface 3 每秒 moves 1 〇 pixei (pixels) per second. If the angle change value 甩 ω is expressed in degrees, then The user's preference is set within the range of the angle change value 〇~1〇, the moving speed of the user interface is zero; in the range of the angle change value is 1〇~45 degrees, the moving speed of the user interface is l〇pixel per second. The moving speed of the user interface is 2 pixels per second in the range of the angle change value of 45 to 90 degrees. [0016] The setting module 404 is further configured to rotate according to the electronic device at a preset reference position. Setting the moving direction of the user interface. When the electronic device 1 rotates counterclockwise from the reference position to the user in the Y〇Z plane, the setting module 099128395 page 8/25 page form number Α0101 201209635 404 sets the moving direction of the user interface 30 to Downward; when the electronic device 1 rotates clockwise away from the user from the reference position on the YOZ plane, the setting module 404 sets the moving direction of the user interface 30 to be upward; when the electronic device 1 rotates from the reference position to the right in the XOZ plane The setting module 404 sets the moving direction of the user interface 30 to the right; when the electronic device 1 rotates from the reference position to the left in the XOZ plane, the setting mode Group 404 sets the direction of movement of user interface 30 to the left. [0017] The acquisition module 406 is configured to acquire the angle change value of the electronic device 1 and the rotation direction of the electronic device 1 from the direction sensor 20 in real time. The angle change value and the rotation direction of the electronic device 1 monitored by the direction sensor 20 are monitored by a preset reference implant. [0018] The confirmation module 408 is configured to determine the user interface 30 at the obtained fishing angle according to the moving speed of the user interface 30 corresponding to the set angle change value and the rotation direction of the electronic device 1 at the reference position. The value of the change and the direction of rotation of the electronic device are shifted by _ speed and moving direction. t # | .3⁄4 \ : - ':: f' !. :S The user interface's moving direction includes moving to the left, moving to the right, moving up and moving down. [0019] As shown in FIG. 5, it is a schematic diagram of the display of the angle change value of the electronic device of the present invention. As shown in Fig. 5(a), 'is a diagram showing an angle change value of the Y-axis with respect to the reference position when the electronic device 1 is rotated back and forth with the origin 0 as a fulcrum in the YOZ plane. The electronic device 1 is placed vertically. Its display screen 10 faces the user. When the electronic device 1 rotates from the reference position in the counterclockwise direction to the positive direction of the Y-axis, that is, when the user rotates counterclockwise, the confirmation module 408 determines the angle change of the electronic device 1 and the Y-axis of the reference position. The value of the value 0 2 is in the range of 10 degrees to 90 degrees, and the control module 410 controls the user to face the next form number A0101 099128395 0992049875-0 page 9 / total 25 pages 201209635 movement, so that the user can view the three-dimensional The previous 3D submenu of the menu, or the previous content of the 3D submenu. When the electronic device 1 rotates from the reference position in the clockwise direction to the negative direction of the γ-axis, that is, rotates clockwise away from the user, the confirmation module 408 determines the angle change value of the electronic device 1 and the Y-axis Θ1 The value of the control module 410 controls the user interface 30 to move upwards, so that the user can view the next three-dimensional sub-function table in the three-dimensional function table, or the three-dimensional sub-function table. Next content. As shown in Fig. 5 (b), it is a schematic diagram of the angle change value of the Z-axis with respect to the reference position when the electronic device 1 is rotated left and right with the origin 0 as a fulcrum in the XOZ plane. Wherein the electronic device 1 is placed vertically, the display screen 10 is facing the user. When the electronic device 1 rotates from the reference position in the clockwise direction to the positive X-axis direction, that is, when the electronic device 1 rotates to the right, the confirmation module 408 determines the angle change of the electronic device 1 and the Z-axis of the reference position. The value of the value 04 is in the range of 10 degrees to 90 degrees, and the control module 410 controls the user interface 30 to move to the right, so that the user can view the three-dimensional function of the left side adjacent to the current three-dimensional function table or the three-dimensional sub-function table. Table or 3D sub-function table. When the electronic device 1 rotates from the reference position in the counterclockwise direction to the X-axis negative direction, that is, when the electronic device 1 rotates to the left, the confirmation module 408 determines the angle change of the electronic device 1 and the Z-axis of the reference position. The value of the value 0 3 is in the range of 10 degrees to 90 degrees, and the control module 410 controls the user interface 30 to rotate to the left, so that the user can view the current three-dimensional function table or the three-dimensional sub-function table adjacent to the right three-dimensional Menu or 3D submenu. [0020] It should be noted that when it is determined that the Y-axis and the Z-axis have a change value with respect to the preset reference position, the moving speed is determined by a larger angle change value and 099128395 Form No. A0101 Page 10 of 25 Page 0992049875-0 201209635 Direction of movement. For example, when the angle between the electronic device 1 and the γ vehicle of the preset reference position is (10) degrees, and the angle between the electronic device 1 and the 基准 axis of the preset reference position is 5 degrees, the angle with the Z axis of the preset reference position is not considered. Instead, the moving speed and the moving direction are determined by the clip (four) degrees of the Y-axis of the preset reference position. [0022] The control module 4_ is configured to move in the determined moving direction according to the determined moving speed and the moving direction '(4) the moving speed of the user interface. When multiple tasks (or services) are executed, the display module 4〇2 is also used to place a plurality of executed tasks in a three-dimensional sub-function table or three-dimensional 丨.., ::::: ... The function table is displayed side by side on the display screen 1〇. In addition, the present invention also provides a variety of functions. The user interface 3〇 further includes a display manner (corresponding to two-dimensional display) in which each function table, sub-function table or content is separately arranged. The setting module 4〇4 is also used to set a conversion display mode. instruction. The display module 4 〇2 converts the user interface including the three-dimensional function table and the corresponding user interface including the two-dimensional function table and displays it on the display screen when receiving the set instruction of converting the display mode. on. For example, if a three-dimensional function table is mainly displayed on the display screen 1 , the display module 402 described in the finger receiving the conversion display mode displays the three-dimensional function table on the display screen 1 . Corresponding expanded submenu. If an instruction to convert the display mode is received at this time, the display module 4〇2 displays the current three-dimensional function table on the display screen. At the same time, in order to make the invention more perfect, the setting module 404 can set a preset gesture, such as sliding to the right, sliding to the left, sliding up to 099128395, form number A0101, page 11 / total 25 pages 0992049875-0 [0024 In the 201209635 and downward π motion posture, the acquisition module 406 cooperates with the display screen 1 to receive the user's operation gesture. The control group 4iQ controls the user to move in the same direction according to the obtained operation gesture and the job gesture. [0026] Figure 6 is a flow chart of a preferred embodiment of the method of controlling a user interface of the present invention. In step S10, the display module 402 displays a user interface 30 including a plurality of three-dimensional function tables displayed in parallel on the display screen, and the sub-function tables in each three-dimensional function table in the user interface 3G are stacked in three dimensions. Displayed, and a function table is mainly displayed on the display screen, and the adjacent parallel function table is partially displayed. It should be noted that the display mode, and 402 is also used to display the three-dimensional sub-function table side by side on the display screen 1 when a function table including a plurality of sub-function tables is activated (selected). The contents of each three-dimensional sub-function table are displayed in a three-dimensional stacked manner. It should be noted that when a plurality of tasks (or services) are executed, the display module 402 displays the three-dimensional sub-function table or the three-dimensional function table of the plurality of executed tasks in parallel on the screen 1 . on:. ......:..... -·
步驟S11,設置模組404預設鵞责裝;置1的各角度變化值所 對應的用戶介面30的移動速度以及根據電子裝置1在基準 位置的轉動方向設定用戶介面30對應的移動方向。所述 的移動速度γ採用像素值來表示,如每秒用戶介面30中 移動lOpixel (像素)。電子裝置1在YOZ平面從基準位 置面向用戶逆時針轉動時,所述的設置模組404設定用戶 介面3〇的移動方向為向下;電子裝置1在yoz平面從基準 位置遠離用戶順時針轉動時,所述的設置模組404設定用 戶介面30的移動方向為向上;當所述的電子裝置1在X〇Z 099128395 表單編號A0101 第12頁/共25頁 0992049875-0 201209635 平面從基準位置向右轉動時,設置模組404設定用戶介面 30的移動方向為向右;當所述的電子裝置1在χ〇Ζ平面從 基準位置向左轉動時,所述的設置模組404設定用戶介面 30的移動方向為向左。 [0〇27]步驟S12,所述的獲取模組406即時從方向感測器20獲取 電子裝置1的轉動方向及角度變化值。所述方向感測器2〇 所監測到的電子裝置1的轉動方向及角度變化值是以預設 基準位置進行監測的。 [0028] 步驟S13,根據所設定的各角度變化值所對應的用戶介面 30的移動速度以及電子裝置1在基準位置的轉移動方向’ 確定用戶介面30在所獲取的角度變化值下對應的用戶介 面30的移動速度以及移動方向。 [0029] 步驟S14,所述的控制模組41〇根據所確定的用戶介面的 移動速度以及移動方向,控制用戶介面3〇以所碟定的移 動速度向所確定的移動方向移動。 [0〇3〇] 综上所述,本發明符合發明專利要件,爰依法提出專利 申請。惟,以上所述者僅爲本發明之較佳實施例,本發 明之範圍並不以上述實施例爲限,舉凡熟悉本案技藝之 人士援依本發明之精神所作之等效修飾或變化,皆應涵 蓋於以下申請專利範圍内。 [0031] [0032] 099128395 【圖式簡單說明】 圖1是本發明電子裝置的較佳實施例的系統架構圖。 圖2是本發明多個三維功能表並列顯示以及顯示裝置顯示 該三維功能表的顯示示意圖。 鴆號 A0101 第13頁/共25頁 0992049875-0 201209635 [0033] 圖3是本發明電子裝置的較佳實施例的空間坐標系的示意 圖。 [0034] 圖4是本發明電子裝置的較佳實施例的功能模組圖。 [0035] 圖5是本發明電子裝置1與預設基準位置的Y軸以及Z軸的 角度變化值示意圖。 [0036] 圖6是本發明控制電子裝置的用戶介面的方法較佳實施例 的流程圖。 【主要元件符號說明】 [0037] 電子裝置 1 [0038] 顯示螢幕 10 [0039] 方向感測 器20 [0040] 用戶介面 30 [0041] 控制單元 40 [0042] 顯示模組 402 [0043] 設置模組 404 [0044] 獲取模組 406 [0045] 確認模組 408 [0046] 控制模組 410 [0047] 在顯示螢幕上顯示包括多個並列顯示的三維功能表的用 戶介面,該用戶介面中各三維功能表中的子功能表以三 維層疊的方式顯示S10 099128395 表單編號 A0101 第 14 頁/共 25 頁 0992049875-0 201209635 [0048] [0049] [0050] [0051] Ο 預設電子裝置各角度變化值所對應的用戶介面的移動速 度,及根據電子裝置的轉動方向設定用戶介面的移動方 向S11 即時從方向感測器獲取電子裝置在預設基準位置的角度 變化值及轉動方向S12 確定用戶介面在所獲取的角度變化值及電子裝置的轉動 方向所對應的移動速度以及移動方向S13 控制用戶介面以所確定的移動速度向所確定的移動方向 移動S14 οIn step S11, the setting module 404 presets the shackle; the moving speed of the user interface 30 corresponding to each angle change value of the set 1 and the moving direction corresponding to the user interface 30 according to the turning direction of the electronic device 1 at the reference position. The moving speed γ is represented by a pixel value, such as 10 pixels (pixels) per second in the user interface 30. When the electronic device 1 rotates counterclockwise from the reference position toward the user in the YOZ plane, the setting module 404 sets the moving direction of the user interface 3〇 to be downward; when the electronic device 1 rotates clockwise from the reference position away from the user in the yoz plane The setting module 404 sets the moving direction of the user interface 30 to be upward; when the electronic device 1 is in the X〇Z 099128395 form number A0101 page 12 / 25 pages 0992049875-0 201209635 plane from the reference position to the right When rotating, the setting module 404 sets the moving direction of the user interface 30 to the right; when the electronic device 1 rotates from the reference position to the left in the pupil plane, the setting module 404 sets the user interface 30. The direction of movement is to the left. [027] In step S12, the acquisition module 406 acquires the rotation direction and the angle change value of the electronic device 1 from the direction sensor 20 in real time. The direction of rotation and the angle change value of the electronic device 1 monitored by the direction sensor 2 are monitored by a preset reference position. [0028] Step S13, determining the user corresponding to the user interface 30 under the acquired angle change value according to the moving speed of the user interface 30 corresponding to each set angle change value and the turning direction of the electronic device 1 in the reference position The moving speed of the interface 30 and the direction of movement. [0029] Step S14, the control module 41 controls the user interface 3 to move in the determined moving direction at the moving speed of the disc according to the determined moving speed and moving direction of the user interface. [0〇3〇] In summary, the present invention complies with the requirements of the invention patent and submits a patent application according to law. The above is only the preferred embodiment of the present invention, and the scope of the present invention is not limited to the above-described embodiments, and equivalent modifications or variations made by those skilled in the art in light of the spirit of the present invention are It should be covered by the following patent application. [0032] FIG. 1 is a system architecture diagram of a preferred embodiment of an electronic device of the present invention. Fig. 2 is a schematic diagram showing the display of the three-dimensional function table by the parallel display of a plurality of three-dimensional function tables of the present invention and the display device.鸩 A0101 Page 13 of 25 0992049875-0 201209635 [0033] FIG. 3 is a schematic diagram of a spatial coordinate system of a preferred embodiment of the electronic device of the present invention. 4 is a functional block diagram of a preferred embodiment of an electronic device of the present invention. 5 is a schematic diagram showing angle change values of the Y-axis and the Z-axis of the electronic device 1 of the present invention and a preset reference position. [0035] FIG. 6 is a flow chart of a preferred embodiment of a method of controlling a user interface of an electronic device in accordance with the present invention. [Main Component Symbol Description] [0037] Electronic Device 1 [0038] Display Screen 10 [0039] Direction Sensor 20 [0040] User Interface 30 [0041] Control Unit 40 [0042] Display Module 402 [0043] Setting Mode Group 404 [0044] Acquisition Module 406 [0045] The control module 410 [0046] The user interface of the three-dimensional function table including a plurality of side-by-side displays is displayed on the display screen, and each three-dimensional function in the user interface The sub-function table in the function table is displayed in a three-dimensional stacked manner. S10 099128395 Form No. A0101 Page 14 of 25 0992049875-0 201209635 [0048] [0050] [0051] 预设 Preset electronic device angle change values The movement speed of the corresponding user interface, and the movement direction S11 of the user interface according to the rotation direction of the electronic device, the angle change value and the rotation direction of the electronic device at the preset reference position are obtained from the direction sensor, and the user interface is determined. The obtained angle change value and the moving speed corresponding to the rotation direction of the electronic device and the moving direction S13 control the user interface to determine the moving speed Moving the moving direction S14 ο
099128395 表單編號Α0101 第15頁/共25頁 0992049875-0099128395 Form number Α0101 Page 15 of 25 0992049875-0