TW201248606A - Method and system for rotating the screen display - Google Patents

Method and system for rotating the screen display Download PDF

Info

Publication number
TW201248606A
TW201248606A TW100117890A TW100117890A TW201248606A TW 201248606 A TW201248606 A TW 201248606A TW 100117890 A TW100117890 A TW 100117890A TW 100117890 A TW100117890 A TW 100117890A TW 201248606 A TW201248606 A TW 201248606A
Authority
TW
Taiwan
Prior art keywords
screen
electronic
rotation
electronic device
orientation
Prior art date
Application number
TW100117890A
Other languages
Chinese (zh)
Inventor
Ji-Bao Chen
Jun Huang
Yang Zhong
Si-Mou Xiao
Original Assignee
Hon Hai Prec Ind Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hon Hai Prec Ind Co Ltd filed Critical Hon Hai Prec Ind Co Ltd
Publication of TW201248606A publication Critical patent/TW201248606A/en

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

A method for rotating the screen display comprises: the first detecting step: detecting whether the screen of the electronic device is placed horizontally with an electronic level during the electronic device works; the second detecting step: detecting the rotating direction and angle of the screen with an electronic orientation device during the screen is placed horizontally; and control step: make the screen display rotate 90 degree in the opposite direction when the angle reaches a default switching value.

Description

201248606 六、發明說明: 【發明所屬之技術領域】 [0001] 本發明涉及一種螢幕晝面旋轉方法及系統,特別涉及一 種螢幕水平放置狀態下的畫面旋轉方法及系統。 【先前彳支術】 4 [0002] 目前,市場上的各類可檇式電子裝置,如平板電腦、手 機、數碼相機等大多都帶有重力感應器,重力感應器能 夠感應到載體的重力加速度。透過重力感應器,電子裝 置可以偵測到螢幕旋轉的方向和角度,根據電子裝置的 〇 " 放置狀態使畫面在橫屏顯示與豎屏顯示之間的自動切換 ,方便用戶觀看畫面。 [0003] 但是當電子裝置的螢幕水平放置,即螢幕所在平面與重 力方向垂直的情況下,如將電子裝置放置在桌面上時, 電子裝置將無法透過重力感應器感應到的重力加速度而 债測到螢幕旋轉的方向和角度。因此在這種情況下,無 論用戶怎樣旋轉螢幕,都無法實現畫面在橫屏顯示與豎 Q 屏顯示之間的自動切換,這給用戶帶來不好的體驗。 【發明内容】 [0004] 鑒於以上内容,有必要提供一種螢幕畫面旋轉方法及系 統,可以在螢幕水平放置的情況下,根據螢幕旋轉的方 向和角度旋轉畫面,從而實現畫面在橫屏顯示與豎屏顯 示之間的自動切換。 [0005] 一種螢幕畫面旋轉方法,包括以下步驟:第一偵測步驟 :在電子裝置從啟動到關閉的運行過程中,透過該電子 裝置中的電子水平儀即時偵測該電子裝置的螢幕是否水 100117890 表單編號A0101 第3頁/共17頁 1002030131-0 201248606 平放置;第二偵測步驟:在偵測到螢幕持續為水平放置 的過程中,透過該電子裝置中的電子定向裝置即時偵測 螢幕的旋轉方向和角度;及控制步驟:當偵測到的螢幕 的旋轉角度達到一個預設的切換值時,控制螢幕顯示的 畫面向該旋轉方向相反的方向相對於螢幕旋轉90度。 [0006] —種螢幕晝面旋轉系統,包括:第一偵測模組,用於在 電子裝置從啟動到關閉的運行過程中,透過該電子裝置 中的電子水平儀即時偵測該電子裝置的螢幕是否水平放 置;第二偵測模組,用於在偵測到螢幕持續為水平放置 的過程中,透過該電子裝置中的電子定向裝置即時偵測 螢幕的旋轉方向和角度;及控制模組,用於當偵測到的 螢幕的旋轉角度達到一個預設的切換值時,控制螢幕顯 示的畫面向該旋轉方向相反的方向相對於螢幕旋轉90度 〇 [0007] 相較於習知技術,所述螢幕畫面旋轉方法及系統,可以 在螢幕水平放置的情況下,根據螢幕旋轉的方向和角度 旋轉畫面,從而實現畫面在橫屏顯示與豎屏顯示之間的 自動切換。 【實施方式】 [0008] 參閱圖1所示,係本發明螢幕畫面旋轉系統較佳實施方式 的運行環境圖。在本實施方式中,螢幕畫面旋轉系統10 運行於電子裝置1中,該電子裝置1可以是,但不限於, 平板電腦、PDA、手機、數碼相機等可檇式移動設備。該 電子裝置1中還包括電子水平儀11、電子定向裝置12、螢 幕13和儲存器14。 100117890 表單編號A0101 第4頁/共17頁 1002030131-0 201248606 _9]纟巾’電子水平儀u用於透過即相i電子裝置1所在平 面與水平面的夾角,從而偵測電子裝置丨是否水平放置。 在本實施方式中,電子水平儀u測量的是螢幕13所在平 面與水平面的夾角。當螢幕13所在平面與水平面的夾角 等於或小於一個特定的角度值,如5度時,可以認為螢幕 13水平放置。201248606 VI. Description of the Invention: [Technical Field] [0001] The present invention relates to a method and system for rotating a screen surface, and more particularly to a method and system for rotating a screen in a state where the screen is horizontally placed. [Previous 彳 术 】 4 [0002] At present, most types of portable electronic devices on the market, such as tablet computers, mobile phones, digital cameras, etc., all have gravity sensors, which can sense the gravitational acceleration of the carrier. . Through the gravity sensor, the electronic device can detect the direction and angle of the screen rotation, and automatically switch between the horizontal screen display and the vertical screen display according to the 〇 " placement state of the electronic device, so that the user can view the picture. [0003] However, when the screen of the electronic device is placed horizontally, that is, when the plane of the screen is perpendicular to the direction of gravity, if the electronic device is placed on the desktop, the electronic device will not be able to pass the gravity acceleration sensed by the gravity sensor. The direction and angle to the screen rotation. Therefore, in this case, no matter how the user rotates the screen, the automatic switching between the horizontal screen display and the vertical Q screen display cannot be realized, which brings a bad experience to the user. SUMMARY OF THE INVENTION [0004] In view of the above, it is necessary to provide a screen screen rotation method and system, which can rotate the screen according to the direction and angle of the screen rotation when the screen is horizontally placed, thereby realizing the screen display and vertical in the horizontal screen. Automatic switching between screen displays. [0005] A method for rotating a screen image includes the following steps: a first detecting step: during an operation of the electronic device from startup to shutdown, detecting, by the electronic level in the electronic device, whether the screen of the electronic device is water 100117890 Form No. A0101 Page 3 of 17 1002030131-0 201248606 Flat Placement; Second Detection Step: Instantly detect the screen through the electronic orientation device in the electronic device while detecting that the screen is continuously placed horizontally Rotation direction and angle; and control step: when the detected rotation angle of the screen reaches a preset switching value, the screen of the control screen is rotated by 90 degrees with respect to the screen in the opposite direction of the rotation direction. [0006] A screen face rotation system includes: a first detection module, configured to instantly detect a screen of the electronic device through an electronic level in the electronic device during operation of the electronic device from startup to shutdown Whether it is horizontally placed; the second detecting module is configured to instantly detect the rotation direction and angle of the screen through the electronic orientation device in the electronic device during the process of detecting that the screen is continuously horizontally placed; and the control module, When the detected rotation angle of the screen reaches a preset switching value, the screen of the control screen is rotated by 90 degrees with respect to the screen in the opposite direction of the rotation direction [0007] compared with the prior art, The method and system for rotating the screen screen can rotate the screen according to the direction and angle of the screen rotation when the screen is horizontally placed, thereby realizing automatic switching between the horizontal screen display and the vertical screen display. [Embodiment] [0008] Referring to Figure 1, there is shown an operational environment diagram of a preferred embodiment of a screen rotation system of the present invention. In the present embodiment, the screen rotation system 10 is operated in the electronic device 1. The electronic device 1 may be, but not limited to, a portable mobile device such as a tablet computer, a PDA, a mobile phone, or a digital camera. The electronic device 1 further includes an electronic level 11, an electronic orientation device 12, a screen 13, and a reservoir 14. 100117890 Form No. A0101 Page 4 of 17 1002030131-0 201248606 _9]Skins' The electronic level u is used to detect whether the electronic device is horizontally placed through the angle between the plane of the phase i and the horizontal plane. In the present embodiment, the electronic level u measures the angle between the plane of the screen 13 and the horizontal plane. When the angle between the plane of the screen 13 and the horizontal plane is equal to or smaller than a specific angle value, such as 5 degrees, the screen 13 can be considered to be horizontally placed.

II

[0010] 電子定向裝置12用於即時測量螢幕13的放置方向,如螢 幕13水平放置時,螢幕13的頂端所朝的方向,例如東南 Q 方向。該電子定向裝置丨2可以是電子指南針、電子羅盤 等能夠感測方向的裝置。 [0011] 此外,該電子裝置1中還包括重力感應器,在螢幕13非水 平放置的情況下,電子裝置1可以透過該重力感應器偵測 螢幕13的旋轉方向和角度,使螢幕13的畫面在橫屏顯示 與登屏顯不之間自動切換。 [0012] 螢幕晝面旋轉系統10用於透過電子水平儀丨H貞測螢幕i 3 是否水平放置。當螢幕13水平放置時,電子裝置1無法透 過該重力感應器感應到的重力加速度而偵測到螢幕13旋 轉的方向和角度。 [0013] 螢幕畫面旋轉系統10還用於當螢幕13水平放置時,透過 電子定向裝置12偵測螢幕13的旋轉方向和角度,並根據 該旋轉方向和角度旋轉畫面,從而實現畫面在螢幕13上 橫屏顯示和豎屏顯示的自動切換功能。 [0014] 下面結合圖2所示,具體描述螢幕畫面旋轉系統1〇的上述 畫面旋轉的功能。 100117890 表單編號Α0101 第5頁/共17頁 1002030131-0 201248606 [0015] 參閱圖2所示,係本發明螢幕畫面旋轉系統較佳實施方式 的功能模組圖。該螢幕畫面旋轉系統丨〇包括第_偵測模 組101、儲存模組102、第二偵測模組103、控制模組1〇4 和替換模組105。 [0016] 第一偵測模組1〇1用於在電子裝置丨從啟動到關閉的運行 過程中,透過電子水平儀U即時偵測螢幕13是否水平放 置。當螢幕13所在平面與水平面的夾角等於或小於一個 特定的角度值,如5度時,可以認為螢幕13水平放置。 剛儲存模組102用於當電子裝置!啟動時,且第一價測模組 101偵測到當前螢幕13水平放置時,獲取電子定向裝置12 測量到的當前螢幕13的放置方向,並將該放置方向作為 初始方向存入儲存器14中。 f諸存模組102還用於當第—制模組1〇H貞測到榮幕咖 非水平放置變成水平放置時,獲取電子定向裝置12測量 到的當則螢幕13的放置方向,並將該放置方向作為初始 方向存入儲存器14中。 [_ «圖3所示,其中用實線♦製的直線箭頭所指示的方向 即為螢幕13的初始方向。 闺第__彳貞 >龍組丨咖於在第—制模組丨q 1制到榮幕^ 3 持續為水平放置的過程中,透過電子定向裝置12即時偵 測螢幕13的放置方向’並將該放置方向與儲存器14中儲 存的初始方向作比對,從而即時備測勞幕】3相對於該初 始方向的旋轉方向和角度。 [0021] #關3所不’其中用虛線繪製的直線箭頭所指示的方向 1002030131-0 100,17890 表單編號Α0ΗΠ 第⑽共17頁 201248606 即為螢幕13旋轉後的放置方向,用實線繪製的曲線箭頭 所指示的方向即為螢幕13相對於初始方向的旋轉方向, yS即為螢幕13相對於該初始方向的旋轉角度。 [0022] 若螢幕1 3相對於該初始方向的旋轉角度達到一個預設的 切換值,如45度,則認為應當將螢幕13上顯示的晝面從 橫屏顯示切換為豎屏顯示,或者由豎屏顯示切換為橫屏 顯示,以方便用戶觀看畫面。 [0023] 控制模組1 0 4用於當第二偵測模組1 0 3偵測到的螢幕1 3相 對於該初始方向的旋轉角度達到該預設的切換值時,控 制螢幕13顯示的畫面向該旋轉方向相反的方向相對於螢 幕13旋轉90度,從而實現將該晝面從橫屏顯示切換為豎 屏顯示,或者由豎屏顯示切換為橫屏顯示。 [0024] 替換模組1 0 5用於當第二偵測模組1 0 3偵測到的螢幕1 3相 對於該初始方向的旋轉角度達到該預設的切換值時,獲 取電子定向裝置12測量到的當前螢幕13的放置方向,將 該放置方向作為新的初始方向,替換儲存器14中原來儲 存的初始方向。 [0025] 參閱圖4所示,係本發明螢幕晝面旋轉方法較佳實施方式 的流程圖。在電子裝置1從啟動到關閉的運行過程中,第 一偵測模組101透過電子水平儀11即時偵測螢幕13是否水 平放置。當螢幕13所在平面與水平面的夾角等於或小於 一個特定的角度值,如5度時,可以認為螢幕13水平放置 〇 [0026] 步驟S101,當電子裝置1啟動時,透過第一偵測模組101 100117890 表單編號A0101 第7頁/共17頁 1002030131-0 201248606 偵測當前螢幕13是否水平放置,若當前螢幕13水平放置 ,則執行步驟S102,若當前螢幕13非水平放置,則執行 步驟S103。 [0027] 步驟S102,儲存模組102獲取電子定向裝置12測量到的 當前螢幕13的放置方向,並將該放置方向作為初始方向 存入儲存器14中,執行步驟S104。 [0028] 步驟S103,當第一偵測模組101偵測到螢幕13由非水平 放置變成水平放置時,儲存模組102獲取電子定向裝置12 測量到的當前螢幕13的放置方向,並將該放置方向作為 初始方向存入儲存器14中,執行步驟S104。 [0029] 步驟S104,第二偵測模組103透過電子定向裝置12即時 偵測螢幕13的放置方向,並將該放置方向與儲存器14中 儲存的初始方向作比對,從而即時偵測螢幕13相對於該 初始方向的旋轉方向和角度。 [0030] 步驟S105,當第二偵測模組103偵測到的螢幕13相對於 該初始方向的旋轉角度達到一個預設的切換值,如45度 時,控制模組104控制螢幕13顯示的畫面向螢幕13的該旋 轉方向相反的方向相對於螢幕13旋轉90度,並且替換模 組10 5獲取電子定向裝置12測量到的當前螢幕13的放置方 向,將該放置方向作為新的初始方向,替換儲存器14中 原來儲存的初始方向。 [0031] 步驟S106,第一偵測模組101即時偵測當前螢幕13是否 為水平放置,若當前螢幕13為水平放置時,返回步驟 S104,若當前螢幕13不為水平放置時,結束流程。 100117890 表單編號A0101 第8頁/共17頁 201248606 [0032] 需要說明的是,步驟SI 06不限於在執行完步驟S105之後 執行,在執行完步驟S102或步驟S103之後,直至執行完 步驟S105之前,步驟S106都在持續執行,即在本發明螢 幕晝面旋轉方法的流程中,當第一偵測模組101偵測到螢 幕13由水平放置變成非水平放置時*將結束該流程。 [0033] 综上所述,本發明符合發明專利要件,爰依法提出專利 申請。惟,以上所述者僅爲本發明之較佳實施例,本發 明之範圍並不以上述實施例爲限,舉凡熟悉本案技藝之 ^ 人士援依本發明之精神所作之等效修飾或變化,皆應涵 〇 蓋於以下申請專利範圍内。 【圖式簡單說明】 [0034] 圖1係本發明螢幕畫面旋轉系統較佳實施方式的運行環境 圖。 [0035] 圖2係本發明螢幕畫面旋轉系統較佳實施方式的功能模組 圖。 [0036] 圖3係螢幕旋轉的一個示例圖。 〇 [0037] 圖4係本發明螢幕畫面旋轉方法較佳實施方式的流程圖。 【主要元件符號說明】 [0038] 電子裝置1 [0039] 螢幕畫面旋轉系統10 [0040] 電子水平儀11 [0041] 電子定向裝置1 2 [0042] 螢幕 1 3 100117890 表單編號A0101 第9頁/共17頁 1002030131-0 201248606 [0043] 儲存器14 [0044] 第一偵測模組1 01 [0045] 儲存模組102 [0046] 第二偵測模組103 [0047] 控制模組104 [0048] 替換模組105 [0049] 當電子裝置啟動時,透過電子水平儀偵測當前螢幕是否 水平放置S101 [0050] 以當前螢幕的放置方向為初始方向,並將該初始方向存 入儲存器中S102 [0051] 當偵測到螢幕由非水平放置變成水平放置時,以當前螢 幕的放置方向為初始方向,並將該初始方向存入儲存器 中 S103 [0052] 透過電子定向裝置即時偵測螢幕相對於儲存器中儲存的 初始方向的旋轉方向和角度S104 [0053] 當偵測到螢幕相對於該初始方向的旋轉角度達到預設的 切換值時,控制螢幕顯示的畫面向該旋轉方向的相反方 向相對於螢幕旋轉90度,並將原來儲存器中儲存的初始 方向替換成當前螢幕的放置方向S105 [0054] 即時偵測螢幕是否為水平放置S106 100117890 表單編號A0101 第10頁/共17頁 1002030131-0[0010] The electronic orienting device 12 is for instantaneously measuring the direction in which the screen 13 is placed, such as the direction in which the top end of the screen 13 faces when the screen 13 is horizontally placed, for example, the southeast Q direction. The electronic orientation device 丨 2 may be a device capable of sensing directions such as an electronic compass or an electronic compass. [0011] In addition, the electronic device 1 further includes a gravity sensor. When the screen 13 is not horizontally placed, the electronic device 1 can detect the rotation direction and angle of the screen 13 through the gravity sensor, so that the screen of the screen 13 is displayed. Automatically switch between the horizontal screen display and the landing display. [0012] The screen kneading system 10 is used to measure whether the screen i 3 is horizontally placed through the electronic level. When the screen 13 is horizontally placed, the electronic device 1 cannot detect the direction and angle of rotation of the screen 13 by the gravitational acceleration sensed by the gravity sensor. [0013] The screen rotation system 10 is further configured to detect the rotation direction and angle of the screen 13 through the electronic orientation device 12 when the screen 13 is horizontally placed, and rotate the screen according to the rotation direction and the angle, thereby realizing the screen on the screen 13. Automatic switching function for landscape display and vertical screen display. [0014] The function of the above-described screen rotation of the screen rotation system 1A will be specifically described below with reference to FIG. 100117890 Form No. Α0101 Page 5 of 17 1002030131-0 201248606 [0015] Referring to Figure 2, there is shown a functional block diagram of a preferred embodiment of the screen rotation system of the present invention. The screen rotation system includes a first detection module 101, a storage module 102, a second detection module 103, a control module 1〇4, and a replacement module 105. [0016] The first detecting module 101 is configured to detect whether the screen 13 is horizontally placed through the electronic level U during the operation of the electronic device from startup to shutdown. When the plane of the screen 13 and the horizontal plane are equal to or smaller than a specific angle value, such as 5 degrees, the screen 13 can be considered to be horizontally placed. Just the storage module 102 is used as an electronic device! When the first price measurement module 101 detects that the current screen 13 is horizontally placed, the placement direction of the current screen 13 measured by the electronic orientation device 12 is acquired, and the placement direction is stored in the storage 14 as an initial direction. . The storage module 102 is further configured to acquire the orientation direction of the current screen 13 measured by the electronic orientation device 12 when the first module 1 〇H detects that the glory is placed horizontally and horizontally. This placement direction is stored in the reservoir 14 as an initial direction. [_ « As shown in Fig. 3, the direction indicated by the straight arrow made by the solid line is the initial direction of the screen 13.闺第__彳贞> The dragon group 即时 即时 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在The orientation is compared with the initial direction stored in the reservoir 14, so that the direction and angle of rotation of the screen 3 relative to the initial direction are immediately prepared. [0021] #关3不不' The direction indicated by the straight arrow drawn by the dotted line 1002030131-0 100, 17890 Form number Α0ΗΠ The first (10) total 17 pages 201248606 is the direction of the screen after the rotation of the screen 13, drawn by the solid line The direction indicated by the curved arrow is the direction of rotation of the screen 13 with respect to the initial direction, and yS is the angle of rotation of the screen 13 with respect to the initial direction. [0022] If the rotation angle of the screen 13 relative to the initial direction reaches a preset switching value, such as 45 degrees, it is considered that the face displayed on the screen 13 should be switched from the horizontal screen display to the vertical screen display, or The vertical screen display is switched to the horizontal screen display to facilitate the user to view the picture. [0023] The control module 104 is configured to control the display of the screen 13 when the rotation angle of the screen 13 detected by the second detection module 103 is relative to the initial direction reaches the preset switching value. The screen is rotated by 90 degrees with respect to the screen 13 in a direction opposite to the rotation direction, thereby switching the facet from the landscape display to the portrait display, or switching from the portrait display to the landscape display. [0024] The replacement module 1 0 5 is configured to acquire the electronic orientation device 12 when the rotation angle of the screen 13 detected by the second detection module 103 is opposite to the initial direction reaches the preset switching value. The measured orientation of the current screen 13 is taken as the new initial direction, replacing the original orientation originally stored in the reservoir 14. [0025] Referring to Figure 4, there is shown a flow chart of a preferred embodiment of the method of rotating a facet of the present invention. During the operation of the electronic device 1 from start-up to shutdown, the first detecting module 101 instantaneously detects whether the screen 13 is horizontally placed through the electronic level 11. When the angle between the plane of the screen 13 and the horizontal plane is equal to or less than a specific angle value, such as 5 degrees, the screen 13 can be considered to be horizontally placed [0026] Step S101, when the electronic device 1 is activated, the first detection module is transmitted. 101 100117890 Form No. A0101 Page 7 of 17 1002030131-0 201248606 It is detected whether the current screen 13 is horizontally placed. If the current screen 13 is horizontally placed, step S102 is performed, and if the current screen 13 is not horizontally placed, step S103 is performed. [0027] In step S102, the storage module 102 acquires the placement direction of the current screen 13 measured by the electronic orientation device 12, and stores the placement direction as the initial direction in the storage unit 14, and executes step S104. [0028] Step S103, when the first detecting module 101 detects that the screen 13 is placed horizontally from the non-horizontal placement, the storage module 102 acquires the placement direction of the current screen 13 measured by the electronic orientation device 12, and The placement direction is stored in the storage 14 as the initial direction, and step S104 is performed. [0029] Step S104, the second detecting module 103 instantly detects the placement direction of the screen 13 through the electronic pointing device 12, and compares the placing direction with the initial direction stored in the storage 14, thereby detecting the screen instantly. 13 the direction and angle of rotation relative to the initial direction. [0030] Step S105, when the rotation angle of the screen 13 detected by the second detecting module 103 relative to the initial direction reaches a preset switching value, such as 45 degrees, the control module 104 controls the display of the screen 13. The screen is rotated 90 degrees with respect to the screen 13 in the opposite direction of the rotation direction of the screen 13, and the replacement module 105 acquires the placement direction of the current screen 13 measured by the electronic orientation device 12, and takes the placement direction as a new initial direction. The original orientation originally stored in the storage 14 is replaced. [0031] Step S106, the first detecting module 101 detects whether the current screen 13 is horizontally placed. If the current screen 13 is horizontally placed, the process returns to step S104. If the current screen 13 is not horizontally placed, the process ends. 100117890 Form No. A0101 Page 8 of 17 201248606 [0032] It should be noted that step SI 06 is not limited to being executed after step S105 is performed, after step S102 or step S103 is performed, until step S105 is performed, Step S106 is continuously executed, that is, in the flow of the screen rotation method of the present invention, when the first detecting module 101 detects that the screen 13 is changed from horizontal placement to non-horizontal placement, the flow will be ended. [0033] In summary, the present invention complies with the requirements of the invention patent, and submits a patent application according to law. However, the above description is only the preferred embodiment of the present invention, and the scope of the present invention is not limited to the above embodiments, and those skilled in the art will be able to modify the equivalent modifications or variations according to the spirit of the present invention. All should be covered by the following patent application. BRIEF DESCRIPTION OF THE DRAWINGS [0034] FIG. 1 is a diagram showing an operating environment of a preferred embodiment of a screen screen rotation system of the present invention. 2 is a functional block diagram of a preferred embodiment of the screen rotation system of the present invention. [0036] FIG. 3 is an exemplary diagram of screen rotation. [0037] FIG. 4 is a flow chart of a preferred embodiment of a method for rotating a screen of the present invention. [Main Component Symbol Description] [0038] Electronic Device 1 [0039] Screen Screen Rotation System 10 [0040] Electronic Level Meter 11 [0041] Electronic Orientation Device 1 2 [0042] Screen 1 3 100117890 Form No. A0101 Page 9 of 17 Page 1002030131-0 201248606 [0043] Memory 14 [0044] First Detection Module 1 01 [0045] Storage Module 102 [0046] Second Detection Module 103 [0047] Control Module 104 [0048] Replacement Module 105 [0049] When the electronic device is activated, it is detected by the electronic level whether the current screen is horizontally placed S101 [0050] with the current screen placement direction as the initial direction, and the initial direction is stored in the storage device S102 [0051] When it is detected that the screen is placed horizontally from non-horizontal placement, the current orientation of the screen is taken as the initial direction, and the initial direction is stored in the memory. S103 [0052] Instantly detecting the screen relative to the storage through the electronic orientation device The direction and angle of rotation of the initial direction stored in the medium S104 [0053] When it is detected that the rotation angle of the screen relative to the initial direction reaches a preset switching value, the phase of the screen displayed by the screen is controlled to the rotation direction The direction is rotated by 90 degrees with respect to the screen, and the initial direction stored in the original memory is replaced with the current screen placement direction S105 [0054] Whether the screen is detected horizontally S106 100117890 Form No. A0101 Page 10 of 17 1002030131 -0

Claims (1)

201248606 七、申請專利範圍: 1 . 一種螢幕晝面旋轉方法,包括以下步驟: 第一偵測步驟:在電子裝置從啟動到關閉的運行過程中, 透過該電子裝置中的電子水平儀即時偵測該電子裝置的螢 幕是否水平放置; 第二偵測步驟:在偵測到螢幕持續為水平放置的過程中, 透過該電子裝置中的電子定向裝置即時偵測螢幕的旋轉方 向和角度;及 控制步驟:當偵測到的螢幕的旋轉角度達到一個預設的切 〇 換值時,控制螢幕顯示的畫面向該旋轉方向相反的方向相 對於螢幕旋轉90度。 2 .如申請專利範圍第1項所述之螢幕畫面旋轉方法,該方法 還包括: 儲存步驟:當電子裝置啟動且螢幕水平放置時,獲取該電 子定向裝置測量到的當前螢幕的放置方向,並將該放置方 向作為初始方向存入該電子裝置的儲存器中;當電子裝置 , 啟動且螢幕非水平放置時,如果偵測到螢幕由非水平放置 變成水平放置,則獲取該電子定向裝置測量到的當前螢幕 的放置方向,並將該放置方向作為初始方向存入該儲存器 中。 3.如申請專利範圍第2項所述之螢幕畫面旋轉方法,所述第 二偵測步驟包括: 透過電子定向裝置即時偵測螢幕的放置方向,並將該放置 方向與儲存器中儲存的初始方向作比對,從而即時偵測螢 幕的旋轉方向和角度。 100117890 表單編號A0101 第11頁/共17頁 1002030131-0 201248606 4 .如申請專利範圍第3項所述之螢幕畫面旋轉方法,該方法 還包括: 替換步驟:當偵測到的螢幕的旋轉角度達到一個預設的切 換值時,獲取電子定向裝置測量到的當前螢幕的放置方向 ,將該放置方向作為新的初始方向,替換儲存器中原來儲 存的初始方向。 5 . —種螢幕畫面旋轉系統,包括:201248606 VII. Patent application scope: 1. A method for rotating a screen surface, comprising the following steps: First detecting step: detecting an instant detection of an electronic device through an electronic level in the electronic device during operation from startup to shutdown Whether the screen of the electronic device is horizontally placed; the second detecting step: detecting the rotation direction and angle of the screen through the electronic orientation device in the electronic device during the process of detecting that the screen is continuously horizontally placed; and controlling steps: When the detected rotation angle of the screen reaches a preset switching value, the screen displayed on the control screen is rotated by 90 degrees with respect to the screen in the opposite direction of the rotation direction. 2. The screen rotation method according to claim 1, wherein the method further comprises: storing step of: when the electronic device is activated and the screen is horizontally placed, obtaining a current screen orientation measured by the electronic orientation device, and The placement direction is stored in the storage device of the electronic device as an initial direction; when the electronic device is activated and the screen is not horizontally placed, if the screen is detected to be horizontally placed from a non-horizontal placement, the electronic orientation device is acquired to be measured. The current orientation of the screen is placed and stored in the storage as the initial direction. 3. The method for rotating a screen according to claim 2, wherein the second detecting step comprises: immediately detecting an orientation of the screen through the electronic orientation device, and initializing the placement direction and the storage in the storage. The directions are compared to instantly detect the direction and angle of rotation of the screen. 100117890 Form No. A0101 Page 11 of 17 1002030131-0 201248606 4. The method for rotating a screen picture as described in claim 3, the method further comprising: a replacement step: when the detected rotation angle of the screen is reached When a preset switching value is obtained, the direction of the current screen measured by the electronic orientation device is obtained, and the placement direction is taken as a new initial direction, and the original direction originally stored in the storage is replaced. 5. A screen rotation system, including: 第一偵測模組,用於在電子裝置從啟動到關閉的運行過程 中,透過該電子裝置中的電子水平儀即時偵測該電子裝置 的螢幕是否水平放置; 第二偵測模組,用於在偵測到螢幕持續為水平放置的過程 中,透過該電子裝置中的電子定向裝置即時偵測螢幕的旋 轉方向和角度;及 控制模組,用於當偵測到的螢幕的旋轉角度達到一個預設 的切換值時,控制螢幕顯示的畫面向該旋轉方向相反的方 向相對於螢幕旋轉90度。 6 .如申請專利範圍第5項所述之螢幕畫面旋轉系統,該系統The first detecting module is configured to detect, by the electronic level in the electronic device, whether the screen of the electronic device is horizontally placed during the operation of the electronic device from the startup to the closing; the second detecting module is configured to: In the process of detecting that the screen is continuously placed horizontally, the rotation direction and angle of the screen are instantly detected through the electronic orientation device in the electronic device; and the control module is configured to achieve a rotation angle of the detected screen When the preset switching value is used, the screen displayed on the control screen is rotated by 90 degrees with respect to the screen in the opposite direction of the rotation direction. 6. The screen rotation system as described in claim 5, the system 還包括: 儲存模組,用於當電子裝置啟動且螢幕水平放置時,獲取 該電子定向裝置測量到的當前螢幕的放置方向,並將該放 置方向作為初始方向存入該電子裝置的儲存器中;當電子 裝置啟動且螢幕非水平放置時,如果偵測到螢幕由非水平 放置變成水平放置,則獲取該電子定向裝置測量到的當前 螢幕的放置方向,並將該放置方向作為初始方向存入該儲 存器中。 7 .如申請專利範圍第6項所述之螢幕畫面旋轉系統,所述第 100117890 表單編號A0101 第12頁/共17頁 1002030131-0 201248606 二偵測模組透過電子定向裝置即時偵測螢幕的放置方向, 並將該放置方向與儲存器中儲存的初始方向作比對,從而 即時偵測螢幕的旋轉方向和角度。 8 .如申請專利範圍第7項所述之螢幕畫面旋轉系統,該系統 還包括: 替換模組,用於當偵測到的螢幕的旋轉角度達到一個預設 的切換值時,獲取電子定向裝置測量到的當前螢幕的放置 方向,將該放置方向作為新的初始方向,替換儲存器中原 來儲存的初始方向。 € 1002030131-0 100117890 表單編號A0101 第13頁/共17頁The method further includes: a storage module, configured to acquire a current screen orientation of the current screen measured by the electronic orientation device when the electronic device is activated and the screen is horizontally placed, and store the placement direction as an initial direction in the storage of the electronic device When the electronic device is activated and the screen is not horizontally placed, if it is detected that the screen is placed horizontally from non-horizontal placement, the current screen placement direction measured by the electronic orientation device is acquired, and the placement direction is stored as an initial direction. In the storage. 7. The screen rotation system according to claim 6 of the patent application, the 100117890 form number A0101, page 12/17 page 1002030131-0 201248606, the detection module instantly detects the placement of the screen through the electronic orientation device Direction, and compare the orientation with the initial direction stored in the memory to instantly detect the direction and angle of rotation of the screen. 8. The screen rotation system according to claim 7, wherein the system further comprises: a replacement module, configured to acquire the electronic orientation device when the detected rotation angle of the screen reaches a preset switching value The measured orientation of the current screen is taken as the new initial direction, replacing the original orientation originally stored in the memory. € 1002030131-0 100117890 Form No. A0101 Page 13 of 17
TW100117890A 2011-05-18 2011-05-23 Method and system for rotating the screen display TW201248606A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011101291208A CN102789322A (en) 2011-05-18 2011-05-18 Screen picture rotation method and system

Publications (1)

Publication Number Publication Date
TW201248606A true TW201248606A (en) 2012-12-01

Family

ID=47154735

Family Applications (1)

Application Number Title Priority Date Filing Date
TW100117890A TW201248606A (en) 2011-05-18 2011-05-23 Method and system for rotating the screen display

Country Status (2)

Country Link
CN (1) CN102789322A (en)
TW (1) TW201248606A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104981755A (en) * 2013-03-15 2015-10-14 英特尔公司 Automatic device display orientation detection

Families Citing this family (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6161400B2 (en) * 2013-05-17 2017-07-12 キヤノン株式会社 Video playback apparatus and control method thereof
CN104731311A (en) * 2013-12-24 2015-06-24 鸿富锦精密工业(深圳)有限公司 Display device and method
CN103713821A (en) * 2013-12-27 2014-04-09 深圳市同洲电子股份有限公司 Mobile terminal screen display method and mobile terminal
CN103791942B (en) * 2014-02-21 2016-07-13 Tcl通讯(宁波)有限公司 For detecting detecting device and the detection method thereof of the horizontal/vertical screen state of mobile terminal
CN104866085B (en) * 2014-02-26 2018-04-27 联想(北京)有限公司 A kind of display control method, device and apply its electronic equipment
CN104898818A (en) * 2014-03-07 2015-09-09 联想(北京)有限公司 Information processing method and electronic equipment
WO2015167847A1 (en) * 2014-04-28 2015-11-05 Pcms Holdings Inc System and method for providing a user cognitive load service
CN104063159B (en) * 2014-06-20 2017-11-10 Tcl通讯(宁波)有限公司 The horizontal/vertical screen detection means and its detection method of a kind of mobile terminal
CN104484119B (en) * 2014-11-28 2018-05-18 苏州佳世达电通有限公司 Electronic device and its awakening method
CN104820555B (en) * 2015-05-06 2018-03-30 努比亚技术有限公司 The method, apparatus and terminal of horizontal/vertical screen switching
CN106293567A (en) * 2015-06-08 2017-01-04 联想(北京)有限公司 Control method, control device and electronic equipment
CN105786349A (en) * 2016-02-26 2016-07-20 广东欧珀移动通信有限公司 Method for controlling screen picture to rotate and electronic device
CN105786107A (en) * 2016-02-29 2016-07-20 深圳微步信息股份有限公司 Mobile electronic equipment and keyboard control and system mode switching method thereof
CN106201271A (en) * 2016-07-15 2016-12-07 乐视控股(北京)有限公司 Horizontal/vertical screen method for handover control and device
CN106339092B (en) * 2016-08-31 2019-08-13 北京小米移动软件有限公司 Horizontal/vertical screen switching method and apparatus
CN106648393B (en) * 2016-12-30 2019-05-28 中广热点云科技有限公司 A kind of tablet computer and the method for controlling tablet computer screen rotation
CN107943371A (en) * 2017-11-30 2018-04-20 湖南长城银河科技有限公司 The method and device of automatic Rotation screen picture based on Feiteng processor, all-in-one machine
CN110316062B (en) * 2018-03-30 2021-03-26 比亚迪股份有限公司 Vehicle-mounted display terminal system, control method thereof and vehicle
CN111031414B (en) * 2019-11-15 2021-06-01 歌尔股份有限公司 Control method of audio device, and storage medium
CN111026297A (en) * 2019-11-19 2020-04-17 深圳鑫想科技有限责任公司 Screen image rotation method, control device, storage medium and computer equipment
CN111023468B (en) * 2019-11-27 2022-02-01 宁波奥克斯电气股份有限公司 Control method and control device of rotary screen remote controller, remote controller and air conditioner
CN112379778A (en) * 2020-11-24 2021-02-19 惠州Tcl移动通信有限公司 Display adjusting method and device, storage medium and terminal

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI287204B (en) * 2005-03-18 2007-09-21 Mitac Int Corp Automatic adjustment for the picture display direction for a handheld electronic device
JP4350740B2 (en) * 2006-12-05 2009-10-21 レノボ・シンガポール・プライベート・リミテッド Portable electronic device, method for changing display direction of screen, program, and storage medium
US8462109B2 (en) * 2007-01-05 2013-06-11 Invensense, Inc. Controlling and accessing content using motion processing on mobile devices
TWI386793B (en) * 2008-12-15 2013-02-21 Inventec Appliances Corp Handheld device and an energy-saving method therefor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104981755A (en) * 2013-03-15 2015-10-14 英特尔公司 Automatic device display orientation detection
CN104981755B (en) * 2013-03-15 2019-02-22 英特尔公司 Automatic device shows oriented detection

Also Published As

Publication number Publication date
CN102789322A (en) 2012-11-21

Similar Documents

Publication Publication Date Title
TW201248606A (en) Method and system for rotating the screen display
US20210074051A1 (en) Systems and methods for displaying representative images
US9070229B2 (en) Manipulation of graphical objects
US9077885B2 (en) Information processing apparatus, information processing method, and program
TWI581176B (en) Image adjusting system and method
JP6029797B2 (en) Angle measuring method, apparatus, terminal, program, and recording medium
CA2922708C (en) Tilting to scroll
TWI544398B (en) Mobile device and rotating method of image thereon
US9494973B2 (en) Display system with image sensor based display orientation
EP3042275A1 (en) Tilting to scroll
EP1837736A2 (en) Display control apparatus
US20150084881A1 (en) Data processing method and electronic device
TW201329840A (en) Method and system for controlling display of electronic device
US20150160841A1 (en) Desktop-like device and method for displaying user interface
US20070164991A1 (en) Display Control Apparatus
TWI556156B (en) Method of adjusting image display direction and related device thereof
EP2662748B1 (en) A display system with image sensor based display orientation
CN103631395A (en) Method and relevant device for adjusting image display direction
TWI619070B (en) System and method for displaying images of electronic device
CN104735379B (en) A kind of electronic equipment and display control method
TW201616282A (en) Interface rotation system and method
TW201517011A (en) Electronic device, image adjusting system and method thereof
TW201525850A (en) Display device and display method