WO2016082668A1 - 基于用户拍击来自动控制移动终端的屏幕旋转模式的方法 - Google Patents

基于用户拍击来自动控制移动终端的屏幕旋转模式的方法 Download PDF

Info

Publication number
WO2016082668A1
WO2016082668A1 PCT/CN2015/093736 CN2015093736W WO2016082668A1 WO 2016082668 A1 WO2016082668 A1 WO 2016082668A1 CN 2015093736 W CN2015093736 W CN 2015093736W WO 2016082668 A1 WO2016082668 A1 WO 2016082668A1
Authority
WO
WIPO (PCT)
Prior art keywords
mobile terminal
slap
user
event
screen
Prior art date
Application number
PCT/CN2015/093736
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 WO2016082668A1 publication Critical patent/WO2016082668A1/zh

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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour

Definitions

  • the present invention relates to a screen rotation mode, and more particularly, to a method of automatically controlling a screen rotation mode of a mobile terminal based on a user slap.
  • the horizontal and vertical screen switching technique refers to that when a mobile terminal such as a mobile phone switches between horizontal and vertical placement, the screen image automatically rotates to meet the visual needs of the user.
  • the operating system of the existing mobile terminal for example, the Android system
  • the implementation principle is as follows: the operating system of the mobile terminal has an interface of a gravity sensor, and the mobile terminal using the operating system has a gravity sensor. The sensor continuously reports the system's gravitational acceleration data X, Y, Z.
  • An operating system such as Android calculates the state in which the mobile terminal is located by using a formula, refer to FIG. 1a.
  • Figure 1a shows the direction of gravitational acceleration of the X, Y, Z axes of the mobile terminal in a standing state.
  • the algorithm can solve the problem of horizontal and vertical screen switching of mobile terminals.
  • the detailed algorithm in the case of Android operating system can refer to the official description of google: http://developer.android.com/reference/android/hardware/SensorManager.html.
  • the gravitational acceleration of the X-axis and the Y-axis of the mobile terminal is arithmetically incorrect.
  • the gravity values of the X-axis and the Y-axis are different from the gravity values when the mobile terminal is viewed while the person is standing.
  • the angle value of the mobile terminal calculated by the X and Y axes is different from the angle value of the mobile terminal when standing by 90 degrees. Therefore, when the user wants to view the mobile terminal using the vertical screen, the mobile terminal has switched to the landscape mode. This makes it difficult for the user to use the mobile terminal satisfactorily.
  • Fig. 1b shows the direction of gravitational acceleration of the X, Y, Z axes of the mobile terminal in the side lying state.
  • Android's existing solution is: set in the Android settings project, disable the horizontal and vertical screen switching function. In this way, when the user is lying down, the mobile terminal does not automatically switch the horizontal and vertical screen state, and the user does not cause inconvenience due to automatic switching of the screen.
  • the prior art solution has the disadvantage that when the user wants to switch the screen mode, the horizontal and vertical screen switching function must be enabled first, and then the mobile terminal is rotated. When the mobile terminal is in the horizontal and vertical screen state desired by the user, the screen is locked again. . By this operation, the screen of the mobile terminal is placed in a state desired by the user, and the operation is cumbersome. For mobile terminal users, it is desirable to operate as easily as possible, and cumbersome operations are significantly reducing the user experience. Refer to the Android system source code: http://source.android.com .
  • a method for automatically controlling a screen rotation mode of a mobile terminal based on a user slap including: monitoring a user slap event; determining whether the slap event is two slap events; In response to determining that the slap event is two slap events, enabling a screen rotation function; and rotating the screen of the mobile terminal to a specified direction.
  • the method further comprises: determining whether the slap event is a single slap event; and disabling the screen rotation function in response to determining that the slap event is a single slap event.
  • the method further comprises: determining whether the slap event is three times or The above slap event; and in response to determining that the slap event is three or more slap events, disabling the screen rotation function.
  • the two slap events include at least one of top to bottom, bottom to top, left to right, and right to left.
  • determining whether the slap event is a two slap event is based on a direction of change of data of the gravity sensor acquired by the mobile terminal.
  • the slap event is determined to be the two slap events.
  • Figure 1a shows the direction of gravitational acceleration of the X, Y, Z axes of the mobile terminal in a standing state.
  • Fig. 1b shows the direction of gravitational acceleration of the X, Y, Z axes of the mobile terminal in the side lying state.
  • FIG. 2 shows a flow chart of Android sensor data processing according to the technical solution of the present invention.
  • FIG. 3 illustrates a flow chart of a method of automatically controlling a screen rotation mode based on a user's slap in accordance with an embodiment of the present invention.
  • a method of automatically controlling a screen rotation mode of a mobile terminal based on a user's slap is disclosed in accordance with an embodiment of the present invention.
  • Numerous specific details are provided to provide a comprehensive understanding of the embodiments of the invention. However, it is apparent to those skilled in the art that the embodiments of the invention may be practiced without these specific details.
  • the present application rotates the screen of the mobile terminal to the designated position of the user by monitoring the action of tapping the mobile terminal.
  • the user can quickly switch the screen of the mobile terminal to the desired state in any state. For example, the user can avoid the problem that the direction in which the mobile terminal rotates the screen is incorrect due to the difference in the direction of the gravity axis of the mobile terminal in the lying down or side lying state.
  • the user can disable the screen rotation feature without wishing the user to rotate.
  • the Android operating system is an operating system built on top of Linux and JAVA virtual machines.
  • the upper layer management of the entire system is run in the SystemServer process, and is managed by a plurality of different service and management classes. Table 1 below shows the service and system tool classes that are primarily required for use in this application.
  • the data of the gravity sensor of the mobile terminal is monitored to determine the slap action of the mobile terminal.
  • the architecture of the sensor is from top to bottom.
  • the data layer of the service layer, the hardware device layer and the driver layer, the acceleration sensor or the gyroscope are obtained at the driver layer, then transmitted upwards in turn, and finally passed to the service layer for processing.
  • the system service and the upper application need to listen to the event returned by the SensorService to obtain the corresponding sensor data.
  • FIG. 2 shows a flow chart of Android sensor data processing according to the technical solution of the present invention.
  • the algorithm described in the present application is used to automatically control the screen rotation mode of the mobile terminal, and joins in the Android System Server.
  • a service according to the technical solution of the present application. When the system is started, the service automatically starts and listens to the sensor data of the SensorService without listening to the events returned by the SensorService. At the same time, the service adds an interceptor at the SensorService layer, and intercepts the monitoring behavior of the acceleration sensor and the gyroscope data by other services if necessary.
  • the acceleration sensor measures the magnitude of the current gravity acceleration in the X, Y, and Z directions.
  • the Android system can register the listener in the SensorService and monitor the changes of the sensor.
  • the user's slap behavior can be determined by monitoring the value change of the user's gravity sensor.
  • the slap behavior is calculated as follows: When the sensor acceleration data such as the X-axis and the Y-axis are monitored for a high amplitude change in a short time, and then quickly returned to the recent average level, it can be determined that the user slaps the mobile terminal.
  • the magnitude of the change is shown in Tables 2 and 3 below:
  • the user slaps the right side of the mobile terminal from right to left.
  • the user taps the upper edge of the mobile terminal from top to bottom.
  • the monitored sensor data has a sudden fluctuation in short time.
  • the user slaps the mobile terminal once on the direction axis.
  • the difference between the sensor value and the previous sensor value is higher than the predetermined threshold value within 1 second (the threshold value may be different according to the condition of different mobile terminals).
  • X n represents the Nth sensor data and X n-1 represents the last sensor data of X n .
  • X k represents the kth sensor data in front of X n of the sensor (k value can be debugged according to actual hardware)
  • Max represents the tap event threshold, and the value exceeds this value to represent the user tapping the mobile phone once. Max can be adjusted according to the hardware data of different mobile phones.
  • X p and X n have the same meaning, but are separated from X n by a sensor value within one second.
  • X n represents y3, and X p represents y5.
  • the user can be considered to be two consecutive slap events. If the user slaps three times or more in 2 or 3 seconds, but the direction of the sensor is different, it can be determined that the user is shaking the mobile terminal, and thus acts as a slap event.
  • the options of the settings of the mobile terminal can be modified by controlling the Android Framework layer code to disable or enable the screen rotation function of the mobile terminal.
  • the screen rotation function of the mobile terminal is disabled so that no screen rotation operation is performed. If the slap event is not a single slap event, the screen rotation feature is enabled.
  • the user responds to two consecutive slap actions of the mobile terminal, up and down, and rotates the screen of the mobile terminal to a direction specified by the user.
  • the two slap events include top to bottom, bottom to top, left to right, and right to left. at least one.
  • the mobile terminal performs an operation of rotating the screen to the left; if the user slaps the mobile terminal from right to left, the mobile terminal performs an operation of rotating the screen to the right; if the user is from the top
  • the mobile terminal is slammed down, the mobile terminal performs an operation of rotating the screen upward; and if the user slaps the mobile terminal from bottom to top, the mobile terminal performs an operation of rotating the screen downward.
  • the mobile terminal disables the screen rotation function, that is, does not perform a screen rotation operation.
  • FIG. 3 illustrates a flow diagram of a method 300 of automatically controlling a screen rotation mode based on a user slap in accordance with an embodiment of the present invention.
  • the mobile terminal listens for a user slap event.
  • the technical solution of the present application not only solves the problem that the mobile terminal cannot correctly rotate the screen due to the change of the gravity axis of the mobile terminal in an abnormal state such as lying and lying on the side, and can be in any state such as a normal state of standing.
  • the screen of the mobile terminal is automatically controlled according to the needs of the user.
  • the technical solution of the present invention uses a gravity sensor to classify the action of the user's slap, but does not rely on the gravity sensor to control the screen rotation mode of the mobile terminal.
  • the screen transfer function is one of the most commonly used functions of the mobile terminal, the solution can significantly improve the user experience of the Android mobile terminal. That is, according to the technical solution of the present invention, the user can obtain an additional layout mode by a simple action, and does not need to operate any interface elements or physical buttons during the period, thereby effectively improving the friendliness and experience satisfaction of the mobile terminal.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本发明提供了一种基于用户拍击来自动控制移动终端的屏幕旋转模式的方法,包括:监听用户拍击事件;确定所述拍击事件是否是两次拍击事件;如果所述拍击事件是两次拍击事件,则启用屏幕旋转功能;以及将所述移动终端的屏幕旋转到指定方向。

Description

基于用户拍击来自动控制移动终端的屏幕旋转模式的方法 技术领域
本发明涉及屏幕旋转模式,更具体地,本发明涉及基于用户拍击来自动控制移动终端的屏幕旋转模式的方法。
背景技术
横竖屏切换技术指的是诸如手机的移动终端在水平方向和竖直方向放置之间转换时,屏幕图像自动旋转以符合用户的视觉需求。现有移动终端的操作系统(例如,Android系统)支持自动切换横竖屏切换,实现原理如下:移动终端的操作系统拥有重力传感器的接口,使用操作系统的移动终端都拥有重力传感器。该传感器会不断上报系统的重力加速度数据X,Y,Z。诸如Android的操作系统通过公式计算移动终端所处于的状态,参考图1a。图1a示出了在站立状态下移动终端的X、Y、Z轴的重力加速度方向。
该算法在大多数情况下都能解决移动终端横竖屏切换的问题。在Android的操作系统情况下的详细算法可参考google的官方说明:http://developer.android.com/reference/android/hardware/SensorManager.html。
然而,在用户平躺或侧躺的情况下,移动终端X轴和Y轴的重力加速度就会运算错误。例如,在侧躺的条件下看移动终端时,X轴和Y轴的重力值与在人站立时看移动终端时的重力值不同。由X、Y轴计算的移动终端角度值与站立时的移动终端角度值相差90度。因此,当用户想使用竖屏幕看移动终端时,移动终端已经切换为横屏模式。这样用户很难满意地使用移动终端。参考图1b。图1b示出了在侧卧状态下移动终端的X、Y、Z轴的重力加速度方向。
针对这个问题,Android现有的解决方案是:在Android设置项目中进行设置,禁用横竖屏切换功能。这样,当用户平躺时,移动终端就不会自动切换横竖屏状态,用户不会因为屏幕的自动切换引起操作不便。
然而,现有技术方案存在的缺点是:当用户想切换屏幕模式时,就必须先启用横竖屏切换功能,再将移动终端旋转,当移动终端处于用户自己希望的横竖屏状态时,再锁定屏幕。通过该操作将移动终端屏幕置于用户希望的状态,操作繁琐。对于移动终端用户,都希望操作尽量简便,繁琐的操作对于显著降低用户体验。参考Android系统源码:http://source.android.com
因此,需要一种控制移动终端横竖屏显示模式的方法和系统,以解决现有技术中的误判检测以及繁琐的手动操作等问题。
发明内容
本发明的目的在于克服现有技术的缺点,提供一种基于用户拍击来自动控制移动终端的屏幕旋转模式的方法。
根据本发明的一个实施例,提供了一种基于用户拍击来自动控制移动终端的屏幕旋转模式的方法,包括:监听用户拍击事件;确定所述拍击事件是否是两次拍击事件;响应于确定所述拍击事件是两次拍击事件,启用屏幕旋转功能;以及将所述移动终端的屏幕旋转到指定方向。
优选地,所述方法进一步包括:确定所述拍击事件是否是单次拍击事件;以及响应于确定所述拍击事件是单次拍击事件,禁用所述屏幕旋转功能。
优选地,所述方法进一步包括:确定所述拍击事件是否是三次或 以上拍击事件;以及响应于确定所述拍击事件是三次或以上拍击事件,禁用所述屏幕旋转功能。
优选地,所述两次拍击事件包括自上向下、自下向上、自左至右和自右至左中的至少一个。
优选地,确定所述拍击事件是否是两次拍击事件是基于所述由所述移动终端获取的重力传感器的数据的变化方向的。
优选地,如果所述变化方向相同,则所述拍击事件被确定为所述两次拍击事件。
根据本公开和附图的下面的详细描述,对本领域的普通技术人员来说其它的目的、特征、以及优点将是显而易见的。
附图说明
附图图示了本发明的实施例,并与说明书一起用于解释本发明的原理。在附图中:
图1a示出了在站立状态下移动终端的X、Y、Z轴的重力加速度方向。
图1b示出了在侧卧状态下移动终端的X、Y、Z轴的重力加速度方向。
图2示出了根据本发明的技术方案的Android传感器数据处理流程图。
图3示出了根据本发明的实施例的基于用户拍击来自动控制屏幕旋转模式的方法的流程图。
具体实施方式
根据本发明的实施例公开了一种基于用户拍击来自动控制移动终端的屏幕旋转模式的方法。在以下描述中,为了说明的目的,阐述了 多个具体细节以提供对本发明的实施例的全面理解。然而,对于本领域人员显而易见的是,本发明的实施例可以在没有这些具体细节的情况下实现。
本申请通过监听拍击移动终端的动作,旋转移动终端屏幕到用户指定位置。用户可以在任何状态下,快速的将移动终端屏幕切换到期望的状态。例如,用户可以避免在躺下或侧卧状态下,由于移动终端重力轴的方向不同,引起移动终端旋转屏幕的方向不正确的问题。或者,用户可以在不希望用户旋转的情况下,禁用屏幕旋转功能。
例如,Android操作系统是架设在Linux和JAVA虚拟机之上的一个操作系统,整个系统上层管理是运行在SystemServer进程中,由多个不同的服务和管理类管理系统。以下表1示出了本申请主要需要使用的服务和系统工具类。
Figure PCTCN2015093736-appb-000001
表1
本申请是通过监听移动终端的重力传感器的数据,判断移动终端拍击动作。提供快速锁定屏幕横竖切换,快速翻转屏幕,为用户提供优良的用户体验。
在移动终端的Android系统中,传感器的架构从上到下依次是服 务层、硬件设备层和驱动层,加速度传感器或者陀螺仪的数据都是在驱动层获得的,然后依次向上传递,最后传递到服务层进行处理。在现有技术中,系统服务和上层应用需要通过监听SensorService返回的事件,才能够获得对应的传感器数据。
图2示出了根据本发明的技术方案的Android传感器数据处理流程图。如图2所示,根据本申请的技术方案,基于服务层所读取的关于用户拍击动作的数据,利用本申请中所说明的算法来自动控制移动终端的屏幕旋转模式,在Android SystemServer加入根据本申请的技术方案的服务。当系统启动后,该服务自动启动并监听SensorService的传感器数据,而不需要通过监听SensorService返回的事件。同时本服务在SensorService层加入拦截器,必要时拦截其他服务对加速度传感器和陀螺仪数据的监听行为。
加速度传感器可以测量当前重力加速度在X、Y、Z轴方向上的分量大小。当用户从某个方向拍击移动终端时候,会显著改变X,Y,Z轴方向上的传感器值,Android系统可以在SensorService中注册监听器,监听传感器的这些变化。
具体地,可以通过监听用户重力传感器的数值变化,判断用户的拍击行为。例如,拍击行为计算方式如下:当监听到例如X轴和Y轴的传感器加速度数据在短时间内出现高幅度变化,然后迅速回归近期的平均水平,则可以确定用户拍击移动终端。变化幅度如下表2和表3所示:
用户自右向左拍击移动终端右侧。
时间(ms) 重力传感器数据(X轴) 数据值
19:18:19.727 0.21906945 x1
19:18:19.797 1.4173675 x2
19:18:19.867 -9.765948 x3
19:18:19.937 1.2653356 x4
19:18:20.007 2.4349031 x5
19:18:20.077 -0.8571242 x6
表2
用户自上向下拍击移动终端上边沿。
时间(ms) 重力传感器数据(Y轴) 数据值
19:27:48.797 2.1535845 y1
19:27:48.867 2.2697031 y2
19:27:48.937 -6.361394 y3
19:27:49.007 7.8865004 y4
19:27:49.077 2.7760768 y5
19:27:49.147 1.1911154 y6
19:27:49.217 2.7257986 y7
19:27:49.287 2.2637177 y8
19:27:49.357 2.1751323 y9
19:27:49.427 2.4947581 y10
表3
由上表2和表3可以看出,监听的传感器数据出现短时间的突然波动。当满足以下两个条件时,则可认为在该方向轴上,用户拍击了移动终端一次。
(1):1秒内有两次传感器值与上一次传感器值的差高于预定阀值(阀值可以根据不同移动终端的情况而不同)。
(2):传感器值在快速变化后归于平均值。
计算公式如下:
Figure PCTCN2015093736-appb-000002
Figure PCTCN2015093736-appb-000003
Figure PCTCN2015093736-appb-000004
其中,Xn代表第N次传感器数据,Xn-1表示Xn的上一次传感器数据。Xk表示传感器的Xn的前面第k次传感器数据(k值可以根据实际硬件调试)Max表示拍击事件阀值,超过该值代表用户拍击一次手机。Max可以根据不同手机的硬件数据调整。Xp和Xn含义相同,只是与Xn间隔一秒以内传感器值。对应表3数据,Xn表示y3,Xp表示y5。
另外,如果在2秒或3秒内连续出现两次拍击事件,同时传感器值的变化方向相同,都是变大或者变小,则能认为用户是连续两次拍击事件。如果在2或3秒内检测到用户三次或以上的多次拍击,但是传感器的方向不同,则可判定用户是在晃动移动终端,因此作为拍击事件。
当监听到用户拍击事件后,对于不同的拍击事件,可以通过控制Android Framework层代码,修改移动终端的设置的选项,以便禁用或启用移动终端的屏幕旋转功能。
例如,对于单次拍击事件,禁用移动终端的屏幕旋转功能,从而不执行任何转屏操作。如果拍击事件不是单次拍击事件,则启用屏幕旋转功能。对于两次拍击事件,对用户对移动终端的上下左右的连续两次拍击动作做出响应,将移动终端屏幕旋转到用户指定的方向。所述两次拍击事件包括自上向下、自下向上、自左至右和自右至左中的 至少一个。例如,如果用户自左向右拍击移动终端,则移动终端执行向左旋转屏幕的操作;如果用户自右向左拍击移动终端,则移动终端执行向右旋转屏幕的操作;如果用户自上向下拍击移动终端,则移动终端执行向上旋转屏幕的操作;以及如果用户自下向上拍击移动终端,则移动终端执行向下旋转屏幕的操作。对于三次或以上的多次拍击事件,移动终端禁用屏幕旋转功能,也就是说,不执行屏幕旋转操作。
图3示出了根据本发明的实施例的基于用户拍击来自动控制屏幕旋转模式的方法300的流程图。如图3所示,在步骤301中,移动终端监听用户拍击事件。在步骤302中,判断拍击事件是否是单次拍击事件。如果是,则在步骤303中,移动终端禁用屏幕旋转功能。如果不是,则在步骤304中,判断拍击事件是否是三次或以上的拍击事件。如果是,则在步骤305中,移动终端禁用屏幕旋转功能。如果不是,则在步骤306中,判断拍击事件是否是两次拍击事件。如果是,则在步骤307中,移动终端启用屏幕旋转功能。然后,在步骤308中,基于两个拍击事件,将移动终端屏幕旋转到用户指定的方向。接着,该方法300结束。
在本申请的技术方案中,提出了对现有Android移动终端自动转屏功能的优化。本发明的技术方案不仅解决了用在诸如躺和侧卧的非正常状态下,由于移动终端重力轴变化,移动终端不能正确转屏的问题,而且可以在诸如站立的正常状态下的任何状态下根据用户的需要自动控制移动终端的转屏。本发明的技术方案使用重力传感器来对用户拍击的动作进行分类,但是并不依赖于重力传感器来控制移动终端的屏幕旋转模式。而且,由于转屏功能是移动终端最常用的几个功能之一,该项方案能够显著地改善Android移动终端的用户体验。即,根据本发明的技术方案,用户通过简单的动作就可以得到额外的布局模式,期间不需要操作任何界面元素或实体按钮,从而有效提升移动终端的友好型和体验满意度。
上述实施例仅是本发明的优选实施例,并不用于限制本发明。对本领域技术人员显而易见的是,在不脱离本发明精神和范围的情况下,可以对本发明的实施例进行各种修改和改变。因此,本发明意在涵盖落入如权利要求所限定的本发明的范围之内的所有的修改或变型。

Claims (6)

  1. 一种基于用户拍击来自动控制移动终端的屏幕旋转模式的方法,包括:
    监听用户拍击事件;
    确定所述拍击事件是否是两次拍击事件;
    响应于确定所述拍击事件是两次拍击事件,启用屏幕旋转功能;以及
    将所述移动终端的屏幕旋转到指定方向。
  2. 根据权利要求1所述的方法,进一步包括:
    确定所述拍击事件是否是单次拍击事件;以及
    响应于确定所述拍击事件是单次拍击事件,禁用所述屏幕旋转功能。
  3. 根据权利要求1所述的方法,进一步包括:
    确定所述拍击事件是否是三次或以上拍击事件;以及
    响应于确定所述拍击事件是三次或以上拍击事件,禁用所述屏幕旋转功能。
  4. 根据权利要求1所述的方法,其中,所述两次拍击事件包括自上向下、自下向上、自左至右和自右至左中的至少一个。
  5. 根据权利要求1所述的方法,其中,确定所述拍击事件是否是两次拍击事件是基于所述由所述移动终端获取的重力传感器的数据的变化方向的。
  6. 根据权利要求5所述的方法,其中,如果所述变化方向相同,则所述拍击事件被确定为所述两次拍击事件。
PCT/CN2015/093736 2014-11-26 2015-11-03 基于用户拍击来自动控制移动终端的屏幕旋转模式的方法 WO2016082668A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410699699.5 2014-11-26
CN201410699699.5A CN104391634A (zh) 2014-11-26 2014-11-26 基于用户拍击来自动控制移动终端的屏幕旋转模式的方法

Publications (1)

Publication Number Publication Date
WO2016082668A1 true WO2016082668A1 (zh) 2016-06-02

Family

ID=52609546

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/093736 WO2016082668A1 (zh) 2014-11-26 2015-11-03 基于用户拍击来自动控制移动终端的屏幕旋转模式的方法

Country Status (2)

Country Link
CN (1) CN104391634A (zh)
WO (1) WO2016082668A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107145269A (zh) * 2017-04-19 2017-09-08 腾讯科技(深圳)有限公司 一种数据旋转方法以及装置

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104391634A (zh) * 2014-11-26 2015-03-04 北京京东尚科信息技术有限公司 基于用户拍击来自动控制移动终端的屏幕旋转模式的方法
CN105138244A (zh) * 2015-09-24 2015-12-09 联想(北京)有限公司 一种信息处理方法及电子设备
CN106406848A (zh) * 2016-03-28 2017-02-15 乐视控股(北京)有限公司 终端横竖屏切换方法及装置
CN106325719B (zh) * 2016-08-05 2019-09-10 武汉斗鱼网络科技有限公司 重力感应与手动控制相结合的屏幕旋转控制方法及系统
CN109521872A (zh) * 2018-10-25 2019-03-26 成都中科创达软件有限公司 一种移动终端屏幕旋转方法及其移动终端

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101751198A (zh) * 2008-11-28 2010-06-23 英业达股份有限公司 利用电容式按键模块控制屏幕画面旋转的方法
CN102118488A (zh) * 2009-12-30 2011-07-06 中兴通讯股份有限公司 一种应用重力感应功能的方法及其移动终端
US20110221667A1 (en) * 2010-03-09 2011-09-15 Samsung Electronics Co. Ltd. Apparatus and method for switching screen in mobile terminal
CN103186328A (zh) * 2011-12-29 2013-07-03 北京三星通信技术研究有限公司 基于外力感应操作的方法及设备
CN104391634A (zh) * 2014-11-26 2015-03-04 北京京东尚科信息技术有限公司 基于用户拍击来自动控制移动终端的屏幕旋转模式的方法

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101876876A (zh) * 2009-12-04 2010-11-03 深圳市动感无线网络科技有限公司 3d魔方
EP2492788B1 (en) * 2011-02-24 2015-07-15 ST-Ericsson SA Zooming method
KR20130086422A (ko) * 2012-01-25 2013-08-02 삼성전자주식회사 휴대단말기의 터치감도 조절장치 및 방법
EP2741476A1 (en) * 2012-12-10 2014-06-11 Telefonaktiebolaget L M Ericsson (publ) Mobile device and method of operation
CN103218136A (zh) * 2013-04-25 2013-07-24 广东欧珀移动通信有限公司 一种唤醒移动终端屏幕的方法及装置
CN103309577A (zh) * 2013-06-24 2013-09-18 深圳市中兴移动通信有限公司 移动终端及其解锁方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101751198A (zh) * 2008-11-28 2010-06-23 英业达股份有限公司 利用电容式按键模块控制屏幕画面旋转的方法
CN102118488A (zh) * 2009-12-30 2011-07-06 中兴通讯股份有限公司 一种应用重力感应功能的方法及其移动终端
US20110221667A1 (en) * 2010-03-09 2011-09-15 Samsung Electronics Co. Ltd. Apparatus and method for switching screen in mobile terminal
CN103186328A (zh) * 2011-12-29 2013-07-03 北京三星通信技术研究有限公司 基于外力感应操作的方法及设备
CN104391634A (zh) * 2014-11-26 2015-03-04 北京京东尚科信息技术有限公司 基于用户拍击来自动控制移动终端的屏幕旋转模式的方法

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107145269A (zh) * 2017-04-19 2017-09-08 腾讯科技(深圳)有限公司 一种数据旋转方法以及装置
CN107145269B (zh) * 2017-04-19 2023-06-23 腾讯科技(深圳)有限公司 一种数据旋转方法以及装置

Also Published As

Publication number Publication date
CN104391634A (zh) 2015-03-04

Similar Documents

Publication Publication Date Title
WO2016082668A1 (zh) 基于用户拍击来自动控制移动终端的屏幕旋转模式的方法
CN107045420B (zh) 应用程序的切换方法及移动终端、存储介质
US8971968B2 (en) System and method for context aware usability management of human machine interfaces
EP2857944B1 (en) Mobile communication terminal, screen adjusting method and storage medium
US9891707B2 (en) Information processing device, information processing method, and program for controlling a state of an application by gaze position
WO2017166711A1 (zh) 终端横竖屏切换方法及装置
US20160034138A1 (en) Apparatus and method for setting a two hand mode to operate a touchscreen
WO2014186941A1 (zh) 一种基于终端设备的屏幕调节方法及装置
US10474848B2 (en) Electronic device and method for adjusting a touch-control area thereof
WO2013189233A2 (en) Apparatus and method for controlling a touchscreen display for one hand operation
WO2015096469A1 (zh) 一种移动终端的音量调控装置及方法、移动终端
US10013583B2 (en) Electronic device
WO2015157984A1 (zh) 一种信息提醒的方法、装置及电子终端
US9823773B2 (en) Handheld device and method for implementing input area position adjustment on handheld device
KR20160019540A (ko) 창 표시 위치를 조정하는 방법 및 단말
CN107148776B (zh) 获取视频数据的方法、装置、系统及计算机可读存储介质
US20160216869A1 (en) Interface processing method, device, terminal and computer storage medium
WO2015032245A1 (en) Method and device for managing progress indicator display
CN105824560A (zh) 一种显示面板及其亮度调节方法、显示装置
CN107682535B (zh) 基于智能手机平台远程控制计算机的方法
US9557848B2 (en) Handheld electronic apparatus and method for controlling the same
WO2014097653A1 (ja) 電子機器、制御方法およびプログラム
US20160313849A1 (en) Method for Controlling Display of Touchscreen, and Mobile Device
CN111488098A (zh) 触摸屏参数的调整方法及装置、电子设备、存储介质
JP6900232B2 (ja) 電子機器および方法

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: 15863440

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 180917)

122 Ep: pct application non-entry in european phase

Ref document number: 15863440

Country of ref document: EP

Kind code of ref document: A1