WO2016054945A1 - Display method and apparatus for terminal display interface - Google Patents

Display method and apparatus for terminal display interface Download PDF

Info

Publication number
WO2016054945A1
WO2016054945A1 PCT/CN2015/086053 CN2015086053W WO2016054945A1 WO 2016054945 A1 WO2016054945 A1 WO 2016054945A1 CN 2015086053 W CN2015086053 W CN 2015086053W WO 2016054945 A1 WO2016054945 A1 WO 2016054945A1
Authority
WO
WIPO (PCT)
Prior art keywords
display
terminal
display interface
user
angle
Prior art date
Application number
PCT/CN2015/086053
Other languages
French (fr)
Chinese (zh)
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 WO2016054945A1 publication Critical patent/WO2016054945A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser

Definitions

  • the present invention relates to the field of communications, and in particular, to a display method and apparatus for a terminal display interface.
  • the main purpose of the embodiments of the present invention is to provide a display method and a device for displaying a terminal display interface, so as to solve the problem that the smart terminal can only switch between the horizontal screen and the vertical screen in the prior art.
  • a display method of a terminal display interface including: detecting that a rotation occurs in a terminal; and displaying a display interface of the terminal according to a display direction preset by a user after the rotation .
  • displaying the display interface of the terminal according to the display direction preset by the user includes: acquiring an angle between a rotation direction of the terminal and a display direction preset by the user; Rotating the display interface such that the display direction of the display interface is consistent with the display direction preset by the user.
  • rotating the display interface according to the angle includes: rotating the display interface according to a reverse direction of the rotation direction of the terminal, wherein a rotation angle of the display interface is equal to the angle.
  • the angle is determined by: setting by using the terminal The gyroscope and the gravity sensor determine the angle.
  • the display direction includes one of the following: a vertical direction of the location where the terminal is located, and a vertical direction of the line of sight direction when the user views the terminal.
  • a display device for a terminal display interface comprising: a detecting module configured to detect that the terminal rotates; and a display module configured to display the display direction according to the user after the rotation Displaying the display interface of the terminal.
  • the display module includes: an acquiring unit, configured to acquire an angle between a rotation direction of the terminal and a display direction preset by the user; and a rotation unit configured to be according to the angle Rotating the display interface such that the display direction of the display interface is consistent with the display direction preset by the user.
  • the rotating unit is further configured to rotate the display interface according to a reverse direction of the rotation direction of the terminal, wherein a rotation angle of the display interface is equal to the angle.
  • the angle is determined by determining the angle by a gyroscope disposed in the terminal and a gravity sensor.
  • the display direction includes one of the following: a vertical direction of the location where the terminal is located, and a vertical direction of the line of sight direction when the user views the terminal.
  • the display interface of the terminal is displayed according to the display direction preset by the user, which solves the problem that the smart terminal can only switch between the horizontal screen and the vertical screen in the prior art.
  • the problem of user requirements enables the end user to have a more flexible display mode of the terminal display interface and improve the user experience.
  • FIG. 1 is a schematic flowchart of a method for displaying a terminal display interface according to an embodiment of the present invention
  • FIG. 2 is a structural block diagram of a display device of a terminal display interface according to an embodiment of the present invention
  • FIG. 3 is a block diagram 1 of a preferred structure of a display device for a terminal display interface according to an embodiment of the present invention
  • FIG. 4 is a schematic view showing the rotation of the display direction in a vertical direction according to a preferred embodiment of the present invention
  • FIG. 5 is a schematic diagram showing the display of a terminal display interface during oblique reading according to a preferred embodiment of the present invention.
  • FIG. 1 is a schematic flowchart of a method for displaying a terminal display interface according to an embodiment of the present invention. As shown in FIG. 1 , the method includes the following steps:
  • Step S102 detecting that the terminal rotates
  • Step S104 After the rotation, the display interface of the terminal is displayed according to the display direction preset by the user.
  • the embodiment of the present invention adopts a manner of displaying the display interface of the terminal according to the display direction preset by the user when the terminal rotates, and can set the display direction in any direction, so that the display interface is always consistent with the display direction when the terminal is rotated.
  • the problem that the smart terminal can only switch between the horizontal screen and the vertical screen in the prior art cannot solve the problem of the user demand, so that the terminal user has a more flexible display manner of the terminal display interface, thereby improving the user experience.
  • the method for displaying the display interface of the terminal according to the display direction preset by the user in the above steps is various.
  • the following manner is adopted: obtaining an angle between the rotation direction of the terminal and the display direction preset by the user;
  • the display interface is rotated according to the angle, so that the display direction of the display interface is consistent with the display direction preset by the user.
  • the display interface is rotated according to the reverse direction of the rotation direction of the terminal, wherein the rotation angle of the display interface is displayed. Equal to the angle.
  • the angle of the embodiment of the present invention can be determined by determining the angle by a gyroscope disposed in the terminal and a gravity sensor. It should be noted that the method does not limit the present invention, and all methods for determining the angle between the rotation direction of the terminal and the preset direction or the manner of determining the angle by hardware are all within the scope of protection of the present invention.
  • the display direction preset by the user may be a vertical direction of the location where the terminal is located or a vertical direction of the line of sight direction when the user views the terminal, and the two preset directions are directions commonly used by the user to view the terminal, and the user It can be other display directions for the needs of its own environment.
  • the embodiment also provides a display device for the terminal display interface, which is used to implement the method for processing the cell interference
  • FIG. 2 is a structural block diagram of the display device for the terminal display interface according to the embodiment of the present invention.
  • the device includes: a detecting module 22 configured to detect that the terminal is rotated;
  • the display module 24 is coupled to the detection module, and is configured to display the display interface of the terminal according to a display direction preset by the user after the rotation.
  • the modules and units involved in the embodiments of the present invention may be implemented by software or by hardware.
  • the described modules and units in this embodiment may also be disposed in a processor.
  • a processor includes a detection module and a display module.
  • the names of these modules do not constitute a limitation on the module itself under certain circumstances.
  • the acquisition module may also be described as "a module that is set to detect that the terminal is rotated".
  • the display module 24 includes: an obtaining unit 32 configured to acquire a rotation direction of the terminal and a display direction preset by the user.
  • the angle between the rotation unit 34 and the acquisition unit 32 is configured to rotate the display interface according to the angle, so that the display direction of the display interface is consistent with the display direction preset by the user.
  • the rotation unit 34 may also be configured to rotate the display interface according to the reverse direction of the rotation direction of the terminal, wherein the rotation angle of the display interface is equal to the angle.
  • the angle of the embodiment of the present invention can be determined by determining the angle by a gyroscope disposed in the terminal and a gravity sensor. It should be noted that the method does not limit the present invention, and all methods for determining the angle between the rotation direction of the terminal and the preset direction or the manner of determining the angle by hardware are all within the scope of protection of the present invention.
  • the display direction preset by the user may be a vertical direction of the location where the terminal is located or a vertical direction of the line of sight direction when the user views the terminal, and the two preset directions are directions commonly used by the user to view the terminal, and the user It can be other display directions for the needs of its own environment.
  • the preferred embodiment of the present invention provides a method for controlling the rotation of a mobile phone interface, so as to solve the problem that the interface flipping technology can only realize the horizontal and vertical screen switching of the mobile phone in the prior art.
  • the preferred embodiment of the present invention adopts the following technical solutions, and the method steps of the solution include:
  • Step ⁇ Set the display direction of the mobile phone
  • the display method may be set to a vertical direction of the location where the mobile phone is located or a vertical direction with respect to the direction of the line of sight of the mobile phone.
  • Step B obtaining a rotation angle of the mobile phone
  • the angle ⁇ between the rotation direction and the display direction of the mobile phone is obtained by the three-axis gyroscope and the gravity sensor.
  • Step C The upper layer application controls the mobile phone interface to keep the display direction consistent according to the angle ⁇ ;
  • the upper application is to rotate the display interface in the reverse rotation angle ⁇ to keep the interface of the mobile phone consistent with the display direction.
  • FIG. 4 is a schematic view showing the rotation of the display direction in a vertical direction according to a preferred embodiment of the present invention.
  • the vertical 12 o'clock direction is set to the forward display direction of the mobile phone; and the three-axis gyroscope and gravity sensing are used.
  • the device reads the rotation angle ⁇ of the mobile phone; the upper application calculates the angle ⁇ between the direction in which the mobile phone rotates and the display direction of the mobile phone, and adjusts the direction of the display of the mobile phone in real time according to the change of the ⁇ angle, so as to maintain the forward display.
  • the direction of the display interface of the mobile phone is kept in line with the display direction in real time, so that the mobile phone user has a more flexible display of the mobile phone interface, which can expand the holding mode of the mobile phone and improve the user experience.
  • FIG. 5 is a schematic diagram showing the display of the terminal display interface during oblique reading according to a preferred embodiment of the present invention.
  • the oblique diagonal line of the mobile phone interface is certainly longer than the long side of the mobile phone, and is calculated according to the resolution of the current mainstream mobile phone 1920*1080.
  • the diagonal display can display more characters than the conventional display, which can be roughly 10% more.
  • the oblique holding is also a relatively comfortable holding mode, so the display by the preferred embodiment of the present invention.
  • the technical solution provided by the embodiment of the present invention is applied to the display process of the terminal display interface, and the display terminal of the terminal is displayed according to the display direction preset by the user after detecting that the terminal rotates, and the smart terminal in the prior art is only solved.
  • the way of switching between the horizontal screen and the vertical screen cannot satisfy the user's demand, and the terminal user has a more flexible display mode of the terminal display interface, thereby improving the user experience.

Abstract

The invention provides a display method and apparatus for a terminal display interface, the method comprising: detecting the rotation of the terminal; after the rotation, displaying the terminal display interface in a display direction preset by the user. The method of the present invention resolves the problem in the prior art that the mode that an intelligent terminal can only be switched between transverse screen and longitudinal screen can not satisfy user requirements, so as to provide the terminal user with a more flexible display manner of the terminal display interface and improve user experience.

Description

终端显示界面的显示方法及装置Terminal display interface display method and device 技术领域Technical field
本发明涉及通信领域,具体而言,涉及一种终端显示界面的显示方法及装置。The present invention relates to the field of communications, and in particular, to a display method and apparatus for a terminal display interface.
背景技术Background technique
随着科技的发展,对于智能终端促进作用是空前的。目前智能终端的功能越来越强大,深入到人们生活的方方面面,给人们带来了极大的便利,但是虽然目前智能终端的功能多种多样,但是这些功能并不是都是很完善的,例如,智能终端的横竖和屏切换的切换在目前的手机及其他移动智能终端上的应用已经相当普及。但是目前智能终端上的这种切换方式比较固定,只能在横屏和竖屏之间切换,这样就导致用户在某些情况操作不是很便利,如用户将终端斜握在手中时,这时无论是横屏还是竖屏给用户的操作终端都带来了不便。因此,现有技术中智能终端只能在横屏和竖屏之间的切换的方式并不能满足用户需求。With the development of technology, the promotion of smart terminals is unprecedented. At present, the functions of intelligent terminals are becoming more and more powerful, reaching into all aspects of people's lives, bringing great convenience to people, but although the functions of smart terminals are various at present, these functions are not all perfect, for example The switching of the vertical and vertical screen switching of the smart terminal has been quite popular in the current mobile phones and other mobile intelligent terminals. However, the current switching mode on the smart terminal is relatively fixed, and can only be switched between the horizontal screen and the vertical screen, so that the user is not very convenient to operate in some situations, such as when the user holds the terminal obliquely in the hand, then Both the horizontal screen and the vertical screen bring inconvenience to the user's operation terminal. Therefore, the manner in which the smart terminal can only switch between the horizontal screen and the vertical screen in the prior art does not meet the user's needs.
针对现有技术中智能终端只能在横屏和竖屏之间的切换的方式不能满足用户需求的问题,目前尚未提出有效的解决方案。In view of the problem that the smart terminal can only switch between the horizontal screen and the vertical screen in the prior art, the problem of the user's demand cannot be met, and an effective solution has not been proposed yet.
发明内容Summary of the invention
本发明实施例的主要目的在于提供一种终端显示界面的显示方法及装置,以解决有技术中智能终端只能在横屏和竖屏之间的切换的方式不能满足用户需求的问题。The main purpose of the embodiments of the present invention is to provide a display method and a device for displaying a terminal display interface, so as to solve the problem that the smart terminal can only switch between the horizontal screen and the vertical screen in the prior art.
为了实现上述目的,根据本发明的一个实施例,提供了一种终端显示界面的显示方法,包括:检测到终端发生旋转;在旋转后,按照用户预设的显示方向显示所述终端的显示界面。In order to achieve the above object, according to an embodiment of the present invention, a display method of a terminal display interface is provided, including: detecting that a rotation occurs in a terminal; and displaying a display interface of the terminal according to a display direction preset by a user after the rotation .
在本发明实施例中,按照用户预设的显示方向显示所述终端的显示界面包括:获取所述终端的旋转方向与所述用户预设的显示方向之间的夹角;根据所述夹角旋转所述显示界面,使得所述显示界面的显示方向与所述用户预设的显示方向一致。In the embodiment of the present invention, displaying the display interface of the terminal according to the display direction preset by the user includes: acquiring an angle between a rotation direction of the terminal and a display direction preset by the user; Rotating the display interface such that the display direction of the display interface is consistent with the display direction preset by the user.
在本发明实施例中,根据所述夹角旋转所述显示界面包括:根据所述终端旋转方向的反方向旋转所述显示界面,其中,所述显示界面的旋转角度等于所述夹角。In the embodiment of the present invention, rotating the display interface according to the angle includes: rotating the display interface according to a reverse direction of the rotation direction of the terminal, wherein a rotation angle of the display interface is equal to the angle.
在本发明实施例中,所述夹角通过以下方式确定包括:通过设置在所述终端 中的陀螺仪以及重力感应器确定所述夹角。In an embodiment of the present invention, the angle is determined by: setting by using the terminal The gyroscope and the gravity sensor determine the angle.
在本发明实施例中,所述显示方向包括以下之一:所述终端所处位置的竖直方向、用户查看所述终端时视线方向的垂直方向。In the embodiment of the present invention, the display direction includes one of the following: a vertical direction of the location where the terminal is located, and a vertical direction of the line of sight direction when the user views the terminal.
根据本发明的另一个实施例,还提供了一种终端显示界面的显示装置,包括:检测模块,设置为检测到终端发生旋转;显示模块,设置为在旋转后,按照用户预设的显示方向显示所述终端的显示界面。According to another embodiment of the present invention, a display device for a terminal display interface is further provided, comprising: a detecting module configured to detect that the terminal rotates; and a display module configured to display the display direction according to the user after the rotation Displaying the display interface of the terminal.
在本发明实施例中,所述显示模块包括:获取单元,设置为获取所述终端的旋转方向与所述用户预设的显示方向之间的夹角;旋转单元,设置为根据所述夹角旋转所述显示界面,使得所述显示界面的显示方向与所述用户预设的显示方向一致。In the embodiment of the present invention, the display module includes: an acquiring unit, configured to acquire an angle between a rotation direction of the terminal and a display direction preset by the user; and a rotation unit configured to be according to the angle Rotating the display interface such that the display direction of the display interface is consistent with the display direction preset by the user.
在本发明实施例中,所述旋转单元还设置为根据所述终端旋转方向的反方向旋转所述显示界面,其中,所述显示界面的旋转角度等于所述夹角。In the embodiment of the present invention, the rotating unit is further configured to rotate the display interface according to a reverse direction of the rotation direction of the terminal, wherein a rotation angle of the display interface is equal to the angle.
在本发明实施例中,所述夹角通过以下方式确定包括:通过设置在所述终端中的陀螺仪以及重力感应器确定所述夹角。In an embodiment of the invention, the angle is determined by determining the angle by a gyroscope disposed in the terminal and a gravity sensor.
在本发明实施例中,所述显示方向包括以下之一:所述终端所处位置的竖直方向、用户查看所述终端时视线方向的垂直方向。In the embodiment of the present invention, the display direction includes one of the following: a vertical direction of the location where the terminal is located, and a vertical direction of the line of sight direction when the user views the terminal.
通过本发明实施例,检测到终端发生旋转后,按照用户预设的显示方向显示终端的显示界面,解决了现有技术中智能终端只能在横屏和竖屏之间的切换的方式不能满足用户需求的问题,使终端用户有了更加灵活的终端显示界面的显示方式,提高了用户体验。After the rotation of the terminal is detected, the display interface of the terminal is displayed according to the display direction preset by the user, which solves the problem that the smart terminal can only switch between the horizontal screen and the vertical screen in the prior art. The problem of user requirements enables the end user to have a more flexible display mode of the terminal display interface and improve the user experience.
附图说明DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1是根据本发明实施例的终端显示界面的显示方法的流程示意图;1 is a schematic flowchart of a method for displaying a terminal display interface according to an embodiment of the present invention;
图2是根据本发明实施例的终端显示界面的显示装置的结构框图;2 is a structural block diagram of a display device of a terminal display interface according to an embodiment of the present invention;
图3是根据本发明实施例的终端显示界面的显示装置的优选结构框图一;3 is a block diagram 1 of a preferred structure of a display device for a terminal display interface according to an embodiment of the present invention;
图4是根据本发明优选实施例的显示方向为竖直方向的旋转示意图;4 is a schematic view showing the rotation of the display direction in a vertical direction according to a preferred embodiment of the present invention;
图5是根据本发明优选实施例的斜向阅读时终端显示界面的显示示意图。 FIG. 5 is a schematic diagram showing the display of a terminal display interface during oblique reading according to a preferred embodiment of the present invention.
具体实施方式detailed description
需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本发明。It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. The invention will be described in detail below with reference to the drawings in conjunction with the embodiments.
在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行,并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。The steps illustrated in the flowchart of the figures may be performed in a computer system such as a set of computer executable instructions, and although the logical order is shown in the flowchart, in some cases, may differ from this The steps shown are performed in the order shown or described.
本实施例提供了一种终端显示界面的显示方法,图1是根据本发明实施例的终端显示界面的显示方法的流程示意图,如图1所示,该方法包括如下步骤:This embodiment provides a method for displaying a terminal display interface. FIG. 1 is a schematic flowchart of a method for displaying a terminal display interface according to an embodiment of the present invention. As shown in FIG. 1 , the method includes the following steps:
步骤S102:检测到终端发生旋转;Step S102: detecting that the terminal rotates;
步骤S104:在旋转后,按照用户预设的显示方向显示终端的显示界面。Step S104: After the rotation, the display interface of the terminal is displayed according to the display direction preset by the user.
通过本发明实施例采用在终端发生旋转时,按照用户预设的显示方向显示终端的显示界面的方式,可以通过设置任意方向的显示方向,使得终端在旋转时,显示界面始终与显示方向保持一致,解决了现有技术中智能终端只能在横屏和竖屏之间的切换的方式不能满足用户需求的问题,使终端用户有了更加灵活的终端显示界面的显示方式,提高了用户体验。The embodiment of the present invention adopts a manner of displaying the display interface of the terminal according to the display direction preset by the user when the terminal rotates, and can set the display direction in any direction, so that the display interface is always consistent with the display direction when the terminal is rotated. The problem that the smart terminal can only switch between the horizontal screen and the vertical screen in the prior art cannot solve the problem of the user demand, so that the terminal user has a more flexible display manner of the terminal display interface, thereby improving the user experience.
上述步骤中按照用户预设的显示方向显示终端的显示界面的方式有多种,本发明实施例中优选的采用以下方式:获取终端的旋转方向与用户预设的显示方向之间的夹角;根据夹角旋转显示界面,使得显示界面的显示方向与用户预设的显示方向一致。The method for displaying the display interface of the terminal according to the display direction preset by the user in the above steps is various. In the embodiment of the present invention, the following manner is adopted: obtaining an angle between the rotation direction of the terminal and the display direction preset by the user; The display interface is rotated according to the angle, so that the display direction of the display interface is consistent with the display direction preset by the user.
需要说明的是,本发明实施例中根据夹角旋转显示界面的方式有多中,优选的在本发明实施例中采用:根据终端旋转方向的反方向旋转显示界面,其中,显示界面的旋转角度等于夹角。It should be noted that, in the embodiment of the present invention, there are many ways to rotate the display interface according to the angle. Preferably, in the embodiment of the present invention, the display interface is rotated according to the reverse direction of the rotation direction of the terminal, wherein the rotation angle of the display interface is displayed. Equal to the angle.
本发明实施例中夹角可以通过以下方式确定:通过设置在终端中的陀螺仪以及重力感应器确定夹角。需要说明的是该方式并不对本发明构成限定,所有能够确定终端旋转方向与预设方向夹角的方法或通过硬件确定夹角的方式都是本发明所保护的范围之内。The angle of the embodiment of the present invention can be determined by determining the angle by a gyroscope disposed in the terminal and a gravity sensor. It should be noted that the method does not limit the present invention, and all methods for determining the angle between the rotation direction of the terminal and the preset direction or the manner of determining the angle by hardware are all within the scope of protection of the present invention.
在本发明实施例中,用户预设的显示方向可以是终端所处位置的竖直方向或用户查看终端时视线方向的垂直方向,该两种预设方向是用户常用的查看终端的方向,用户为了自身环境的需要可以是其他显示方向。In the embodiment of the present invention, the display direction preset by the user may be a vertical direction of the location where the terminal is located or a vertical direction of the line of sight direction when the user views the terminal, and the two preset directions are directions commonly used by the user to view the terminal, and the user It can be other display directions for the needs of its own environment.
本实施例还提供了一种终端显示界面的显示装置,该装置用于实现上述小区干扰的处理方法,图2是根据本发明实施例的终端显示界面的显示装置的结构框图,如图2所示,该装置包括:检测模块22,设置为检测到终端发生旋转;显 示模块24与该检测模块耦合连接,设置为在旋转后,按照用户预设的显示方向显示终端的显示界面。The embodiment also provides a display device for the terminal display interface, which is used to implement the method for processing the cell interference, and FIG. 2 is a structural block diagram of the display device for the terminal display interface according to the embodiment of the present invention. The device includes: a detecting module 22 configured to detect that the terminal is rotated; The display module 24 is coupled to the detection module, and is configured to display the display interface of the terminal according to a display direction preset by the user after the rotation.
本发明的实施例中所涉及到的模块、单元可以通过软件的方式实现,也可以通过硬件的方式来实现。本实施例中的所描述的模块、单元也可以设置在处理器中,例如,可以描述为:一种处理器包括检测模块和显示模块。其中,这些模块的名称在某种情况下并不构成对该模块本身的限定,例如,获取模块还可以被描述为“设置为检测到终端发生旋转的模块”。The modules and units involved in the embodiments of the present invention may be implemented by software or by hardware. The described modules and units in this embodiment may also be disposed in a processor. For example, it may be described as follows: A processor includes a detection module and a display module. The names of these modules do not constitute a limitation on the module itself under certain circumstances. For example, the acquisition module may also be described as "a module that is set to detect that the terminal is rotated".
图3是根据本发明实施例的终端显示界面的显示装置的优选结构框图一,如图3所示,显示模块24包括:获取单元32,设置为获取终端的旋转方向与用户预设的显示方向之间的夹角;旋转单元34与获取单元32耦合连接,设置为根据夹角旋转显示界面,使得显示界面的显示方向与用户预设的显示方向一致。3 is a block diagram of a preferred structure of a display device for displaying a terminal according to an embodiment of the present invention. As shown in FIG. 3, the display module 24 includes: an obtaining unit 32 configured to acquire a rotation direction of the terminal and a display direction preset by the user. The angle between the rotation unit 34 and the acquisition unit 32 is configured to rotate the display interface according to the angle, so that the display direction of the display interface is consistent with the display direction preset by the user.
需要说明的是,旋转单元34还可以设置为根据终端旋转方向的反方向旋转显示界面,其中,显示界面的旋转角度等于夹角。It should be noted that the rotation unit 34 may also be configured to rotate the display interface according to the reverse direction of the rotation direction of the terminal, wherein the rotation angle of the display interface is equal to the angle.
本发明实施例中夹角可以通过以下方式确定:通过设置在终端中的陀螺仪以及重力感应器确定夹角。需要说明的是该方式并不对本发明构成限定,所有能够确定终端旋转方向与预设方向夹角的方法或通过硬件确定夹角的方式都是本发明所保护的范围之内。The angle of the embodiment of the present invention can be determined by determining the angle by a gyroscope disposed in the terminal and a gravity sensor. It should be noted that the method does not limit the present invention, and all methods for determining the angle between the rotation direction of the terminal and the preset direction or the manner of determining the angle by hardware are all within the scope of protection of the present invention.
在本发明实施例中,用户预设的显示方向可以是终端所处位置的竖直方向或用户查看终端时视线方向的垂直方向,该两种预设方向是用户常用的查看终端的方向,用户为了自身环境的需要可以是其他显示方向。In the embodiment of the present invention, the display direction preset by the user may be a vertical direction of the location where the terminal is located or a vertical direction of the line of sight direction when the user views the terminal, and the two preset directions are directions commonly used by the user to view the terminal, and the user It can be other display directions for the needs of its own environment.
下面通过本发明的优选实施例对本发明的实施例进行详细的说明。Embodiments of the invention are described in detail below by means of preferred embodiments of the invention.
本发明优选实施例提供一种手机界面旋转控制的方法,以解决了现有技术中界面翻转技术仅能实现手机横竖屏切换的问题。The preferred embodiment of the present invention provides a method for controlling the rotation of a mobile phone interface, so as to solve the problem that the interface flipping technology can only realize the horizontal and vertical screen switching of the mobile phone in the prior art.
本发明优选实施例采用了以下技术方案,该方案的方法步骤包括:The preferred embodiment of the present invention adopts the following technical solutions, and the method steps of the solution include:
步骤Α:设定手机的显示方向;Step Α: Set the display direction of the mobile phone;
其中,显示方法可以设定为手机所处位置的竖直方向或与人查看手机的视线方向的垂直方向。The display method may be set to a vertical direction of the location where the mobile phone is located or a vertical direction with respect to the direction of the line of sight of the mobile phone.
步骤B:获取手机的旋转角度;Step B: obtaining a rotation angle of the mobile phone;
其中,通过三轴陀螺仪配合重力感应器获取手机在旋转方向与显示方向的夹角α。Wherein, the angle α between the rotation direction and the display direction of the mobile phone is obtained by the three-axis gyroscope and the gravity sensor.
步骤C:上层应用根据夹角α,实时控制手机界面保持显示方向一致; Step C: The upper layer application controls the mobile phone interface to keep the display direction consistent according to the angle α;
其中,上层应用是将显示界面反向旋转角度α,从而保持手机界面与显示方向一致。The upper application is to rotate the display interface in the reverse rotation angle α to keep the interface of the mobile phone consistent with the display direction.
图4是根据本发明优选实施例的显示方向为竖直方向的旋转示意图,如图4所示,设定竖直12点钟方向为手机的正向显示方向;通过三轴陀螺仪和重力感应器,读取手机的旋转角度α;上层应用计算出手机旋转的方向与手机显示方向的夹角α,并根据α角度的变化实时调整手机显示的方向,使其保持正向显示。4 is a schematic view showing the rotation of the display direction in a vertical direction according to a preferred embodiment of the present invention. As shown in FIG. 4, the vertical 12 o'clock direction is set to the forward display direction of the mobile phone; and the three-axis gyroscope and gravity sensing are used. The device reads the rotation angle α of the mobile phone; the upper application calculates the angle α between the direction in which the mobile phone rotates and the display direction of the mobile phone, and adjusts the direction of the display of the mobile phone in real time according to the change of the α angle, so as to maintain the forward display.
通过采用本发明优选实施例采用实时保持手机显示界面的方向与显示方向一致,使手机用户有了更加灵活的手机界面显示,可以扩展手机的握持方式,提高了用户体验感受。By adopting the preferred embodiment of the present invention, the direction of the display interface of the mobile phone is kept in line with the display direction in real time, so that the mobile phone user has a more flexible display of the mobile phone interface, which can expand the holding mode of the mobile phone and improve the user experience.
图5是根据本发明优选实施例的斜向阅读时终端显示界面的显示示意图,手机界面斜对角线肯定比手机的长边长,按照目前主流手机1920*1080的分辨率来计算,手机的斜线Α的像素长度为2203。2203/1920=114.7%,考虑到界面角不能作为显示区域,斜向显示比常规显示能显示更多的字符,大致可以多10%。5 is a schematic diagram showing the display of the terminal display interface during oblique reading according to a preferred embodiment of the present invention. The oblique diagonal line of the mobile phone interface is certainly longer than the long side of the mobile phone, and is calculated according to the resolution of the current mainstream mobile phone 1920*1080. The pixel length of the slash Α is 2203. 2203/1920=114.7%. Considering that the interface angle cannot be used as the display area, the diagonal display can display more characters than the conventional display, which can be roughly 10% more.
现有技术中考虑到人眼阅读的时候一般只聚焦在一行文字上,且上下文的内容可以有效兼顾,斜向握持也是一种比较舒服的握持方式,所以通过本发明优选实施例的显示方式,从而可以使得用户可以斜向显示终端显示界面。In the prior art, when the human eye is read, generally only focus on one line of text, and the content of the context can be effectively taken into consideration. The oblique holding is also a relatively comfortable holding mode, so the display by the preferred embodiment of the present invention. The way, so that the user can diagonally display the terminal display interface.
以上仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above are only the preferred embodiments of the present invention, and are not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
工业实用性Industrial applicability
本发明实施例提供的技术方案,应用于终端显示界面的显示过程中,通过在检测到终端发生旋转后,按照用户预设的显示方向显示终端的显示界面,解决了现有技术中智能终端只能在横屏和竖屏之间的切换的方式不能满足用户需求的问题,使终端用户有了更加灵活的终端显示界面的显示方式,提高了用户体验。 The technical solution provided by the embodiment of the present invention is applied to the display process of the terminal display interface, and the display terminal of the terminal is displayed according to the display direction preset by the user after detecting that the terminal rotates, and the smart terminal in the prior art is only solved. The way of switching between the horizontal screen and the vertical screen cannot satisfy the user's demand, and the terminal user has a more flexible display mode of the terminal display interface, thereby improving the user experience.

Claims (10)

  1. 一种终端显示界面的显示方法,包括:A display method for a terminal display interface includes:
    检测到终端发生旋转;A rotation of the terminal is detected;
    在旋转后,按照用户预设的显示方向显示所述终端的显示界面。After the rotation, the display interface of the terminal is displayed according to the display direction preset by the user.
  2. 根据权利要求1所述的方法,其中,按照用户预设的显示方向显示所述终端的显示界面包括:The method of claim 1, wherein displaying the display interface of the terminal according to a display direction preset by the user comprises:
    获取所述终端的旋转方向与所述用户预设的显示方向之间的夹角;Obtaining an angle between a rotation direction of the terminal and a display direction preset by the user;
    根据所述夹角旋转所述显示界面,使得所述显示界面的显示方向与所述用户预设的显示方向一致。Rotating the display interface according to the angle, so that the display direction of the display interface is consistent with the display direction preset by the user.
  3. 根据权利要求2所述的方法,其中,根据所述夹角旋转所述显示界面包括:The method of claim 2, wherein rotating the display interface according to the included angle comprises:
    根据所述终端旋转方向的反方向旋转所述显示界面,其中,所述显示界面的旋转角度等于所述夹角。Rotating the display interface according to a reverse direction of the rotation direction of the terminal, wherein a rotation angle of the display interface is equal to the angle.
  4. 根据权利要求2所述的方法,其中,所述夹角通过以下方式确定包括:The method of claim 2 wherein said angle is determined by:
    通过设置在所述终端中的陀螺仪以及重力感应器确定所述夹角。The included angle is determined by a gyroscope disposed in the terminal and a gravity sensor.
  5. 根据权利要求1所述的方法,其中,所述显示方向包括以下之一:所述终端所处位置的竖直方向、用户查看所述终端时视线方向的垂直方向。The method according to claim 1, wherein the display direction comprises one of: a vertical direction of a location where the terminal is located, and a vertical direction of a line of sight direction when the user views the terminal.
  6. 一种终端显示界面的显示装置,包括:A display device for a terminal display interface, comprising:
    检测模块,设置为检测到终端发生旋转;a detecting module configured to detect that the terminal rotates;
    显示模块,设置为在旋转后,按照用户预设的显示方向显示所述终端的显示界面。The display module is configured to display the display interface of the terminal according to a display direction preset by the user after the rotation.
  7. 根据权利要求6所述的装置,其中,所述显示模块包括:The apparatus of claim 6, wherein the display module comprises:
    获取单元,设置为获取所述终端的旋转方向与所述用户预设的显示方向之间的夹角;An acquiring unit, configured to acquire an angle between a rotation direction of the terminal and a display direction preset by the user;
    旋转单元,设置为根据所述夹角旋转所述显示界面,使得所述显示界面的显示方向与所述用户预设的显示方向一致。And a rotating unit configured to rotate the display interface according to the angle, so that a display direction of the display interface is consistent with a display direction preset by the user.
  8. 根据权利要求7所述的装置,其中,所述旋转单元还设置为根据所述终端旋转方向的反方向旋转所述显示界面,其中,所述显示界面的旋转角度等于所述夹角。The apparatus according to claim 7, wherein the rotation unit is further configured to rotate the display interface in a direction opposite to a rotation direction of the terminal, wherein a rotation angle of the display interface is equal to the included angle.
  9. 根据权利要求7所述的装置,其中,所述夹角通过以下方式确定包括: The apparatus of claim 7, wherein the included angle is determined by:
    通过设置在所述终端中的陀螺仪以及重力感应器确定所述夹角。The included angle is determined by a gyroscope disposed in the terminal and a gravity sensor.
  10. 根据权利要求6所述的装置,其中,所述显示方向包括以下之一:所述终端所处位置的竖直方向、用户查看所述终端时视线方向的垂直方向。 The apparatus according to claim 6, wherein the display direction comprises one of: a vertical direction of a position where the terminal is located, and a vertical direction of a line of sight direction when the user views the terminal.
PCT/CN2015/086053 2014-10-11 2015-08-04 Display method and apparatus for terminal display interface WO2016054945A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410535883.6A CN105573626A (en) 2014-10-11 2014-10-11 Display method and device of terminal display interface
CN201410535883.6 2014-10-11

Publications (1)

Publication Number Publication Date
WO2016054945A1 true WO2016054945A1 (en) 2016-04-14

Family

ID=55652564

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/086053 WO2016054945A1 (en) 2014-10-11 2015-08-04 Display method and apparatus for terminal display interface

Country Status (2)

Country Link
CN (1) CN105573626A (en)
WO (1) WO2016054945A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106201168A (en) * 2016-06-27 2016-12-07 乐视控股(北京)有限公司 Video playback picture display process, device and mobile terminal
CN109302546B (en) * 2017-07-24 2020-12-04 北京小米移动软件有限公司 Camera assembly and electronic equipment
CN109302547B (en) * 2017-07-24 2020-11-27 北京小米移动软件有限公司 Camera assembly and electronic equipment
CN109634695B (en) * 2017-10-09 2022-02-08 武汉斗鱼网络科技有限公司 Method and device for automatically adapting horizontal and vertical screens of software on SDK interface
CN107770312A (en) * 2017-11-07 2018-03-06 广东欧珀移动通信有限公司 Method for information display, device and terminal
CN110316084B (en) * 2018-03-30 2021-09-21 比亚迪股份有限公司 Navigation display system and method based on vehicle-mounted display terminal and vehicle
CN110934344A (en) * 2018-09-21 2020-03-31 常州市派腾电子技术服务有限公司 Control method and device of electronic cigarette

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060238637A1 (en) * 2003-09-04 2006-10-26 Nikon Corporation Mobile terminal
CN103475823A (en) * 2013-08-29 2013-12-25 Tcl光电科技(惠州)有限公司 Display device and image processing method for same
CN103902194A (en) * 2012-12-28 2014-07-02 鸿富锦精密工业(武汉)有限公司 Electronic device and control method for allowing screen image of electronic device to rotate
CN104731311A (en) * 2013-12-24 2015-06-24 鸿富锦精密工业(深圳)有限公司 Display device and method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110101585A (en) * 2010-03-09 2011-09-16 삼성전자주식회사 Apparatus and method for display switching in portable terminal
CN102594973A (en) * 2011-01-06 2012-07-18 中兴通讯股份有限公司 Terminal and display method of terminal
CN102164209B (en) * 2011-03-23 2013-07-31 北京百纳威尔科技有限公司 Mobile terminal screen display control method and mobile terminal
CN103713821A (en) * 2013-12-27 2014-04-09 深圳市同洲电子股份有限公司 Mobile terminal screen display method and mobile terminal
CN103970421B (en) * 2014-05-23 2017-02-15 努比亚技术有限公司 Method for adjusting on-screen-display patterns of mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060238637A1 (en) * 2003-09-04 2006-10-26 Nikon Corporation Mobile terminal
CN103902194A (en) * 2012-12-28 2014-07-02 鸿富锦精密工业(武汉)有限公司 Electronic device and control method for allowing screen image of electronic device to rotate
CN103475823A (en) * 2013-08-29 2013-12-25 Tcl光电科技(惠州)有限公司 Display device and image processing method for same
CN104731311A (en) * 2013-12-24 2015-06-24 鸿富锦精密工业(深圳)有限公司 Display device and method

Also Published As

Publication number Publication date
CN105573626A (en) 2016-05-11

Similar Documents

Publication Publication Date Title
WO2016054945A1 (en) Display method and apparatus for terminal display interface
WO2015149498A1 (en) Method and device for switching screen modes, computer storage medium and equipment
US10237499B2 (en) Apparatus and method for processing an image in device
WO2015135477A1 (en) Handheld terminal and screen anti-shake method and device for handheld terminal
TWI543019B (en) Automatic device display orientation detection
TWI581176B (en) Image adjusting system and method
JP2014068355A5 (en)
CN107357404A (en) Method for displaying image and its electronic installation
JP2010113503A (en) Mobile terminal device
EP2779614A3 (en) Control of an image processing apparatus using a mobile device
ES2849827T3 (en) Method and device for establishing a UI control background
WO2016011649A1 (en) Method and apparatus for switching screen display mode of terminal device, and terminal device
MX2016001405A (en) Systems and methods for transforming an image.
JP2014023127A5 (en)
US20120105589A1 (en) Real time three-dimensional menu/icon shading
US10168984B2 (en) Image receiving apparatus and method thereof for determining an orientation of a screen of an electronic apparatus
WO2016197639A1 (en) Screen picture display method and apparatus
US9582169B2 (en) Display device, display method, and program
JP6360296B2 (en) Image transmission apparatus, image presentation system, control method, and program
CN107145269B (en) Data rotation method and device
EP3133808A3 (en) Apparatus, system, and method of controlling display of image, and carrier means
WO2016061914A1 (en) Display adjustment method and terminal, computer storage medium
TW201403454A (en) Screen rotating method and system
CN106371730A (en) Mobile terminal and image rotation method
JP2014115587A5 (en)

Legal Events

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

Ref document number: 15848213

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15848213

Country of ref document: EP

Kind code of ref document: A1