Movatterモバイル変換


[0]ホーム

URL:


CN106371719A - Screen rotation control method and mobile terminal - Google Patents

Screen rotation control method and mobile terminal
Download PDF

Info

Publication number
CN106371719A
CN106371719ACN201610704194.2ACN201610704194ACN106371719ACN 106371719 ACN106371719 ACN 106371719ACN 201610704194 ACN201610704194 ACN 201610704194ACN 106371719 ACN106371719 ACN 106371719A
Authority
CN
China
Prior art keywords
mobile terminal
screen
touch
rotation
condition
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN201610704194.2A
Other languages
Chinese (zh)
Inventor
曹元�
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co LtdfiledCriticalVivo Mobile Communication Co Ltd
Priority to CN201610704194.2ApriorityCriticalpatent/CN106371719A/en
Publication of CN106371719ApublicationCriticalpatent/CN106371719A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

Translated fromChinese

本发明提供了一种屏幕旋转控制方法和移动终端,涉及计算机技术领域。所述方法,包括:记录以所述移动终端侧边屏上的触摸点为起点输入的触摸划动轨迹;如果所述触摸划动轨迹满足预设轨迹条件,则获取与所述预设轨迹条件对应的旋转操作;控制所述移动终端的屏幕进行所述旋转操作。解决了现有的屏幕旋转控制方法不能灵活的针对不同的应用程序以及同一应用程序的不同应用界面控制移动终端屏幕旋转,降低用户的使用体验的问题,取得了可以随时通过触摸划动移动终端的显示屏控制移动终端屏幕旋转,提高了用户的使用体验的有益效果。

The invention provides a screen rotation control method and a mobile terminal, which relate to the technical field of computers. The method includes: recording a touch-and-swipe trajectory input from a touch point on the side screen of the mobile terminal; if the touch-and-swipe trajectory satisfies a preset trajectory condition, then acquiring Corresponding rotation operation: controlling the screen of the mobile terminal to perform the rotation operation. It solves the problem that the existing screen rotation control method cannot flexibly control the screen rotation of the mobile terminal for different applications and different application interfaces of the same application, and reduces the user experience. The display screen controls the rotation of the screen of the mobile terminal, which improves the beneficial effect of user experience.

Description

Translated fromChinese
一种屏幕旋转控制方法和移动终端A screen rotation control method and mobile terminal

技术领域technical field

本发明涉及计算机技术领域,特别是涉及一种屏幕旋转控制方法和移动终端。The invention relates to the technical field of computers, in particular to a screen rotation control method and a mobile terminal.

背景技术Background technique

随着计算机技术的发展,越来越多的人选用智能手机等移动终端作为休闲娱乐或工作方式。而且由于使用习惯、使用姿势或使用场景的不同,使用者对移动终端的屏幕方向有不同需求。目前而言,移动终端在切换屏幕显示方向方面,多基于重力传感器来实现,例如通过重力传感器侦听手机放置或旋转的方向,依据其与重力方向,或与重力方向垂直的相对水平方向的夹角来计算屏幕旋转的目标方向或角度,进而再利用全局开关,控制屏幕旋转功能的开启或关闭,以适应不同用户的对屏幕旋转开启或关闭的不同需求。With the development of computer technology, more and more people choose mobile terminals such as smart phones as leisure entertainment or work methods. Moreover, due to different usage habits, usage postures or usage scenarios, users have different requirements for the screen orientation of the mobile terminal. At present, mobile terminals are mostly implemented based on the gravity sensor in terms of switching the display direction of the screen. Use the angle to calculate the target direction or angle of screen rotation, and then use the global switch to control the opening or closing of the screen rotation function to meet the different needs of different users for turning on or off the screen rotation.

但是在实际应用中,即使是同一用户,在使用同一移动终端中不同应用程序时可能对移动终端的屏幕方向有不同的需求,例如对于有些应用程序需要横屏使用,对于有些应用程序则期望锁定竖屏。而且即使针对同一应用程序,也可能会在不同的应用界面中对移动终端的屏幕方向有不同的需求。而现有的屏幕旋转控制方法,仅提供一个全局的开关,并不能灵活的针对不同的应用程序以及同一应用程序的不同应用界面控制移动终端屏幕旋转,进而容易降低用户的使用体验。However, in practical applications, even the same user may have different requirements for the screen orientation of the mobile terminal when using different applications in the same mobile terminal. For example, some applications require horizontal screen use, while others expect to be locked vertical screen. Moreover, even for the same application program, there may be different requirements for the screen orientation of the mobile terminal in different application interfaces. However, the existing screen rotation control method only provides a global switch, and cannot flexibly control the screen rotation of the mobile terminal for different application programs and different application interfaces of the same application program, thereby easily reducing user experience.

发明内容Contents of the invention

为了解决现有的屏幕旋转控制方法不能灵活的针对不同的应用程序以及同一应用程序的不同应用界面控制移动终端屏幕旋转,降低用户的使用体验的问题,本发明实施例提供一种屏幕旋转控制方法和移动终端。In order to solve the problem that the existing screen rotation control method cannot flexibly control the screen rotation of the mobile terminal for different application programs and different application interfaces of the same application program, and reduce the user experience, an embodiment of the present invention provides a screen rotation control method and mobile terminals.

一方面,本发明公开了一种屏幕旋转控制方法,包括:In one aspect, the present invention discloses a screen rotation control method, including:

记录以所述移动终端侧边屏上的触摸点为起点输入的触摸划动轨迹;Recording the touch-swiping trajectory input from the touch point on the side screen of the mobile terminal as a starting point;

如果所述触摸划动轨迹满足预设轨迹条件,则获取与所述预设轨迹条件对应的旋转操作;If the touch-and-swipe track satisfies a preset track condition, acquiring a rotation operation corresponding to the preset track condition;

控制所述移动终端的屏幕进行所述旋转操作。controlling the screen of the mobile terminal to perform the rotation operation.

另一方面,本发明还公开了一种移动终端,包括:On the other hand, the present invention also discloses a mobile terminal, including:

记录模块,用于记录以所述移动终端侧边屏上的触摸点为起点输入的触摸划动轨迹;A recording module, configured to record the touch-swiping trajectory input from the touch point on the side screen of the mobile terminal as a starting point;

选择操作确认模块,用于如果所述触摸划动轨迹满足预设轨迹条件,则获取与所述预设轨迹条件对应的旋转操作;A selection operation confirmation module, configured to obtain a rotation operation corresponding to the preset trajectory condition if the touch-and-swipe trajectory satisfies the preset trajectory condition;

旋转操作执行模块,用于控制所述移动终端的屏幕进行所述旋转操作。A rotation operation executing module, configured to control the screen of the mobile terminal to perform the rotation operation.

本发明通过记录以所述移动终端侧边屏上的触摸点为起点输入的触摸划动轨迹;如果所述触摸划动轨迹满足预设轨迹条件,则获取与所述预设轨迹条件对应的旋转操作;控制所述移动终端的屏幕进行所述旋转操作。从而可以随时通过触摸划动移动终端的显示屏控制移动终端屏幕旋转,提高了用户的使用体验。The present invention records the touch-swipe track input from the touch point on the side screen of the mobile terminal; if the touch-swipe track satisfies the preset track condition, then obtains the rotation corresponding to the preset track condition Operation: controlling the screen of the mobile terminal to perform the rotation operation. Therefore, the screen rotation of the mobile terminal can be controlled by touching and swiping the display screen of the mobile terminal at any time, which improves the user experience.

上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention, it can be implemented according to the contents of the description, and in order to make the above and other purposes, features and advantages of the present invention more obvious and understandable , the specific embodiments of the present invention are enumerated below.

附图说明Description of drawings

为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例的描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments of the present invention. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention , for those skilled in the art, other drawings can also be obtained according to these drawings without paying creative labor.

图1是本发明实施例一中的一种屏幕旋转控制方法的步骤流程图;FIG. 1 is a flow chart of the steps of a screen rotation control method in Embodiment 1 of the present invention;

图2是本发明实施例二中的一种屏幕旋转控制方法的步骤流程图;FIG. 2 is a flowchart of steps of a method for controlling screen rotation in Embodiment 2 of the present invention;

图2A是本发明实施例二中的一种满足顺时针预设轨迹条件的触摸划动轨迹示意图;FIG. 2A is a schematic diagram of a touch-and-swipe trajectory satisfying clockwise preset trajectory conditions in Embodiment 2 of the present invention;

图2B是本发明实施例二中的一种满足逆时针预设轨迹条件的触摸划动轨迹示意图;FIG. 2B is a schematic diagram of a touch-and-swipe track that satisfies the counterclockwise preset track condition in Embodiment 2 of the present invention;

图3是本发明实施例三中的一种屏幕旋转控制方法的步骤流程图;FIG. 3 is a flowchart of steps of a method for controlling screen rotation in Embodiment 3 of the present invention;

图4是本发明实施例四中的一种移动终端的结构示意图;FIG. 4 is a schematic structural diagram of a mobile terminal in Embodiment 4 of the present invention;

图5是本发明实施例五中的一种移动终端的结构示意图;FIG. 5 is a schematic structural diagram of a mobile terminal in Embodiment 5 of the present invention;

图6是本发明实施例六中的一种移动终端的框图;FIG. 6 is a block diagram of a mobile terminal in Embodiment 6 of the present invention;

图7是本发明实施例七中的一种移动终端的结构示意图。FIG. 7 is a schematic structural diagram of a mobile terminal in Embodiment 7 of the present invention.

具体实施方式detailed description

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

下面通过列举几个具体的实施例详细介绍本发明提供的一种屏幕旋转控制方法和移动终端。A method for controlling screen rotation and a mobile terminal provided by the present invention will be described in detail below by enumerating several specific embodiments.

实施例一Embodiment one

详细介绍本发明实施例提供的一种屏幕旋转控制方法。A method for controlling screen rotation provided by an embodiment of the present invention is introduced in detail.

参照图1,示出了本发明实施例中一种屏幕旋转控制方法的步骤流程图。Referring to FIG. 1 , it shows a flowchart of steps of a method for controlling screen rotation in an embodiment of the present invention.

步骤101,记录以所述移动终端侧边屏上的触摸点为起点输入的触摸划动轨迹。Step 101 , recording a track of touches and swipes input with the touch point on the side screen of the mobile terminal as a starting point.

在本发明实施例中,移动终端应为单边侧边屏设计的移动终端,或双边侧边屏设计的移动终端。移动终端的操作系统应具备单独识别侧边屏触摸事件的模块或服务或程序逻辑等。In the embodiment of the present invention, the mobile terminal should be a mobile terminal designed with a side screen on one side, or a mobile terminal designed with two side screens. The operating system of the mobile terminal should have a module or service or program logic for separately identifying touch events on the side screen.

在实际应用中,用户直接在移动终端正面显示屏输入的触摸划动操作,容易被移动终端正面显示屏所显示的应用程序识别为针对该应用程序的控制指令并进行响应。例如,如果移动终端正面显示屏当前显示为游戏界面,那么如果用户触摸该正面显示屏或者是触摸并划动,那么该游戏可能会判定触摸操作为选定游戏界面中的人物等,或者判定触摸划动操作为将游戏界面中某一人物的位置进行移动等。因此,为了避免上述触摸划动操作为其他应用程序响应等导致无法及时控制移动终端屏幕旋转的情况,在本发明实施例中,记录用户以移动终端侧边屏上的触摸点为起点输入的触摸划动轨迹,具体的在本发明实施例中,可以利用任何可用的设备或方法记录用户以移动终端侧边屏上的触摸点为起点输入的触摸划动轨迹,对此本发明实施例不加以限定。其中,移动终端侧边屏上的触摸点包括移动终端侧边屏中可以接收用户触摸操作以及滑动操作的区域,在本发明实施例中,可以根据需求预先设置触摸点在移动终端侧边屏中的区域,对此本发明实施例不加以限定。In practical applications, the touch and swipe operation directly input by the user on the front display screen of the mobile terminal is easily recognized by the application program displayed on the front display screen of the mobile terminal as a control instruction for the application program and responds to it. For example, if the front display screen of the mobile terminal is currently displayed as a game interface, if the user touches the front display screen or touches and slides, the game may determine that the touch operation is a character in the selected game interface, or determine that the touch operation The swipe operation is to move the position of a certain character in the game interface. Therefore, in order to avoid the situation that the above-mentioned touch and swipe operation cannot be controlled in time due to the response of other applications, etc., in the embodiment of the present invention, the touch input by the user starting from the touch point on the side screen of the mobile terminal is recorded. The swipe track, specifically, in the embodiment of the present invention, any available device or method can be used to record the touch swipe track input by the user starting from the touch point on the side screen of the mobile terminal. limited. Wherein, the touch point on the side screen of the mobile terminal includes an area in the side screen of the mobile terminal that can receive the user's touch operation and sliding operation. In the embodiment of the present invention, the touch point can be preset in the side screen of the mobile terminal area, which is not limited in this embodiment of the present invention.

用户对移动终端的触摸操作可以包含两个子动作,分别为:手指按下、手指抬起,在本发明实施例中,当检测到手指按下子动作时,可以判断该子动作的触点是否在移动终端的侧边屏,如果是,则可以开始记录该触摸操作的触摸划动轨迹,然后在开始记录本次触摸划动轨迹之后,当首次侦听到手指抬起子动作时,则可以停止继续记录触摸划动轨迹,那么此时记录的触摸划动轨迹即为用户以移动终端侧边屏上的触摸点为起点输入的触摸划动轨迹。The user's touch operation on the mobile terminal may include two sub-actions, namely: finger press and finger lift. In the embodiment of the present invention, when the finger press sub-action is detected, it can be judged whether the contact of the sub-action is on The side screen of the mobile terminal, if it is, can start recording the touch stroke track of the touch operation, and then after starting to record the touch slide track, when the finger lifting sub-action is detected for the first time, it can stop continuing Record the touch swipe track, then the recorded touch swipe track at this time is the touch swipe track input by the user starting from the touch point on the side screen of the mobile terminal.

在本发明实施例中,还可以在本步骤之前,根据需求预先设置用以控制移动终端屏幕旋转的触摸划动轨迹需要满足的预设轨迹条件,对此本发明实施例不加以限定。那么在记录用户以移动终端侧边屏上的触摸点为起点输入的触摸划动轨迹之后,则可以进一步判断该触摸划动轨迹是否满足预设轨迹条件。In the embodiment of the present invention, before this step, preset trajectory conditions that need to be satisfied by the touch and swipe trajectory used to control the screen rotation of the mobile terminal can be preset according to requirements, which is not limited in this embodiment of the present invention. Then, after recording the touch-swipe trajectory input by the user starting from the touch point on the side screen of the mobile terminal, it can be further judged whether the touch-swipe trajectory satisfies the preset trajectory condition.

例如,预设轨迹条件可以包括触摸划动轨迹为一弧形曲线,起始点位于移动终端侧边屏,其起始点沿弧形曲线的切线与手机侧边沿沿线的夹角不应小于第一角度,其终止点沿弧形曲线的切线与手机侧边沿沿线的夹角不应大于第二角度等等,其中的第一角度和第二角度都可以根据需求灵活设置。那么在本发明实施例中,可以在记录得到用户以移动终端侧边屏上的触摸点为起点输入的触摸划动轨迹之后,设定以移动终端中某一点的空间位置为坐标原点(0,0,0),进而绘制对应该触摸划动轨迹的曲线,然后判断该曲线是否满足预设轨迹条件。另外,在实际应用中,如果用户通过触摸移动终端屏幕进而左右切换移动终端的显示界面,而如果此时用户切换移动终端的显示界面的触摸操作的起点也位于移动终端侧边屏,且触摸操作的轨迹满足上述预设轨迹条件,那么该触摸操作会被误判断为控制移动终端屏幕旋转的触摸划动轨迹。因此在本发明实施例中,为了降低上述误判情况的出现,在预设轨迹条件中还可以包括对触摸划动轨迹终点的限定,例如可以预先设置触摸划动轨迹的终点也必须位于起点所在的侧边屏,或者是触摸划动轨迹的终点必须位于起点所在侧边屏中的某一设定区域,或者是触摸划动轨迹的终点必须位于移动终端正面显示屏中某一设定区域等等,对此本发明实施例不加以限定。For example, the preset trajectory conditions may include that the trajectory of the touch and swipe is an arc curve, the starting point is located on the side screen of the mobile terminal, and the angle between the tangent of the starting point along the arc curve and the line along the side edge of the mobile phone should not be smaller than the first angle , the angle between the tangent of the arc curve at the end point and the side edge of the mobile phone should not be greater than the second angle, etc., wherein the first angle and the second angle can be flexibly set according to requirements. Then, in the embodiment of the present invention, after recording the touch and swipe trajectory input by the user with the touch point on the side screen of the mobile terminal as the starting point, set the spatial position of a certain point in the mobile terminal as the coordinate origin (0, 0, 0), and then draw a curve corresponding to the touch swipe track, and then judge whether the curve satisfies the preset track condition. In addition, in practical applications, if the user touches the screen of the mobile terminal to switch the display interface of the mobile terminal left and right, and if the user switches the display interface of the mobile terminal at this time, the starting point of the touch operation is also located on the side screen of the mobile terminal, and the touch operation If the trajectory of the touch operation satisfies the above preset trajectory condition, then the touch operation will be misjudged as a touch and swipe trajectory for controlling the rotation of the screen of the mobile terminal. Therefore, in the embodiment of the present invention, in order to reduce the occurrence of the above-mentioned misjudgment, the preset trajectory conditions may also include a limit on the end point of the touch-swipe track, for example, it may be preset that the end point of the touch-swipe track must also be located side screen, or the end point of the touch swipe track must be located in a certain set area on the side screen where the starting point is located, or the end point of the touch swipe track must be located in a certain set area on the front display screen of the mobile terminal, etc. etc., which are not limited by this embodiment of the present invention.

在本发明实施例中,还可以设置针对不同旋转操作的预设轨迹条件,而且,针对不同旋转操作的预设轨迹条件是各自独立无重合的,也即触摸划动轨迹最多可以同时满足针对一个旋转操作的预设轨迹条件。例如,可以分别设置逆时针旋转90度、逆时针旋转180度、顺时针旋转90度和顺时针旋转180度的预设轨迹条件,那么可以判断记录的触摸划动轨迹是否满足针对不同旋转操作的预设轨迹条件,如果该触摸划动轨迹满足其中一个预设轨迹条件,则获取与该预设轨迹条件对应的旋转操作。In the embodiment of the present invention, preset trajectory conditions for different rotation operations can also be set, and the preset trajectory conditions for different rotation operations are independent and non-overlapping, that is, the touch and swipe trajectory can satisfy at most one Preset trajectory conditions for rotation operations. For example, preset trajectory conditions for 90 degrees counterclockwise rotation, 180 degrees counterclockwise rotation, 90 degrees clockwise rotation and 180 degrees clockwise rotation can be set respectively, then it can be judged whether the recorded touch swipe trajectory meets the preset requirements for different rotation operations. A trajectory condition is set, and if the touch-and-swipe trajectory satisfies one of the preset trajectory conditions, the rotation operation corresponding to the preset trajectory condition is acquired.

步骤102,如果所述触摸划动轨迹满足预设轨迹条件,则获取与所述预设轨迹条件对应的旋转操作。Step 102 , if the touch-and-swipe track satisfies a preset track condition, acquire a rotation operation corresponding to the preset track condition.

在本发明实施例中,可以建立与各个预设轨迹条件与旋转操作之间的对应关系,并且还可以将建立的对应关系以配置文件的方式存入移动终端或者是云端服务器等存储空间,当判定触摸划动轨迹满足某一预设轨迹条件时,则可以从配置文件中查找与该预设轨迹条件对应的旋转操作。当然,在本发明实施例中,还可以利用其他可用方式记录预设轨迹条件与旋转操作直接的对应关系,对此本发明实施例不加以限定。而如果触摸划动轨迹不满足预设轨迹条件,则不需要执行任何操作。In the embodiment of the present invention, the corresponding relationship between each preset trajectory condition and the rotation operation can be established, and the established corresponding relationship can also be stored in a storage space such as a mobile terminal or a cloud server in the form of a configuration file. When it is determined that the touch-and-swipe track satisfies a preset track condition, a rotation operation corresponding to the preset track condition may be searched from the configuration file. Of course, in this embodiment of the present invention, other available methods may also be used to record the direct correspondence between the preset trajectory condition and the rotation operation, which is not limited in this embodiment of the present invention. However, if the track of touching and swiping does not satisfy the preset track condition, no operation is required.

步骤103,控制所述移动终端的屏幕进行所述旋转操作。Step 103, controlling the screen of the mobile terminal to perform the rotation operation.

在确定与用户输入的触摸划动轨迹对应的旋转操作之后,即可以控制移动终端的屏幕执行对应的旋转操作。其中控制移动终端的屏幕执行对应的旋转操作的具体实现方式,可以与现有技术中由重力传感器所触发的屏幕显示方向旋转操作的实现方式一致,当然也可以利用其他任何可用方式控制移动终端的屏幕执行旋转操作,对此本发明实施例不加以限定。其中,移动终端的屏幕可以包括移动终端的正面屏幕以及各个侧边屏。After determining the rotation operation corresponding to the touch swipe track input by the user, the screen of the mobile terminal may be controlled to perform the corresponding rotation operation. The specific implementation of controlling the screen of the mobile terminal to perform the corresponding rotation operation may be consistent with the implementation of the rotation operation of the screen display direction triggered by the gravity sensor in the prior art, and of course any other available method may also be used to control the rotation of the mobile terminal. The screen performs a rotation operation, which is not limited in this embodiment of the present invention. Wherein, the screen of the mobile terminal may include a front screen and various side screens of the mobile terminal.

另外,在本发明实施例中,在控制移动终端的屏幕执行旋转操作之后,可以清除所记录的对应本次旋转操作的触摸划动轨迹。而且,在判断记录的触摸划动轨迹不满足预设轨迹条件之后,也可以清除相应的触摸划动轨迹,以释放移动终端的存储空间。控制移动终端的屏幕执行旋转操作可以理解为控制移动终端的屏幕将屏幕中显示的内容进行旋转。In addition, in the embodiment of the present invention, after the screen of the mobile terminal is controlled to perform the rotation operation, the recorded touch and swipe track corresponding to the current rotation operation may be cleared. Moreover, after judging that the recorded touch-and-swipe track does not satisfy the preset track condition, the corresponding touch-swipe track may also be cleared, so as to release the storage space of the mobile terminal. Controlling the screen of the mobile terminal to perform the rotation operation may be understood as controlling the screen of the mobile terminal to rotate the content displayed on the screen.

在本发明实施例中,通过记录以所述移动终端侧边屏上的触摸点为起点输入的触摸划动轨迹;如果所述触摸划动轨迹满足预设轨迹条件,则获取与所述预设轨迹条件对应的旋转操作;控制所述移动终端的屏幕进行所述旋转操作。从而可以随时通过触摸划动移动终端的显示屏控制移动终端屏幕旋转,提高了用户的使用体验。In the embodiment of the present invention, by recording the touch point on the side screen of the mobile terminal as the starting point of the input touch track; if the touch track meets the preset track conditions, then obtain the preset A rotation operation corresponding to the trajectory condition; controlling the screen of the mobile terminal to perform the rotation operation. Therefore, the screen rotation of the mobile terminal can be controlled by touching and swiping the display screen of the mobile terminal at any time, which improves the user experience.

实施例二Embodiment two

详细介绍本发明实施例提供的一种屏幕旋转控制方法。A method for controlling screen rotation provided by an embodiment of the present invention is introduced in detail.

参照图2,示出了本发明实施例中一种屏幕旋转控制方法的步骤流程图。Referring to FIG. 2 , it shows a flowchart of steps of a method for controlling screen rotation in an embodiment of the present invention.

步骤201,在所述移动终端的侧边屏预设区域上显示一虚拟按键。Step 201, displaying a virtual button on the preset area of the side screen of the mobile terminal.

在本发明实施例中,可以在移动终端的侧边屏预设区域中显示一个虚拟按键,进而可以设定只有用户触发该虚拟按钮时,开始记录触摸划动轨迹,从而保证所记录的触摸滑动轨迹的起点在移动终端侧边屏。其中预设区域可以根据需求预先选定,虚拟按键的具体类型等等也可以根据需求预先设定,对此本发明实施例都不加以限定。In the embodiment of the present invention, a virtual button can be displayed in the preset area of the side screen of the mobile terminal, and then it can be set that only when the user triggers the virtual button, the recording of the touch swipe track is started, so as to ensure that the recorded touch swipe The starting point of the trajectory is on the side screen of the mobile terminal. The preset area can be pre-selected according to the requirement, and the specific type of the virtual key can also be preset according to the requirement, which is not limited in this embodiment of the present invention.

步骤202,当检测到对所述虚拟按键的触摸操作时,记录以所述虚拟按键为起点输入的触摸划动轨迹。Step 202, when a touch operation on the virtual key is detected, record a track of touch and stroke input with the virtual key as a starting point.

当检测到用户对移动终端侧边屏的虚拟按键的触摸操作时,则可以开始记录用户以该虚拟按键为起点输入的触摸滑动轨迹。那么在本发明实施例中,可以只记录用户以移动终端侧边屏的虚拟按键为起点输入的触摸划动轨迹。When the user's touch operation on the virtual key on the side screen of the mobile terminal is detected, it may start to record the touch sliding track input by the user starting from the virtual key. Then, in the embodiment of the present invention, it is possible to only record the touch and swipe track input by the user starting from the virtual key on the side screen of the mobile terminal.

步骤203,如果所述触摸划动轨迹与所述预设轨迹条件的相似度满足预设相似度阈值,则获取与所述预设轨迹条件对应的旋转操作;所述预设轨迹条件包括顺时针预设轨迹条件和逆时针轨迹条件。Step 203, if the similarity between the touch-swipe track and the preset track condition satisfies the preset similarity threshold, obtain the rotation operation corresponding to the preset track condition; the preset track condition includes clockwise Preset trajectory conditions and counterclockwise trajectory conditions.

在本发明实施例中,预设轨迹条件可以包括顺时针预设轨迹条件和逆时针预设轨迹条件。其中顺时针预设轨迹条件可以为控制移动终端屏幕执行顺时针方向的旋转的预设轨迹条件,逆时针预设轨迹条件可以为控制移动终端屏幕执行逆时针方向的旋转的预设轨迹条件。在本发明实施例中,预设轨迹条件可以包括触摸滑动轨迹需要满足的弧线公式类型以及参数、触摸滑动轨迹的起始点沿触摸滑动轨迹的切线与移动终端侧边沿沿线的夹角需要满足的第一角度范围、触摸滑动轨迹的终止点沿触摸滑动轨迹的切线与手机侧边沿沿线的夹角需要满足的第二角度范围等等,具体可以根据需求在本步骤之前,或者是本步骤之前的任一步骤之前根据需求设定,对此本发明实施例不加以限定。如用户操作时,其手指划动路径最终形成的轨迹与上述特征不符,则认为其手势无效,手机将不做任何响应。而且,为了方便确认移动终端需要进行旋转的方向,因此顺时针预设轨迹条件还可以包括触摸滑动轨迹的方向必须为顺时针方向,而逆时针预设轨迹条件还可以包括触摸滑动轨迹的方向必须为逆时针方向,当然也可以不包含该条件,对此本发明实施例不加以限定。其中,顺时针预设轨迹条件对应的弧线公式类型以及参数、第一角度范围、第二角度范围和逆时针预设轨迹条件对应的弧线公式类型以及参数、第一角度范围、第二角度范围不完全一致,以对应的控制移动终端屏幕进行顺时针旋转或逆时针旋转。In this embodiment of the present invention, the preset trajectory condition may include a clockwise preset trajectory condition and a counterclockwise preset trajectory condition. The clockwise preset trajectory condition may be a preset trajectory condition for controlling the mobile terminal screen to perform a clockwise rotation, and the counterclockwise preset trajectory condition may be a preset trajectory condition for controlling the mobile terminal screen to perform a counterclockwise rotation. In the embodiment of the present invention, the preset track conditions may include the arc formula type and parameters that the touch slide track needs to satisfy, the angle between the starting point of the touch slide track along the tangent of the touch slide track and the side edge of the mobile terminal that needs to be satisfied The first angle range, the second angle range that needs to be satisfied by the angle between the end point of the touch slide track along the tangent of the touch slide track and the side edge of the mobile phone, etc., can be specified before this step or before this step according to requirements. Any step is set according to requirements, which is not limited in this embodiment of the present invention. If the trajectory formed by the user's finger swipe path does not match the above characteristics during the user's operation, the gesture will be considered invalid and the phone will not respond. Moreover, in order to confirm the direction in which the mobile terminal needs to be rotated, the preset clockwise trajectory condition may also include that the direction of the touch sliding trajectory must be clockwise, and the counterclockwise preset trajectory condition may also include that the direction of the touch sliding trajectory must be It is counterclockwise, of course, this condition may not be included, which is not limited in this embodiment of the present invention. Among them, the arc formula type and parameters corresponding to the clockwise preset trajectory condition, the first angle range, the second angle range, and the arc formula type and parameters corresponding to the counterclockwise preset trajectory condition, the first angle range, and the second angle The range is not exactly the same, and the corresponding control mobile terminal screen rotates clockwise or counterclockwise.

如图2A和图2B分别为一种满足顺时针预设轨迹条件的触摸滑动轨迹示意图和满足逆时针预设轨迹条件的触摸滑动轨迹示意图。当然,满足顺时针预设轨迹条件的触摸滑动轨迹和满足逆时针预设轨迹条件的触摸滑动轨迹并不限于图2A和图2B所示。在本发明实施例中,可以在本步骤之前,或者是本步骤之前的任一步骤之前根据需求设定,对此本发明实施例不加以限定。FIG. 2A and FIG. 2B are respectively a schematic diagram of a touch sliding trajectory satisfying a preset clockwise trajectory condition and a schematic diagram of a touch sliding trajectory satisfying a counterclockwise preset trajectory condition. Certainly, the touch sliding trajectory satisfying the clockwise preset trajectory condition and the touch sliding trajectory satisfying the counterclockwise preset trajectory condition are not limited to those shown in FIG. 2A and FIG. 2B . In the embodiment of the present invention, it may be set before this step, or before any step before this step according to requirements, which is not limited in this embodiment of the present invention.

而且,在本发明实施例中,还可以根据触摸划动轨迹与预设轨迹条件的相似度,确定是否获取与预设轨迹条件对应的旋转操作。其中,可以利用任何可用的方式计算触摸划动轨迹与预设轨迹条件的相似度,对此本发明实施例不加以限定。那么如果触摸划动轨迹与预设轨迹条件的相似度满足预设相似度阈值,则获取与该预设轨迹条件对应的旋转操作。其中,预设相似度阈值可以根据需求在本步骤之前,或者是本步骤之前的任一步骤之前根据需求设定,对此本发明实施例不加以限定。而且,顺时针预设轨迹条件对应的预设相似度阈值和逆时针预设轨迹条件对应的预设相似度阈值可以相同,也可以不同,对此本发明实施例也不加以限定。Moreover, in the embodiment of the present invention, it may also be determined whether to obtain the rotation operation corresponding to the preset trajectory condition according to the similarity between the touch-swipe trajectory and the preset trajectory condition. Wherein, any available method may be used to calculate the similarity between the touch-swiping track and the preset track condition, which is not limited in this embodiment of the present invention. Then, if the similarity between the touch-swiping track and the preset track condition satisfies the preset similarity threshold, a rotation operation corresponding to the preset track condition is obtained. Wherein, the preset similarity threshold may be set according to requirements before this step, or before any step before this step, which is not limited in this embodiment of the present invention. Moreover, the preset similarity threshold corresponding to the clockwise preset trajectory condition and the preset similarity threshold corresponding to the counterclockwise preset trajectory condition may be the same or different, which is not limited in this embodiment of the present invention.

另外,在本发明实施例中,还可以直接设定预设轨迹条件为一条预设轨迹,可以根据触摸划动轨迹与该预设轨迹的相似度确定是否获取与预设轨迹条件对应的旋转操作。那么可以判断触摸划动轨迹与预设轨迹条件的相似度是否满足预设相似度阈值;如果触摸划动轨迹与预设轨迹条件的相似度满足预设相似度阈值,则获取与预设轨迹条件对应的旋转操作。其中,预设相似度阈值可以在本步骤之前,或者是本步骤之前的任一步骤之前根据需求设定,对此本发明实施例不加以限定。另外,在本发明实施例中,可以利用任何可用方式计算触摸划动轨迹与预设轨迹条件的相似度,对此本发明实施例也不加以限定。那么进一步地,顺时针预设轨迹条件可以对应于一条顺时针预设轨迹,逆时针预设轨迹条件可以对应于一条逆时针预设轨迹,那么此时如果触摸滑动轨迹与顺时针预设轨迹的相似度满足预设相似度阈值,则可以获取与顺时针预设轨迹条件对应的旋转操作;如果触摸滑动轨迹与逆时针预设轨迹的相似度满足预设相似度阈值,则可以获取与逆时针预设轨迹条件对应的旋转操作。In addition, in the embodiment of the present invention, the preset trajectory condition can also be directly set as a preset trajectory, and it can be determined whether to obtain the rotation operation corresponding to the preset trajectory condition according to the similarity between the touch-swipe trajectory and the preset trajectory . Then it can be judged whether the similarity between the touch swipe track and the preset track condition meets the preset similarity threshold; if the similarity between the touch swipe track and the preset track condition meets the preset similarity threshold, then obtain the preset track condition The corresponding rotation operation. Wherein, the preset similarity threshold can be set before this step, or before any step before this step according to requirements, which is not limited in this embodiment of the present invention. In addition, in the embodiment of the present invention, any available manner may be used to calculate the similarity between the touch-swiping track and the preset track condition, and this embodiment of the present invention is not limited thereto. Then further, the clockwise preset track condition can correspond to a clockwise preset track, and the counterclockwise preset track condition can correspond to a counterclockwise preset track, then if the touch slide track and the clockwise preset track If the similarity meets the preset similarity threshold, the rotation operation corresponding to the clockwise preset trajectory condition can be obtained; if the similarity between the touch sliding trajectory and the counterclockwise preset trajectory meets the preset similarity threshold, then the counterclockwise The rotation operation corresponding to the preset trajectory condition.

步骤204,如果所述触摸划动轨迹满足顺时针预设轨迹条件,则控制所述移动终端的屏幕顺时针旋转预设角度。Step 204 , if the touch and swipe track satisfies the clockwise preset track condition, control the screen of the mobile terminal to rotate clockwise by a preset angle.

在本发明实施例中,与顺时针预设轨迹条件对应的旋转操作可以包括顺时针旋转预设角度。那么如果触摸划动轨迹满足顺时针预设轨迹条件,则可以控制移动终端的屏幕顺时针旋转预设角度。其中,预设角度可以为90度、180度等等,对此本发明实施例不加以限定。In the embodiment of the present invention, the rotation operation corresponding to the clockwise preset trajectory condition may include clockwise rotation by a preset angle. Then, if the touch and swipe track satisfies the clockwise preset track condition, the screen of the mobile terminal may be controlled to rotate clockwise by a preset angle. Wherein, the preset angle may be 90 degrees, 180 degrees, etc., which are not limited in this embodiment of the present invention.

步骤205,如果所述触摸划动轨迹满足逆时针预设轨迹条件,则控制所述移动终端的屏幕逆时针旋转预设角度。Step 205, if the touch and swipe track satisfies the counterclockwise preset track condition, control the screen of the mobile terminal to rotate counterclockwise by a preset angle.

相应地,在本发明实施例中,与逆时针预设轨迹条件对应的旋转操作可以包括逆时针旋转预设角度。那么如果触摸划动轨迹满足逆时针预设轨迹条件,则可以控制移动终端的屏幕逆时针旋转预设角度。其中,预设角度也可以为90度、180度等等,对此本发明实施例不加以限定。其中,对应于逆时针预设轨迹条件的预设角度与对应于顺时针预设轨迹条件的预设角度一般为相同的角度值,当然也可以设置为不同角度值,对此本发明实施例不加以限定。Correspondingly, in the embodiment of the present invention, the rotation operation corresponding to the counterclockwise preset trajectory condition may include counterclockwise rotation by a preset angle. Then, if the touch and swipe trajectory satisfies the counterclockwise preset trajectory condition, the screen of the mobile terminal may be controlled to rotate counterclockwise by a preset angle. Wherein, the preset angle may also be 90 degrees, 180 degrees, etc., which are not limited in this embodiment of the present invention. Wherein, the preset angle corresponding to the counterclockwise preset trajectory condition is generally the same angle value as the preset angle corresponding to the clockwise preset trajectory condition, and of course it can also be set to a different angle value. Be limited.

在本发明实施例中,通过记录以所述移动终端侧边屏上的触摸点为起点输入的触摸划动轨迹;如果所述触摸划动轨迹满足预设轨迹条件,则获取与所述预设轨迹条件对应的旋转操作;控制所述移动终端的屏幕进行所述旋转操作。从而可以随时通过触摸划动移动终端的显示屏控制移动终端屏幕旋转,提高了用户的使用体验。In the embodiment of the present invention, by recording the touch point on the side screen of the mobile terminal as the starting point of the input touch track; if the touch track meets the preset track conditions, then obtain the preset A rotation operation corresponding to the trajectory condition; controlling the screen of the mobile terminal to perform the rotation operation. Therefore, the screen rotation of the mobile terminal can be controlled by touching and swiping the display screen of the mobile terminal at any time, which improves the user experience.

另外,在本发明实施例中,预设轨迹条件包括顺时针预设轨迹条件和逆时针轨迹条件,而且如果所述触摸划动轨迹满足顺时针预设轨迹条件,则控制所述移动终端的屏幕顺时针旋转预设角度;如果所述触摸划动轨迹满足逆时针预设轨迹条件,则控制所述移动终端的屏幕逆时针旋转预设角度。从而可以根据用户需求方便随时控制移动终端屏幕旋转,进一步提高用户的使用体验。In addition, in the embodiment of the present invention, the preset trajectory condition includes a clockwise preset trajectory condition and a counterclockwise trajectory condition, and if the touch and swipe trajectory satisfies the clockwise preset trajectory condition, then the screen of the mobile terminal is controlled Rotate a preset angle clockwise; if the touch and swipe track satisfies the counterclockwise preset track condition, control the screen of the mobile terminal to rotate counterclockwise by a preset angle. Therefore, the rotation of the screen of the mobile terminal can be conveniently controlled at any time according to the needs of the user, thereby further improving the user experience.

实施例三Embodiment Three

详细介绍本发明实施例提供的一种屏幕旋转控制方法。A method for controlling screen rotation provided by an embodiment of the present invention is introduced in detail.

参照图3,示出了本发明实施例中一种屏幕旋转控制方法的步骤流程图。Referring to FIG. 3 , it shows a flowchart of steps of a method for controlling screen rotation in an embodiment of the present invention.

步骤301,记录以所述移动终端侧边屏上的触摸点为起点输入的触摸划动轨迹。Step 301 , recording a track of touches and swipes input with the touch point on the side screen of the mobile terminal as a starting point.

步骤302,如果所述触摸划动轨迹满足预设轨迹条件,则获取与所述预设轨迹条件对应的旋转操作。Step 302 , if the touch-and-swipe track satisfies a preset track condition, acquire a rotation operation corresponding to the preset track condition.

步骤303,判断所述移动终端的屏幕当前显示的页面是否支持屏幕旋转;如果所述页面支持屏幕旋转,则进入步骤304。Step 303, judging whether the page currently displayed on the screen of the mobile terminal supports screen rotation; if the page supports screen rotation, proceed to step 304.

在实际应用中,存在一些应用程序或者是应用程序的某些页面不支持屏幕旋转。例如,存在某些游戏界面只支持固定朝向的横屏状态,那么如果移动终端当前开启该游戏且当前显示的页面为该游戏界面,那么则不可以控制移动终端的屏幕进行旋转操作。In actual applications, some applications or some pages of the applications do not support screen rotation. For example, there are certain game interfaces that only support a landscape orientation with a fixed orientation. If the game is currently opened on the mobile terminal and the currently displayed page is the game interface, then the screen of the mobile terminal cannot be controlled to rotate.

因此在本发明实施例中,在控制移动终端的屏幕执行旋转操作之前,可以先判断移动终端的屏幕当前显示的页面是否支持屏幕旋转,如果该页面支持屏幕旋转,则控制移动终端的屏幕执行旋转操作;如果该页面不支持屏幕旋转,则不执行任何操作。Therefore, in the embodiment of the present invention, before controlling the screen of the mobile terminal to perform a rotation operation, it is possible to determine whether the page currently displayed on the screen of the mobile terminal supports screen rotation, and if the page supports screen rotation, then control the screen of the mobile terminal to perform rotation Action; if the page does not support screen rotation, no action is performed.

具体的在本发明实施例中,可以预先构建包含不支持屏幕旋转页面的页面信息的数据库,然后判断移动终端的屏幕当前显示的页面是否与该数据库中某一页面相匹配,如果是则可以确定移动终端的屏幕当前显示的页面不支持屏幕旋转。其中,页面信息可以包括页面所述应用程序、页面内容等等,对此本发明实施例不加以限定。另外,如果一个应用程序全部页面都不支持屏幕旋转,那么该数据库中还可以包含不支持屏幕旋转的应用程序的信息,例如应用程序的名称、版本等等,对此本发明实施例也不加以限定,那么此时可以判断移动终端的屏幕当前显示的页面对应的应用程序是否与该数据库中的某一应用程序相匹配,如果移动终端的屏幕当前显示的页面对应的应用程序与该数据库中的某一应用程序相匹配,则可以确定移动终端的屏幕当前显示的页面不支持屏幕旋转。Specifically, in the embodiment of the present invention, a database containing page information that does not support screen rotation pages can be pre-built, and then judge whether the page currently displayed on the screen of the mobile terminal matches a certain page in the database, and if so, it can be determined The page currently displayed on the screen of the mobile terminal does not support screen rotation. Wherein, the page information may include the application program described on the page, page content, etc., which is not limited in this embodiment of the present invention. In addition, if all pages of an application program do not support screen rotation, then the database may also contain information about the application program that does not support screen rotation, such as the name and version of the application program, etc. If the application program corresponding to the page currently displayed on the screen of the mobile terminal matches an application program in the database, then it can be judged at this time whether the application program corresponding to the page currently displayed on the screen of the mobile terminal matches the application program in the database. If a certain application program matches, it can be determined that the page currently displayed on the screen of the mobile terminal does not support screen rotation.

当然,在本发明实施例中,还可以利用其他可用方式判断移动终端的屏幕当前显示的页面是否支持屏幕旋转,对此本发明实施例不加以限定。Of course, in this embodiment of the present invention, other available methods may also be used to determine whether the page currently displayed on the screen of the mobile terminal supports screen rotation, which is not limited in this embodiment of the present invention.

另外,在本发明实施例中,本步骤可以在步骤304之前,或者是步骤304之前的任一步骤之前执行,对此本发明实施例不加以限定。In addition, in this embodiment of the present invention, this step may be performed before step 304, or before any step before step 304, which is not limited in this embodiment of the present invention.

步骤304,控制所述移动终端的屏幕进行所述旋转操作。Step 304, controlling the screen of the mobile terminal to perform the rotation operation.

在本发明实施例中,通过记录以所述移动终端侧边屏上的触摸点为起点输入的触摸划动轨迹;如果所述触摸划动轨迹满足预设轨迹条件,则获取与所述预设轨迹条件对应的旋转操作;控制所述移动终端的屏幕进行所述旋转操作。从而可以随时通过触摸划动移动终端的显示屏控制移动终端屏幕旋转,提高了用户的使用体验。In the embodiment of the present invention, by recording the touch point on the side screen of the mobile terminal as the starting point of the input touch track; if the touch track meets the preset track conditions, then obtain the preset A rotation operation corresponding to the trajectory condition; controlling the screen of the mobile terminal to perform the rotation operation. Therefore, the screen rotation of the mobile terminal can be controlled by touching and swiping the display screen of the mobile terminal at any time, which improves the user experience.

而且,在本发明实施例中,可以在控制移动终端的屏幕执行旋转操作之前,判断移动终端的屏幕当前显示的页面是否支持屏幕旋转,从而避免因为屏幕旋转影响屏幕显示内容效果,进一步提高用户的使用体验。Moreover, in the embodiment of the present invention, before controlling the screen of the mobile terminal to perform the rotation operation, it is possible to judge whether the page currently displayed on the screen of the mobile terminal supports screen rotation, so as to avoid affecting the effect of screen display content due to screen rotation, and further improve the user's Use experience.

实施例四Embodiment Four

详细介绍本发明实施例提供的一种移动终端。A mobile terminal provided by an embodiment of the present invention is introduced in detail.

参照图4,示出了本发明实施例中一种移动终端的结构示意图。Referring to FIG. 4 , it shows a schematic structural diagram of a mobile terminal in an embodiment of the present invention.

本发明实施例的移动终端400包括:记录模块401、选择操作确认模块402和旋转操作执行模块403。The mobile terminal 400 in this embodiment of the present invention includes: a recording module 401 , a selection operation confirmation module 402 and a rotation operation execution module 403 .

下面分别详细介绍各模块的功能以及各模块之间的交互关系。The functions of each module and the interaction between each module are introduced in detail below.

记录模块401,用于记录以所述移动终端侧边屏上的触摸点为起点输入的触摸划动轨迹。The recording module 401 is configured to record a track of a touch stroke input from a touch point on the side screen of the mobile terminal as a starting point.

选择操作确认模块402,用于如果所述触摸划动轨迹满足预设轨迹条件,则获取与所述预设轨迹条件对应的旋转操作。The selection operation confirming module 402 is configured to obtain a rotation operation corresponding to the preset trajectory condition if the touch-and-swipe trajectory satisfies the preset trajectory condition.

旋转操作执行模块403,用于控制所述移动终端的屏幕进行所述旋转操作。The rotation operation execution module 403 is configured to control the screen of the mobile terminal to perform the rotation operation.

在本发明实施例中,通过记录以所述移动终端侧边屏上的触摸点为起点输入的触摸划动轨迹;如果所述触摸划动轨迹满足预设轨迹条件,则获取与所述预设轨迹条件对应的旋转操作;控制所述移动终端的屏幕进行所述旋转操作。从而可以随时通过触摸划动移动终端的显示屏控制移动终端屏幕旋转,提高了用户的使用体验。In the embodiment of the present invention, by recording the touch point on the side screen of the mobile terminal as the starting point of the input touch track; if the touch track meets the preset track conditions, then obtain the preset A rotation operation corresponding to the trajectory condition; controlling the screen of the mobile terminal to perform the rotation operation. Therefore, the screen rotation of the mobile terminal can be controlled by touching and swiping the display screen of the mobile terminal at any time, which improves the user experience.

实施例五Embodiment five

详细介绍本发明实施例提供的一种移动终端。A mobile terminal provided by an embodiment of the present invention is introduced in detail.

参照图5,示出了本发明实施例中一种移动终端的结构示意图。Referring to FIG. 5 , it shows a schematic structural diagram of a mobile terminal in an embodiment of the present invention.

本发明实施例的移动终端500包括:记录模块501、选择操作确认模块502、屏幕旋转支持判断模块503和旋转操作执行模块504。The mobile terminal 500 in the embodiment of the present invention includes: a recording module 501 , a selection operation confirmation module 502 , a screen rotation support judgment module 503 and a rotation operation execution module 504 .

下面分别详细介绍各模块的功能以及各模块之间的交互关系。The functions of each module and the interaction between each module are introduced in detail below.

记录模块501,用于记录以所述移动终端侧边屏上的触摸点为起点输入的触摸划动轨迹。可选地,在本发明实施例中,所述记录模块501进一步可以包括:虚拟按键显示子模块5011,用于在所述移动终端的侧边屏预设区域上显示一虚拟按键。记录子模块5012,用于当检测到对所述虚拟按键的触摸操作时,记录以所述虚拟按键为起点输入的触摸划动轨迹。The recording module 501 is configured to record a track of a touch stroke input from a touch point on the side screen of the mobile terminal as a starting point. Optionally, in the embodiment of the present invention, the recording module 501 may further include: a virtual button display submodule 5011, configured to display a virtual button on a preset area of the side screen of the mobile terminal. The recording sub-module 5012 is configured to record the track of touch and stroke input with the virtual key as a starting point when a touch operation on the virtual key is detected.

选择操作确认模块502,用于如果所述触摸划动轨迹满足预设轨迹条件,则获取与所述预设轨迹条件对应的旋转操作;所述预设轨迹条件包括顺时针预设轨迹条件和逆时针轨迹条件。可选地,在本发明实施例中,所述选择操作确认模块502还用于如果所述触摸划动轨迹与所述预设轨迹条件的相似度满足预设相似度阈值,则获取与所述预设轨迹条件对应的旋转操作。A selection operation confirmation module 502, configured to obtain a rotation operation corresponding to the preset trajectory condition if the touch-and-swipe trajectory satisfies the preset trajectory condition; the preset trajectory condition includes a clockwise preset trajectory condition and a counterclockwise preset trajectory condition. Hour hand trajectory conditions. Optionally, in this embodiment of the present invention, the selection operation confirming module 502 is further configured to obtain a similarity with the preset trajectory condition if the similarity between the touch-swipe trajectory and the preset trajectory condition satisfies a preset similarity threshold. The rotation operation corresponding to the preset trajectory condition.

屏幕旋转支持判断模块503,用于判断所述移动终端的屏幕当前显示的页面是否支持屏幕旋转;如果所述页面支持屏幕旋转,则发送信号至旋转操作执行模块。The screen rotation support judging module 503 is used to judge whether the page currently displayed on the screen of the mobile terminal supports screen rotation; if the page supports screen rotation, then send a signal to the rotation operation execution module.

旋转操作执行模块504,用于控制所述移动终端的屏幕进行所述旋转操作。可选地,在本发明实施例中,所述旋转操作执行模块504进一步可以包括:顺时针旋转子模块5041,用于如果所述触摸划动轨迹满足顺时针预设轨迹条件,则控制所述移动终端的屏幕顺时针旋转预设角度。逆时针旋转子模块5042,用于如果所述触摸划动轨迹满足逆时针预设轨迹条件,则控制所述移动终端的屏幕逆时针旋转预设角度。The rotation operation execution module 504 is configured to control the screen of the mobile terminal to perform the rotation operation. Optionally, in this embodiment of the present invention, the rotation operation execution module 504 may further include: a clockwise rotation sub-module 5041, configured to control the The screen of the mobile terminal is rotated clockwise by a preset angle. The counterclockwise rotation sub-module 5042 is configured to control the screen of the mobile terminal to rotate counterclockwise by a preset angle if the touch and swipe track satisfies a counterclockwise preset track condition.

在本发明实施例中,通过记录以所述移动终端侧边屏上的触摸点为起点输入的触摸划动轨迹;如果所述触摸划动轨迹满足预设轨迹条件,则获取与所述预设轨迹条件对应的旋转操作;控制所述移动终端的屏幕进行所述旋转操作。从而可以随时通过触摸划动移动终端的显示屏控制移动终端屏幕旋转,提高了用户的使用体验。In the embodiment of the present invention, by recording the touch point on the side screen of the mobile terminal as the starting point of the input touch track; if the touch track meets the preset track conditions, then obtain the preset A rotation operation corresponding to the trajectory condition; controlling the screen of the mobile terminal to perform the rotation operation. Therefore, the screen rotation of the mobile terminal can be controlled by touching and swiping the display screen of the mobile terminal at any time, which improves the user experience.

而且,在本发明实施例中,预设轨迹条件包括顺时针预设轨迹条件和逆时针轨迹条件,而且如果所述触摸划动轨迹满足顺时针预设轨迹条件,则控制所述移动终端的屏幕顺时针旋转预设角度;如果所述触摸划动轨迹满足逆时针预设轨迹条件,则控制所述移动终端的屏幕逆时针旋转预设角度。从而可以根据用户需求方便随时控制移动终端屏幕旋转,进一步提高用户的使用体验。Moreover, in the embodiment of the present invention, the preset trajectory condition includes a clockwise preset trajectory condition and a counterclockwise trajectory condition, and if the touch and swipe trajectory satisfies the clockwise preset trajectory condition, then the screen of the mobile terminal is controlled Rotate a preset angle clockwise; if the touch and swipe track satisfies the counterclockwise preset track condition, control the screen of the mobile terminal to rotate counterclockwise by a preset angle. Therefore, the rotation of the screen of the mobile terminal can be conveniently controlled at any time according to the needs of the user, thereby further improving the user experience.

另外,在本发明实施例中,可以在控制移动终端的屏幕执行旋转操作之前,判断移动终端的屏幕当前显示的页面是否支持屏幕旋转,从而避免因为屏幕旋转影响屏幕显示内容效果,进一步提高用户的使用体验。In addition, in the embodiment of the present invention, before controlling the screen of the mobile terminal to perform the rotation operation, it is possible to judge whether the page currently displayed on the screen of the mobile terminal supports screen rotation, so as to avoid affecting the effect of screen display content due to screen rotation, and further improve the user's Use experience.

实施例六Embodiment six

详细介绍本发明实施例提供的一种移动终端。A mobile terminal provided by an embodiment of the present invention is introduced in detail.

参照图6,示出了本发明实施例中一种移动终端的框图。Referring to FIG. 6 , it shows a block diagram of a mobile terminal in an embodiment of the present invention.

图6所示的移动终端600包括:至少一个处理器601、存储器602、至少一个网络接口604和用户接口603。移动终端600中的各个组件通过总线系统605耦合在一起。可理解,总线系统605用于实现这些组件之间的连接通信。总线系统605除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图6中将各种总线都标为总线系统605。The mobile terminal 600 shown in FIG. 6 includes: at least one processor 601 , a memory 602 , at least one network interface 604 and a user interface 603 . Various components in the mobile terminal 600 are coupled together through a bus system 605 . It can be understood that the bus system 605 is used to realize connection and communication between these components. In addition to the data bus, the bus system 605 also includes a power bus, a control bus and a status signal bus. However, the various buses are labeled as bus system 605 in FIG. 6 for clarity of illustration.

其中,用户接口603可以包括显示器、键盘或者点击设备(例如,鼠标,轨迹球(trackball)、触感板或者触摸屏等。Wherein, the user interface 603 may include a display, a keyboard or a pointing device (for example, a mouse, a trackball (trackball), a touch panel or a touch screen, and the like.

可以理解,本发明实施例中的存储器602可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-OnlyMemory,ROM)、可编程只读存储器(ProgrammableROM,PROM)、可擦除可编程只读存储器(ErasablePROM,EPROM)、电可擦除可编程只读存储器(ElectricallyEPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(RandomAccessMemory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(StaticRAM,SRAM)、动态随机存取存储器(DynamicRAM,DRAM)、同步动态随机存取存储器(SynchronousDRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(DoubleDataRateSDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(SynchlinkDRAM,SLDRAM)和直接内存总线随机存取存储器(DirectRambusRAM,DRRAM)。本发明实施例描述的系统和方法的存储器602旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory 602 in the embodiment of the present invention may be a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memories. Among them, the non-volatile memory can be read-only memory (Read-OnlyMemory, ROM), programmable read-only memory (ProgrammableROM, PROM), erasable programmable read-only memory (ErasablePROM, EPROM), electrically erasable Programming read-only memory (Electrically EPROM, EEPROM) or flash memory. The volatile memory may be random access memory (Random Access Memory, RAM), which acts as an external cache. By way of illustration and not limitation, many forms of RAM are available such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (Synchronous DRAM, SDRAM), Double data rate synchronous dynamic random access memory (DoubleDataRateSDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory (SynchlinkDRAM, SLDRAM) and direct memory bus random access Memory (Direct Rambus RAM, DRRAM). The memory 602 of the systems and methods described in embodiments of the present invention is intended to include, but is not limited to, these and any other suitable types of memory.

在一些实施方式中,存储器602存储了如下的元素,可执行模块或者数据结构,或者他们的子集,或者他们的扩展集:操作系统6021和应用程序6022。In some implementations, the memory 602 stores the following elements, executable modules or data structures, or their subsets, or their extended sets: an operating system 6021 and an application program 6022 .

其中,操作系统6021,包含各种系统程序,例如框架层、核心库层、驱动层等,用于实现各种基础业务以及处理基于硬件的任务。应用程序6022,包含各种应用程序,例如媒体播放器(MediaPlayer)、浏览器(Browser)等,用于实现各种应用业务。实现本发明实施例方法的程序可以包含在应用程序6022中。Among them, the operating system 6021 includes various system programs, such as framework layer, core library layer, driver layer, etc., for realizing various basic services and processing hardware-based tasks. The application program 6022 includes various application programs, such as a media player (MediaPlayer), a browser (Browser), etc., and is used to implement various application services. The program for realizing the method of the embodiment of the present invention may be included in the application program 6022 .

在本发明实施例中,通过调用存储器602存储的程序或指令,具体的,可以是应用程序6022中存储的程序或指令,处理器601用于记录以所述移动终端侧边屏上的触摸点为起点输入的触摸划动轨迹;如果所述触摸划动轨迹满足预设轨迹条件,则获取与所述预设轨迹条件对应的旋转操作;控制所述移动终端的屏幕进行所述旋转操作。In the embodiment of the present invention, by calling the program or instruction stored in the memory 602, specifically, the program or instruction stored in the application program 6022, the processor 601 is used to record the touch point on the side screen of the mobile terminal. The touch stroke track input as the starting point; if the touch slide track satisfies the preset track condition, obtain the rotation operation corresponding to the preset track condition; control the screen of the mobile terminal to perform the rotation operation.

上述本发明实施例揭示的方法可以应用于处理器601中,或者由处理器601实现。处理器601可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器601中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器601可以是通用处理器、数字信号处理器(DigitalSignalProcessor,DSP)、专用集成电路(ApplicationSpecificIntegratedCircuit,ASIC)、现成可编程门阵列(FieldProgrammableGateArray,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器602,处理器601读取存储器602中的信息,结合其硬件完成上述方法的步骤。The methods disclosed in the foregoing embodiments of the present invention may be applied to the processor 601 or implemented by the processor 601 . The processor 601 may be an integrated circuit chip and has signal processing capabilities. In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in the processor 601 or instructions in the form of software. The above-mentioned processor 601 may be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), an off-the-shelf programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or Transistor logic devices, discrete hardware components. Various methods, steps and logic block diagrams disclosed in the embodiments of the present invention may be implemented or executed. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like. The steps of the methods disclosed in the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, register. The storage medium is located in the memory 602, and the processor 601 reads the information in the memory 602, and completes the steps of the above method in combination with its hardware.

可以理解的是,本发明实施例描述的这些实施例可以用硬件、软件、固件、中间件、微码或其组合来实现。对于硬件实现,处理单元可以实现在一个或多个专用集成电路(ApplicationSpecificIntegratedCircuits,ASIC)、数字信号处理器(DigitalSignalProcessing,DSP)、数字信号处理设备(DSPDevice,DSPD)、可编程逻辑设备(ProgrammableLogicDevice,PLD)、现场可编程门阵列(Field-ProgrammableGateArray,FPGA)、通用处理器、控制器、微控制器、微处理器、用于执行本申请所述功能的其它电子单元或其组合中。It can be understood that the embodiments described in the embodiments of the present invention may be implemented by hardware, software, firmware, middleware, microcode or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application-specific integrated circuits (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing device (DSPDevice, DSPD), programmable logic device (ProgrammableLogicDevice, PLD ), Field-Programmable Gate Array (Field-Programmable GateArray, FPGA), general-purpose processor, controller, microcontroller, microprocessor, other electronic units for performing the functions described in this application, or a combination thereof.

对于软件实现,可通过执行本发明实施例所述功能的模块(例如过程、函数等)来实现本发明实施例所述的技术。软件代码可存储在存储器中并通过处理器执行。存储器可以在处理器中或在处理器外部实现。For software implementation, the techniques described in the embodiments of the present invention may be implemented through modules (such as procedures, functions, etc.) that execute the functions described in the embodiments of the present invention. Software codes can be stored in memory and executed by a processor. Memory can be implemented within the processor or external to the processor.

可选地,作为另一个实施例,处理器601还用于:如果所述触摸划动轨迹满足顺时针预设轨迹条件,则控制所述移动终端的屏幕顺时针旋转预设角度;如果所述触摸划动轨迹满足逆时针预设轨迹条件,则控制所述移动终端的屏幕逆时针旋转预设角度。Optionally, as another embodiment, the processor 601 is further configured to: control the screen of the mobile terminal to rotate clockwise by a preset angle if the touch swipe track satisfies a clockwise preset track condition; If the track of the touch and swipe satisfies the counterclockwise preset track condition, the screen of the mobile terminal is controlled to rotate counterclockwise by a preset angle.

可选地,作为另一个实施例,处理器601还用于:在所述移动终端的侧边屏预设区域上显示一虚拟按键;当检测到对所述虚拟按键的触摸操作时,记录以所述虚拟按键为起点输入的触摸划动轨迹。Optionally, as another embodiment, the processor 601 is further configured to: display a virtual button on the preset area of the side screen of the mobile terminal; when a touch operation on the virtual button is detected, record the following The virtual key is a touch-and-swipe trajectory input from a starting point.

可选地,处理器601还用于:如果所述触摸划动轨迹与所述预设轨迹条件的相似度满足预设相似度阈值,则获取与所述预设轨迹条件对应的旋转操作。Optionally, the processor 601 is further configured to: if the similarity between the touch-swiping track and the preset track condition satisfies a preset similarity threshold, acquire a rotation operation corresponding to the preset track condition.

可选地,处理器601还用于:判断所述移动终端的屏幕当前显示的页面是否支持屏幕旋转;如果所述页面支持屏幕旋转,则进入控制所述移动终端的屏幕进行所述旋转操作的步骤。Optionally, the processor 601 is further configured to: determine whether the page currently displayed on the screen of the mobile terminal supports screen rotation; if the page supports screen rotation, enter the process of controlling the screen of the mobile terminal to perform the rotation operation. step.

移动终端600能够实现前述实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。The mobile terminal 600 can implement various processes implemented by the mobile terminal in the foregoing embodiments, and to avoid repetition, details are not repeated here.

实施例七Embodiment seven

图7是本发明另一个实施例的移动终端的结构示意图。具体地,图7中的移动终端可以为手机、平板电脑、个人数字助理(PersonalDigital Assistant,PDA)、或车载电脑等。Fig. 7 is a schematic structural diagram of a mobile terminal according to another embodiment of the present invention. Specifically, the mobile terminal in FIG. 7 may be a mobile phone, a tablet computer, a personal digital assistant (Personal Digital Assistant, PDA), or a vehicle-mounted computer.

图7中的移动终端包括射频(RadioFrequency,RF)电路710、存储器720、输入单元730、显示单元740、处理器760、音频电路770、WiFi(WirelessFidelity)模块780和电源790。The mobile terminal in FIG. 7 includes a radio frequency (Radio Frequency, RF) circuit 710, a memory 720, an input unit 730, a display unit 740, a processor 760, an audio circuit 770, a WiFi (Wireless Fidelity) module 780 and a power supply 790.

其中,输入单元730可用于接收用户输入的数字或字符信息,以及产生与移动终端的用户设置以及功能控制有关的信号输入。具体地,本发明实施例中,该输入单元730可以包括触控面板731。触控面板731,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板731上的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板731可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给该处理器760,并能接收处理器760发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板731。除了触控面板731,输入单元730还可以包括其他输入设备732,其他输入设备732可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。Wherein, the input unit 730 can be used to receive digital or character information input by the user, and generate signal input related to user setting and function control of the mobile terminal. Specifically, in the embodiment of the present invention, the input unit 730 may include a touch panel 731 . The touch panel 731, also referred to as a touch screen, can collect user's touch operations on or near it (such as the user's operation on the touch panel 731 using any suitable object or accessory such as a finger, a stylus), and The specified program drives the corresponding connected device. Optionally, the touch panel 731 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the to the processor 760, and can receive and execute commands sent by the processor 760. In addition, the touch panel 731 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 731, the input unit 730 may also include other input devices 732, which may include but not limited to physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, etc. one or more of.

其中,显示单元740可用于显示由用户输入的信息或提供给用户的信息以及移动终端的各种菜单界面。显示单元740可包括显示面板741,可选的,可以采用LCD或有机发光二极管(OrganicLight-EmittingDiode,OLED)等形式来配置显示面板741。Wherein, the display unit 740 can be used to display information input by the user or information provided to the user and various menu interfaces of the mobile terminal. The display unit 740 may include a display panel 741. Optionally, the display panel 741 may be configured in the form of an LCD or an organic light-emitting diode (Organic Light-Emitting Diode, OLED).

应注意,触控面板731可以覆盖显示面板741,形成触摸显示屏,当该触摸显示屏检测到在其上或附近的触摸操作后,传送给处理器760以确定触摸事件的类型,随后处理器760根据触摸事件的类型在触摸显示屏上提供相应的视觉输出。It should be noted that the touch panel 731 can cover the display panel 741 to form a touch display screen. When the touch display screen detects a touch operation on or near it, it is sent to the processor 760 to determine the type of the touch event, and then the processor The 760 provides corresponding visual output on the touch display screen according to the type of the touch event.

触摸显示屏包括应用程序界面显示区及常用控件显示区。该应用程序界面显示区及该常用控件显示区的排列方式并不限定,可以为上下排列、左右排列等可以区分两个显示区的排列方式。该应用程序界面显示区可以用于显示应用程序的界面。每一个界面可以包含至少一个应用程序的图标和/或widget桌面控件等界面元素。该应用程序界面显示区也可以为不包含任何内容的空界面。该常用控件显示区用于显示使用率较高的控件,例如,设置按钮、界面编号、滚动条、电话本图标等应用程序图标等。The touch display screen includes an application program interface display area and a common control display area. The arrangement of the display area of the application program interface and the display area of the commonly used controls is not limited, and may be an arrangement in which the two display areas can be distinguished, such as vertical arrangement, left-right arrangement, and the like. The application program interface display area can be used to display the interface of the application program. Each interface may include at least one interface element such as an icon of an application program and/or a widget desktop control. The application program interface display area can also be an empty interface without any content. The commonly used control display area is used to display controls with a high usage rate, for example, application icons such as setting buttons, interface numbers, scroll bars, and phonebook icons.

其中,处理器760是移动终端的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在第一存储器721内的软件程序和/或模块,以及调用存储在第二存储器722内的数据,执行移动终端的各种功能和处理数据,从而对移动终端进行整体监控。可选的,处理器760可包括一个或多个处理单元。Among them, the processor 760 is the control center of the mobile terminal, which uses various interfaces and lines to connect various parts of the entire mobile phone, and runs or executes software programs and/or modules stored in the first memory 721, and calls stored in the second memory 721. The data in the memory 722 executes various functions of the mobile terminal and processes data, so as to monitor the mobile terminal as a whole. Optionally, the processor 760 may include one or more processing units.

在本发明实施例中,通过调用存储该第一存储器721内的软件程序和/或模块和/或该第二存储器722内的数据,处理器760用于记录以所述移动终端侧边屏上的触摸点为起点输入的触摸划动轨迹;如果所述触摸划动轨迹满足预设轨迹条件,则获取与所述预设轨迹条件对应的旋转操作;控制所述移动终端的屏幕进行所述旋转操作。In the embodiment of the present invention, by calling the software programs and/or modules stored in the first memory 721 and/or the data in the second memory 722, the processor 760 is used to record the information displayed on the side screen of the mobile terminal. The touch point is the touch-swipe track input by the starting point; if the touch-swipe track satisfies the preset track condition, then obtain the rotation operation corresponding to the preset track condition; control the screen of the mobile terminal to perform the rotation operate.

可选地,作为另一个实施例,处理器760还用于:如果所述触摸划动轨迹满足顺时针预设轨迹条件,则控制所述移动终端的屏幕顺时针旋转预设角度;如果所述触摸划动轨迹满足逆时针预设轨迹条件,则控制所述移动终端的屏幕逆时针旋转预设角度。Optionally, as another embodiment, the processor 760 is further configured to: control the screen of the mobile terminal to rotate clockwise by a preset angle if the touch swipe track satisfies a clockwise preset track condition; If the track of the touch and swipe satisfies the counterclockwise preset track condition, the screen of the mobile terminal is controlled to rotate counterclockwise by a preset angle.

可选地,作为另一个实施例,处理器760还用于:在所述移动终端的侧边屏预设区域上显示一虚拟按键;当检测到对所述虚拟按键的触摸操作时,记录以所述虚拟按键为起点输入的触摸划动轨迹。Optionally, as another embodiment, the processor 760 is further configured to: display a virtual button on the preset area of the side screen of the mobile terminal; when a touch operation on the virtual button is detected, record the following The virtual key is a touch-and-swipe trajectory input from a starting point.

可选地,处理器760还用于:如果所述触摸划动轨迹与所述预设轨迹条件的相似度满足预设相似度阈值,则获取与所述预设轨迹条件对应的旋转操作。Optionally, the processor 760 is further configured to: acquire a rotation operation corresponding to the preset trajectory condition if the similarity between the touch-swipe trajectory and the preset trajectory condition satisfies a preset similarity threshold.

可选地,处理器760还用于:判断所述移动终端的屏幕当前显示的页面是否支持屏幕旋转;如果所述页面支持屏幕旋转,则进入控制所述移动终端的屏幕进行所述旋转操作的步骤。Optionally, the processor 760 is further configured to: determine whether the page currently displayed on the screen of the mobile terminal supports screen rotation; if the page supports screen rotation, enter the process of controlling the screen of the mobile terminal to perform the rotation operation. step.

可见,在本发明实施例中,通过记录以所述移动终端侧边屏上的触摸点为起点输入的触摸划动轨迹;如果所述触摸划动轨迹满足预设轨迹条件,则获取与所述预设轨迹条件对应的旋转操作;控制所述移动终端的屏幕进行所述旋转操作。从而可以随时通过触摸划动移动终端的显示屏控制移动终端屏幕旋转,提高了用户的使用体验。It can be seen that in the embodiment of the present invention, by recording the touch point input on the side screen of the mobile terminal as the starting point, if the touch track meets the preset track conditions, then the acquisition and the A rotation operation corresponding to a preset trajectory condition; controlling the screen of the mobile terminal to perform the rotation operation. Therefore, the screen rotation of the mobile terminal can be controlled by touching and swiping the display screen of the mobile terminal at any time, which improves the user experience.

而且,在本发明实施例中,预设轨迹条件包括顺时针预设轨迹条件和逆时针轨迹条件,而且如果所述触摸划动轨迹满足顺时针预设轨迹条件,则控制所述移动终端的屏幕顺时针旋转预设角度;如果所述触摸划动轨迹满足逆时针预设轨迹条件,则控制所述移动终端的屏幕逆时针旋转预设角度。从而可以根据用户需求方便随时控制移动终端屏幕旋转,进一步提高用户的使用体验。Moreover, in the embodiment of the present invention, the preset trajectory condition includes a clockwise preset trajectory condition and a counterclockwise trajectory condition, and if the touch and swipe trajectory satisfies the clockwise preset trajectory condition, then the screen of the mobile terminal is controlled Rotate a preset angle clockwise; if the touch and swipe track satisfies the counterclockwise preset track condition, control the screen of the mobile terminal to rotate counterclockwise by a preset angle. Therefore, the rotation of the screen of the mobile terminal can be conveniently controlled at any time according to the needs of the user, thereby further improving the user experience.

另外,在本发明实施例中,通过记录以所述移动终端侧边屏上的触摸点为起点输入的触摸划动轨迹;如果所述触摸划动轨迹满足预设轨迹条件,则获取与所述预设轨迹条件对应的旋转操作;控制所述移动终端的屏幕进行所述旋转操作。从而可以随时通过触摸划动移动终端的显示屏控制移动终端屏幕旋转,提高了用户的使用体验。In addition, in the embodiment of the present invention, by recording the touch point on the side screen of the mobile terminal as the starting point input touch track; if the touch track meets the preset track conditions, then obtain the A rotation operation corresponding to a preset trajectory condition; controlling the screen of the mobile terminal to perform the rotation operation. Therefore, the screen rotation of the mobile terminal can be controlled by touching and swiping the display screen of the mobile terminal at any time, which improves the user experience.

本领域普通技术人员可以意识到,结合本发明实施例中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed in the embodiments of the present invention can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.

在本申请所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.

所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。If the functions described above are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: various media capable of storing program codes such as U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk.

以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. Should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims (10)

CN201610704194.2A2016-08-222016-08-22Screen rotation control method and mobile terminalPendingCN106371719A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201610704194.2ACN106371719A (en)2016-08-222016-08-22Screen rotation control method and mobile terminal

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201610704194.2ACN106371719A (en)2016-08-222016-08-22Screen rotation control method and mobile terminal

Publications (1)

Publication NumberPublication Date
CN106371719Atrue CN106371719A (en)2017-02-01

Family

ID=57878635

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201610704194.2APendingCN106371719A (en)2016-08-222016-08-22Screen rotation control method and mobile terminal

Country Status (1)

CountryLink
CN (1)CN106371719A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN107247557A (en)*2017-06-262017-10-13上海与德科技有限公司A kind of application icon display methods and device
CN110896495A (en)*2019-11-192020-03-20北京字节跳动网络技术有限公司View adjustment method and device for target device, electronic device and medium
CN111970550A (en)*2020-08-252020-11-20海信视像科技股份有限公司Display device
CN112947839A (en)*2021-02-082021-06-11深圳市慧为智能科技股份有限公司System rotation method, device, equipment and computer readable storage medium
CN113395600A (en)*2020-03-132021-09-14海信视像科技股份有限公司Interface switching method of display equipment and display equipment
CN114968150A (en)*2021-12-302022-08-30海信视像科技股份有限公司Screen projection control method and terminal equipment
US12026014B2 (en)2020-03-132024-07-02Hisense Visual Technology Co., Ltd.Display apparatus and interface display method
CN119620909A (en)*2023-09-122025-03-14北京小米移动软件有限公司 Screen control method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JP2009043272A (en)*2008-09-182009-02-26Sony CorpPortable map display device and map display method
CN105260004A (en)*2015-09-222016-01-20广东欧珀移动通信有限公司Screen rotating method and system for android system terminal
CN105407211A (en)*2015-10-202016-03-16上海斐讯数据通信技术有限公司Base-on-touch-button system and base-on-touch-button method for gesture identification
CN105677227A (en)*2013-07-112016-06-15三星电子株式会社User terminal device for displaying application and methods thereof
CN105867732A (en)*2016-03-252016-08-17乐视控股(北京)有限公司Method and terminal for display mode switching

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JP2009043272A (en)*2008-09-182009-02-26Sony CorpPortable map display device and map display method
CN105677227A (en)*2013-07-112016-06-15三星电子株式会社User terminal device for displaying application and methods thereof
CN105260004A (en)*2015-09-222016-01-20广东欧珀移动通信有限公司Screen rotating method and system for android system terminal
CN105407211A (en)*2015-10-202016-03-16上海斐讯数据通信技术有限公司Base-on-touch-button system and base-on-touch-button method for gesture identification
CN105867732A (en)*2016-03-252016-08-17乐视控股(北京)有限公司Method and terminal for display mode switching

Cited By (13)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN107247557A (en)*2017-06-262017-10-13上海与德科技有限公司A kind of application icon display methods and device
CN110896495A (en)*2019-11-192020-03-20北京字节跳动网络技术有限公司View adjustment method and device for target device, electronic device and medium
US11586255B2 (en)2019-11-192023-02-21Beijing Bytedance Network Technology Co., Ltd.Method and apparatus for adjusting view for target device, electronic device and medium
WO2021098537A1 (en)*2019-11-192021-05-27北京字节跳动网络技术有限公司View adjustment method and apparatus for target device, electronic device, and medium
WO2021179362A1 (en)*2020-03-132021-09-16海信视像科技股份有限公司Display apparatus and interface switching method
CN113395600A (en)*2020-03-132021-09-14海信视像科技股份有限公司Interface switching method of display equipment and display equipment
US11669216B2 (en)2020-03-132023-06-06Hisense Visual Technology Co., Ltd.Display device and interface switching method
CN116634240A (en)*2020-03-132023-08-22海信视像科技股份有限公司Interface switching method of display equipment and display equipment
US12026014B2 (en)2020-03-132024-07-02Hisense Visual Technology Co., Ltd.Display apparatus and interface display method
CN111970550A (en)*2020-08-252020-11-20海信视像科技股份有限公司Display device
CN112947839A (en)*2021-02-082021-06-11深圳市慧为智能科技股份有限公司System rotation method, device, equipment and computer readable storage medium
CN114968150A (en)*2021-12-302022-08-30海信视像科技股份有限公司Screen projection control method and terminal equipment
CN119620909A (en)*2023-09-122025-03-14北京小米移动软件有限公司 Screen control method, device, equipment and storage medium

Similar Documents

PublicationPublication DateTitle
CN106843739B (en)A kind of display control method and mobile terminal of mobile terminal
CN106371719A (en)Screen rotation control method and mobile terminal
CN106250754B (en)A kind of control method and mobile terminal of application program
CN105224276A (en)A kind of multi-screen display method and electronic equipment
CN106527904A (en)Method for adjusting display interface and mobile terminal
CN106126077A (en)A kind of application program image target display control method and mobile terminal
CN105824559A (en)Unintended activation recognizing and treating method and electronic equipment
CN107506109A (en)A kind of method and mobile terminal for starting application program
CN106484303A (en)A kind of method preventing maloperation and electronic equipment
CN107193482A (en)The operating method and mobile terminal of a kind of mobile terminal screen
CN107340948A (en)A kind of video playing control method and mobile terminal
CN106227488A (en)The display packing of a kind of reminder message and mobile terminal
CN107608591A (en)The display methods and mobile terminal of a kind of virtual key
CN106126035A (en)A kind of method that application program shows and mobile terminal
CN106843695A (en)The control method and mobile terminal of a kind of mobile terminal
CN107506130A (en)A kind of word delet method and mobile terminal
CN106874046A (en)The operating method and mobile terminal of a kind of application program
CN106095296A (en)The changing method of a kind of application program and mobile terminal
CN106970752A (en)A kind of screenshotss method and mobile terminal
CN105867830A (en)Fingerprint identification-based processing method and mobile terminal
CN106557259A (en)A kind of operational approach and mobile terminal of mobile terminal
CN107526523B (en) Method for controlling operation interface of mobile terminal and mobile terminal
CN107562262B (en)Method for responding touch operation, terminal and computer readable storage medium
CN106445299A (en) A control method and mobile terminal
CN106951258A (en)The operating method and mobile terminal of a kind of mobile terminal

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication
RJ01Rejection of invention patent application after publication

Application publication date:20170201


[8]ページ先頭

©2009-2025 Movatter.jp