WO2016184139A1 - Interface rolling control method and apparatus - Google Patents

Interface rolling control method and apparatus Download PDF

Info

Publication number
WO2016184139A1
WO2016184139A1 PCT/CN2016/070516 CN2016070516W WO2016184139A1 WO 2016184139 A1 WO2016184139 A1 WO 2016184139A1 CN 2016070516 W CN2016070516 W CN 2016070516W WO 2016184139 A1 WO2016184139 A1 WO 2016184139A1
Authority
WO
WIPO (PCT)
Prior art keywords
current
interface
touch screen
vertical distance
distance
Prior art date
Application number
PCT/CN2016/070516
Other languages
French (fr)
Chinese (zh)
Inventor
徐源源
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016184139A1 publication Critical patent/WO2016184139A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/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
    • 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

Definitions

  • the invention relates to the technical field of touch screen control, in particular to a method and a device for controlling interface scrolling.
  • Touch screen also known as “touch screen” or “touch panel” is an inductive liquid crystal display device that can receive input signals such as contacts, and touches the screen when it touches a graphic button on the touch screen.
  • the above haptic feedback device can drive various connection devices according to a pre-programmed program, and can be used to replace the mechanical button panel, and to create a live-action audio and video effect through the liquid crystal display screen.
  • touch screen is the most simple, convenient and natural human-computer interaction method.
  • the interface is generally scrolled by the user's finger on the touch screen, the interface scrolls quickly, and the interface scrolls slowly.
  • the interface scrolls slowly.
  • the metaphor of the sliding operation is more realistic and easy to remember, but The moving distance of the finger is large, and it is necessary to operate back and forth multiple times in the long-distance interface scrolling operation, and the efficiency is low and the user experience is poor.
  • the technical problem to be solved by the present invention is to provide a method and device for controlling interface scrolling, which can realize rapid scrolling of the interface by applying a certain pressure on the touch screen, thereby greatly reducing the moving distance of the user's finger.
  • the present invention provides a method for controlling interface scrolling, including:
  • the current display interface scroll is controlled at the current scroll speed.
  • obtaining a current vertical distance of a contact position of a user applying pressure on a current display interface of the touch screen to a central axis of the touch screen includes:
  • a second current vertical distance of the contact position of the user applying pressure on the current display interface of the touch screen to the vertical center axis of the touch screen is obtained.
  • the horizontal central axis is a central axis of the Y-axis intermediate value of the touch screen when the interface type is an up-and-down sliding type interface;
  • the vertical central axis is a central axis of the X-axis intermediate value of the touch screen when the interface type is a left-right sliding type interface.
  • the relationship between the preset interface scrolling speed and the pressure level value and the vertical distance includes:
  • the pressure level value is proportional to the scroll speed.
  • the step of acquiring the current vertical distance and the current scroll speed of the interface corresponding to the current pressure value includes: :
  • the first scroll speed is determined as the current scroll speed.
  • an interface scrolling control apparatus including:
  • a first detecting module configured to acquire a current vertical distance of a contact position of a user applying pressure on a current display interface of the touch screen to a central axis of the touch screen;
  • a second detecting module configured to acquire a current pressure value of the user at the contact position
  • Obtaining a module configured to obtain a current scrolling speed of the interface corresponding to the current vertical distance and the current pressure value in a relationship between a preset scrolling speed and a pressure level value and a vertical distance;
  • control module configured to control the current display interface scrolling at the current scroll speed.
  • the first detecting module is specifically configured to: acquire a first current vertical distance of a contact position of a user applying pressure on a current display interface of the touch screen to a horizontal central axis of the touch screen; or
  • a second current vertical distance of the contact position of the user applying pressure on the current display interface of the touch screen to the vertical center axis of the touch screen is obtained.
  • the horizontal central axis is a central axis of the Y-axis intermediate value of the touch screen when the interface type is an up-and-down sliding type interface;
  • the vertical central axis is a central axis of the X-axis intermediate value of the touch screen when the interface type is a left-right sliding type interface.
  • the relationship between the preset interface scrolling speed and the pressure level value and the vertical distance includes:
  • the pressure level value is proportional to the scroll speed.
  • the acquiring module is specifically configured to: determine, if the current vertical distance is within a first distance range of the plurality of distance ranges in the relationship table, according to the first distance range Obtaining a plurality of pressure level values corresponding to the first distance range; if the current pressure value is at a first pressure level of the plurality of pressure level values, obtaining the first pressure level according to the first pressure level value a first scroll speed corresponding to the value; determining the first scroll speed as the current scroll speed.
  • the technical solution of the present application includes: acquiring a current vertical distance of a contact position of a user applying pressure on a current display interface of the touch screen to a central axis of the touch screen; acquiring the user at the touch The current pressure value of the point position; in a relationship between the preset interface scroll speed and the pressure level value and the vertical distance, acquiring the current vertical distance, the current scroll speed of the interface corresponding to the current pressure value; The current scroll speed controls the current display interface scrolling.
  • the invention realizes rapid scrolling of the interface by exerting a certain pressure on the touch screen, thereby greatly reducing the moving distance of the user's finger and enhancing the user experience.
  • FIG. 1 is a flowchart of a method for controlling interface scrolling according to an embodiment of the present invention
  • FIG. 2 is a schematic view showing a horizontal central axis of an upper and lower sliding type interface according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of a vertical center axis of a left and right sliding type page according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram of a current vertical distance of a contact position of a pressure applied by an upper and lower sliding interface to a horizontal central axis of the touch screen according to an embodiment of the present invention
  • FIG. 5 is a schematic diagram of a current vertical distance of a contact position of a left and right sliding interface applied to a vertical central axis of the touch screen according to an embodiment of the present invention
  • FIG. 6 is a schematic diagram showing scrolling of an upper and lower sliding type interface according to a current vertical distance and a current pressure value according to an embodiment of the present invention
  • FIG. 7 is a schematic diagram showing scrolling of a left and right sliding type interface according to a current vertical distance and a current pressure value according to an embodiment of the present invention
  • FIG. 8 is a schematic structural diagram of an apparatus for controlling interface scrolling according to an embodiment of the present invention.
  • an embodiment of the present invention provides a method for controlling interface scrolling, including:
  • S101 Acquire a current vertical distance of a contact position of a user applying pressure on a current display interface of the touch screen to a central axis of the touch screen;
  • S104 Control the current display interface scrolling at the current scrolling speed.
  • a touch detection technique may be utilized to detect a contact position at which a user applies pressure on a current display interface of the touch screen; in step S102, a pressure detection technique may be utilized to acquire the user at the contact position. Current pressure value.
  • obtaining the current vertical distance 101 of the contact position of the user applying pressure on the current display interface of the touch screen to the central axis of the touch screen comprises:
  • a second current vertical distance of the contact position of the user applying pressure on the current display interface of the touch screen to the vertical center axis 31 of the touch screen is obtained.
  • the horizontal central axis 21 is a central axis of the Y-axis intermediate value of the touch screen when the interface type is an up-and-down sliding type interface;
  • the vertical central axis 31 is a central axis where the X-axis intermediate value of the touch screen is located when the interface type is a left-right sliding type interface.
  • an interface type of a current display interface of the touch screen may be determined according to an attribute of a current display interface of the touch screen, where the interface type includes: an upper and lower sliding type interface or a left and right sliding type interface.
  • the current display interface of the touch screen is composed of a list type control and is switched in response to the user's finger sliding up and down, it is determined that the current display interface of the touch screen is an up and down sliding type interface. At this time, the Y axis of the touch screen is touched.
  • the center axis at which the intermediate value is located is the horizontal center axis, as shown in Figure 2.
  • the current display interface of the touch screen is composed of a picture type control and is switched in response to the user's finger sliding left and right, it is determined that the current display interface of the touch screen is a left and right sliding type interface. At this time, the X axis of the touch screen is touched.
  • the center axis at which the intermediate value is located is the vertical center axis, as shown in Figure 3.
  • the relationship between the preset interface scrolling speed and the pressure level value and the vertical distance includes:
  • the pressure level value is proportional to the scroll speed.
  • the interface scrolling speed is represented by S, and the distance range from the contact position to the current vertical distance of the central axis of the touch screen is used.
  • n indicates that the pressure level value corresponding to the current pressure value of the contact position is represented by m, as shown in FIGS. 4 and 5.
  • the vertical distance between the upper and lower borders of the touch screen and the horizontal central axis is divided to obtain one distance range; or the vertical distance between the left and right borders of the touch screen and the vertical central axis is divided into one.
  • Distance range; and the pressure level is divided into low, intermediate, and advanced levels; in the relationship between the preset interface scroll speed and the pressure level value and the vertical distance, the distance range corresponds to three pressure level values, each A pressure level value corresponds to a scroll speed; that is, when the interface scrolls left, right, up, or down, the scroll speed S of the interface is only related to the pressure level value corresponding to the current pressure value, and the current pressure value corresponds to The higher the pressure level value, the larger the scroll speed S of the interface.
  • the pressure level is divided into two levels: heavy pressure and non-weight pressure.
  • each distance range corresponds to one pressure level value
  • the pressure level value corresponds to one scroll speed; that is, when the pressure level of the current pressure value is a heavy pressure state, the current display interface of the touch screen
  • the scroll speed S is only related to the distance range to which the current vertical distance of the contact position to the central axis of the touch screen belongs; the higher the distance range, the higher the current scroll speed S of the current display interface corresponding to the current vertical distance and the current pressure value Big.
  • the stress level includes: low, intermediate, and advanced levels; in the relationship between the preset interface scroll speed and the pressure level value and the vertical distance, the relationship between the interface scroll speed S and n and m is as shown in Table 1. As shown, the relationship between the preset interface scroll speed and the pressure level value and vertical distance is shown in Table 1:
  • the step of acquiring the current vertical distance and the current scroll speed of the interface corresponding to the current pressure value includes: :
  • the first scroll speed is determined as the current scroll speed.
  • a relationship between a preset interface scroll speed and a pressure level value and a vertical distance is shown in Table 1, and the current vertical distance of the contact position to the central axis of the touch screen is in Table 1.
  • Table 1 the current vertical distance of the contact position to the central axis of the touch screen is in Table 1.
  • the current pressure value of the contact position is detected in real time, and when the current pressure value is not detected, the current display interface stops scrolling. In this way, the user quickly pushes the interface by applying a certain pressure on the touch screen, thereby greatly reducing the moving distance of the user's finger and enhancing the user experience.
  • an embodiment of the present invention provides a device for controlling interface scrolling, including:
  • the first detecting module 101 is configured to acquire a current vertical distance of a contact position of a user applying pressure on a current display interface of the touch screen to a central axis of the touch screen;
  • the second detecting module 102 is configured to acquire a current pressure value of the user at the contact position
  • the obtaining module 103 is configured to obtain a current scrolling speed of the interface corresponding to the current vertical distance and the current pressure value in a relationship between a preset scrolling speed and a pressure level value and a vertical distance;
  • the control module 104 is configured to control the current display interface scrolling at the current scroll speed.
  • the first detecting module 101 is specifically configured to: acquire a first current vertical distance of a contact position of a user applying pressure on a current display interface of the touch screen to a horizontal central axis of the touch screen. ;or
  • a second current vertical distance of the contact position of the user applying pressure on the current display interface of the touch screen to the vertical center axis of the touch screen is obtained.
  • the horizontal central axis is a central axis of the Y-axis intermediate value of the touch screen when the interface type is an up-and-down sliding type interface;
  • the vertical central axis is a central axis of the X-axis intermediate value of the touch screen when the interface type is a left-right sliding type interface.
  • the relationship between the preset interface scrolling speed and the pressure level value and the vertical distance includes:
  • the pressure level value is proportional to the scroll speed.
  • the acquiring module 103 is specifically configured to: determine, according to the first distance, that the current vertical distance is within a first distance range of the plurality of distance ranges in the relationship table Range, obtaining a plurality of pressure level values corresponding to the first distance range; if the current pressure value is at a first pressure level of the plurality of pressure level values, obtaining the first pressure according to the first pressure level value a first scroll speed corresponding to the level value; determining the first scroll speed as the current scroll speed.
  • the current vertical distance of the contact position of the user applying pressure on the current display interface of the touch screen to the central axis of the touch screen is acquired; and the current pressure of the user at the contact position is obtained.
  • the interface scrolls.

Abstract

An interface rolling control method and apparatus. The method comprises: acquiring a current vertical distance between a contact position where a user exerts a pressure on a current display interface of a touch screen and a central axis of the touch screen (S101); acquiring a current pressure value, generated by the user, at the contact position (S102); acquiring a current rolling speed of an interface corresponding to the current vertical distance and the current pressure value from a relation table between a pre-set interface rolling speed and a pressure level value as well as a vertical distance (S103); and controlling the current display interface to roll at the current rolling speed (S104). An interface can quickly roll by exerting a certain pressure on a touch screen, such that a movement distance of a finger of a user is greatly shortened.

Description

一种界面滚动的控制方法和装置Method and device for controlling interface scrolling 技术领域Technical field
本发明涉及触摸屏幕控制技术领域,特别是指一种界面滚动的控制方法和装置。The invention relates to the technical field of touch screen control, in particular to a method and a device for controlling interface scrolling.
背景技术Background technique
触摸屏(touch screen)又称为“触控屏”、“触控面板”,是一种可接收触头等输入讯号的感应式液晶显示装置,当接触了触摸屏幕上的图形按钮时,触摸屏幕上的触觉反馈装置可根据预先编程的程式驱动各种连结装置,可用以取代机械式的按钮面板,并借由液晶显示画面制造出生动的影音效果。触摸屏作为一种最新的输入设备,它是目前最简单、方便、自然的一种人机交互方式。Touch screen, also known as "touch screen" or "touch panel", is an inductive liquid crystal display device that can receive input signals such as contacts, and touches the screen when it touches a graphic button on the touch screen. The above haptic feedback device can drive various connection devices according to a pre-programmed program, and can be used to replace the mechanical button panel, and to create a live-action audio and video effect through the liquid crystal display screen. As the latest input device, touch screen is the most simple, convenient and natural human-computer interaction method.
现有技术中,一般通过用户手指在触摸屏幕上滑动来使得界面滚动,手指滑动快则界面滚动快,手指滑动慢则界面滚动慢;滑动操作的隐喻比较符合现实,很直观容易记忆,但由于手指的移动距离较大,在长距离界面滚动操作中需要来回操作多次,效率低、用户体验差。In the prior art, the interface is generally scrolled by the user's finger on the touch screen, the interface scrolls quickly, and the interface scrolls slowly. The interface scrolls slowly. The metaphor of the sliding operation is more realistic and easy to remember, but The moving distance of the finger is large, and it is necessary to operate back and forth multiple times in the long-distance interface scrolling operation, and the efficiency is low and the user experience is poor.
发明内容Summary of the invention
本发明所要解决的技术问题是提供一种界面滚动的控制方法和装置,能够通过在触摸屏幕上施加一定的压力实现界面的快速滚动,从而大大减少用户手指的移动距离。The technical problem to be solved by the present invention is to provide a method and device for controlling interface scrolling, which can realize rapid scrolling of the interface by applying a certain pressure on the touch screen, thereby greatly reducing the moving distance of the user's finger.
为了解决上述技术问题,本发明提供了一种界面滚动的控制方法,包括:In order to solve the above technical problem, the present invention provides a method for controlling interface scrolling, including:
获取用户在触摸屏幕的当前显示界面上施加压力的触点位置到所述触摸屏幕的中轴线的当前垂直距离;Obtaining a current vertical distance of a contact position of a user applying pressure on a current display interface of the touch screen to a central axis of the touch screen;
获取所述用户在所述触点位置的当前压力值;Obtaining a current pressure value of the user at the contact position;
在一预设的界面滚动速度与压力级别值和垂直距离之间的关系表中,获取所述当前垂直距离、当前压力值对应的界面的当前滚动速度;Obtaining a current scrolling speed of the interface corresponding to the current vertical distance and the current pressure value in a relationship between a preset interface scrolling speed and a pressure level value and a vertical distance;
以所述当前滚动速度控制所述当前显示界面滚动。The current display interface scroll is controlled at the current scroll speed.
在本发明的实施例中,获取用户在触摸屏幕的当前显示界面上施加压力的触点位置到所述触摸屏幕的中轴线的当前垂直距离包括:In an embodiment of the invention, obtaining a current vertical distance of a contact position of a user applying pressure on a current display interface of the touch screen to a central axis of the touch screen includes:
获取用户在触摸屏幕的当前显示界面上施加压力的触点位置到所述触摸屏幕的水平中轴线的第一当前垂直距离;或者Obtaining a first current vertical distance of a contact position of a user applying pressure on a current display interface of the touch screen to a horizontal center axis of the touch screen; or
获取用户在触摸屏幕的当前显示界面上施加压力的触点位置到所述触摸屏幕的竖直中轴线的第二当前垂直距离。 A second current vertical distance of the contact position of the user applying pressure on the current display interface of the touch screen to the vertical center axis of the touch screen is obtained.
在本发明的实施例中,所述水平中轴线为界面类型为上下滑动类界面时,触摸屏幕的Y轴中间值所在的中轴线;In an embodiment of the present invention, the horizontal central axis is a central axis of the Y-axis intermediate value of the touch screen when the interface type is an up-and-down sliding type interface;
所述竖直中轴线为界面类型为左右滑动类界面时,触摸屏幕的X轴中间值所在的中轴线。The vertical central axis is a central axis of the X-axis intermediate value of the touch screen when the interface type is a left-right sliding type interface.
在本发明的实施例中,所述预设的界面滚动速度与压力级别值和垂直距离之间的关系表中包括:In the embodiment of the present invention, the relationship between the preset interface scrolling speed and the pressure level value and the vertical distance includes:
将触摸屏幕上下边框到水平中轴线之间的垂直距离进行划分得到多个距离范围或者将触摸屏幕左右边框到竖直中轴线之间的垂直距离进行划分得到多个距离范围,每个距离范围对应有多个压力级别值,每一个压力级别值对应一个滚动速度。Dividing the vertical distance between the upper and lower borders of the touch screen to the horizontal central axis to obtain a plurality of distance ranges or dividing the vertical distance between the left and right borders of the touch screen to the vertical central axis to obtain a plurality of distance ranges, each distance range corresponding to There are multiple pressure level values, each of which corresponds to a scrolling speed.
在本发明的实施例中,所述压力级别值与所述滚动速度成正比关系。In an embodiment of the invention, the pressure level value is proportional to the scroll speed.
在本发明的实施例中,在一预设的界面滚动速度与压力级别值和垂直距离之间的关系表中,获取所述当前垂直距离、当前压力值对应的界面的当前滚动速度的步骤包括:In an embodiment of the present invention, in a relationship between a preset interface scroll speed and a pressure level value and a vertical distance, the step of acquiring the current vertical distance and the current scroll speed of the interface corresponding to the current pressure value includes: :
若所述当前垂直距离处于所述关系表中的多个距离范围中的第一距离范围内,则根据所述第一距离范围,得到该第一距离范围对应的多个压力级别值;And if the current vertical distance is within a first distance range of the plurality of distance ranges in the relationship table, obtaining, according to the first distance range, a plurality of pressure level values corresponding to the first distance range;
若所述当前压力值处于多个压力级别值中的第一压力级别,则根据所述第一压力级别值,得到该第一压力级别值对应的第一滚动速度;If the current pressure value is at a first pressure level of the plurality of pressure level values, obtaining a first scroll speed corresponding to the first pressure level value according to the first pressure level value;
将所述第一滚动速度确定为当前滚动速度。The first scroll speed is determined as the current scroll speed.
为了解决上述技术问题,本发明提供了一种界面滚动的控制装置,包括:In order to solve the above technical problem, the present invention provides an interface scrolling control apparatus, including:
第一检测模块,设置为获取用户在触摸屏幕的当前显示界面上施加压力的触点位置到所述触摸屏幕的中轴线的当前垂直距离;a first detecting module configured to acquire a current vertical distance of a contact position of a user applying pressure on a current display interface of the touch screen to a central axis of the touch screen;
第二检测模块,设置为获取所述用户在所述触点位置的当前压力值;a second detecting module configured to acquire a current pressure value of the user at the contact position;
获取模块,设置为在一预设的界面滚动速度与压力级别值和垂直距离之间的关系表中,获取所述当前垂直距离、当前压力值对应的界面的当前滚动速度;Obtaining a module, configured to obtain a current scrolling speed of the interface corresponding to the current vertical distance and the current pressure value in a relationship between a preset scrolling speed and a pressure level value and a vertical distance;
控制模块,设置为以所述当前滚动速度控制所述当前显示界面滚动。And a control module configured to control the current display interface scrolling at the current scroll speed.
在本发明的实施例中,所述第一检测模块具体设置为:获取用户在触摸屏幕的当前显示界面上施加压力的触点位置到所述触摸屏幕的水平中轴线的第一当前垂直距离;或者In an embodiment of the present invention, the first detecting module is specifically configured to: acquire a first current vertical distance of a contact position of a user applying pressure on a current display interface of the touch screen to a horizontal central axis of the touch screen; or
获取用户在触摸屏幕的当前显示界面上施加压力的触点位置到所述触摸屏幕的竖直中轴线的第二当前垂直距离。A second current vertical distance of the contact position of the user applying pressure on the current display interface of the touch screen to the vertical center axis of the touch screen is obtained.
在本发明的实施例中,所述水平中轴线为界面类型为上下滑动类界面时,触摸屏幕的Y轴中间值所在的中轴线;In an embodiment of the present invention, the horizontal central axis is a central axis of the Y-axis intermediate value of the touch screen when the interface type is an up-and-down sliding type interface;
所述竖直中轴线为界面类型为左右滑动类界面时,触摸屏幕的X轴中间值所在的中轴线。 The vertical central axis is a central axis of the X-axis intermediate value of the touch screen when the interface type is a left-right sliding type interface.
在本发明的实施例中,所述预设的界面滚动速度与压力级别值和垂直距离之间的关系表中包括:In the embodiment of the present invention, the relationship between the preset interface scrolling speed and the pressure level value and the vertical distance includes:
将触摸屏幕上下边框到水平中轴线之间的垂直距离进行划分得到多个距离范围或者将触摸屏幕左右边框到竖直中轴线之间的垂直距离进行划分得到多个距离范围,每个距离范围对应有多个压力级别值,每一个压力级别值对应一个滚动速度。Dividing the vertical distance between the upper and lower borders of the touch screen to the horizontal central axis to obtain a plurality of distance ranges or dividing the vertical distance between the left and right borders of the touch screen to the vertical central axis to obtain a plurality of distance ranges, each distance range corresponding to There are multiple pressure level values, each of which corresponds to a scrolling speed.
在本发明的实施例中,所述压力级别值与所述滚动速度成正比关系。In an embodiment of the invention, the pressure level value is proportional to the scroll speed.
在本发明的实施例中,所述获取模块具体设置为:判断若所述当前垂直距离处于所述关系表中的多个距离范围中的第一距离范围内,则根据所述第一距离范围,得到该第一距离范围对应的多个压力级别值;若所述当前压力值处于多个压力级别值中的第一压力级别,则根据所述第一压力级别值,得到该第一压力级别值对应的第一滚动速度;将所述第一滚动速度确定为当前滚动速度。In an embodiment of the present invention, the acquiring module is specifically configured to: determine, if the current vertical distance is within a first distance range of the plurality of distance ranges in the relationship table, according to the first distance range Obtaining a plurality of pressure level values corresponding to the first distance range; if the current pressure value is at a first pressure level of the plurality of pressure level values, obtaining the first pressure level according to the first pressure level value a first scroll speed corresponding to the value; determining the first scroll speed as the current scroll speed.
与现有技术相比,本申请技术方案包括:获取用户在触摸屏幕的当前显示界面上施加压力的触点位置到所述触摸屏幕的中轴线的当前垂直距离;获取所述用户在所述触点位置的当前压力值;在一预设的界面滚动速度与压力级别值和垂直距离之间的关系表中,获取所述当前垂直距离、当前压力值对应的界面的当前滚动速度;以所述当前滚动速度控制所述当前显示界面滚动。本发明通过在触摸屏幕上施加一定的压力实现界面的快速滚动,从而大大减少用户手指的移动距离,增强用户体验。Compared with the prior art, the technical solution of the present application includes: acquiring a current vertical distance of a contact position of a user applying pressure on a current display interface of the touch screen to a central axis of the touch screen; acquiring the user at the touch The current pressure value of the point position; in a relationship between the preset interface scroll speed and the pressure level value and the vertical distance, acquiring the current vertical distance, the current scroll speed of the interface corresponding to the current pressure value; The current scroll speed controls the current display interface scrolling. The invention realizes rapid scrolling of the interface by exerting a certain pressure on the touch screen, thereby greatly reducing the moving distance of the user's finger and enhancing the user experience.
附图说明DRAWINGS
图1为本发明实施例的界面滚动的控制方法的流程图;1 is a flowchart of a method for controlling interface scrolling according to an embodiment of the present invention;
图2为本发明实施例的上下滑动类界面的水平中轴线示意图;2 is a schematic view showing a horizontal central axis of an upper and lower sliding type interface according to an embodiment of the present invention;
图3为本发明实施例的左右滑动类页面的竖直中轴线示意图;3 is a schematic diagram of a vertical center axis of a left and right sliding type page according to an embodiment of the present invention;
图4为本发明实施例的上下滑动类界面施加压力的触点位置到触摸屏幕的水平中轴线的当前垂直距离示意图;4 is a schematic diagram of a current vertical distance of a contact position of a pressure applied by an upper and lower sliding interface to a horizontal central axis of the touch screen according to an embodiment of the present invention;
图5为本发明实施例的左右滑动类界面施加压力的触点位置到触摸屏幕的竖直中轴线的当前垂直距离示意图;5 is a schematic diagram of a current vertical distance of a contact position of a left and right sliding interface applied to a vertical central axis of the touch screen according to an embodiment of the present invention;
图6为本发明实施例的上下滑动类界面根据当前垂直距离和当前压力值滚动示意图;6 is a schematic diagram showing scrolling of an upper and lower sliding type interface according to a current vertical distance and a current pressure value according to an embodiment of the present invention;
图7为本发明实施例的左右滑动类界面根据当前垂直距离和当前压力值滚动示意图;7 is a schematic diagram showing scrolling of a left and right sliding type interface according to a current vertical distance and a current pressure value according to an embodiment of the present invention;
图8为本发明实施例的界面滚动的控制装置的结构示意图。FIG. 8 is a schematic structural diagram of an apparatus for controlling interface scrolling according to an embodiment of the present invention.
具体实施方式detailed description
为使本发明的目的、技术方案和优点更加清楚明白,下文中将结合附图对本发明的实施 例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。In order to make the objects, technical solutions and advantages of the present invention more comprehensible, the implementation of the present invention will be The example will be described in detail. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other.
如图1所示,本发明实施例提供了一种界面滚动的控制方法,包括:As shown in FIG. 1 , an embodiment of the present invention provides a method for controlling interface scrolling, including:
S101:获取用户在触摸屏幕的当前显示界面上施加压力的触点位置到所述触摸屏幕的中轴线的当前垂直距离;S101: Acquire a current vertical distance of a contact position of a user applying pressure on a current display interface of the touch screen to a central axis of the touch screen;
S102:获取所述用户在所述触点位置的当前压力值;S102: Acquire a current pressure value of the user at the contact position;
S103:在一预设的界面滚动速度与压力级别值和垂直距离之间的关系表中,获取所述当前垂直距离、当前压力值对应的界面的当前滚动速度;S103: in a relationship between a preset interface scroll speed and a pressure level value and a vertical distance, acquiring a current scroll speed of the current vertical distance and an interface corresponding to the current pressure value;
S104:以所述当前滚动速度控制所述当前显示界面滚动。S104: Control the current display interface scrolling at the current scrolling speed.
在步骤S101中,例如,可以利用触摸检测技术检测用户在触摸屏幕的当前显示界面上施加压力的触点位置;在步骤S102中,可以利用压力检测技术获取所述用户在所述触点位置的当前压力值。In step S101, for example, a touch detection technique may be utilized to detect a contact position at which a user applies pressure on a current display interface of the touch screen; in step S102, a pressure detection technique may be utilized to acquire the user at the contact position. Current pressure value.
在本发明的实施例中,获取用户在触摸屏幕的当前显示界面上施加压力的触点位置到所述触摸屏幕的中轴线的当前垂直距离101包括:In an embodiment of the invention, obtaining the current vertical distance 101 of the contact position of the user applying pressure on the current display interface of the touch screen to the central axis of the touch screen comprises:
获取用户在触摸屏幕的当前显示界面上施加压力的触点位置到所述触摸屏幕的水平中轴线21的第一当前垂直距离;或者Obtaining a first current vertical distance of a contact position of a user applying pressure on a current display interface of the touch screen to a horizontal center axis 21 of the touch screen; or
获取用户在触摸屏幕的当前显示界面上施加压力的触点位置到所述触摸屏幕的竖直中轴线31的第二当前垂直距离。A second current vertical distance of the contact position of the user applying pressure on the current display interface of the touch screen to the vertical center axis 31 of the touch screen is obtained.
在本发明的实施例中,如图2和图3所示,所述水平中轴线21为界面类型为上下滑动类界面时,触摸屏幕的Y轴中间值所在的中轴线;In the embodiment of the present invention, as shown in FIG. 2 and FIG. 3, the horizontal central axis 21 is a central axis of the Y-axis intermediate value of the touch screen when the interface type is an up-and-down sliding type interface;
所述竖直中轴线31为界面类型为左右滑动类界面时,触摸屏幕的X轴中间值所在的中轴线。The vertical central axis 31 is a central axis where the X-axis intermediate value of the touch screen is located when the interface type is a left-right sliding type interface.
本实施例中,首先,可以根据触摸屏幕的当前显示界面的属性,确定触摸屏幕的当前显示界面的界面类型,所述界面类型包括:上下滑动类界面或左右滑动类界面。In this embodiment, first, an interface type of a current display interface of the touch screen may be determined according to an attribute of a current display interface of the touch screen, where the interface type includes: an upper and lower sliding type interface or a left and right sliding type interface.
本实施例中,例如,当触摸屏幕的当前显示界面由列表类控件组成且响应用户手指上下滑动切换的,则确定触摸屏幕的当前显示界面为上下滑动类界面,此时,触摸屏幕的Y轴中间值所在的中轴线为水平中轴线,如图2所示。In this embodiment, for example, when the current display interface of the touch screen is composed of a list type control and is switched in response to the user's finger sliding up and down, it is determined that the current display interface of the touch screen is an up and down sliding type interface. At this time, the Y axis of the touch screen is touched. The center axis at which the intermediate value is located is the horizontal center axis, as shown in Figure 2.
本实施例中,例如,当触摸屏幕的当前显示界面由图片类控件组成且响应用户手指左右滑动切换的,则确定触摸屏幕的当前显示界面为左右滑动类界面,此时,触摸屏幕的X轴中间值所在的中轴线为竖直中轴线,如图3所示。In this embodiment, for example, when the current display interface of the touch screen is composed of a picture type control and is switched in response to the user's finger sliding left and right, it is determined that the current display interface of the touch screen is a left and right sliding type interface. At this time, the X axis of the touch screen is touched. The center axis at which the intermediate value is located is the vertical center axis, as shown in Figure 3.
在本发明的实施例中,所述预设的界面滚动速度与压力级别值和垂直距离之间的关系表 中包括:In the embodiment of the present invention, the relationship between the preset interface scrolling speed and the pressure level value and the vertical distance Includes:
将触摸屏幕上下边框到水平中轴线之间的垂直距离进行划分得到多个距离范围或者将触摸屏幕左右边框到竖直中轴线之间的垂直距离进行划分得到多个距离范围,每个距离范围对应有多个压力级别值,每一个压力级别值对应一个滚动速度。Dividing the vertical distance between the upper and lower borders of the touch screen to the horizontal central axis to obtain a plurality of distance ranges or dividing the vertical distance between the left and right borders of the touch screen to the vertical central axis to obtain a plurality of distance ranges, each distance range corresponding to There are multiple pressure level values, each of which corresponds to a scrolling speed.
在本发明的实施例中,所述压力级别值与所述滚动速度成正比关系。In an embodiment of the invention, the pressure level value is proportional to the scroll speed.
本实施例中,为了方便描述界面滚动速度与压力级别值和垂直距离之间的关系,界面滚动速度用S表示,触点位置到所述触摸屏幕的中轴线的当前垂直距离所属的距离范围用n表示,触点位置的当前压力值对应的压力级别值用m表示,如图4、图5所示。In this embodiment, in order to conveniently describe the relationship between the interface scrolling speed and the pressure level value and the vertical distance, the interface scrolling speed is represented by S, and the distance range from the contact position to the current vertical distance of the central axis of the touch screen is used. n indicates that the pressure level value corresponding to the current pressure value of the contact position is represented by m, as shown in FIGS. 4 and 5.
本实施例中,例如,将触摸屏幕上下边框到水平中轴线之间的垂直距离进行划分得到1个距离范围;或者将触摸屏幕左右边框到竖直中轴线之间的垂直距离进行划分得到1个距离范围;并将压力级别分为低级、中级、高级这3级;在预设的界面滚动速度与压力级别值和垂直距离之间的关系表中,该距离范围对应3个压力级别值,每一个压力级别值对应一个滚动速度;也就是说,当界面向左、向右、向上或向下滚动时,界面的滚动速度S仅与当前压力值对应的压力级别值相关,当前压力值对应的压力级别值越高,界面的滚动速度S越大。In this embodiment, for example, the vertical distance between the upper and lower borders of the touch screen and the horizontal central axis is divided to obtain one distance range; or the vertical distance between the left and right borders of the touch screen and the vertical central axis is divided into one. Distance range; and the pressure level is divided into low, intermediate, and advanced levels; in the relationship between the preset interface scroll speed and the pressure level value and the vertical distance, the distance range corresponds to three pressure level values, each A pressure level value corresponds to a scroll speed; that is, when the interface scrolls left, right, up, or down, the scroll speed S of the interface is only related to the pressure level value corresponding to the current pressure value, and the current pressure value corresponds to The higher the pressure level value, the larger the scroll speed S of the interface.
本实施例中,例如,将触摸屏幕上下边框到水平中轴线之间的垂直距离进行划分得到5个距离范围;或者将触摸屏幕左右边框到竖直中轴线之间的垂直距离进行划分得到5个距离范围;将压力级别分为:重压与非重压两种级别,当前压力值为重压级别时,才会影响当前界面的滚动速度;在预设的界面滚动速度与压力级别值和垂直距离之间的关系表中,每个距离范围对应1个压力级别值,该压力级别值对应一个滚动速度;也就是说,当前压力值的压力级别为重压状态时,触摸屏幕的当前显示界面的滚动速度S仅与触点位置到触摸屏幕的中轴线的当前垂直距离所属的距离范围相关;所述距离范围越高,当前垂直距离、当前压力值对应的当前显示界面的当前滚动速度S越大。In this embodiment, for example, dividing the vertical distance between the upper and lower borders of the touch screen to the horizontal center axis to obtain 5 distance ranges; or dividing the vertical distance between the left and right borders of the touch screen to the vertical center axis to obtain 5 Distance range; the pressure level is divided into two levels: heavy pressure and non-weight pressure. When the current pressure value is heavy pressure level, it will affect the scroll speed of the current interface; the preset interface scroll speed and pressure level value and vertical In the relationship table between distances, each distance range corresponds to one pressure level value, and the pressure level value corresponds to one scroll speed; that is, when the pressure level of the current pressure value is a heavy pressure state, the current display interface of the touch screen The scroll speed S is only related to the distance range to which the current vertical distance of the contact position to the central axis of the touch screen belongs; the higher the distance range, the higher the current scroll speed S of the current display interface corresponding to the current vertical distance and the current pressure value Big.
本实施例中,当距离范围、压力级别分别为若干级别时,界面滚动速度S与n和m可以满足:S=n*m、S=K(n+m)、S=n+m+K、S=K*n*m或S=n*m+K等,其中,K为常数,具体的算法可以有多种,只要S与n和m分别成正比关系均可。In this embodiment, when the distance range and the pressure level are respectively several levels, the interface rolling speeds S and n and m can satisfy: S=n*m, S=K(n+m), S=n+m+K , S=K*n*m or S=n*m+K, etc., where K is a constant, and the specific algorithm may be various, as long as S is proportional to n and m, respectively.
例如,当S=n*m时,且触摸屏幕上下边框到水平中轴线之间的垂直距离包括5个距离范围;或者触摸屏幕左右边框到竖直中轴线之间的垂直距离包括5个距离范围;同时,压力级别包括:低级、中级、高级这3级;在预设的界面滚动速度与压力级别值和垂直距离之间的关系表中,界面滚动速度S与n和m的关系如表1所示,表1预设的界面滚动速度与压力级别值和垂直距离之间的关系表:For example, when S=n*m, and the vertical distance between the touch screen upper and lower borders to the horizontal center axis includes 5 distance ranges; or the vertical distance between the touch screen left and right borders to the vertical center axis includes 5 distance ranges At the same time, the stress level includes: low, intermediate, and advanced levels; in the relationship between the preset interface scroll speed and the pressure level value and the vertical distance, the relationship between the interface scroll speed S and n and m is as shown in Table 1. As shown, the relationship between the preset interface scroll speed and the pressure level value and vertical distance is shown in Table 1:
表1Table 1
Figure PCTCN2016070516-appb-000001
Figure PCTCN2016070516-appb-000001
Figure PCTCN2016070516-appb-000002
Figure PCTCN2016070516-appb-000002
在本发明的实施例中,在一预设的界面滚动速度与压力级别值和垂直距离之间的关系表中,获取所述当前垂直距离、当前压力值对应的界面的当前滚动速度的步骤包括:In an embodiment of the present invention, in a relationship between a preset interface scroll speed and a pressure level value and a vertical distance, the step of acquiring the current vertical distance and the current scroll speed of the interface corresponding to the current pressure value includes: :
若所述当前垂直距离处于所述关系表中的多个距离范围中的第一距离范围内,则根据所述第一距离范围,得到该第一距离范围对应的多个压力级别值;And if the current vertical distance is within a first distance range of the plurality of distance ranges in the relationship table, obtaining, according to the first distance range, a plurality of pressure level values corresponding to the first distance range;
若所述当前压力值处于多个压力级别值中的第一压力级别,则根据所述第一压力级别值,得到该第一压力级别值对应的第一滚动速度;If the current pressure value is at a first pressure level of the plurality of pressure level values, obtaining a first scroll speed corresponding to the first pressure level value according to the first pressure level value;
将所述第一滚动速度确定为当前滚动速度。The first scroll speed is determined as the current scroll speed.
本实施例中,例如,预设的界面滚动速度与压力级别值和垂直距离之间的关系表如表1所示,所述触点位置到触摸屏幕的中轴线的当前垂直距离处于表1中的距离范围中的第一距离范围(n=1)内,则根据所述第一距离范围(n=1),得到该第一距离范围(n=1)对应的3个压力级别值;若所述当前压力值处于3个压力级别值中的第一压力级别,则根据所述第一压力级别值(m=1),得到该第一压力级别值(m=1)对应的第一滚动速度(S=1),并将所述第一滚动速度(S=1)确定为当前滚动速度(S=1),并以当前滚动速度(S=1)控制所述当前显示界面滚动。在触摸屏幕的当前显示界面的滚动过程中,实时检测触点位置的当前压力值,当检测不到当前压力值时,则当前显示界面停止滚动。这样,通过用户在触摸屏幕上施加一定的压力实现界面的快速滚动,从而大大减少用户手指的移动距离,增强用户体验。 In this embodiment, for example, a relationship between a preset interface scroll speed and a pressure level value and a vertical distance is shown in Table 1, and the current vertical distance of the contact position to the central axis of the touch screen is in Table 1. Within the first distance range (n=1) of the distance range, according to the first distance range (n=1), three pressure level values corresponding to the first distance range (n=1) are obtained; The current pressure value is at a first pressure level of the three pressure level values, and according to the first pressure level value (m=1), obtaining a first scroll corresponding to the first pressure level value (m=1) Speed (S=1), and the first scroll speed (S=1) is determined as the current scroll speed (S=1), and the current display interface scroll is controlled at the current scroll speed (S=1). During the scrolling of the current display interface of the touch screen, the current pressure value of the contact position is detected in real time, and when the current pressure value is not detected, the current display interface stops scrolling. In this way, the user quickly pushes the interface by applying a certain pressure on the touch screen, thereby greatly reducing the moving distance of the user's finger and enhancing the user experience.
本实施例中,还需根据用户在触摸屏幕的当前显示界面上施加压力的方向确定当前显示界面的滚动方向,并由当前显示界面根据当前滚动速度(S=1)进行垂直或者水平方向的快速滚动操作,如图6、图7所示;需要说明的是:这里的S=1,并不代表滚动速度是1,而是代表一个确定的速度值,该确定的速度值可以是任意设定的速度值。In this embodiment, the scrolling direction of the current display interface is determined according to the direction in which the user applies pressure on the current display interface of the touch screen, and the current display interface is fast in the vertical or horizontal direction according to the current scrolling speed (S=1). Scrolling operation, as shown in Fig. 6 and Fig. 7; it should be noted that S=1 here does not mean that the scrolling speed is 1, but represents a certain speed value, and the determined speed value can be arbitrarily set. Speed value.
如图8所示,本发明实施例提供了一种界面滚动的控制装置,包括:As shown in FIG. 8, an embodiment of the present invention provides a device for controlling interface scrolling, including:
第一检测模块101,设置为获取用户在触摸屏幕的当前显示界面上施加压力的触点位置到所述触摸屏幕的中轴线的当前垂直距离;The first detecting module 101 is configured to acquire a current vertical distance of a contact position of a user applying pressure on a current display interface of the touch screen to a central axis of the touch screen;
第二检测模块102,设置为获取所述用户在所述触点位置的当前压力值;The second detecting module 102 is configured to acquire a current pressure value of the user at the contact position;
获取模块103,设置为在一预设的界面滚动速度与压力级别值和垂直距离之间的关系表中,获取所述当前垂直距离、当前压力值对应的界面的当前滚动速度;The obtaining module 103 is configured to obtain a current scrolling speed of the interface corresponding to the current vertical distance and the current pressure value in a relationship between a preset scrolling speed and a pressure level value and a vertical distance;
控制模块104,设置为以所述当前滚动速度控制所述当前显示界面滚动。The control module 104 is configured to control the current display interface scrolling at the current scroll speed.
在本发明的实施例中,所述第一检测模块101具体设置为:获取用户在触摸屏幕的当前显示界面上施加压力的触点位置到所述触摸屏幕的水平中轴线的第一当前垂直距离;或者In an embodiment of the present invention, the first detecting module 101 is specifically configured to: acquire a first current vertical distance of a contact position of a user applying pressure on a current display interface of the touch screen to a horizontal central axis of the touch screen. ;or
获取用户在触摸屏幕的当前显示界面上施加压力的触点位置到所述触摸屏幕的竖直中轴线的第二当前垂直距离。A second current vertical distance of the contact position of the user applying pressure on the current display interface of the touch screen to the vertical center axis of the touch screen is obtained.
在本发明的实施例中,所述水平中轴线为界面类型为上下滑动类界面时,触摸屏幕的Y轴中间值所在的中轴线;In an embodiment of the present invention, the horizontal central axis is a central axis of the Y-axis intermediate value of the touch screen when the interface type is an up-and-down sliding type interface;
所述竖直中轴线为界面类型为左右滑动类界面时,触摸屏幕的X轴中间值所在的中轴线。The vertical central axis is a central axis of the X-axis intermediate value of the touch screen when the interface type is a left-right sliding type interface.
在本发明的实施例中,所述预设的界面滚动速度与压力级别值和垂直距离之间的关系表中包括:In the embodiment of the present invention, the relationship between the preset interface scrolling speed and the pressure level value and the vertical distance includes:
将触摸屏幕上下边框到水平中轴线之间的垂直距离进行划分得到多个距离范围或者将触摸屏幕左右边框到竖直中轴线之间的垂直距离进行划分得到多个距离范围,每个距离范围对应有多个压力级别值,每一个压力级别值对应一个滚动速度。Dividing the vertical distance between the upper and lower borders of the touch screen to the horizontal central axis to obtain a plurality of distance ranges or dividing the vertical distance between the left and right borders of the touch screen to the vertical central axis to obtain a plurality of distance ranges, each distance range corresponding to There are multiple pressure level values, each of which corresponds to a scrolling speed.
在本发明的实施例中,所述压力级别值与所述滚动速度成正比关系。In an embodiment of the invention, the pressure level value is proportional to the scroll speed.
在本发明的实施例中,所述获取模块103具体设置为:判断若所述当前垂直距离处于所述关系表中的多个距离范围中的第一距离范围内,则根据所述第一距离范围,得到该第一距离范围对应的多个压力级别值;若所述当前压力值处于多个压力级别值中的第一压力级别,则根据所述第一压力级别值,得到该第一压力级别值对应的第一滚动速度;将所述第一滚动速度确定为当前滚动速度。In an embodiment of the present invention, the acquiring module 103 is specifically configured to: determine, according to the first distance, that the current vertical distance is within a first distance range of the plurality of distance ranges in the relationship table Range, obtaining a plurality of pressure level values corresponding to the first distance range; if the current pressure value is at a first pressure level of the plurality of pressure level values, obtaining the first pressure according to the first pressure level value a first scroll speed corresponding to the level value; determining the first scroll speed as the current scroll speed.
需要说明的是,本发明还可有其他多种实施例,在不背离本发明精神及其实质的情况下,熟悉本领域的技术人员可根据本发明作出各种相应的改变和变形,但这些相应的改变和变形都应属于本发明所附的权利要求的保护范围。 It is to be understood that the invention may be susceptible to various other modifications and changes in the embodiments of the present invention without departing from the spirit and scope of the invention. Corresponding changes and modifications are intended to be included within the scope of the appended claims.
工业实用性Industrial applicability
基于本发明实施例提供的上述技术方案,获取用户在触摸屏幕的当前显示界面上施加压力的触点位置到该触摸屏幕的中轴线的当前垂直距离;获取该用户在该触点位置的当前压力值;在一预设的界面滚动速度与压力级别值和垂直距离之间的关系表中,获取该当前垂直距离、当前压力值对应的界面的当前滚动速度;以该当前滚动速度控制该当前显示界面滚动。通过在触摸屏幕上施加一定的压力实现界面的快速滚动,从而大大减少用户手指的移动距离,增强用户体验。 According to the above technical solution provided by the embodiment of the present invention, the current vertical distance of the contact position of the user applying pressure on the current display interface of the touch screen to the central axis of the touch screen is acquired; and the current pressure of the user at the contact position is obtained. a value; in a preset interface scroll speed and a relationship between the pressure level value and the vertical distance, obtaining a current scroll speed of the interface corresponding to the current vertical distance and the current pressure value; controlling the current display at the current scroll speed The interface scrolls. By applying a certain pressure on the touch screen to achieve rapid scrolling of the interface, the moving distance of the user's finger is greatly reduced, and the user experience is enhanced.

Claims (12)

  1. 一种界面滚动的控制方法,包括:A method for controlling interface scrolling, comprising:
    获取用户在触摸屏幕的当前显示界面上施加压力的触点位置到所述触摸屏幕的中轴线的当前垂直距离;Obtaining a current vertical distance of a contact position of a user applying pressure on a current display interface of the touch screen to a central axis of the touch screen;
    获取所述用户在所述触点位置的当前压力值;Obtaining a current pressure value of the user at the contact position;
    在一预设的界面滚动速度与压力级别值和垂直距离之间的关系表中,获取所述当前垂直距离、当前压力值对应的界面的当前滚动速度;Obtaining a current scrolling speed of the interface corresponding to the current vertical distance and the current pressure value in a relationship between a preset interface scrolling speed and a pressure level value and a vertical distance;
    以所述当前滚动速度控制所述当前显示界面滚动。The current display interface scroll is controlled at the current scroll speed.
  2. 根据权利要求1所述的界面滚动的控制方法,其中,获取用户在触摸屏幕的当前显示界面上施加压力的触点位置到所述触摸屏幕的中轴线的当前垂直距离包括:The method of controlling scrolling of an interface according to claim 1, wherein the obtaining the current vertical distance of the contact position of the user applying pressure on the current display interface of the touch screen to the central axis of the touch screen comprises:
    获取用户在触摸屏幕的当前显示界面上施加压力的触点位置到所述触摸屏幕的水平中轴线的第一当前垂直距离;或者Obtaining a first current vertical distance of a contact position of a user applying pressure on a current display interface of the touch screen to a horizontal center axis of the touch screen; or
    获取用户在触摸屏幕的当前显示界面上施加压力的触点位置到所述触摸屏幕的竖直中轴线的第二当前垂直距离。A second current vertical distance of the contact position of the user applying pressure on the current display interface of the touch screen to the vertical center axis of the touch screen is obtained.
  3. 根据权利要求2所述的界面滚动的控制方法,其中,所述水平中轴线为界面类型为上下滑动类界面时,触摸屏幕的Y轴中间值所在的中轴线;The method of controlling the interface scroll according to claim 2, wherein the horizontal central axis is a central axis of the Y-axis intermediate value of the touch screen when the interface type is an up-and-down sliding type interface;
    所述竖直中轴线为界面类型为左右滑动类界面时,触摸屏幕的X轴中间值所在的中轴线。The vertical central axis is a central axis of the X-axis intermediate value of the touch screen when the interface type is a left-right sliding type interface.
  4. 根据权利要求3所述的界面滚动的控制方法,其中,所述预设的界面滚动速度与压力级别值和垂直距离之间的关系表中包括:The interface scrolling control method according to claim 3, wherein the relationship between the preset interface scrolling speed and the pressure level value and the vertical distance comprises:
    将触摸屏幕上下边框到水平中轴线之间的垂直距离进行划分得到多个距离范围或者将触摸屏幕左右边框到竖直中轴线之间的垂直距离进行划分得到多个距离范围,每个距离范围对应有多个压力级别值,每一个压力级别值对应一个滚动速度。Dividing the vertical distance between the upper and lower borders of the touch screen to the horizontal central axis to obtain a plurality of distance ranges or dividing the vertical distance between the left and right borders of the touch screen to the vertical central axis to obtain a plurality of distance ranges, each distance range corresponding to There are multiple pressure level values, each of which corresponds to a scrolling speed.
  5. 根据权利要求4所述的界面滚动的控制方法,其中,所述压力级别值与所述滚动速度成正比关系。The method of controlling interface scrolling according to claim 4, wherein said pressure level value is proportional to said scroll speed.
  6. 根据权利要求4或5所述的界面滚动的控制方法,其中,在一预设的界面滚动速度与压力级别值和垂直距离之间的关系表中,获取所述当前垂直距离、当前压力值对应的界面的当前滚动速度的步骤包括:The interface scrolling control method according to claim 4 or 5, wherein in the relationship between the preset interface scrolling speed and the pressure level value and the vertical distance, the current vertical distance and the current pressure value are acquired. The steps of the current scrolling speed of the interface include:
    若所述当前垂直距离处于所述关系表中的多个距离范围中的第一距离范围内,则根据所述第一距离范围,得到该第一距离范围对应的多个压力级别值;And if the current vertical distance is within a first distance range of the plurality of distance ranges in the relationship table, obtaining, according to the first distance range, a plurality of pressure level values corresponding to the first distance range;
    若所述当前压力值处于多个压力级别值中的第一压力级别,则根据所述第一压力级别值,得到该第一压力级别值对应的第一滚动速度; If the current pressure value is at a first pressure level of the plurality of pressure level values, obtaining a first scroll speed corresponding to the first pressure level value according to the first pressure level value;
    将所述第一滚动速度确定为当前滚动速度。The first scroll speed is determined as the current scroll speed.
  7. 一种界面滚动的控制装置,包括:An interface scrolling control device includes:
    第一检测模块,设置为获取用户在触摸屏幕的当前显示界面上施加压力的触点位置到所述触摸屏幕的中轴线的当前垂直距离;a first detecting module configured to acquire a current vertical distance of a contact position of a user applying pressure on a current display interface of the touch screen to a central axis of the touch screen;
    第二检测模块,设置为获取所述用户在所述触点位置的当前压力值;a second detecting module configured to acquire a current pressure value of the user at the contact position;
    获取模块,设置为在一预设的界面滚动速度与压力级别值和垂直距离之间的关系表中,获取所述当前垂直距离、当前压力值对应的界面的当前滚动速度;Obtaining a module, configured to obtain a current scrolling speed of the interface corresponding to the current vertical distance and the current pressure value in a relationship between a preset scrolling speed and a pressure level value and a vertical distance;
    控制模块,设置为以所述当前滚动速度控制所述当前显示界面滚动。And a control module configured to control the current display interface scrolling at the current scroll speed.
  8. 根据权利要求7所述的界面滚动的控制装置,其中,所述第一检测模块具体设置为:获取用户在触摸屏幕的当前显示界面上施加压力的触点位置到所述触摸屏幕的水平中轴线的第一当前垂直距离;或者The interface scrolling control device according to claim 7, wherein the first detecting module is specifically configured to: acquire a contact position of a user applying pressure on a current display interface of the touch screen to a horizontal central axis of the touch screen First current vertical distance; or
    获取用户在触摸屏幕的当前显示界面上施加压力的触点位置到所述触摸屏幕的竖直中轴线的第二当前垂直距离。A second current vertical distance of the contact position of the user applying pressure on the current display interface of the touch screen to the vertical center axis of the touch screen is obtained.
  9. 根据权利要求8所述的界面滚动的控制装置,其中,The interface scrolling control device according to claim 8, wherein
    所述水平中轴线为界面类型为上下滑动类界面时,触摸屏幕的Y轴中间值所在的中轴线;The horizontal central axis is a central axis of the Y-axis intermediate value of the touch screen when the interface type is an up-and-down sliding type interface;
    所述竖直中轴线为界面类型为左右滑动类界面时,触摸屏幕的X轴中间值所在的中轴线。The vertical central axis is a central axis of the X-axis intermediate value of the touch screen when the interface type is a left-right sliding type interface.
  10. 根据权利要求9所述的界面滚动的控制装置,其中,所述预设的界面滚动速度与压力级别值和垂直距离之间的关系表中包括:The interface scrolling control device according to claim 9, wherein the relationship between the preset interface scrolling speed and the pressure level value and the vertical distance comprises:
    将触摸屏幕上下边框到水平中轴线之间的垂直距离进行划分得到多个距离范围或者将触摸屏幕左右边框到竖直中轴线之间的垂直距离进行划分得到多个距离范围,每个距离范围对应有多个压力级别值,每一个压力级别值对应一个滚动速度。Dividing the vertical distance between the upper and lower borders of the touch screen to the horizontal central axis to obtain a plurality of distance ranges or dividing the vertical distance between the left and right borders of the touch screen to the vertical central axis to obtain a plurality of distance ranges, each distance range corresponding to There are multiple pressure level values, each of which corresponds to a scrolling speed.
  11. 根据权利要求10所述的界面滚动的控制装置,其中,所述压力级别值与所述滚动速度成正比关系。The interface scrolling control device according to claim 10, wherein said pressure level value is proportional to said scroll speed.
  12. 根据权利要求10或11所述的界面滚动的控制装置,其中,所述获取模块具体设置为:判断若所述当前垂直距离处于所述关系表中的多个距离范围中的第一距离范围内,则根据所述第一距离范围,得到该第一距离范围对应的多个压力级别值;若所述当前压力值处于多个压力级别值中的第一压力级别,则根据所述第一压力级别值,得到该第一压力级别值对应的第一滚动速度;将所述第一滚动速度确定为当前滚动速度。 The interface scrolling control device according to claim 10 or 11, wherein the acquiring module is specifically configured to: determine that the current vertical distance is within a first distance range of the plurality of distance ranges in the relationship table And obtaining, according to the first distance range, a plurality of pressure level values corresponding to the first distance range; if the current pressure value is at a first pressure level of the plurality of pressure level values, according to the first pressure a level value, a first scroll speed corresponding to the first pressure level value is obtained; and the first scroll speed is determined as a current scroll speed.
PCT/CN2016/070516 2015-10-26 2016-01-08 Interface rolling control method and apparatus WO2016184139A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510700603.7 2015-10-26
CN201510700603.7A CN106610775A (en) 2015-10-26 2015-10-26 Interface scrolling control method and device

Publications (1)

Publication Number Publication Date
WO2016184139A1 true WO2016184139A1 (en) 2016-11-24

Family

ID=57319283

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/070516 WO2016184139A1 (en) 2015-10-26 2016-01-08 Interface rolling control method and apparatus

Country Status (2)

Country Link
CN (1) CN106610775A (en)
WO (1) WO2016184139A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0527744A (en) * 1991-07-22 1993-02-05 Nec Corp Display processing system for display screen
CN101515218A (en) * 2009-01-06 2009-08-26 苏州达方电子有限公司 Scroll bar control device
CN103440097A (en) * 2013-07-29 2013-12-11 康佳集团股份有限公司 Method and terminal for controlling touch pad cursor to slide on the basis of pressure
CN103809875A (en) * 2012-11-14 2014-05-21 韩鼎楠 Human-computer interaction method and human-computer interaction interface

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070002018A1 (en) * 2005-06-30 2007-01-04 Eigo Mori Control of user interface of electronic device
JP4605214B2 (en) * 2007-12-19 2011-01-05 ソニー株式会社 Information processing apparatus, information processing method, and program
CN102890612B (en) * 2011-07-22 2017-02-15 腾讯科技(深圳)有限公司 Method and device for scrolling screen
CN102819389B (en) * 2012-07-19 2016-03-09 宇龙计算机通信科技(深圳)有限公司 A kind of mobile terminal and the method at mobile terminal displaying contents

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0527744A (en) * 1991-07-22 1993-02-05 Nec Corp Display processing system for display screen
CN101515218A (en) * 2009-01-06 2009-08-26 苏州达方电子有限公司 Scroll bar control device
CN103809875A (en) * 2012-11-14 2014-05-21 韩鼎楠 Human-computer interaction method and human-computer interaction interface
CN103440097A (en) * 2013-07-29 2013-12-11 康佳集团股份有限公司 Method and terminal for controlling touch pad cursor to slide on the basis of pressure

Also Published As

Publication number Publication date
CN106610775A (en) 2017-05-03

Similar Documents

Publication Publication Date Title
US10209875B2 (en) Scrolling apparatus, scrolling method, and computer-readable medium
RU2541852C2 (en) Device and method of controlling user interface based on movements
WO2015154338A1 (en) Method and device for adjusting terminal window display based on gesture operation
US20120176322A1 (en) Systems and methods to present multiple frames on a touch screen
US20110050629A1 (en) Information processing apparatus, information processing method and program
CN103793093A (en) Multiscreen portable terminal and touch control method thereof
TW200943140A (en) Electronic apparatus and control method thereof
JP2015515043A (en) Content moving method and apparatus in terminal
JP2013003718A (en) Information processing device, scroll display method of information processing device, and scroll display program
KR20150134674A (en) User terminal device, and Method for controlling for User terminal device, and multimedia system thereof
TW201816581A (en) Interface control method and electronic device using the same
WO2014091675A1 (en) Portable terminal device, luminan ce control method, and luminance control program
TWI493390B (en) Method for displaying touch cursor
CN103412674A (en) Touch screen based instrument parameter adjusting method and system
JP6333779B2 (en) Display control apparatus, display control method, and computer program for executing the same on computer
TWI354223B (en)
KR20150071130A (en) Method and apparatus for controlling scroll in portable device
JP2010198290A (en) Input device, display position adjustment method for pointer, and program
US20160034126A1 (en) Visual cues for scrolling
JP2015032095A5 (en)
WO2016184139A1 (en) Interface rolling control method and apparatus
WO2018179552A1 (en) Touch panel device, method for display control thereof, and program
TW201627850A (en) Method of using single finger for operating touch screen interface
TW201435721A (en) Cursor of mouse control method
US20160041749A1 (en) Operating method for user interface

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

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

Country of ref document: EP

Kind code of ref document: A1