WO2017166749A1 - 一种屏幕转动方法、装置和电子设备 - Google Patents

一种屏幕转动方法、装置和电子设备 Download PDF

Info

Publication number
WO2017166749A1
WO2017166749A1 PCT/CN2016/100244 CN2016100244W WO2017166749A1 WO 2017166749 A1 WO2017166749 A1 WO 2017166749A1 CN 2016100244 W CN2016100244 W CN 2016100244W WO 2017166749 A1 WO2017166749 A1 WO 2017166749A1
Authority
WO
WIPO (PCT)
Prior art keywords
current
rotation angle
degrees
screen
desktop information
Prior art date
Application number
PCT/CN2016/100244
Other languages
English (en)
French (fr)
Inventor
宋杰美
Original Assignee
乐视控股(北京)有限公司
乐视移动智能信息技术(北京)有限公司
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 乐视控股(北京)有限公司, 乐视移动智能信息技术(北京)有限公司 filed Critical 乐视控股(北京)有限公司
Publication of WO2017166749A1 publication Critical patent/WO2017166749A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Definitions

  • the present application relates to the field of mobile terminals, and in particular, to a screen rotation method, device, and electronic device.
  • the gravity sensor module is built into the mobile phone in the current interface, in the interface of many applications, when the screen of the mobile phone rotates, the current page displayed will rotate with the screen, but the current desktop owner The display of the page does not change according to the rotation of the screen. Therefore, when the screen is rotated 90 degrees to the left or right, the desktop homepage remains the original display, and the user cannot conveniently obtain the currently displayed information.
  • the screen of mobile phones is getting bigger and bigger. Many people are used to using mobile phones in horizontal screens, so that they can operate with two hands at the same time, avoiding the problem of inconvenient operation of large-screen mobile phones with one hand. Since the content displayed on the desktop homepage cannot be rotated with the rotation of the screen, it is extremely inconvenient for the user to view.
  • the technical problem to be solved by the present application is to overcome the defect that the information displayed on the desktop cannot be rotated with the screen after the screen of the mobile phone is rotated in the prior art.
  • the embodiment of the present application provides a screen rotation method, including the following steps: obtaining a rotation angle of a current screen when displaying desktop information; determining whether the rotation angle reaches a preset threshold; if a preset threshold is reached, The current desktop information rotates at an angle corresponding to the rotation angle of the current screen.
  • the current desktop information includes an icon of the application and current time information.
  • the preset threshold is 60-120 degrees to the left or 60-120 degrees to the right.
  • the step of rotating the current desktop information by an angle corresponding to the rotation angle of the current screen includes: rotating the current screen by 60-120 degrees to the left, Rotate the current desktop information to the left by 90 degrees;
  • the current screen rotation angle is 60-120 degrees to the right, and the current desktop information is rotated to the right. Turn 90 degrees.
  • the step of rotating the current desktop information by an angle corresponding to the rotation angle of the current screen includes rotating the current desktop information by the same angle as the rotation angle of the current screen .
  • the embodiment of the present application further provides a screen rotation device, including: a screen rotation unit, configured to acquire a rotation angle of a current screen when the desktop information is displayed; and a threshold value determination unit, configured to determine whether the rotation angle reaches a preset threshold; a desktop rotation unit, configured to rotate the current desktop information by an angle corresponding to a rotation angle of the current screen if the rotation angle reaches a preset threshold.
  • the current desktop information includes an icon of the application and current time information.
  • the preset threshold is 60-120 degrees to the left or 60-120 degrees to the right.
  • the desktop rotation unit includes: rotating the sub-unit to the left, wherein the rotation angle of the current screen is 60-120 degrees to the left, and the current desktop information is rotated 90 degrees to the left; Right rotation subunit, for the current screen rotation angle is 60-120 degrees to the right, the current desktop information is rotated 90 degrees to the right.
  • the desktop rotation unit further includes an equivalent rotation unit for rotating the current desktop information by the same angle as the rotation angle of the current screen.
  • An embodiment of the present application further provides an electronic device including at least one processor; and a memory communicably coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor The instruction is executed by the at least one processor to enable the at least one processor to: obtain a rotation angle of a current screen when the desktop information is displayed; determine whether the rotation angle reaches a preset threshold; if the rotation angle When the preset threshold is reached, the current desktop information is rotated by an angle corresponding to the rotation angle of the current screen.
  • the current desktop information includes an icon of the application and current time information.
  • the preset threshold is 60-120 degrees to the left or 60-120 degrees to the right.
  • the angle at which the current desktop information is rotated corresponding to the rotation angle of the current screen includes: the current screen rotation angle is 60-120 degrees to the left, and the current desktop is The information is rotated 90 degrees to the left; the current screen is rotated 60-120 degrees to the right, and the current desktop information is rotated 90 degrees to the right.
  • rotating the current desktop information by an angle corresponding to the rotation angle of the current screen comprises: rotating the current desktop information by the same angle as the rotation angle of the current screen.
  • the embodiment of the present application further provides a non-volatile computer storage medium, the storage medium storing the computer-executable instructions of the computer-executable instructions, when executed by the electronic device, enabling the electronic device to: obtain display of desktop information The rotation angle of the current screen; determining whether the rotation angle reaches a preset threshold; if the rotation angle reaches a preset threshold, the current table is The face information rotates at an angle corresponding to the rotation angle of the current screen.
  • the current desktop information includes an icon of the application and current time information.
  • the preset threshold is 60-120 degrees to the left or 60-120 degrees to the right.
  • rotating the current desktop information by an angle corresponding to the rotation angle of the current screen includes: rotating the current screen by 60-120 degrees to the left, and then the current desktop The information is rotated 90 degrees to the left; the current screen is rotated 60-120 degrees to the right, and the current desktop information is rotated 90 degrees to the right.
  • rotating the current desktop information by an angle corresponding to the rotation angle of the current screen comprises: rotating the current desktop information by the same angle as the rotation angle of the current screen.
  • the embodiment of the present application further provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer
  • the computer is caused to perform any of the above methods.
  • the screen rotation method provided by the embodiment of the present application firstly obtains a rotation angle of the current screen when the desktop information is displayed. Then, it is determined whether the rotation angle reaches a preset threshold; if the preset threshold is reached, the current desktop information is rotated. An angle corresponding to the rotation angle of the current screen.
  • the preset threshold is 60-120 degrees to the left, or 60-120 degrees to the right, and the rotation angle of the current screen is 60-120 degrees to the left
  • the current threshold will be
  • the desktop information is rotated 90 degrees to the left
  • the current screen rotation angle is 60-120 degrees to the right
  • the current desktop information is rotated 90 degrees to the right. In this way, when the screen is tilted substantially to the horizontal direction, the icons in the desktop are rotated accordingly for user convenience.
  • FIG. 1 is a flow chart of a specific example of a screen rotation method in Embodiment 1 of the present application;
  • FIG. 2 is a structural block diagram of a specific example of a screen turning device in Embodiment 2 of the present application;
  • FIG. 3 is a structural block diagram of a specific example of a mobile terminal in Embodiment 3 of the present application.
  • FIG. 4 is a schematic structural diagram of hardware of an electronic device according to Embodiment 4 of the present application.
  • connection or integral connection; may be mechanical connection or electrical connection; may be directly connected, may also be indirectly connected through an intermediate medium, or may be internal communication of two components, may be wireless connection, or may be wired connection.
  • connection or integral connection; may be mechanical connection or electrical connection; may be directly connected, may also be indirectly connected through an intermediate medium, or may be internal communication of two components, may be wireless connection, or may be wired connection.
  • a screen rotation method is provided, which is applicable to a smart mobile terminal device such as a large-screen smart phone or a tablet computer, and performs display control when the screen of the mobile terminal device is rotated.
  • the method includes the following steps:
  • the method in this embodiment is directed to the display control after the screen rotation in the desktop display state. Therefore, first, the current mobile terminal device should be in the desktop display state, and the current desktop information includes the icon of the application and the current time information.
  • the upper part of the desktop is usually the time bar, which displays the current time information, such as 12:30. Below the time bar is the icon of the application, and the bottom is also the shortcut of the commonly used application.
  • the degree of rotation is indicated by the magnitude of the rotation angle.
  • the angle of rotation is obtained by the built-in gravity sensor module and is judged based on the angle of rotation obtained by the gravity sensor.
  • the rotation angle reaches a preset threshold, the current desktop information page is rotated, and the rotation angle of the desktop information corresponds to the rotation angle of the current screen.
  • the current desktop information is rotated 90 degrees to the left; and the current rotation angle of the screen is 60-120 degrees to the right, the current desktop information is Rotate 90 degrees to the right.
  • the user can also basically recognize the information on the desktop when the angle of rotation is small, there is no need to rotate the desktop information, and when the screen is rotated to a certain extent, such as more than 60 degrees, Because the degree of rotation is too large, it is inconvenient to read the desktop information according to the previous display, so the icon and time in the desktop are rotated 90 degrees, so that the direction of the screen and the direction of the displayed desktop information are basically the same. Convenient for user identification. Taking into account the effect of the degree of rotation on the read information, here the selection screen is rotated 60-120 degrees to the left, the current desktop information is rotated 90 degrees to the left; the current screen rotation angle is 60-120 degrees to the right, then The current desktop information is rotated 90 degrees to the right. Therefore, the preset threshold is rotated 60-120 degrees to the left or 60-120 degrees to the right, and the desktop display information is adjusted within a preset threshold range.
  • the current desktop information when the current desktop information is rotated, it is rotated at the same angle as the rotation angle of the current screen, so that the icon on the desktop and the time rotation are consistent with the screen angle, regardless of the rotation of the screen. Therefore, the user looks as if the icon and time are at rest, does not rotate with the rotation of the screen, and the user experience is better, but since the rotation angle changes uniformly during the rotation of the screen, the icon and time on the desktop may vibrate.
  • a screen rotation device is provided.
  • the structural block diagram is as shown in FIG. 2, and includes:
  • the screen rotation unit 01 is configured to acquire a rotation angle of the current screen when the desktop information is displayed;
  • the threshold determining unit 02 is configured to determine whether the rotation angle reaches a preset threshold
  • the desktop rotation unit 03 is configured to rotate the current desktop information by an angle corresponding to the rotation angle of the current screen if the rotation angle reaches a preset threshold.
  • the current desktop information includes an icon of the application and current time information.
  • the preset threshold is 60-120 degrees to the left or 60-120 degrees to the right.
  • the desktop rotation unit includes:
  • Rotate the subunit to the left, and the rotation angle of the current screen is 60-120 degrees to the left, and the current desktop information is rotated 90 degrees to the left;
  • Rotate the subunit to the right, and the rotation angle of the current screen is 60-120 degrees to the right, and the current desktop information is rotated 90 degrees to the right.
  • the desktop rotation unit further includes
  • An equivalent rotation unit for rotating the current desktop information by the same angle as the rotation angle of the current screen is an equivalent rotation unit for rotating the current desktop information by the same angle as the rotation angle of the current screen.
  • the present embodiment provides a mobile terminal including a processor 11 and a screen 12, as shown in FIG.
  • the processor 11 is configured to obtain a rotation angle of the current screen when the desktop information is displayed, and determine whether the rotation angle reaches a preset threshold; if the rotation angle reaches a preset threshold, rotate the current desktop information with the The angle at which the current screen's rotation angle corresponds.
  • the screen 12 is configured to display the desktop information, and the desktop information includes icon information on the desktop and time information.
  • the processor further rotates the current screen of the user to 60-120 degrees to the left, and then rotates the current desktop information to the left by 90 degrees; when the current rotation angle of the screen is 60-120 degrees to the right, the current desktop information is Rotate 90 degrees to the right.
  • the processor is further configured to rotate the current desktop information by the same angle as the rotation angle of the current screen.
  • the embodiment further provides an electronic device including at least one processor 810; and a memory 800 communicably connected to the at least one processor 810; wherein the memory 800 is stored with a memory 800
  • the at least one processor 810 executes instructions executed by the at least one processor 810 to enable the at least one processor 810 to acquire a rotation angle of a current screen when displaying desktop information; determining the rotation angle Whether the preset threshold is reached; if the rotation angle reaches the preset threshold, the current desktop information is rotated by an angle corresponding to the rotation angle of the current screen.
  • the electronic device also includes an input device 830 and an output device 840 that are electrically coupled to the memory 800 and the processor, the electrical connections preferably being connected by a bus.
  • the current desktop information includes an icon of an application and current time information.
  • the preset threshold is 60-120 degrees to the left or 60-120 degrees to the right.
  • rotating the current desktop information by an angle corresponding to the rotation angle of the current screen comprises: rotating the current screen by 60-120 degrees to the left, and then the current desktop information Rotate 90 degrees to the left; the current screen rotation angle is 60-120 degrees to the right, and the current desktop information is rotated 90 degrees to the right.
  • rotating the current desktop information by an angle corresponding to the rotation angle of the current screen comprises: rotating the current desktop information by the same angle as the rotation angle of the current screen.
  • the embodiment of the present application further provides a non-volatile computer storage medium, the storage medium storing the computer-executable instructions of the computer-executable instructions, when executed by the electronic device, enabling the electronic device to: obtain the display of the desktop information The rotation angle of the current screen; determining whether the rotation angle reaches a preset threshold; if the rotation angle reaches a preset threshold, rotating the current desktop information by an angle corresponding to the rotation angle of the current screen.
  • the current desktop information includes an icon of an application and current time information.
  • the preset threshold is 60-120 degrees to the left or 60-120 degrees to the right.
  • the angle at which the current desktop information is rotated corresponding to the rotation angle of the current screen includes: the current screen rotation angle is 60-120 degrees to the left, and the current desktop information is Rotate 90 degrees to the left; the current screen rotation angle is 60-120 degrees to the right, and the current desktop information is rotated 90 degrees to the right.
  • rotating the current desktop information by an angle corresponding to the rotation angle of the current screen comprises: rotating the current desktop information by the same angle as the rotation angle of the current screen.
  • the embodiment of the present application further provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer
  • the computer is caused to perform any of the above methods.
  • embodiments of the present application can be provided as a method, system, or computer program product.
  • the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment in combination of software and hardware.
  • the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the device is implemented in a flow chart A function specified in a block or blocks of a process or multiple processes and/or block diagrams.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Landscapes

  • Engineering & Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请提供一种屏幕转动方法、装置和电子设备,涉及移动终端领域。该方法包括:首先,获取显示桌面信息时当前屏幕的旋转角度;然后,判断所述旋转角度是否达到预设阈值;若达到预设阈值,则将当前桌面信息旋转与所述当前屏幕的旋转角度相对应的角度。该方案中,当在桌面状态下,旋转屏幕达到一定程度时,主要指达到横屏时,桌面上的图标及时间等显示信息也进行旋转显示,这样在横屏时,桌面上所有的信息和图标都是按照当前的横屏而正常显示的,因此用户看起来非常方便,也便于此时双手对该屏幕进行操作。

Description

一种屏幕转动方法、装置和电子设备
交叉引用
本申请为在2016年04月01日提交中国专利局、申请号为201610204263.3、发明名称为“一种屏幕转动方法及装置”的中国专利申请的继续申请,本申请要求在2016年04月01日提交中国专利局、申请号为201610204263.3、发明名称为“一种屏幕转动方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及移动终端领域,具体涉及一种屏幕转动方法、装置和电子设备。
背景技术
随着通信技术的发展,电子移动终端如手机、平板电脑等已经成为人们日常生活中随身携带的重要物品,这些设备与人们的生活也越来越紧密。手机已成为人们的日常用品,由于各种手机应用使用时很便捷,因此很多用户下载了众多的应用程序在手机上。当手机的屏幕上显示桌面时,主菜单或桌面上存储了各个应用程序对应的图标,这些图标作为用户使用对应应用程序的入口。此外,一般在手机的桌面主页中,会显示当前的时间,在时间显示栏下方,设置有多个应用程序的图标。
虽然目前手机中内置有重力感应模块,在很多应用程序内部的界面中,手机屏幕旋转时,显示的当前页面也会随屏幕一起旋转,但是目前桌面主 页的显示不会根据屏幕的旋转而改变,因此,当屏幕向左或向右旋转90度后,桌面主页仍保持原来的显示,用户则无法方便的获得当前显示的信息。尤其是现在的手机屏幕越来越大,很多人习惯横屏使用手机,从而可以用两个手同时操作,避免大屏幕手机单手操作不便的问题。由于桌面主页内显示的内容无法随屏幕的旋转而旋转,则用户查看时便显得极为不方便。
发明内容
因此,本申请要解决的技术问题在于克服现有技术中的手机屏幕旋转后桌面上显示的信息无法随屏幕转动的缺陷。
为解决上述问题,本申请实施例提供一种屏幕转动方法,包括如下步骤:获取显示桌面信息时当前屏幕的旋转角度;判断所述旋转角度是否达到预设阈值;若达到预设阈值,则将当前桌面信息旋转与所述当前屏幕的旋转角度相对应的角度。
本申请实施例所述的方法,优选地,所述当前桌面信息包括应用程序的图标以及当前时间信息。
本申请实施例所述的方法,优选地,所述预设阈值为向左旋转60-120度,或向右旋转60-120度。
本申请实施例所述的方法,优选地,将当前桌面信息旋转与所述当前屏幕的旋转角度相对应的角度的步骤中,包括:当前屏幕的旋转角度为向左旋转60-120度,则将当前桌面信息向左旋转90度;
当前屏幕的旋转角度为向右旋转60-120度,则将当前桌面信息向右旋 转90度。
本申请实施例所述的方法,优选地,将当前桌面信息旋转与所述当前屏幕的旋转角度相对应的角度的步骤中,包括将当前桌面信息旋转与所述当前屏幕的旋转角度相同的角度。
此外,本申请实施例还提供一种屏幕转动装置,包括:屏幕旋转单元,用于获取显示桌面信息时当前屏幕的旋转角度;阈值判断单元,用于判断所述旋转角度是否达到预设阈值;桌面旋转单元,用于若所述旋转角度达到预设阈值,则将当前桌面信息旋转与所述当前屏幕的旋转角度相对应的角度。
本申请实施例所述的装置,优选地,所述当前桌面信息包括应用程序的图标以及当前时间信息。
本申请实施例所述的装置,优选地,所述预设阈值为向左旋转60-120度,或向右旋转60-120度。
本申请实施例所述的装置,优选地,桌面旋转单元包括:向左旋转子单元,用于当前屏幕的旋转角度为向左旋转60-120度,则将当前桌面信息向左旋转90度;向右旋转子单元,用于当前屏幕的旋转角度为向右旋转60-120度,则将当前桌面信息向右旋转90度。
本申请实施例所述的装置,优选地,桌面旋转单元还包括等同旋转单元,用于将当前桌面信息旋转与所述当前屏幕的旋转角度相同的角度。
本申请实施例还提供了一种电子设备,包括至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:获取显示桌面信息时当前屏幕的旋转角度;判断所述旋转角度是否达到预设阈值;若所述旋转角度达到预设阈值,则将当前桌面信息旋转与所述当前屏幕的旋转角度相对应的角度。
本申请实施例所述的电子设备,优选地,所述当前桌面信息包括应用程序的图标以及当前时间信息。
本申请实施例所述的电子设备,优选地,所述预设阈值为向左旋转60-120度,或向右旋转60-120度。
本申请实施例所述的电子设备,优选地,将当前桌面信息旋转与所述当前屏幕的旋转角度相对应的角度包括:当前屏幕的旋转角度为向左旋转60-120度,则将当前桌面信息向左旋转90度;当前屏幕的旋转角度为向右旋转60-120度,则将当前桌面信息向右旋转90度。
本申请实施例所述的电子设备,优选地,将当前桌面信息旋转与所述当前屏幕的旋转角度相对应的角度包括:将当前桌面信息旋转与所述当前屏幕的旋转角度相同的角度。
本申请实施例还提供了一种非易失性计算机存储介质,所述存储介质存储有计算机可执行指令的所述计算机可执行指令,当由电子设备执行时使得电子设备能够:获取显示桌面信息时当前屏幕的旋转角度;判断所述旋转角度是否达到预设阈值;若所述旋转角度达到预设阈值,则将当前桌 面信息旋转与所述当前屏幕的旋转角度相对应的角度。
本申请实施例所述的存储介质,优选地,所述当前桌面信息包括应用程序的图标以及当前时间信息。
本申请实施例所述的存储介质,优选地,所述预设阈值为向左旋转60-120度,或向右旋转60-120度。
本申请实施例所述的存储介质,优选地,将当前桌面信息旋转与所述当前屏幕的旋转角度相对应的角度包括:当前屏幕的旋转角度为向左旋转60-120度,则将当前桌面信息向左旋转90度;当前屏幕的旋转角度为向右旋转60-120度,则将当前桌面信息向右旋转90度。
本申请实施例所述的存储介质,优选地,将当前桌面信息旋转与所述当前屏幕的旋转角度相对应的角度包括:将当前桌面信息旋转与所述当前屏幕的旋转角度相同的角度。
本申请实施例还提出了一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述任一种方法。1.本申请实施例提供的屏幕转动方法,首先,获取显示桌面信息时当前屏幕的旋转角度;然后,判断所述旋转角度是否达到预设阈值;若达到预设阈值,则将当前桌面信息旋转与所述当前屏幕的旋转角度相对应的角度。该方案中,当在桌面状态下,旋转屏幕达到一定程度时,主要指达到横屏时,桌面上的图标及时间等显示信息也进行旋转显示,这样在 横屏时,桌面上所有的信息和图标都是按照当前的横屏而正常显示的,因此用户看起来非常方便,也便于此时用户双手对该屏幕进行操作。
2.本申请实施例提供的屏幕转动方法,预设阈值为向左旋转60-120度,或向右旋转60-120度,当前屏幕的旋转角度为向左旋转60-120度,则将当前桌面信息向左旋转90度,当前屏幕的旋转角度为向右旋转60-120度,则将当前桌面信息向右旋转90度。这样,当屏幕基本倾斜到横屏方向时,桌面内的图标便进行相应的旋转,便于用户使用。
附图说明
为了更清楚地说明本申请具体实施方式或现有技术中的技术方案,下面将对具体实施方式或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施方式,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本申请实施例1中屏幕转动方法的一个具体示例的流程图;
图2为本申请实施例2中屏幕转动装置的一个具体示例的结构框图;
图3为本申请实施例3中移动终端的一个具体示例的结构框图;
图4为本申请实施例4中电子设备的硬件结构示意图。
具体实施方式
下面将结合附图对本申请的技术方案进行清楚、完整地描述,显然, 所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
在本申请的描述中,需要说明的是,术语“中心”、“上”、“下”、“左”、“右”、“竖直”、“水平”、“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本申请和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本申请的限制。此外,术语“第一”、“第二”、“第三”仅用于描述目的,而不能理解为指示或暗示相对重要性。
在本申请的描述中,需要说明的是,除非另有明确的规定和限定,术语“安装”、“相连”、“连接”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,还可以是两个元件内部的连通,可以是无线连接,也可以是有线连接。对于本领域的普通技术人员而言,可以具体情况理解上述术语在本申请中的具体含义。此外,下面所描述的本申请不同实施方式中所涉及的技术特征只要彼此之间未构成冲突就可以相互结合。
实施例1
本实施例中提供一种屏幕转动方法,适用于大屏智能手机、平板电脑等智能移动终端设备中,对该移动终端设备屏幕旋转时进行显示控制,该方法包括如下步骤:
S1、获取显示桌面信息时当前屏幕的旋转角度。
本实施例中的方法针对桌面显示状态下的屏幕旋转后的显示控制,因此首先当前移动终端设备应该处于桌面显示状态中,当前桌面信息包括应用程序的图标以及当前时间信息。例如桌面中一般上部是时间栏,显示有当前的时间信息,如12:30,这个时间栏的下方是应用程序的图标,最底部还可以是常用应用程序快捷键。
S2、判断所述旋转角度是否达到预设阈值。
当屏幕发生旋转后,旋转的程度通过旋转角度的大小来表示。旋转角度通过内置的重力传感器模块能够获得,根据重力传感器获得的旋转角度进行判断。
S3、若旋转角度达到预设阈值,则将当前桌面信息旋转与所述当前屏幕的旋转角度相对应的角度。
当旋转角度达到预设的阈值时,则将当前桌面信息页进行旋转,这些桌面信息的旋转角度与当前屏幕的旋转角度相对应。
作为具体的实施方式,当前屏幕的旋转角度为向左旋转60-120度,则将当前桌面信息向左旋转90度;当前屏幕的旋转角度为向右旋转60-120度,则将当前桌面信息向右旋转90度。
由于当旋转的角度较小时,用户还能够基本方便的识别桌面上的信息,因此无需将桌面信息进行旋转,当屏幕旋转到一定程度,如大于60度以后, 则由于旋转程度过大,按照之前显示的桌面信息在用户读取时已经不方便,因此将桌面内的图标和时间旋转90度后显示,这样屏幕的方向和显示的桌面信息的方向基本一致,方便了用户识别。考虑到旋转程度对读取信息的影响,此处选择屏幕向左旋转60-120度,则将当前桌面信息向左旋转90度;当前屏幕的旋转角度为向右旋转60-120度,则将当前桌面信息向右旋转90度。因此预设阈值为向左旋转60-120度,或向右旋转60-120度,在预设阈值范围内对桌面显示信息进行调整。
此外,作为另外一种实现方案,将当前桌面信息旋转时,将其旋转与所述当前屏幕的旋转角度相同的角度,这样无论屏幕如何旋转,由于桌面上图标和时间旋转的和屏幕角度一致,因此用户看起来好像图标和时间处于静止,并不随屏幕的转动而转动,用户体验更好,但是由于屏幕旋转过程中,旋转角度一致变化,因此桌面上的图标和时间可能出现振动。
实施例2:
本实施例中提供一种屏幕转动装置,结构框图如图2所示,包括:
屏幕旋转单元01,用于获取显示桌面信息时当前屏幕的旋转角度;
阈值判断单元02,用于判断所述旋转角度是否达到预设阈值;
桌面旋转单元03,用于若所述旋转角度达到预设阈值,则将当前桌面信息旋转与所述当前屏幕的旋转角度相对应的角度。
其中,所述当前桌面信息包括应用程序的图标以及当前时间信息。
其中,所述预设阈值为向左旋转60-120度,或向右旋转60-120度。
其中,桌面旋转单元包括:
向左旋转子单元,用于当前屏幕的旋转角度为向左旋转60-120度,则将当前桌面信息向左旋转90度;
向右旋转子单元,用于当前屏幕的旋转角度为向右旋转60-120度,则将当前桌面信息向右旋转90度。
作为其他的实施方案,桌面旋转单元还包括
等同旋转单元,用于将当前桌面信息旋转与所述当前屏幕的旋转角度相同的角度。
实施例3
本施例提供一种移动终端,包括处理器11和屏幕12,如图3所示。
其中,所述处理器11用于获取显示桌面信息时当前屏幕的旋转角度,判断所述旋转角度是否达到预设阈值;若所述旋转角度达到预设阈值,则将当前桌面信息旋转与所述当前屏幕的旋转角度相对应的角度。
所述屏幕12用于显示所述桌面信息,桌面信息包括桌面上的图标信息以及时间信息。
所述处理器还用户当前屏幕的旋转角度为向左旋转60-120度,则将当前桌面信息向左旋转90度;当前屏幕的旋转角度为向右旋转60-120度,则将当前桌面信息向右旋转90度。
作为其他可以替换的实施方案,所述处理器还用于将当前桌面信息旋转与所述当前屏幕的旋转角度相同的角度。
实施例4
如图4所示,本实施例还提供了一种电子设备,包括至少一个处理器810;以及,与所述至少一个处理器810通信连接的存储器800;其中,所述存储器800存储有可被所述至少一个处理器810执行的指令,所述指令被所述至少一个处理器810执行,以使所述至少一个处理器810能够获取显示桌面信息时当前屏幕的旋转角度;判断所述旋转角度是否达到预设阈值;若所述旋转角度达到预设阈值,则将当前桌面信息旋转与所述当前屏幕的旋转角度相对应的角度。所述电子设备还包括与所述存储器800和所述处理器电连接的输入装置830和输出装置840,所述电连接优选为通过总线连接。
本实施例的所述电子设备,优选地,所述当前桌面信息包括应用程序的图标以及当前时间信息。
本实施例的所述电子设备,优选地,所述预设阈值为向左旋转60-120度,或向右旋转60-120度。
本实施例的所述电子设备,优选地,将当前桌面信息旋转与所述当前屏幕的旋转角度相对应的角度包括:当前屏幕的旋转角度为向左旋转60-120度,则将当前桌面信息向左旋转90度;当前屏幕的旋转角度为向右旋转60-120度,则将当前桌面信息向右旋转90度。
本实施例的所述电子设备,优选地,将当前桌面信息旋转与所述当前屏幕的旋转角度相对应的角度包括:将当前桌面信息旋转与所述当前屏幕的旋转角度相同的角度。
实施例5
本申请实施例还提供一种非易失性计算机存储介质,所述存储介质存储有计算机可执行指令的所述计算机可执行指令,当由电子设备执行时使得电子设备能够:获取显示桌面信息时当前屏幕的旋转角度;判断所述旋转角度是否达到预设阈值;若所述旋转角度达到预设阈值,则将当前桌面信息旋转与所述当前屏幕的旋转角度相对应的角度。
本实施例的所述存储介质,优选地,所述当前桌面信息包括应用程序的图标以及当前时间信息。
本实施例的所述存储介质,优选地,所述预设阈值为向左旋转60-120度,或向右旋转60-120度。
本实施例的所述存储介质,优选地,将当前桌面信息旋转与所述当前屏幕的旋转角度相对应的角度包括:当前屏幕的旋转角度为向左旋转60-120度,则将当前桌面信息向左旋转90度;当前屏幕的旋转角度为向右旋转60-120度,则将当前桌面信息向右旋转90度。
本实施例的所述存储介质,优选地,将当前桌面信息旋转与所述当前屏幕的旋转角度相对应的角度包括:将当前桌面信息旋转与所述当前屏幕的旋转角度相同的角度。
实施例6
本申请实施例还提供了一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述任一种方法。本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个 流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
显然,上述实施例仅仅是为清楚地说明所作的举例,而并非对实施方式的限定。对于所属领域的普通技术人员来说,在上述说明的基础上还可以做出其它不同形式的变化或变动。这里无需也无法对所有的实施方式予以穷举。而由此所引伸出的显而易见的变化或变动仍处于本发明创造的保护范围之中。

Claims (21)

  1. 一种屏幕转动方法,其特征在于,包括如下步骤:
    获取显示桌面信息时当前屏幕的旋转角度;
    判断所述旋转角度是否达到预设阈值;
    若所述旋转角度达到预设阈值,则将当前桌面信息旋转与所述当前屏幕的旋转角度相对应的角度。
  2. 根据权利要求1所述的方法,其特征在于,所述当前桌面信息包括应用程序的图标以及当前时间信息。
  3. 根据权利要求1或2所述的方法,其特征在于,所述预设阈值为向左旋转60-120度,或向右旋转60-120度。
  4. 根据权利要求3所述的方法,其特征在于,将当前桌面信息旋转与所述当前屏幕的旋转角度相对应的角度的步骤中,包括:
    当前屏幕的旋转角度为向左旋转60-120度,则将当前桌面信息向左旋转90度;
    当前屏幕的旋转角度为向右旋转60-120度,则将当前桌面信息向右旋转90度。
  5. 根据权利要求3所述的方法,其特征在于,将当前桌面信息旋转与所述当前屏幕的旋转角度相对应的角度的步骤中,包括
    将当前桌面信息旋转与所述当前屏幕的旋转角度相同的角度。
  6. 一种屏幕转动装置,其特征在于,包括:
    屏幕旋转单元,用于获取在显示桌面信息时当前屏幕的旋转角度;
    阈值判断单元,用于判断所述旋转角度是否达到预设阈值;
    桌面旋转单元,用于若所述旋转角度达到预设阈值,则将当前桌面信息旋转与所述当前屏幕的旋转角度相对应的角度。
  7. 根据权利要求6所述的装置,其特征在于,所述当前桌面信息包括应用程序的图标以及当前时间信息。
  8. 根据权利要求6或7所述的装置,其特征在于,所述预设阈值为向左旋转60-120度,或向右旋转60-120度。
  9. 根据权利要求8所述的装置,其特征在于,桌面旋转单元包括:
    向左旋转子单元,用于当前屏幕的旋转角度为向左旋转60-120度,则将当前桌面信息向左旋转90度;
    向右旋转子单元,用于当前屏幕的旋转角度为向右旋转60-120度,则将当前桌面信息向右旋转90度。
  10. 根据权利要求8所述的装置,其特征在于,桌面旋转单元还包括
    等同旋转单元,用于将当前桌面信息旋转与所述当前屏幕的旋转角度相同的角度。
  11. 一种电子设备,其特征在于包括至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:
    获取显示桌面信息时当前屏幕的旋转角度;
    判断所述旋转角度是否达到预设阈值;
    若所述旋转角度达到预设阈值,则将当前桌面信息旋转与所述当前屏幕的旋转角度相对应的角度。
  12. 根据权利要求11所述的电子设备,其特征在于,所述当前桌面信息包括应用程序的图标以及当前时间信息。
  13. 根据权利要求11或12所述的电子设备,其特征在于,所述预设阈值为向左旋转60-120度,或向右旋转60-120度。
  14. 根据权利要求13所述的电子设备,其特征在于,将当前桌面信息旋转与所述当前屏幕的旋转角度相对应的角度包括:
    当前屏幕的旋转角度为向左旋转60-120度,则将当前桌面信息向左旋转90度;
    当前屏幕的旋转角度为向右旋转60-120度,则将当前桌面信息向右旋转90度。
  15. 根据权利要求13所述的电子设备,其特征在于,将当前桌面信息 旋转与所述当前屏幕的旋转角度相对应的角度包括:
    将当前桌面信息旋转与所述当前屏幕的旋转角度相同的角度。
  16. 一种非易失性计算机存储介质,其特征在于:所述存储介质存储有计算机可执行指令的所述计算机可执行指令,当由电子设备执行时使得电子设备能够:
    获取显示桌面信息时当前屏幕的旋转角度;
    判断所述旋转角度是否达到预设阈值;
    若所述旋转角度达到预设阈值,则将当前桌面信息旋转与所述当前屏幕的旋转角度相对应的角度。
  17. 根据权利要求16所述的存储介质,其特征在于,所述当前桌面信息包括应用程序的图标以及当前时间信息。
  18. 根据权利要求16或17所述的存储介质,其特征在于,所述预设阈值为向左旋转60-120度,或向右旋转60-120度。
  19. 根据权利要求18所述的存储介质,其特征在于,将当前桌面信息旋转与所述当前屏幕的旋转角度相对应的角度包括:
    当前屏幕的旋转角度为向左旋转60-120度,则将当前桌面信息向左旋转90度;
    当前屏幕的旋转角度为向右旋转60-120度,则将当前桌面信息向右旋转90度。
  20. 根据权利要求18所述的存储介质,其特征在于,将当前桌面信息旋转与所述当前屏幕的旋转角度相对应的角度包括:
    将当前桌面信息旋转与所述当前屏幕的旋转角度相同的角度。
  21. 一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,其特征在于,当所述程序指令被计算机执行时,使所述计算机执行上述任一权利要求所述的方法。
PCT/CN2016/100244 2016-04-01 2016-09-27 一种屏幕转动方法、装置和电子设备 WO2017166749A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610204263.3A CN105915705A (zh) 2016-04-01 2016-04-01 一种屏幕转动方法及装置
CN201610204263.3 2016-04-01

Publications (1)

Publication Number Publication Date
WO2017166749A1 true WO2017166749A1 (zh) 2017-10-05

Family

ID=56744517

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/100244 WO2017166749A1 (zh) 2016-04-01 2016-09-27 一种屏幕转动方法、装置和电子设备

Country Status (2)

Country Link
CN (1) CN105915705A (zh)
WO (1) WO2017166749A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111142720A (zh) * 2018-11-06 2020-05-12 比亚迪股份有限公司 车机屏幕旋转显示方法和装置
CN115033193A (zh) * 2021-03-08 2022-09-09 华为技术有限公司 转屏处理方法、装置、介质及电子设备

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105915705A (zh) * 2016-04-01 2016-08-31 乐视控股(北京)有限公司 一种屏幕转动方法及装置
CN111866275A (zh) * 2020-07-13 2020-10-30 珠海格力电器股份有限公司 屏幕调整方法、装置、存储介质及处理器

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103269400A (zh) * 2013-05-14 2013-08-28 深迪半导体(上海)有限公司 一种使移动通讯设备的系统屏幕翻转的方法
CN103713821A (zh) * 2013-12-27 2014-04-09 深圳市同洲电子股份有限公司 一种移动终端屏幕显示方法及移动终端
CN103970421A (zh) * 2014-05-23 2014-08-06 深圳市中兴移动通信有限公司 一种移动终端的屏幕显示图案的调整方法
JP2014197400A (ja) * 2014-05-16 2014-10-16 日本電気株式会社 液晶表示装置、移動体通信端末装置及び液晶表示方法
CN105100396A (zh) * 2015-05-21 2015-11-25 努比亚技术有限公司 一种移动终端及其旋转显示方法和装置
CN105915705A (zh) * 2016-04-01 2016-08-31 乐视控股(北京)有限公司 一种屏幕转动方法及装置

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101943988B (zh) * 2009-07-09 2013-04-24 深圳富泰宏精密工业有限公司 电子装置用户界面自动调整系统及方法
KR20140050830A (ko) * 2012-10-22 2014-04-30 삼성전자주식회사 단말의 화면 표시 제어 방법 및 그 단말

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103269400A (zh) * 2013-05-14 2013-08-28 深迪半导体(上海)有限公司 一种使移动通讯设备的系统屏幕翻转的方法
CN103713821A (zh) * 2013-12-27 2014-04-09 深圳市同洲电子股份有限公司 一种移动终端屏幕显示方法及移动终端
JP2014197400A (ja) * 2014-05-16 2014-10-16 日本電気株式会社 液晶表示装置、移動体通信端末装置及び液晶表示方法
CN103970421A (zh) * 2014-05-23 2014-08-06 深圳市中兴移动通信有限公司 一种移动终端的屏幕显示图案的调整方法
CN105100396A (zh) * 2015-05-21 2015-11-25 努比亚技术有限公司 一种移动终端及其旋转显示方法和装置
CN105915705A (zh) * 2016-04-01 2016-08-31 乐视控股(北京)有限公司 一种屏幕转动方法及装置

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111142720A (zh) * 2018-11-06 2020-05-12 比亚迪股份有限公司 车机屏幕旋转显示方法和装置
CN115033193A (zh) * 2021-03-08 2022-09-09 华为技术有限公司 转屏处理方法、装置、介质及电子设备
CN115033193B (zh) * 2021-03-08 2024-05-03 华为技术有限公司 转屏处理方法、装置、介质及电子设备

Also Published As

Publication number Publication date
CN105915705A (zh) 2016-08-31

Similar Documents

Publication Publication Date Title
US11630553B2 (en) Electronic device and method for displaying history of executed application thereof
KR102497195B1 (ko) 컨텐츠를 처리하는 방법 및 이를 위한 전자 장치 및 저장 매체
EP3483715B1 (en) Electronic device and method for controlling display
KR102264808B1 (ko) 지문 처리 방법 및 그 전자 장치
EP3171242B1 (en) Electronic device and method for configuring display thereof
KR102537922B1 (ko) 디스플레이 사이의 각도를 측정하는 방법 및 이를 사용하는 전자 장치
US11210050B2 (en) Display control method, storage medium and electronic device
CN108351696B (zh) 包含多个显示器的电子设备及其操作方法
US20160217551A1 (en) Method of configuring screen, electronic device, and storage medium
CN117762200A (zh) 用于控制显示器、存储介质、和电子设备的方法
KR102390647B1 (ko) 전자장치 및 전자장치의 객체 제어 방법
CN106055190B (zh) 用于经由显示器的部分提供信息的设备和方法
CN107037966B (zh) 感测输入的压力的电子设备和用于操作电子设备的方法
WO2017166749A1 (zh) 一种屏幕转动方法、装置和电子设备
KR20160011915A (ko) 화면 제어 방법 및 이를 사용하는 전자 장치
US9965178B2 (en) Method and electronic device that controls a touch screen based on both a coordinate of a gesture performed thereon and a tilt change value
CN105446619B (zh) 用于识别物体的装置和方法
KR20160061053A (ko) 전자장치 및 전자장치의 화면 표시방법
WO2017185623A1 (zh) 一种计算器的显示管理方法、装置和电子设备
US10564822B2 (en) Electronic device for reducing burn-in and computer-readable recording medium
KR102305114B1 (ko) 데이터 처리 방법 및 그 전자 장치
US20170235409A1 (en) Wearable device and method of operating wearable device
US10303351B2 (en) Method and apparatus for notifying of content change
KR102351317B1 (ko) 전자문서 표시 방법 및 전자 장치
KR102277217B1 (ko) 블록을 설정하는 전자 장치 및 방법

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16896519

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16896519

Country of ref document: EP

Kind code of ref document: A1