WO2014117619A1 - 控制应用界面移动的方法、装置和终端设备 - Google Patents

控制应用界面移动的方法、装置和终端设备 Download PDF

Info

Publication number
WO2014117619A1
WO2014117619A1 PCT/CN2013/090898 CN2013090898W WO2014117619A1 WO 2014117619 A1 WO2014117619 A1 WO 2014117619A1 CN 2013090898 W CN2013090898 W CN 2013090898W WO 2014117619 A1 WO2014117619 A1 WO 2014117619A1
Authority
WO
WIPO (PCT)
Prior art keywords
movement
distance
application interface
contact
touch screen
Prior art date
Application number
PCT/CN2013/090898
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 WO2014117619A1 publication Critical patent/WO2014117619A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • 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/0485Scrolling or panning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04808Several contacts: gestures triggering a specific function, e.g. scrolling, zooming, right-click, when the user establishes several contacts with the surface simultaneously; e.g. using several fingers or a combination of fingers and pen

Definitions

  • the present invention is based on a Chinese patent application with the application number 201310038633.7 and the application date being January 31, 2013, and claims the priority of the Chinese patent application, the entire Chinese patent application The contents are incorporated herein by reference.
  • the present disclosure relates to the field of interface control, and in particular, to a method, an apparatus, and a terminal device for controlling application interface movement. Background technique
  • a touch display screen With the development of mobile terminals, more and more mobile terminals have a touch display screen, and the user can implement various functions by using a touch screen operation on the touch display screen with a finger, when the application interface needs to be switched or moved.
  • the user can use a finger to perform a moving operation on the application interface displayed on the touch display screen to view an extended area of the application interface or switch the scene. For example: For the operating system desktop, the user simply touches the touch display and slides straight to view applications on different pages of the desktop. For another example: For the address book interface, the user simply touches the touch display and slides straight, and can scroll through the list to view different contacts.
  • embodiments of the present disclosure provide a method, apparatus, and terminal device for controlling application interface movement.
  • the technical solution is as follows:
  • a method for controlling movement of an application interface comprising:
  • the movement of the application interface is controlled according to the total moving distance.
  • detecting a moving distance of two or more contacts in a touch screen operation that triggers the movement of the application interface respectively includes:
  • the moving distance of each contact is obtained according to the movement trajectory of each contact, including:
  • the arc distance between the start point coordinate and the end point coordinate of the movement trajectory of each contact is obtained as the moving distance of each contact.
  • an arc distance between a starting point coordinate and an ending point coordinate of a moving track of each contact is obtained as The distance traveled by each contact, including:
  • the obtained straight line distances are added, and the arc distance between the start point coordinates and the end point coordinates of the movement trajectory of each contact is obtained as the moving distance of each of the contacts.
  • controlling the movement of the application interface according to the total moving distance includes:
  • an apparatus for controlling movement of an application interface comprising:
  • a detecting module configured to respectively detect a moving distance of two or more contacts that trigger a touch screen operation of the application interface movement
  • a calculating module configured to add a moving distance of the two or more contacts, and calculate the touch screen operation Total distance of movement
  • a processing module configured to control movement of the application interface according to the total moving distance.
  • the detecting module includes: a moving track detecting unit, configured to respectively detect a moving track of each contact in a touch screen operation that triggers movement of the application interface;
  • the moving distance obtaining unit is configured to acquire a moving distance of each contact according to a moving trajectory of each contact.
  • the moving distance acquiring unit is configured to acquire a starting point coordinate and an ending point coordinate of a moving track of each contact The straight line distance between them as the moving distance of each contact;
  • the moving distance acquisition unit is configured to acquire an arc distance between a start point coordinate and an end point coordinate of a movement trajectory of each contact as a moving distance of each contact.
  • the moving distance obtaining unit is configured to acquire a linear distance between each two adjacent coordinate points according to a preset number of coordinate points on a moving trajectory of each contact; and add the obtained straight line distances to obtain each The arc distance between the starting point coordinates of the moving track of the contacts and the ending point coordinates as the moving distance of each of the contacts.
  • the processing module includes:
  • a first processing unit configured to control, according to a ratio of the total moving distance to a preset threshold, to switch an application interface currently displayed to an application interface corresponding to the ratio;
  • a terminal device configured to control the currently displayed application interface to move the total moving distance in a direction of the touch screen operation to display an extended portion of the currently displayed application interface.
  • One or more processors are One or more processors;
  • One or more modules the one or more modules being stored in the memory and configured to be executed by the one or more processors, wherein the one or more modules have the following functions:
  • the movement of the application interface is controlled according to the total moving distance.
  • the method, the device and the terminal device for controlling the movement of the application interface provided by the embodiment of the present disclosure can calculate the touch screen according to the moving distance of the contact of the touch screen operation when the user needs to view the position in the application interface that is far away from the current display position.
  • the total moving distance of the operation displays the extended portion of the current application interface or switches the current application interface according to the total distance of the movement.
  • the moving speed of the application interface is doubled, thereby simplifying the user operation.
  • FIG. 1 is an exemplary flowchart of a method for controlling application interface movement according to an embodiment of the present disclosure
  • FIG. 2 is an exemplary flowchart of a method for controlling application interface movement provided by an embodiment of the present disclosure
  • FIG. 3 is a schematic structural diagram of an apparatus for controlling application interface movement according to an embodiment of the present disclosure.
  • the embodiments of the present disclosure have been shown by the above-described drawings, which will be described in more detail later.
  • the drawings and the text are not intended to limit the scope of the present disclosure in any way, and the description of the present disclosure will be described by those skilled in the art by reference to the specific embodiments. detailed description
  • the terminal device points to a device that provides voice and/or data connectivity to the user, including a wireless terminal or a wired terminal.
  • the wireless terminal can be a handheld device with wireless connectivity, or other processing device connected to a wireless modem, a mobile terminal that communicates with one or more core networks via a wireless access network.
  • the wireless terminal can be a mobile phone (or "cellular" phone) and a computer with a mobile terminal.
  • the wireless terminal can also be a portable, pocket, handheld, computer built-in or in-vehicle mobile device.
  • FIG. 1 is an exemplary flowchart of a first method for controlling application interface movement according to an embodiment of the present disclosure.
  • the execution subject of the embodiment of the present disclosure is a terminal device. Referring to FIG. 1, the method includes the following steps.
  • step 101 the moving distances of the two or more contacts in the touch screen operation that triggers the movement of the application interface are respectively detected.
  • the touch screen operation refers to an operation triggered by a user's touch on the touch display screen of the terminal device, and the touch screen operation is used to trigger the application interface movement, and the touch screen operation may be a sliding operation with a certain displacement, according to the application interface.
  • the type of the interface corresponding to the sliding operation is different.
  • the interface movement mode corresponding to the sliding operation is page turning, and for the application interface with continuous display function, sliding
  • the corresponding interface movement mode of the operation is to move the currently displayed application interface to display an extended part of the application interface.
  • a touch screen operation having more than two contacts in embodiments of the present disclosure can be viewed as two or more independent touch screen operations.
  • the distance between the start position and the end position of each contact is separately detected to obtain the moving distance of two or more contacts.
  • the starting position and the ending position of the contact can be determined by the coordinates of the contact.
  • step 101 when the touch screen operation is captured, it is detected whether the touch screen operation is a touch screen operation that triggers the application interface to move.
  • the touch screen operation that triggers the application interface movement is detected, respectively.
  • the moving distance of the two or more contacts of the touch screen operation is detected, otherwise, other interface operations that match the touch screen operation are performed.
  • step 102 the moving distances of the two or more contacts are added, and the total moving distance of the touch screen operation is calculated.
  • the detected moving distance of each contact of the touch panel operation is added, and the total moving distance of the touch panel operation can be calculated.
  • step 103 the movement of the application interface is controlled according to the total moving distance.
  • the steps 101 and 102 are performed based on the currently displayed application interface, and the terminal device respectively detects the moving distance of two or more contacts in the touch screen operation for triggering the application interface movement on the currently displayed application interface, according to The moving distance of the two or more contacts calculates the total moving distance of the touch screen operation.
  • the application interface includes, but is not limited to, an application interface and an operating system interface, depending on the type of application.
  • the application interface may be an application interface with a page display function or an application interface with a continuous display function.
  • an application interface with a page display function may be an interface of an e-book browsed by a page turning, an electronic album.
  • the interface of the application with continuous display function can be displayed in the form of list, menu, etc.
  • the application interface with continuous display function can be the address book interface, management software interface, and the like.
  • the operating system interface may be an operating system interface with a page display function or an operating system interface with a continuous display function.
  • an operating system interface with a page display function may be a desktop display interface; an operating system interface with a continuous display function may be short Information management interface, setting interface or application manager interface, etc.
  • the movement of the currently displayed application interface may be controlled, and the application interface for different display modes may have different moving manners, and the moving manner may include a mobile application interface. Display an extension of the application interface or switch the currently displayed interface.
  • the method provided by the embodiment of the present disclosure can calculate the total moving distance of the touch screen operation according to the moving distance of the contact of the touch screen operation when the user needs to view the position in the application interface that is far away from the current display position, according to the total moving distance of the touch screen operation.
  • the distance display shows an extension of the application interface or switches the current application interface, and when the user performs a gesture operation, the movement speed of the application interface is doubled, thereby simplifying the user operation.
  • step 101 "detecting the moving distance of two or more contacts in the touch screen operation for triggering the movement of the application interface respectively” may include steps 101a and 101b.
  • step 101a the movement trajectory of each contact in the touch screen operation that triggers the movement of the application interface is detected separately.
  • the moving track refers to a track of a moving route of a contact of the user's finger to the touch display screen until the user's finger leaves the touch display screen on the touch display screen; the moving track includes but is not limited to a straight line and an arc And other shapes.
  • step 101b the moving distance of each contact is obtained in accordance with the movement trajectory of each contact.
  • step 101b “acquiring the moving distance of each contact according to the movement trajectory of each contact” may adopt any of the following steps 101b-1, 101b-2 A form.
  • step 101b-1 a linear distance between the start point coordinates and the end point coordinates of the movement trajectory of each contact is obtained as the moving distance of each contact.
  • the start point coordinate and the end point coordinate of the movement trajectory of each contact are acquired, and the linear distance between the start point coordinate and the end point coordinate of the movement trajectory of each contact is calculated, and the distance is taken as The moving distance of each contact.
  • step 101b-2 between the start point coordinates and the end point coordinates of the movement trajectory of each contact is obtained.
  • Arc distance as the distance traveled by each contact.
  • the start point coordinate and the end point coordinate of the movement trajectory of each contact are acquired, and the arc distance between the start point coordinate and the end point coordinate of the movement trajectory of each contact is calculated, and the distance is calculated. As the moving distance of each contact.
  • the moving distance can be obtained by using any of the above methods, and in order to determine the moving distance more accurately, the type of the moving track can also be judged first, that is, Judging whether the moving track of the contact is a straight line or an arc.
  • the starting point coordinate and the ending point coordinate of the moving track of each contact can be obtained, and each touch is calculated.
  • the step 101b-2 "acquires the contact distance between the start point coordinate and the end point coordinate of the movement trajectory of each contact to obtain each contact.
  • the moving distance includes steps (a) and steps (b).
  • step (1) a linear distance between each two adjacent coordinate points is obtained according to a preset number of coordinate points on the movement trajectory of each contact.
  • a coordinate number equal to the preset number is selected on the moving track, and a linear distance between each two adjacent coordinate points is obtained, which may be on the moving track. Select the preset coordinate points evenly.
  • the preset number may be set by the developer, or may be personalized by the user. To ensure the accuracy of the arc distance, the preset number may be set to a larger value, and the preset number is preset. The larger, the more accurate the arc distance is.
  • step (2) the acquired straight line distances are added, and the arc distance between the starting point coordinates and the ending point coordinates of the moving track of each contact is obtained as the moving distance of each contact.
  • the straight line distance between each two adjacent coordinate points on the obtained arc track is added, and the calculated distance sum is used as the starting point coordinate and the end point coordinate of the arc track.
  • the arc distance, the arc distance between the start point coordinate and the end point coordinate of the movement track of each contact is the moving distance of each contact.
  • the step 103 is performed according to the Moving the total distance, controlling the movement of the application interface "includes step 103a or 103b.
  • step 103a the currently displayed application interface is controlled to switch to an application interface corresponding to the ratio according to a ratio of the total moving distance to a preset threshold.
  • This method is generally applied to a scenario where the current application interface is an application interface having a page display function, such as a desktop display interface, an electronic album interface, and the like.
  • the preset threshold is used to define a moving distance corresponding to a page when the user refers to the touch screen operation; the preset threshold may be set by a technician during development, or may be set by the user during use.
  • the ratio of the total moving distance to the preset threshold when the ratio of the total moving distance to the preset threshold is greater than or equal to N and less than N+1, the ratio of the total moving distance to the preset threshold may be determined to be N, according to the ratio N, Controlling that the currently displayed application interface is switched to the corresponding application interface, that is, controlling the currently displayed application interface to page up to the current page number plus N pages, where N is a positive integer;
  • the ratio of the total moving distance of the touch screen operation to the preset threshold is N
  • the interface operation matching the touch screen operation is to page to the M+N page.
  • the user can perform a touch screen operation of sliding to the right on the touch display screen with two fingers, and two terminal devices detect the touch screen operation.
  • the third page of the operating system desktop is displayed according to the touch screen operation, thereby avoiding the user sliding the right to the right multiple times in order to turn the page.
  • step 103b the currently displayed application interface is controlled to move the total moving distance in the direction of the touch screen operation to display an extended portion of the application interface.
  • This method is generally applied to a scenario where the current application interface is an application interface with continuous display function, such as a communication interface, a short message management interface, and the like.
  • the currently displayed application interface is controlled to move in a corresponding direction, and the moving distance is equal to the total moving distance to display an extended portion of the application interface.
  • the currently displayed portion can be considered as part of the application interface, and in order to be able to display an extended portion of the application interface, the user can make the current application by using a touch screen operation having at least two contacts.
  • the interface moves faster, displaying its extensions quickly, avoiding multiple operations by the user to view the extensions.
  • the content of the address book that cannot be displayed on the current application interface can be displayed, so that the user can find the contact.
  • the method provided by the embodiment of the present disclosure can calculate the total moving distance of the touch screen operation according to the moving distance of the contact of the touch screen operation when the user needs to view the position in the application interface that is far away from the current display position, according to the total moving distance of the touch screen operation.
  • the distance display shows an extension of the application interface or switches the current application interface, and when the user performs a gesture operation, the movement speed of the application interface is doubled, thereby simplifying the user operation.
  • FIG. 2 is an exemplary flowchart of a method for controlling application interface movement provided by an embodiment of the present disclosure.
  • the execution subject of the embodiment of the present invention is a terminal device. Referring to FIG. 2, the method includes the following steps.
  • step 201 a touch screen operation triggered by the user to trigger the application interface movement is obtained.
  • step 202 it is detected whether the touch screen operation includes more than two contacts; if yes, step 204 is performed; if no, step 203 is performed.
  • step 203 the currently displayed application interface is moved according to the interface processing operation mode matched by the touch screen operation, and the process ends.
  • step 204 detecting a movement trajectory of each contact in the touch screen operation, respectively;
  • step 205 the moving distance of each contact is obtained according to the linear distance between the starting point coordinates of the moving trajectory of each contact and the ending point coordinates.
  • the specific shape of the moving trajectory is not limited, but the moving distance is obtained only based on the linear distance between the starting point coordinates of the moving trajectory and the ending point coordinates.
  • step 206 the total moving distance of the touch screen operation is calculated according to the moving distance of the two or more contacts.
  • step 207 if the currently displayed application interface is an application interface having a page display function, controlling the currently displayed application interface to switch to an application corresponding to the ratio according to a ratio of the total moving distance to a preset threshold. interface.
  • step 208 if the currently displayed application interface is an application interface having a continuous display function, controlling the currently displayed application interface to move the total moving distance in a direction of the touch screen operation to display the application interface. Extension.
  • the method provided by the embodiment of the present disclosure can calculate the total moving distance of the touch screen operation according to the moving distance of the contact of the touch screen operation when the user needs to view the position in the application interface that is far away from the current display position, according to the total moving distance of the touch screen operation.
  • the distance display shows an extension of the application interface or switches the current application interface, and when the user performs a gesture operation, the movement speed of the application interface is doubled, thereby simplifying the user operation.
  • FIG. 3 is a schematic structural diagram of an apparatus for controlling application interface movement according to an embodiment of the present disclosure. Referring to FIG. 3, the apparatus includes:
  • the detecting module 31 is configured to respectively detect a moving distance of two or more contacts in the touch screen operation that triggers the movement of the application interface;
  • a calculating module 32 configured to add a moving distance of the two or more contacts, and calculate a total moving distance of the touch screen operation
  • the processing module 33 is configured to control movement of the application interface according to the total moving distance.
  • the detecting module 31 includes:
  • a moving track detecting unit 311, configured to respectively detect a moving track of each contact in the touch screen operation that triggers the movement of the application interface
  • the moving distance obtaining unit 312 is configured to acquire a moving distance of each contact according to a moving trajectory of each contact. Further, the moving distance acquiring unit 312 is configured to acquire a linear distance between a starting point coordinate and an ending point coordinate of a moving track of each contact as a moving distance of each contact;
  • the arc distance between the start point coordinates and the end point coordinates of the movement trajectory of each contact is obtained as the moving distance of each contact.
  • the moving distance acquiring unit 312 is further configured to acquire a linear distance between each two adjacent coordinate points according to a preset number of coordinate points on a moving trajectory of each contact; The straight line distances are added, and the arc distance between the start point coordinates and the end point coordinates of the movement trajectory of each contact is obtained as the moving distance of each of the contacts.
  • the processing module 33 includes:
  • the first processing unit is configured to control, according to the ratio of the total moving distance to the preset threshold, to switch the currently displayed application interface to an application interface corresponding to the ratio;
  • the second processing unit 332 is configured to control the currently displayed application interface to move the total moving distance in a direction of the touch screen operation to display an extended portion of the currently displayed application interface.
  • the first processing unit 331 and the second processing unit 332 respectively perform operations for different application interfaces, wherein the first processing unit 331 is for an application interface having a page display function, and the second processing unit 332 is for an application interface having a continuous display function.
  • the device provided by the embodiment of the present disclosure can calculate the total moving distance of the touch screen operation according to the moving distance of the contact of the touch screen operation when the user needs to view the position in the application interface that is far away from the current display position, according to the total moving distance of the touch screen operation.
  • the distance display shows an extension of the application interface or switches the current application interface, and when the user performs a gesture operation, the movement speed of the application interface is doubled, thereby simplifying the user operation.
  • the device for controlling the movement of the application interface provided by the foregoing embodiment is only illustrated by the division of each functional module. In actual applications, the function distribution may be completed by different functional modules according to requirements, that is, the terminal is The internal structure of the device is divided into different functional modules to perform all or part of the functions described above.
  • the method for controlling the movement of the application interface and the method for controlling the movement of the application interface provided by the above embodiments are the same concept, and the specific implementation process is described in detail in the method embodiment, and details are not described herein again.
  • the embodiment of the present disclosure further provides a terminal device, where the terminal device includes:
  • One or more processors are One or more processors;
  • One or more modules the one or more modules being stored in the memory and configured to be executed by the one or more processors, wherein the one or more modules have the following functions:
  • the one or more modules are configured to respectively detect a movement trajectory of each contact in the touch screen operation; and obtain a moving distance of each contact according to a movement trajectory of each contact.
  • the one or more modules are further configured to acquire a linear distance between a starting point coordinate and an ending point coordinate of a moving track of each contact as a moving distance of each contact; and/or, obtain The arc distance between the start point coordinate and the end point coordinate of the movement trajectory of each contact is taken as the moving distance of each contact.
  • the one or more modules are further configured to obtain a linear distance between each two adjacent coordinate points according to a preset number of coordinate points on the moving track of each contact; The straight line distances are added, and the arc distance between the start point coordinates and the end point coordinates of the movement trajectory of each contact is obtained as the moving distance of each of the contacts.
  • the one or more modules are further configured to: control, according to the ratio of the total moving distance to a preset threshold, to switch the currently displayed application interface to an application interface corresponding to the ratio; or, control the currently displayed The application interface moves the total moving distance in a direction of the touch screen operation to display an extended portion of the currently displayed application interface.
  • a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
  • the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.

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)
  • User Interface Of Digital Computer (AREA)
  • Position Input By Displaying (AREA)

Abstract

本公开提供了一种控制应用界面移动的方法、装置和终端设备,属于界面控制领域。所述方法包括:分别检测触发应用界面移动的触屏操作的两个以上触点的移动距离;将所述两个以上触点的移动距离相加,计算所述触屏操作的移动总距离;根据所述移动总距离,控制应用界面的移动。本公开在用户需要查看应用界面中距离当前显示位置较远的位置时,将触屏操作的两个以上触点的移动距离相加得到触屏操作的移动总距离,根据该移动总距离显示应用界面的延伸部分或切换当前应用界面,能够在用户执行一次触屏操作时,使应用界面的移动速度加倍,从而简化用户操作。

Description

控制应用界面移动的方法、 装置和终端设备 本申请基于申请号为 201310038633.7、 申请日为 2013年 1月 31 日的中国专利申请提 出, 并要求该中国专利申请的优先权, 该中国专利申请的全部内容在此引入本申请作为参 考。 技术领域
本公开涉及界面控制领域,特别涉及一种控制应用界面移动的方法、装置和终端设备。 背景技术
随着移动终端的发展, 越来越多的移动终端具有触摸显示屏, 用户可通过用手指在触 摸显示屏上的触屏操作实现各种不同的功能, 当需要对应用界面进行切换或移动时, 用户 可以用手指在触摸显示屏所显示的应用界面上进行移动操作,来查看应用界面的延伸区域 或切换场景。 例如: 针对操作系统桌面, 用户单指接触触摸显示屏并直线滑动, 可以查看 桌面不同页上的应用程序。 又例如: 针对通讯录界面, 用户单指接触触摸显示屏并直线滑 动, 可以滚动列表从而查看不同的联系人。
在实现本公开的过程中, 发明人发现至少存在以下问题:
如果用户希望查看应用界面中距离当前显示位置较远的位置, 需要执行多次单指操 作, 操作繁琐。 发明内容
为了简化移动应用界面的操作, 本公开实施例提供了一种控制应用界面移动的方法、 装置和终端设备。 所述技术方案如下:
第一方面, 提供了一种控制应用界面移动的方法, 所述方法包括:
分别检测触发应用界面移动的触屏操作中两个以上触点的移动距离;
将所述两个以上触点的移动距离相加, 计算所述触屏操作的移动总距离;
根据所述移动总距离, 控制应用界面的移动。
结合第一方面, 本公开实施例的第一种可能实现方式中, 分别检测触发应用界面移动 的触屏操作中两个以上触点的移动距离, 包括:
分别检测触发应用界面移动的触屏操作中每个触点的移动轨迹;
根据每个触点的移动轨迹, 获取每个触点的移动距离。
结合本公开实施例的第一种可能实现方式, 本公开实施例的第二种可能实现方式中, 根据每个触点的移动轨迹, 获取每个触点的移动距离, 包括:
获取每个触点的移动轨迹的起始点坐标和结束点坐标之间的直线距离,作为每个触点 的移动距离;
和 /或,
获取所述每个触点的移动轨迹的起始点坐标和结束点坐标之间的弧线距离,作为每个 触点的移动距离。
结合本公开实施例的第二种可能实现方式, 本公开实施例的第三种可能实现方式中, 获取每个触点的移动轨迹的起始点坐标和结束点坐标之间的弧线距离,作为每个触点的移 动距离, 包括:
根据每个触点的移动轨迹上预设个数的坐标点,获取每两个相邻坐标点之间的直线距 离;
将获取到的直线距离相加,获取每个触点的移动轨迹的起始点坐标和结束点坐标之间 的弧线距离, 作为所述每个触点的移动距离。
结合上述任一可能的实现方式, 本公开实施例的第四种可能实现方式中, 根据所述移 动总距离, 控制应用界面的移动, 包括:
根据所述移动总距离与预设阈值的比值,控制当前显示的应用界面切换至与所述比值 相应的应用界面;
或,
控制当前显示的应用界面向所述触屏操作的方向移动所述移动总距离, 以显示当前显 示的应用界面的延伸部分。 第二方面, 提供了一种控制应用界面移动的装置, 所述装置包括:
检测模块, 用于分别检测触发应用界面移动的触屏操作的两个以上触点的移动距离; 计算模块, 用于将所述两个以上触点的移动距离相加, 计算所述触屏操作的移动总距 离;
处理模块, 用于根据所述移动总距离, 控制应用界面的移动。
结合第二方面, 本公开实施例的第一种可能实现方式中, 所述检测模块包括: 移动轨迹检测单元,用于分别检测触发应用界面移动的触屏操作中每个触点的移动轨 迹;
移动距离获取单元, 用于根据每个触点的移动轨迹, 获取每个触点的移动距离。 结合本公开实施例的第一种可能实现方式, 本公开实施例的第二种可能实现方式中, 所述移动距离获取单元用于获取每个触点的移动轨迹的起始点坐标和结束点坐标之间的 直线距离, 作为每个触点的移动距离;
和 /或,
所述移动距离获取单元用于获取每个触点的移动轨迹的起始点坐标和结束点坐标之 间的弧线距离, 作为每个触点的移动距离。
结合本公开实施例的第二种可能实现方式, 本公开实施例的第三种可能实现方式中, 所述移动距离获取单元用于根据每个触点的移动轨迹上预设个数的坐标点,获取每两个相 邻坐标点之间的直线距离; 将获取到的直线距离相加, 获取每个触点的移动轨迹的起始点 坐标和结束点坐标之间的弧线距离, 作为所述每个触点的移动距离。
结合上述任一可能的实现方式, 本公开实施例的第四种可能实现方式中, 所述处理模 块包括:
第一处理单元, 用于根据所述移动总距离与预设阈值的比值, 控制当前显示的应用界 面切换至与所述比值相应的应用界面;
第二处理单元,用于控制当前显示的应用界面向所述触屏操作的方向移动所述移动总 距离, 以显示当前显示的应用界面的延伸部分。 第三方面, 提供了一种终端设备, 所述终端设备包括:
触摸显示屏;
一个或多个处理器;
存储器; 和
—个或多个模块,所述一个或多个模块存储于所述存储器中并被配置成由所述一个或 多个处理器执行, 其中, 所述一个或多个模块具有如下功能:
分别检测触发应用界面移动的触屏操作中两个以上触点的移动距离;
将所述两个以上触点的移动距离相加, 计算所述触屏操作的移动总距离;
根据所述移动总距离, 控制应用界面的移动。
本公开实施例提供的技术方案带来的一些有益效果可以包括:
本公开实施例提供的控制应用界面移动的方法、装置和终端设备, 能够在用户需要查 看应用界面中距离当前显示位置较远的位置时,根据触屏操作的触点的移动距离计算得到 触屏操作的移动总距离,根据该移动总距离显示当前应用界面的延伸部分或切换当前应用 界面, 在用户执行一次手势操作时, 使应用界面的移动速度加倍, 从而简化用户操作。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性的,并不能限制本公开。
附图说明
为了更清楚地说明本公开实施例中的技术方案,下面将对实施例描述中所需要使用的 附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是本公开实施例的一些举例, 对 于本领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获得其 他的附图。
图 1是本公开实施例提供的控制应用界面移动的方法的示例性流程图;
图 2是本公开实施例提供的控制应用界面移动的方法的示例性流程图;
图 3是本公开实施例提供的控制应用界面移动的装置的示例性结构示意图。 通过上述附图, 已示出本公开明确的实施例, 后文中将有更详细的描述。 这些附图和 文字描述并不是为了通过任何方式限制本公开构思的范围,而是通过参考特定实施例为本 领域技术人员说明本公开的概念。 具体实施方式
为使本公开实施例的目的、技术方案和优点更加清楚, 下面将结合附图对本公开实施 例作进一步地详细描述。
本公开实施例中, 终端设备指向为用户提供语音和 /或数据连通性的设备, 包括无线 终端或有线终端。无线终端可以是具有无线连接功能的手持式设备、 或连接到无线调制解 调器的其他处理设备, 经无线接入网与一个或多个核心网进行通信的移动终端。 例如, 无 线终端可以是移动电话(或称为 "蜂窝" 电话)和具有移动终端的计算机。 又如, 无线终 端也可以是便携式、 袖珍式、 手持式、 计算机内置的或者车载的移动装置。
图 1是本公开实施例提供的第一种控制应用界面移动的方法的示例性流程图。本公开 实施例的执行主体是终端设备, 参见图 1, 所述方法包括如下步骤。
在步骤 101中, 分别检测触发应用界面移动的触屏操作中两个以上触点的移动距离。 其中, 触屏操作是指在终端设备的触摸显示屏上由用户的接触触发的操作, 该触屏操 作用于触发应用界面移动, 该触屏操作可以为具有一定位移的滑动操作, 根据应用界面的 类型不同, 该滑动操作所对应的界面移动方式也不同, 对于具有分页显示功能的应用界面 来说, 滑动操作对应的界面移动方式为翻页, 对于具有连续显示功能的应用界面来说, 滑 动操作对应的界面移动方式为移动当前显示的应用界面, 以显示该应用界面的延伸部分。
本公开实施例中具有两个以上触点的触屏操作可以看作是两个以上独立的触屏操作。 本步骤中, 分别检测每个触点的起始位置和结束位置之间的距离, 获取两个以上触点 的移动距离。 其中, 所述触点的起始位置和结束位置可以由触点的坐标确定。
需要说明的是, 该步骤 101可以为当捕获到任一触屏操作时, 检测该触屏操作是否为 触发应用界面移动的触屏操作, 当检测到触发应用界面移动的触屏操作时, 分别检测该触 屏操作的两个以上触点的移动距离, 否则, 执行触屏操作匹配的其他界面操作。
在步骤 102中, 将所述两个以上触点的移动距离相加, 计算所述触屏操作的移动总距 离。
在本公开实施例中, 将检测到的所述触屏操作的每个触点的移动距离相加, 可以计算 得到所述触屏操作的移动总距离。
在步骤 103中, 根据所述移动总距离, 控制应用界面的移动。
在本公开实施例中, 步骤 101和 102是基于当前显示的应用界面进行的, 终端设备分 别检测当前显示的应用界面上触发应用界面移动的触屏操作中两个以上触点的移动距离, 根据所述两个以上触点的移动距离, 计算所述触屏操作的移动总距离。
根据应用的类型不同, 该应用界面包括但不限于应用程序界面和操作系统界面。 其中,应用程序界面可以为具有分页显示功能的应用程序界面或具有连续显示功能的 应用程序界面, 如, 具有分页显示功能的应用程序界面可以是以翻页形式浏览的电子书的 界面、 电子相册的界面; 具有连续显示功能的应用程序界面可以是以列表、 菜单等形式显 示的界面, 如, 具有连续显示功能的应用程序界面可以为通讯录界面、 管理软件界面等。
操作系统界面可以为具有分页显示功能的操作系统界面或具有连续显示功能的操作 系统界面, 如, 具有分页显示功能的操作系统界面可以是桌面显示界面; 具有连续显示功 能的操作系统界面可以为短信息管理界面、 设定界面或应用管理器界面等等。
根据计算得到的所述触屏操作的移动总距离, 可以控制当前显示的应用界面的移动, 针对不同显示方式的应用界面, 相应地有不同的移动方式, 所述移动方式可以包括移动应 用界面以显示该应用界面的延伸部分或切换当前显示的界面等。
本公开实施例提供的方法,能够在用户需要查看应用界面中距离当前显示位置较远的 位置时, 根据触屏操作的触点的移动距离计算得到触屏操作的移动总距离, 根据该移动总 距离显示应用界面的延伸部分或切换当前应用界面, 在用户执行一次手势操作时, 使应用 界面的移动速度加倍, 从而简化用户操作。 可选地, 在图 1所示实施例的基础上, 步骤 101 "分别检测触发应用界面移动的触屏 操作中两个以上触点的移动距离"可以包括步骤 101a和 101b。
在步骤 101a中, 分别检测触发应用界面移动的触屏操作中每个触点的移动轨迹。 其中,所述移动轨迹是指用户手指接触触摸显示屏直至用户手指离开触摸显示屏之间 触点在所述触摸显示屏上的移动路线的轨迹;所述移动轨迹包括但不限于直线和弧线等形 状。
在步骤 101b中, 根据每个触点的移动轨迹, 获取每个触点的移动距离。
本步骤中, 检测到所述触屏操作中每个触点的移动轨迹后, 根据每个触点的移动轨迹 是直线还是弧线, 可以采用不同的方式获取每个触点的移动距离, 例如, 当所述每个触点 的移动轨迹是直线时,该移动轨迹的起始位置和结束位置之间的直线距离就可以认为是所 述每个触点的移动距离。 可选地, 在图 1所示实施例的基础上, 步骤 101b "根据每个触点的移动轨迹, 获取每 个触点的移动距离"可以采用以下步骤 101b-l、 101b-2中的任一种形式。
在步骤 101b-l 中, 获取每个触点的移动轨迹的起始点坐标和结束点坐标之间的直线 距离, 作为每个触点的移动距离。
在本公开实施例中, 获取每个触点的移动轨迹的起始点坐标和结束点坐标, 计算每个 触点的移动轨迹的起始点坐标和结束点坐标之间的直线距离,将该距离作为所述每个触点 的移动距离。
在步骤 101b-2 中, 获取所述每个触点的移动轨迹的起始点坐标和结束点坐标之间的 弧线距离, 作为每个触点的移动距离。
在本公开实施例中, 获取每个触点的移动轨迹的起始点坐标和结束点坐标, 计算每个 触点的移动轨迹的起始点坐标和结束点坐标之间的弧线距离,将该距离作为所述每个触点 的移动距离。
需要说明的是, 当移动轨迹为直线或弧线时, 均可以使用上述任一种方法获取移动距 离, 而为了更精确的确定移动距离, 还可以先对移动轨迹的类型进行判断, 也即是判断触 点的移动轨迹是直线还是弧线, 当检测到所述每个触点的移动轨迹是直线时, 可以获取每 个触点的移动轨迹的起始点坐标和结束点坐标,计算每个触点的移动轨迹的起始点坐标和 结束点坐标之间的直线距离, 将该距离作为所述每个触点的移动距离; 而当检测到所述每 个触点的移动轨迹是弧线时, 获取每个触点的移动轨迹的起始点坐标和结束点坐标, 计算 每个触点的移动轨迹的起始点坐标和结束点坐标之间的弧线距离,将该距离获取为所述每 个触点的移动距离。 可选地, 在图 1所示实施例的基础上, 该步骤 101b-2 "根据每个触点的移动轨迹的起 始点坐标和结束点坐标之间的弧线距离, 获取每个触点的移动距离"包括步骤(一)和步 骤 (二) 。
在步骤(一) 中, 根据每个触点的移动轨迹上预设个数的坐标点, 获取每两个相邻坐 标点之间的直线距离。
在本公开实施例中, 根据预设个数, 在所述移动轨迹上选取与预设个数相等数目的坐 标点,获取每两个相邻坐标点之间的直线距离,可以在移动轨迹上均匀选取预设个坐标点。
其中, 所述预设个数可以由开发人员设置, 也可以由用户个性化设置, 为了保证获取 弧线距离的准确性, 可以将预设个数设置为较大数值, 预设个数的数值越大, 获取到的弧 线距离越准确。
在步骤(二) 中, 将获取到的直线距离相加, 获取每个触点的移动轨迹的起始点坐标 和结束点坐标之间的弧线距离, 作为所述每个触点的移动距离。
本步骤中, 将获取到的弧线轨迹上的每两个相邻坐标点之间的直线距离相加, 将计算 出的距离总和作为该弧线轨迹的起始点坐标和结束点坐标之间的弧线距离,每个触点的移 动轨迹的起始点坐标和结束点坐标之间的弧线距离即为所述每个触点的移动距离。
举例来说, 检测到某一触点 S的起始点为 A, 结束点为 B, 当预设个数为 4时, 即在 A与 B之间的移动轨迹上选取 4个坐标点, 假设选取的坐标点为 C、 D、 E、 F, 分别计算 出所述六个坐标点 A、 B、 C、 D、 E、 F 中每两个相邻坐标点之间的直线距离, 将所述六 个坐标点 A、 B、 C、 D、 E、 F 中每相邻两个坐标点之间的直线距离相加, 得到的总距离 就是坐标点 A和 B之间的弧线距离, 该距离可以获取为触点 S的移动距离。 可选地, 在图 1所示实施例的基础上, 根据应用界面的不同, 该步骤 103 "根据所述 移动总距离, 控制应用界面的移动"包括步骤 103a或 103b。
在步骤 103a中, 根据所述移动总距离与预设阈值的比值, 控制所述当前显示的应用 界面切换至与所述比值相应的应用界面。
此方式一般应用于当前应用界面为具有分页显示功能的应用界面的场景下,例如桌面 显示界面、 电子相册界面等。
其中, 所述预设阈值用于定义用户单指进行触屏操作时翻一页对应的移动距离; 所述 预设阈值可以由技术人员在开发时设置, 还可以由用户在使用过程中设置。
在本步骤中, 当所述移动总距离与预设阈值的比值大于等于 N且小于 N+1时, 可以 确定所述移动总距离与预设阈值的比值为 N, 根据所述比值 N, 可以控制所述当前显示的 应用界面切换至相应的应用界面,也即是控制当前显示的应用界面翻页至当前页数加 N页 的界面, 其中, N为正整数;
例如,当前显示屏显示第 M页时,触屏操作的移动总距离与所述预设阈值的比值为 N, 则与此触屏操作匹配的界面操作是翻页至第 M+N页。
以操作系统桌面为例, 假设当前显示操作系统桌面的第 1页, 用户可以用两根手指在 触摸显示屏上执行向右滑动的触屏操作,而当终端设备检测到触屏操作的两个触点的移动 轨迹时, 根据该触屏操作显示该操作系统桌面的第 3页, 避免了用户为了翻页而多次进行 向右滑动的操作。
在步骤 103b 中, 控制所述当前显示的应用界面向所述触屏操作的方向移动所述移动 总距离, 以显示所述应用界面的延伸部分。
此方式一般应用于当前应用界面为具有连续显示功能的应用界面的场景下,例如通讯 录界面、 短信息管理界面等。
在本步骤中, 通过检测所述触屏操作的方向, 控制当前显示的应用界面在相应的方向 上移动, 移动的距离与所述移动总距离相等, 以显示所述应用界面的延伸部分。
对于具有连续显示功能的应用界面来说, 当前显示的部分可以认为是应用界面的一部 分, 为了能够显示应用界面的延伸部分, 用户可以通过使用至少具有两个触点的触屏操作 来使得当前应用界面的移动速度加快, 迅速显示其延伸部分, 避免了用户为了查看延伸部 分而进行的多次操作。
如, 针对通讯录来说, 通过根据所述移动总距离移动当前的通讯录应用界面, 可以显 示在当前应用界面上未能显示的通讯录的内容, 以便于用户查找联系人。
本公开实施例提供的方法,能够在用户需要查看应用界面中距离当前显示位置较远的 位置时, 根据触屏操作的触点的移动距离计算得到触屏操作的移动总距离, 根据该移动总 距离显示应用界面的延伸部分或切换当前应用界面, 在用户执行一次手势操作时, 使应用 界面的移动速度加倍, 从而简化用户操作。
上述所有可选技术方案, 可以采用任意结合形成可选实施例, 在此不再一一赘述。 图 2是本公开实施例提供的控制应用界面移动的方法的示例性流程图。该发明实施例 的执行主体是终端设备, 参见图 2, 所述方法包括如下步骤。
在步骤 201中, 获取用户输入的触发应用界面移动的触屏操作。
在步骤 202中, 检测所述触屏操作是否包括两个以上的触点; 如果是, 执行步骤 204; 如果否, 执行步骤 203。
在步骤 203中:根据所述触屏操作所匹配的界面处理操作方式移动当前显示的应用界 面, 结束。
在步骤 204中: 分别检测所述触屏操作中每个触点的移动轨迹;
在步骤 205 中: 根据每个触点的移动轨迹的起始点坐标和结束点坐标之间的直线距 离, 获取每个触点的移动距离。
在本公开实施例中, 不对移动轨迹的具体形状进行限定, 而是仅根据移动轨迹的起始 点坐标和结束点坐标之间的直线距离, 获取移动距离。
在步骤 206中:根据所述两个以上触点的移动距离,计算所述触屏操作的移动总距离。 在步骤 207中, 如果当前显示的应用界面为具有分页显示功能的应用界面, 根据所述 移动总距离与预设阈值的比值,控制所述当前显示的应用界面切换至与所述比值相应的应 用界面。
在步骤 208中, 如果当前显示的应用界面为具有连续显示功能的应用界面, 控制所述 当前显示的应用界面向所述触屏操作的方向移动所述移动总距离, 以显示所述应用界面的 延伸部分。
本公开实施例提供的方法,能够在用户需要查看应用界面中距离当前显示位置较远的 位置时, 根据触屏操作的触点的移动距离计算得到触屏操作的移动总距离, 根据该移动总 距离显示应用界面的延伸部分或切换当前应用界面, 在用户执行一次手势操作时, 使应用 界面的移动速度加倍, 从而简化用户操作。 图 3是本公开实施例提供的控制应用界面移动的装置的示例性结构示意图,参见图 3, 所述装置包括:
检测模块 31, 用于分别检测触发应用界面移动的触屏操作中两个以上触点的移动距 离;
计算模块 32,用于将所述两个以上触点的移动距离相加,计算所述触屏操作的移动总 距离;
处理模块 33, 用于根据所述移动总距离, 控制应用界面的移动。
可选地, 所述检测模块 31包括:
移动轨迹检测单元 311, 用于分别检测触发应用界面移动的触屏操作中每个触点的移 动轨迹;
移动距离获取单元 312, 用于根据每个触点的移动轨迹, 获取每个触点的移动距离。 进一步可选地,所述移动距离获取单元 312用于获取每个触点的移动轨迹的起始点坐 标和结束点坐标之间的直线距离, 作为每个触点的移动距离;
和 /或,
用于获取所述每个触点的移动轨迹的起始点坐标和结束点坐标之间的弧线距离,作为 每个触点的移动距离。
进一步可选地,所述移动距离获取单元 312还用于根据每个触点的移动轨迹上预设个 数的坐标点, 获取每两个相邻坐标点之间的直线距离; 将获取到的直线距离相加, 获取每 个触点的移动轨迹的起始点坐标和结束点坐标之间的弧线距离,作为所述每个触点的移动 距离。
可选地, 所述处理模块 33包括:
第一处理单元 331, 用于根据所述移动总距离与预设阈值的比值, 控制当前显示的应 用界面切换至与所述比值相应的应用界面;
第二处理单元 332, 用于控制当前显示的应用界面向所述触屏操作的方向移动所述移 动总距离, 以显示当前显示的应用界面的延伸部分。
第一处理单元 331和第二处理单元 332分别针对不同的应用界面执行操作,其中第一 处理单元 331针对具有分页显示功能的应用界面,第二处理单元 332针对具有连续显示功 能的应用界面。
本公开实施例提供的装置,能够在用户需要查看应用界面中距离当前显示位置较远的 位置时, 根据触屏操作的触点的移动距离计算得到触屏操作的移动总距离, 根据该移动总 距离显示应用界面的延伸部分或切换当前应用界面, 在用户执行一次手势操作时, 使应用 界面的移动速度加倍, 从而简化用户操作。
需要说明的是: 上述实施例提供的控制应用界面移动的装置, 仅以上述各功能模块的 划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成, 即将终端设备的内部结构划分成不同的功能模块, 以完成以上描述的全部或者部分功能。 另外,上述实施例提供的控制应用界面移动的装置与控制应用界面的移动的方法实施例属 于同一构思, 其具体实现过程详见方法实施例, 这里不再赘述。 本公开实施例还提供了一种终端设备, 所述终端设备包括:
触摸显示屏;
一个或多个处理器;
存储器; 和
一个或多个模块,所述一个或多个模块存储于所述存储器中并被配置成由所述一个或 多个处理器执行, 其中, 所述一个或多个模块具有如下功能:
分别检测触发应用界面移动的触屏操作中两个以上触点的移动距离,所述触屏操作触 发应用界面移动; 将所述两个以上触点的移动距离相加, 计算所述触屏操作的移动总距离; 根据所述移动总距离, 控制应用界面的移动。
可选地, 所述一个或多个模块用于分别检测所述触屏操作中每个触点的移动轨迹; 根 据每个触点的移动轨迹, 获取每个触点的移动距离。
可选地,所述一个或多个模块还用于获取每个触点的移动轨迹的起始点坐标和结束点 坐标之间的直线距离, 作为每个触点的移动距离; 和 /或, 获取所述每个触点的移动轨迹 的起始点坐标和结束点坐标之间的弧线距离, 作为每个触点的移动距离。
可选地,所述一个或多个模块还用于根据所述每个触点的移动轨迹上预设个数的坐标 点, 获取每两个相邻坐标点之间的直线距离; 将获取到的直线距离相加, 获取每个触点的 移动轨迹的起始点坐标和结束点坐标之间的弧线距离, 作为所述每个触点的移动距离。
可选地, 所述一个或多个模块还用于根据所述移动总距离与预设阈值的比值, 控制当 前显示的应用界面切换至与所述比值相应的应用界面; 或, 控制当前显示的应用界面向所 述触屏操作的方向移动所述移动总距离, 以显示当前显示的应用界面的延伸部分。
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完 成, 也可以通过程序来指令相关的硬件完成, 所述的程序可以存储于一种计算机可读存储 介质中, 上述提到的存储介质可以是只读存储器, 磁盘或光盘等。
以上所述仅为较佳实施例, 并不用以限制本公开, 凡在本公开的精神和原则之内, 所 作的任何修改、 等同替换、 改进等, 均应包含在本公开的保护范围之内。

Claims

权利要求
1、 一种控制应用界面移动的方法, 其特征在于, 所述方法包括:
分别检测触发应用界面移动的触屏操作中两个以上触点的移动距离;
将所述两个以上触点的移动距离相加, 计算所述触屏操作的移动总距离;
根据所述移动总距离, 控制应用界面的移动。
2、 根据权利要求 1所述的方法, 其特征在于, 所述分别检测触发应用界面移动的触 屏操作中两个以上触点的移动距离, 包括:
分别检测触发应用界面移动的触屏操作中每个触点的移动轨迹;
根据每个触点的移动轨迹, 获取每个触点的移动距离。
3、 根据权利要求 2所述的方法, 其特征在于, 所述根据每个触点的移动轨迹, 获取 每个触点的移动距离, 包括:
获取每个触点的移动轨迹的起始点坐标和结束点坐标之间的直线距离,作为每个触点 的移动距离;
和 /或,
获取每个触点的移动轨迹的起始点坐标和结束点坐标之间的弧线距离,作为每个触点 的移动距离。
4、 根据权利要求 3所述的方法, 其特征在于, 所述获取每个触点的移动轨迹的起始 点坐标和结束点坐标之间的弧线距离, 作为每个触点的移动距离, 包括:
根据每个触点的移动轨迹上预设个数的坐标点,获取每两个相邻坐标点之间的直线距 离;
将获取到的直线距离相加,获取每个触点的移动轨迹的起始点坐标和结束点坐标之间 的弧线距离, 作为每个触点的移动距离。
5、根据权利要求 1至 4任一项所述的方法, 其特征在于, 所述根据所述移动总距离, 控制应用界面的移动, 包括:
根据所述移动总距离与预设阈值的比值,控制当前显示的应用界面切换至与所述比值 相应的应用界面;
或,
控制当前显示的应用界面向所述触屏操作的方向移动所述移动总距离,以显示当前显 示的应用界面的延伸部分。
6、 一种控制应用界面移动的装置, 其特征在于, 所述装置包括:
检测模块, 用于分别检测触发应用界面移动的触屏操作中两个以上触点的移动距离; 计算模块,用于将所述两个以上触点的移动距离相加,计算所述触屏操作的移动总距 离;
处理模块, 用于根据所述移动总距离, 控制应用界面的移动。
7、 根据权利要求 6所述的装置, 其特征在于, 所述检测模块包括: 移动轨迹检测单元,用于分别检测触发应用界面移动的触屏操作中每个触点的移动轨 迹;
移动距离获取单元, 用于根据每个触点的移动轨迹, 获取每个触点的移动距离。
8、 根据权利要求 7所述的装置, 其特征在于, 所述移动距离获取单元用于获取每个 触点的移动轨迹的起始点坐标和结束点坐标之间的直线距离, 作为每个触点的移动距离; 和 /或,
所述移动距离获取单元用于获取每个触点的移动轨迹的起始点坐标和结束点坐标之 间的弧线距离, 作为每个触点的移动距离。
9、 根据权利要求 8所述的装置, 其特征在于, 所述移动距离获取单元用于根据每个 触点的移动轨迹上预设个数的坐标点,获取每两个相邻坐标点之间的直线距离;将获取到 的直线距离相加, 获取每个触点的移动轨迹的起始点坐标和结束点坐标之间的弧线距离, 作为每个触点的移动距离。
10、 根据权利要求 6至 9任一项所述的装置, 其特征在于, 所述处理模块包括: 第一处理单元,用于根据所述移动总距离与预设阈值的比值,控制当前显示的应用界 面切换至与所述比值相应的应用界面;
第二处理单元,用于控制当前显示的应用界面向所述触屏操作的方向移动所述移动总 距离, 以显示当前显示的应用界面的延伸部分。
11、 一种终端设备, 其特征在于, 包括:
触摸显示屏;
一个或多个处理器;
存储器; 和
一个或多个模块,所述一个或多个模块存储于所述存储器中并被配置成由所述一个或 多个处理器执行, 其中, 所述一个或多个模块具有如下功能:
分别检测触发应用界面移动的触屏操作中两个以上触点的移动距离;
将所述两个以上触点的移动距离相加, 计算所述触屏操作的移动总距离;
根据所述移动总距离, 控制应用界面的移动。
PCT/CN2013/090898 2013-01-31 2013-12-30 控制应用界面移动的方法、装置和终端设备 WO2014117619A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310038633.7A CN103106033B (zh) 2013-01-31 2013-01-31 控制应用界面移动的方法、装置和终端设备
CN201310038633.7 2013-01-31

Publications (1)

Publication Number Publication Date
WO2014117619A1 true WO2014117619A1 (zh) 2014-08-07

Family

ID=48313930

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/090898 WO2014117619A1 (zh) 2013-01-31 2013-12-30 控制应用界面移动的方法、装置和终端设备

Country Status (2)

Country Link
CN (1) CN103106033B (zh)
WO (1) WO2014117619A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103106033B (zh) * 2013-01-31 2016-08-10 小米科技有限责任公司 控制应用界面移动的方法、装置和终端设备
CN104166505B (zh) * 2013-05-20 2018-11-06 腾讯科技(深圳)有限公司 一种信息查看方法、装置及移动终端
CN104063153B (zh) * 2014-05-04 2018-12-11 南京中兴软件有限责任公司 一种实现人机交互的方法和装置

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102033698A (zh) * 2009-09-25 2011-04-27 苹果公司 滚动多节文档的方法和装置及多功能设备
US20120096393A1 (en) * 2010-10-19 2012-04-19 Samsung Electronics Co., Ltd. Method and apparatus for controlling touch screen in mobile terminal responsive to multi-touch inputs
CN103106033A (zh) * 2013-01-31 2013-05-15 北京小米科技有限责任公司 控制应用界面移动的方法、装置和终端设备

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102521858B (zh) * 2011-11-28 2014-04-02 北京盛世宣合信息科技有限公司 电子毛笔书写笔迹生成方法
CN102508615B (zh) * 2011-11-28 2015-09-09 明基电通有限公司 触控屏幕画面控制方法

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102033698A (zh) * 2009-09-25 2011-04-27 苹果公司 滚动多节文档的方法和装置及多功能设备
US20120096393A1 (en) * 2010-10-19 2012-04-19 Samsung Electronics Co., Ltd. Method and apparatus for controlling touch screen in mobile terminal responsive to multi-touch inputs
CN103106033A (zh) * 2013-01-31 2013-05-15 北京小米科技有限责任公司 控制应用界面移动的方法、装置和终端设备

Also Published As

Publication number Publication date
CN103106033A (zh) 2013-05-15
CN103106033B (zh) 2016-08-10

Similar Documents

Publication Publication Date Title
US10216407B2 (en) Display control apparatus, display control method and display control program
US8633909B2 (en) Information processing apparatus, input operation determination method, and input operation determination program
RU2595634C2 (ru) Обработка бесконтактного ввода для сенсорных экранов
EP2769289B1 (en) Method and apparatus for determining the presence of a device for executing operations
US9223406B2 (en) Screen display control method of electronic device and apparatus therefor
US8823749B2 (en) User interface methods providing continuous zoom functionality
KR102097496B1 (ko) 폴더블 이동 단말기 및 그 제어 방법
JP5160579B2 (ja) 表示装置及び画面表示方法
JP2014010777A (ja) 表示プログラム、表示方法、及び情報処理装置
RU2613739C2 (ru) Способ, устройство и терминальное устройство для управления перемещением интерфейса приложения
KR101929316B1 (ko) 터치스크린을 구비한 단말기에서 키패드 표시 방법 및 장치
US20120297339A1 (en) Electronic device, control method, and storage medium storing control program
WO2014040469A1 (zh) 基于触摸屏式移动终端的文本选择方法及装置
WO2014121626A1 (zh) 一种移动终端快捷方式的显示方法、装置及存储介质
KR20150089074A (ko) 클램핑을 사용한 스크롤링의 변경
WO2012097759A2 (zh) 一种触摸屏的操作方法和终端
CN104965669A (zh) 物理按键触控方法及装置、移动终端
WO2014201936A1 (zh) 一种移动设备的窗口移动方法及其装置
US20180046349A1 (en) Electronic device, system and method for controlling display screen
WO2014117619A1 (zh) 控制应用界面移动的方法、装置和终端设备
CN103870179A (zh) 便携终端中触摸屏控制方法及装置
WO2014075540A1 (zh) 触摸屏滚屏控制系统及方法
US20160041726A1 (en) Terminal device and method for selecting object
CN113110786B (zh) 一种页面滑动控制方法及移动终端
JP6245334B2 (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: 13873309

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13873309

Country of ref document: EP

Kind code of ref document: A1